# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 251011d04h28m38s650409usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01400467002 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/data/uvot/swift_data/home/uvot_lc -web -useprev -zp_2011 -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /data/uvot/swift_data/home/uvot_lc
# ========= GRB251001B ===================
Could not find/read custom source region custom_1400467_src.reg
Used archived XRT position of 42.65087 -23.02047 4.00
Reference: GCN_Circulars-42045-Wed,_1_Oct_2025_18:10:18_+0000
The position is (02:50:36.21, -23:01:13.7)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl xrt
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(42.65087,-23.02047,4") # color=red dash=0
Source region spec. is: 42.65087 -23.02047 4"
Region file centered at (42.65087,-23.02047), which is (02:50:36.21, -23:01:13.7)
Could not find/read custom background region custom_1400467_bkg.reg
Made source region file with 5" aper with name uvot_flux_src5.reg
Coincidence losses are calculated using a 5" aperture.
Exposure times (t_exp) have NOT been corrected for coinc. loss, but rates and mags have been.
The no. of background pixels has been corrected by the ratio of coincidence loss corrections in the source and background regions.
The errors have been adjusted to account for the binomial distribution of counts at large rates.
A table entry starting with # is an exposure with no aspect solution.
A table entry starting with ! has no pixels in either source or background region.
A table entry starting with % is unreliable because it is not well inside the image.
Upper limits in tables give the 0.9987 confidence limit using Bayesian analysis for detection taking the observed counts into account.
Upper limits in plots give the 0.9772 confidence limit using Bayesian analysis.
Weighted rates in tables (wtd_rate) combine rates from different exposures weighted by the expected source rate divided by the background rate
The source is assumed to produce the same magnitude in all filters.
The source is assumed to decay as t**(-1.0), and the rate is normalized so that the white filter produces 1 cps at 1000 sec.
The Rebinned Data for All_files combine rates from different exposures weighted by the expected rate divided by the observed sigma squared.
A plot of these data is stored in uvot_fluxes_wtd_date.ps and .gif.
A zero point of 20.29 is adopted for weighting rates.
Subtract UTCF of -36.42708 from uncorrected trigger time of 781021040.56 in BAT summary file
# ============ Reading file sw01400467992uwh_sk.img ================
Use keyword TRIGTIME of 781021076.992 for trigger time.
Long-term sensitivity correction to zero point is -0.175 at 781021196
The processing date in extension 0 is: 2025-10-01T18:00:12
The trigger time is: 781021076.992. The reference is keyword in image file
Using zero point of 20.115 for filter WHITE
Use aperture correction of 1.035 based on aperture of 4.00
Using background region based on sources found in extension 2:
# Region file format: DS9 version 3.0
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(42.65087,-23.02047,25")
fk5;-circle(42.65087,-23.02047,12.5")
 Ext   Exposure      t-trig coinc  t_exp   src  pix    bkg   pix net_rate +/-   mag   UL sum_rate  +/-    mag  UL sumexp wtd_rate  +/-   mag  wt/t
   1 wh781021195I     118.8  0.96  147.4  767.2 195   9927  5980  3.251 0.204 18.84 18.6  3.2508 0.2044 18.84 18.6   147  0.740  0.047 20.62 1.916 
   2 wh781021937I     860.5  0.94  147.4 1006.7 200  24754  5891  1.245 0.241 19.88 19.4  2.2586 0.1577 19.23 19.0   295  0.750  0.046 20.60 0.641 
    Sum (T+   119 to   1010):            1773.8       1164.2 (est. in src region)   SNR_unwtd_sum:  14.32 0.9987 signif. UL:  19.02
  0   295 781021642     564.6    445.7   -445.8    2.2586   0.1577 19.230  0.079  -0.073
Total wtd_rate (for all exposures so far):  0.750 +/- 0.046 snr: 16.4 mag: 20.60 UL: 20.25
# ============ Reading file sw01400467002uwh_sk.img ================
Use keyword TRIGTIME of 781021076.992 for trigger time.
Long-term sensitivity correction to zero point is -0.175 at 781038229
The processing date in extension 0 is:  2025-10-11T03:57:12
The trigger time is: 781021076.992. The reference is keyword in image file
Using zero point of 20.115 for filter WHITE
Use aperture correction of  1.035 based on aperture of  4.00
Using background region based on sources found in extension 1:
# Region file format: DS9 version 3.0
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(42.65087,-23.02047,25")
fk5;-circle(42.65087,-23.02047,12.5")
 Ext   Exposure      t-trig coinc  t_exp   src  pix    bkg   pix net_rate +/-   mag   UL sum_rate  +/-    mag  UL sumexp wtd_rate  +/-   mag  wt/t
   1 wh781038228I   17151.8  0.98  295.0  816.1 204  21521  5838  0.231 0.104 21.71 20.8  0.2306 0.1044 21.71 20.8   295  4.688  2.122 18.61 0.019 
   2 wh781038532I   17455.2  0.95  293.3 1380.1 200  40215  5860  0.028 0.140 24.00 20.9  0.1307 0.0868 22.32 21.1   588  3.317  1.711 18.99 0.013 
   3 wh781038831I   17755.0  0.94   76.8  496.0 188  15767  5807 -0.207 0.326 99.00 20.2  0.0927 0.0853 22.70 21.2   665  2.897  1.660 19.14 0.012 
    Sum (T+ 17152 to  17833):            2692.3       2635.0 (est. in src region)   SNR_unwtd_sum:   1.09 0.9987 signif. UL:  21.24
  0   665 781038569   17492.3    340.7   -340.5    0.0927   0.0853 22.698  2.757  -0.709
Total wtd_rate (for all exposures so far):  0.750 +/- 0.046 snr: 16.4 mag: 20.60 UL: 20.24
Rebinned Data for sw01400467002uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      141     193.7     74.9    -74.9    3.2508   0.2044 18.84  0.07     193.7    3.2508   0.2044 18.84  0.07 18.65
  1      138     935.4     74.9    -74.9    1.2450   0.2410 19.88  0.19     560.6    2.2586   0.1577 19.23  0.07 19.02
  2      639   17489.8    343.2   -338.1    0.0927   0.0853 22.70  0.71   12343.6    0.7511   0.0763 20.43  0.10 20.14
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw01400467001uvv_sk.img ================
Use keyword TRIGTIME of 781021076.992 for trigger time.
Long-term sensitivity correction to zero point is -0.230 at 781033022
The processing date in extension 0 is:  2025-10-11T03:56:50
The trigger time is: 781021076.992. The reference is keyword in image file
Using zero point of 17.660 for filter V
Use aperture correction of  1.030 based on aperture of  4.00
Using background region based on sources found in extension 1:
# Region file format: DS9 version 3.0
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(42.65087,-23.02047,25")
fk5;-circle(42.65087,-23.02047,12.5")
 Ext   Exposure      t-trig coinc  t_exp   src  pix    bkg   pix net_rate +/-   mag   UL sum_rate  +/-    mag  UL sumexp wtd_rate  +/-   mag  wt/t
   1 vv781033021I   11944.6  0.99  245.5  167.8 200   5165  5837 -0.039 0.056 99.00 19.7 -0.0389 0.0557 99.00 19.7   246 -5.294  7.573 99.00 0.010 
    Sum (T+ 11945 to  12194):             167.8        177.0 (est. in src region)   SNR_unwtd_sum:  -0.70 0.9987 signif. UL:  19.71
  0   246 781033146   12069.3    124.7   -124.7   -0.0389   0.0557 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.747 +/- 0.045 snr: 16.4 mag: 20.61 UL: 17.79
# ============ Reading file sw01400467002uvv_sk.img ================
Use keyword TRIGTIME of 781021076.992 for trigger time.
Long-term sensitivity correction to zero point is -0.230 at 781055093
The processing date in extension 0 is:  2025-10-11T03:57:13
The trigger time is: 781021076.992. The reference is keyword in image file
Using zero point of 17.660 for filter V
Use aperture correction of  1.030 based on aperture of  4.00
Using background region based on sources found in extension 1:
# Region file format: DS9 version 3.0
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(42.65087,-23.02047,25")
fk5;-circle(42.65087,-23.02047,12.5")
 Ext   Exposure      t-trig coinc  t_exp   src  pix    bkg   pix net_rate +/-   mag   UL sum_rate  +/-    mag  UL sumexp wtd_rate  +/-   mag  wt/t
   1 vv781055092I   34015.8  0.99  295.0  164.8 204   4533  5853  0.024 0.046 21.71 19.6  0.0240 0.0458 21.71 19.6   295  9.246 17.639 17.88 0.005 
   2 vv781055396I   34319.5  0.99  250.7  160.1 204   5544  5861 -0.136 0.053 99.00 20.2 -0.0494 0.0348 99.00 20.4   546 -13.540 13.510 99.00 0.004 
    Sum (T+ 34016 to  34574):             324.9        351.0 (est. in src region)   SNR_unwtd_sum:  -1.42 0.9987 signif. UL:  20.40
  0   546 781055372   34294.8    279.4   -279.1   -0.0494   0.0348 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.747 +/- 0.045 snr: 16.4 mag: 20.61 UL: 17.79
Rebinned Data for sw01400467002uvv_sk.img using a zero point of 17.660:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      244   12069.3    124.7   -124.7   -0.0389   0.0557 99.00 99.00   12069.3   -0.0389   0.0557 99.00 99.00 19.71
  1      543   34294.8    279.4   -279.0   -0.0494   0.0348 99.00 99.00   27402.2   -0.0462   0.0296 99.00 99.00 20.61
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw01400467002ubb_sk.img ================
Use keyword TRIGTIME of 781021076.992 for trigger time.
Long-term sensitivity correction to zero point is -0.229 at 781037316
The processing date in extension 0 is:  2025-10-11T03:57:11
The trigger time is: 781021076.992. The reference is keyword in image file
Using zero point of 18.881 for filter B
Use aperture correction of  1.035 based on aperture of  4.00
Using background region based on sources found in extension 2:
# Region file format: DS9 version 3.0
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(42.65087,-23.02047,25")
fk5;-circle(42.65087,-23.02047,12.5")
 Ext   Exposure      t-trig coinc  t_exp   src  pix    bkg   pix net_rate +/-   mag   UL sum_rate  +/-    mag  UL sumexp wtd_rate  +/-   mag  wt/t
   1 bb781037316I   16239.2  0.99  295.0  330.3 200   9433  5857  0.029 0.065 22.71 20.5  0.0293 0.0655 22.71 20.5   295  1.756  3.929 19.68 0.015 
   2 bb781037620I   16543.3  0.99  295.0  344.0 200   9163  5874  0.113 0.067 21.24 20.1  0.0714 0.0468 21.75 20.6   590  4.337  2.831 18.70 0.015 
   3 bb781037923I   16846.7  0.99  295.0  327.4 208   9184  5845  0.002 0.065 25.55 20.6  0.0483 0.0380 22.17 20.8   885  3.014  2.323 19.09 0.015 
   4 bb781060484I   39407.2  0.99  295.0  374.6 200   9984  5842  0.116 0.070 21.22 20.1  0.0653 0.0334 21.84 20.8  1180  3.741  2.264 18.86 0.013 
   5 bb781060787I   39710.8  0.98  295.0  694.0 200  19610  5862  0.090 0.096 21.50 19.9  0.0702 0.0329 21.77 20.8  1475  3.977  2.235 18.79 0.009 
   6 bb781061091I   40014.3  0.97   78.5  235.8 196   7006  5839  0.008 0.212 24.10 19.3  0.0671 0.0330 21.81 20.8  1554  3.964  2.229 18.80 0.009 
    Sum (T+ 16239 to  40094):            2306.2       2206.8 (est. in src region)   SNR_unwtd_sum:   2.04 0.9987 signif. UL:  20.83
  0  1554 781047692   26614.7  13479.3 -10375.5    0.0671   0.0330 21.814  0.734  -0.433
Total wtd_rate (for all exposures so far):  0.751 +/- 0.046 snr: 16.4 mag: 20.60 UL: 19.01
Rebinned Data for sw01400467002ubb_sk.img using a zero point of 18.881:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      876   16693.0    453.5   -453.8    0.0483   0.0380 22.17  0.63   16693.0    0.0483   0.0380 22.17  0.63 20.84
  1      656   39748.3    345.7   -341.2    0.0922   0.0579 21.47  0.53   26568.7    0.0671   0.0330 21.81  0.43 20.83
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw01400467992uuu_sk.img ================
Use keyword TRIGTIME of 781021076.992 for trigger time.
Long-term sensitivity correction to zero point is -0.248 at 781021408
The processing date in extension 0 is:  2025-10-01T18:00:15
The trigger time is: 781021076.992. The reference is keyword in image file
Using zero point of 18.092 for filter U
Use aperture correction of  1.032 based on aperture of  4.00
Using background region based on sources found in extension 1:
# Region file format: DS9 version 3.0
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(42.65087,-23.02047,25")
fk5;-circle(42.65087,-23.02047,12.5")
 Ext   Exposure      t-trig coinc  t_exp   src  pix    bkg   pix net_rate +/-   mag   UL sum_rate  +/-    mag  UL sumexp wtd_rate  +/-   mag  wt/t
   1 uu781021407I     331.0  0.99  245.8  232.2 197   3163  5869  0.533 0.065 18.77 18.4  0.5330 0.0649 18.77 18.4   246  1.840  0.224 19.63 0.666 
    Sum (T+   331 to    581):             232.2        106.2 (est. in src region)   SNR_unwtd_sum:   8.21 0.9987 signif. UL:  18.44
  0   246 781021533     455.9    124.9   -124.9    0.5330   0.0649 18.775  0.141  -0.125
Total wtd_rate (for all exposures so far):  0.790 +/- 0.045 snr: 17.7 mag: 20.55 UL: 18.18
# ============ Reading file sw01400467002uuu_sk.img ================
Use keyword TRIGTIME of 781021076.992 for trigger time.
Long-term sensitivity correction to zero point is -0.248 at 781049135
The processing date in extension 0 is:  2025-10-11T03:57:12
The trigger time is: 781021076.992. The reference is keyword in image file
Using zero point of 18.092 for filter U
Use aperture correction of  1.032 based on aperture of  4.00
Using background region based on sources found in extension 1:
# Region file format: DS9 version 3.0
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(42.65087,-23.02047,25")
fk5;-circle(42.65087,-23.02047,12.5")
 Ext   Exposure      t-trig coinc  t_exp   src  pix    bkg   pix net_rate +/-   mag   UL sum_rate  +/-    mag  UL sumexp wtd_rate  +/-   mag  wt/t
   1 uu781049135I   28058.2  1.00  288.0  100.6 204   3105  5842 -0.028 0.037 99.00 20.6 -0.0281 0.0367 99.00 20.6   288 -5.998  7.841 99.00 0.012 
    Sum (T+ 28058 to  28351):             100.6        108.4 (est. in src region)   SNR_unwtd_sum:  -0.76 0.9987 signif. UL:  20.61
  0   288 781049282   28204.5    146.3   -146.3   -0.0281   0.0367 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.790 +/- 0.045 snr: 17.7 mag: 20.55 UL: 18.18
Rebinned Data for sw01400467002uuu_sk.img using a zero point of 18.092:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      244     455.9    124.9   -124.9    0.5330   0.0649 18.77  0.12     455.9    0.5330   0.0649 18.77  0.12 18.44
  1      287   28204.5    146.3   -146.3   -0.0281   0.0367 99.00 99.00   15457.2    0.2297   0.0358 19.69  0.16 19.27
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw01400467002uw1_sk.img ================
Use keyword TRIGTIME of 781021076.992 for trigger time.
Long-term sensitivity correction to zero point is -0.271 at 781048229
The processing date in extension 0 is:  2025-10-11T03:57:12
The trigger time is: 781021076.992. The reference is keyword in image file
Using zero point of 17.169 for filter UVW1
Use aperture correction of  1.035 based on aperture of  4.00
Using background region based on sources found in extension 1:
# Region file format: DS9 version 3.0
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(42.65087,-23.02047,25")
fk5;-circle(42.65087,-23.02047,12.5")
 Ext   Exposure      t-trig coinc  t_exp   src  pix    bkg   pix net_rate +/-   mag   UL sum_rate  +/-    mag  UL sumexp wtd_rate  +/-   mag  wt/t
   1 w1781048229I   27152.1  1.00  885.6   99.5 200   3253  5871 -0.013 0.012 99.00 21.0 -0.0132 0.0119 99.00 21.0   886 -6.460  5.814 99.00 0.016 
    Sum (T+ 27152 to  28052):              99.5        110.8 (est. in src region)   SNR_unwtd_sum:  -1.11 0.9987 signif. UL:  21.00
  0   886 781048679   27602.0    449.9   -449.9   -0.0132   0.0119 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.792 +/- 0.045 snr: 17.7 mag: 20.54 UL: 17.25
Rebinned Data for sw01400467002uw1_sk.img using a zero point of 17.169:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      885   27602.0    449.9   -449.9   -0.0132   0.0119 99.00 99.00   27602.0   -0.0132   0.0119 99.00 99.00 21.00
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw01400467002um2_sk.img ================
Use keyword TRIGTIME of 781021076.992 for trigger time.
Long-term sensitivity correction to zero point is -0.259 at 781077485
The processing date in extension 0 is:  2025-10-11T03:57:14
The trigger time is: 781021076.992. The reference is keyword in image file
Using zero point of 16.591 for filter UVM2
Use aperture correction of  1.031 based on aperture of  4.00
There are no aspect corrected images to process.
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw01400467001uw2_sk.img ================
Use keyword TRIGTIME of 781021076.992 for trigger time.
Long-term sensitivity correction to zero point is -0.345 at 781032115
The processing date in extension 0 is:  2025-10-11T03:56:50
The trigger time is: 781021076.992. The reference is keyword in image file
Using zero point of 17.035 for filter UVW2
Use aperture correction of  1.035 based on aperture of  4.00
There are no aspect corrected images to process.
# ============ Reading file sw01400467002uw2_sk.img ================
Use keyword TRIGTIME of 781021076.992 for trigger time.
Long-term sensitivity correction to zero point is -0.345 at 781054186
The processing date in extension 0 is:  2025-10-11T03:57:13
The trigger time is: 781021076.992. The reference is keyword in image file
Using zero point of 17.035 for filter UVW2
Use aperture correction of  1.035 based on aperture of  4.00
There are no aspect corrected images to process.
=========================================================
================ Start New Filter UGRISM ==================
=========================================================
# ============ Reading file sw01400467992ugu_sk.img ================
Use keyword TRIGTIME of 781021076.992 for trigger time.
The data range from T+118.8 s (0.00 d) to T+40094.1 s (0.46 d)
Wrote uvot_fluxes_251011d04h28m38s650409usUT.qdp
Wrote uvot_fluxes_251011d04h28m38s650409usUT.gif
Wrote uvot_fluxes_251011d04h28m38s650409usUT.ps
Wrote uvot_fluxes_251011d04h28m38s650409usUT_vis.qdp
Wrote uvot_fluxes_251011d04h28m38s650409usUT_uv.qdp
Wrote uvot_fluxes_251011d04h28m38s650409usUT_vis.gif
Wrote uvot_fluxes_251011d04h28m38s650409usUT_vis.ps
Wrote uvot_fluxes_251011d04h28m38s650409usUT_uv.gif
Wrote uvot_fluxes_251011d04h28m38s650409usUT_uv.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  v (0)  , u (0)  , b (0)  , white (0)  , 
Rebinned Data for All_files using a zero point of 20.290:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      393     193.7     74.9    -74.9    3.8200   0.2402 18.84  0.07     193.7    3.8200   0.2402 18.84  0.07 18.65
  1     2.63     455.9    124.9   -124.9    4.0353   0.4917 18.77  0.12     195.4    3.8233   0.2366 18.83  0.07 18.65
  2     12.1     935.4     74.9    -74.9    1.4630   0.2832 19.88  0.19     217.4    3.5213   0.2095 18.92  0.06 18.74
  3    0.241   17138.7    312.8  -5194.1    0.2479   0.1011 21.80  0.37     227.4    3.3756   0.2002 18.97  0.06 18.79
  4    0.127   18630.8  21463.3  -1175.6    0.0093   0.1359 25.37  2.98     233.2    3.2917   0.1953 19.00  0.06 18.82
The data range from T+118.8 s (0.00 d) to T+40094.1 s (0.46 d)
Wrote uvot_fluxes_wtd_251011d04h28m38s650409usUT.qdp
Wrote uvot_fluxes_wtd_251011d04h28m38s650409usUT.gif
Wrote uvot_fluxes_wtd_251011d04h28m38s650409usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem