# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 251021d04h09m05s500554usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01403191001 -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
# ========= GRB251011B ===================
Could not find/read custom source region custom_1403191_src.reg
Used archived XRT position of 13.23471 -62.03339 4.00
Reference: GCN_Circulars-42201-Sat,_11_Oct_2025_14:07:54_+0000
The position is (00:52:56.33, -62:02:00.2)
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(13.23471,-62.03339,4") # color=red dash=0
Source region spec. is: 13.23471 -62.03339 4"
Region file centered at (13.23471,-62.03339), which is (00:52:56.33, -62:02:00.2)
Could not find/read custom background region custom_1403191_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.48396 from uncorrected trigger time of 781859302.33 in BAT summary file
# ============ Reading file sw01403191992uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 781859446
The processing date in extension 0 is: 2025-10-11T16:33:54
The trigger time is: 781859338.81396. The reference is BAT GRB summary 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(13.23471,-62.03339,25")
fk5;-circle(13.23471,-62.03339,12.5")
fk5;-circle(13.248739,-62.038195,6")
 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 wh781859445I     106.8  0.98  147.4  323.0 200   8983  5807  0.098 0.131 22.64 20.9  0.0979 0.1309 22.64 20.9   147  0.021  0.028 24.49 2.187 
   2 wh781859445E     106.8  0.98  147.4  322.1 202   8982  5814  0.072 0.131 22.97 20.9 
    Sum (T+   107 to    257):             323.0        309.4 (est. in src region)   SNR_unwtd_sum:   0.75 0.9987 signif. UL:  20.86
  0   147 781859520     181.7     74.9    -74.9    0.0979   0.1309 22.638 76.362  -0.921
Total wtd_rate (for all exposures so far):  0.021 +/- 0.027 snr:  0.8 mag: 24.49 UL: 22.55
# ============ Reading file sw01403191001uwh_sk.img ================
Use keyword TRIGTIME of 781859338.816 for trigger time.
Long-term sensitivity correction to zero point is -0.175 at 781865145
The processing date in extension 0 is:  2025-10-21T03:54:00
The trigger time is: 781859338.816. 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(13.23471,-62.03339,25")
fk5;-circle(13.23471,-62.03339,12.5")
fk5;-circle(13.248577,-62.038200,6")
 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
Low  bkg:   1 wh781865144I  196.6  11136  5828  9.718  0.092
   1 wh781865144I    5806.0  0.98  196.6  381.0 196  11136  5830  0.036 0.106 23.73 21.2  0.0357 0.1064 23.73 21.2   197  0.248  0.739 21.80 0.074 
    Sum (T+  5806 to   6006):             381.0        374.4 (est. in src region)   SNR_unwtd_sum:   0.34 0.9987 signif. UL:  21.19
  0   197 781865245    5905.9     99.9    -99.9    0.0357   0.1064 23.733 75.267  -1.500
Total wtd_rate (for all exposures so far):  0.021 +/- 0.027 snr:  0.8 mag: 24.47 UL: 22.55
Rebinned Data for sw01403191001uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      144     181.7     74.9    -74.9    0.0979   0.1309 22.64  0.92     181.7    0.0979   0.1309 22.64  0.92 20.86
  1      193    5905.9     99.9    -99.9    0.0357   0.1064 23.73  1.50    3454.7    0.0623   0.0827 23.13  0.92 21.36
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw01403191992uvv_sk.img ================
Long-term sensitivity correction to zero point is -0.230 at 781859425
The processing date in extension 0 is:  2025-10-11T16:33:50
The trigger time is: 781859338.816. 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(13.23471,-62.03339,25")
fk5;-circle(13.23471,-62.03339,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
Low  bkg:   1 vv781859425E   10.0    104  5846  1.776  0.174
   1 vv781859425E      86.2  1.00   10.0    2.1 203    104  5840 -0.155 0.154 99.00 18.7 
# ============ Reading file sw01403191001uvv_sk.img ================
Use keyword TRIGTIME of 781859338.816 for trigger time.
Long-term sensitivity correction to zero point is -0.230 at 781881403
The processing date in extension 0 is:  2025-10-21T03:54:01
The trigger time is: 781859338.816. 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 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(13.23471,-62.03339,25")
fk5;-circle(13.23471,-62.03339,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 vv781881402I   22063.7  1.00  295.0  120.5 204   3733  5839 -0.035 0.039 99.00 20.1 -0.0347 0.0392 99.00 20.1   295 -8.680  9.818 99.00 0.009 
   2 vv781881706I   22367.3  1.00  295.0   96.9 204   3869  5832 -0.135 0.035 99.00 20.9 -0.0847 0.0264 99.00 21.1   590 -21.030  6.670 99.00 0.009 
   3 vv781882009I   22670.8  1.00  123.2   53.4 196   1586  5844  0.001 0.062 24.95 19.4 -0.0698 0.0243 99.00 21.1   713 -17.320  6.171 99.00 0.009 
    Sum (T+ 22064 to  22796):             270.8        319.0 (est. in src region)   SNR_unwtd_sum:  -2.87 0.9987 signif. UL:  21.13
  0   713 781881768   22429.0    367.0   -365.2   -0.0698   0.0243 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.021 +/- 0.027 snr:  0.8 mag: 24.49 UL: 20.10
Rebinned Data for sw01403191001uvv_sk.img using a zero point of 17.660:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      711   22429.0    367.0   -365.3   -0.0698   0.0243 99.00 99.00   22429.0   -0.0698   0.0243 99.00 99.00 21.13
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw01403191001ubb_sk.img ================
Use keyword TRIGTIME of 781859338.816 for trigger time.
Long-term sensitivity correction to zero point is -0.229 at 781864940
The processing date in extension 0 is:  2025-10-21T03:54:00
The trigger time is: 781859338.816. 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(13.23471,-62.03339,25")
fk5;-circle(13.23471,-62.03339,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
Low  bkg:   1 bb781864939I  196.6   4120  5832  3.593  0.056
   1 bb781864939I    5600.9  0.99  196.6  152.9 204   4120  5836  0.047 0.067 22.20 20.4  0.0470 0.0666 22.20 20.4   197  0.981  1.391 20.31 0.065 
Low  bkg:   2 bb781887147I  295.0   6216  5868  3.591  0.046
   2 bb781887147I   27808.4  0.99  295.0  206.2 196   6216  5868 -0.005 0.052 99.00 20.9  0.0158 0.0408 23.38 21.0   492  0.890  1.345 20.42 0.035 
Low  bkg:   3 bb781887450I  147.6   3125  5848  3.620  0.065
   3 bb781887450I   28112.0  0.99  147.6  109.7 204   3125  5847  0.005 0.075 24.59 20.4  0.0134 0.0359 23.57 21.1   639  0.880  1.325 20.43 0.030 
    Sum (T+  5601 to  28262):             468.8        460.7 (est. in src region)   SNR_unwtd_sum:   0.37 0.9987 signif. UL:  21.13
  0   639 781880504   21165.5   7096.5 -15564.6    0.0134   0.0359 23.566 75.434  -1.416
Total wtd_rate (for all exposures so far):  0.021 +/- 0.027 snr:  0.8 mag: 24.47 UL: 21.32
Rebinned Data for sw01403191001ubb_sk.img using a zero point of 18.881:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      195    5700.8     99.9    -99.9    0.0470   0.0666 22.20  0.96    5700.8    0.0470   0.0666 22.20  0.96 20.37
  1      440   28034.6    227.4   -226.2   -0.0016   0.0425 99.00 99.00   21168.9    0.0134   0.0359 23.57  1.42 21.13
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw01403191992uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.248 at 781859658
The processing date in extension 0 is:  2025-10-11T16:33:56
The trigger time is: 781859338.816. 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(13.23471,-62.03339,25")
fk5;-circle(13.23471,-62.03339,12.5")
fk5;-circle(13.248336,-62.038429,6")
 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 uu781859658I     319.5  1.00  141.0   38.1 196   1280  5810 -0.037 0.046 99.00 20.4 -0.0370 0.0462 99.00 20.4   141 -0.110  0.137 99.00 1.099 
   2 uu781859658E     319.5  1.00  141.0   38.7 200   1278  5806 -0.039 0.047 99.00 20.4 
    Sum (T+   320 to    463):              38.1         43.2 (est. in src region)   SNR_unwtd_sum:  -0.80 0.9987 signif. UL:  20.37
  0   141 781859730     391.2     71.7    -71.7   -0.0370   0.0462 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.017 +/- 0.027 snr:  0.6 mag: 24.73 UL: 20.59
Rebinned Data for sw01403191992uuu_sk.img using a zero point of 18.092:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      141     391.2     71.7    -71.7   -0.0370   0.0462 99.00 99.00     391.2   -0.0370   0.0462 99.00 99.00 20.37
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw01403191001uw2_sk.img ================
Use keyword TRIGTIME of 781859338.816 for trigger time.
Long-term sensitivity correction to zero point is -0.345 at 781865351
The processing date in extension 0 is:  2025-10-21T03:54:00
The trigger time is: 781859338.816. 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
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(13.23471,-62.03339,25")
fk5;-circle(13.23471,-62.03339,12.5")
fk5;-circle(13.248662,-62.038200,6")
 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 w2781865350I    6011.8  1.00   49.4    2.7 208     78  5811 -0.003 0.035 99.00 19.4 -0.0028 0.0348 99.00 19.4    49 -0.342  4.214 99.00 0.146 
   2 w2781875850I   16511.9  1.00  718.9   30.5 200    736  5840  0.008 0.008 22.33 20.8  0.0069 0.0079 22.43 20.8   768  1.842  2.300 19.63 0.090 
    Sum (T+  6012 to  17242):              33.1         28.0 (est. in src region)   SNR_unwtd_sum:   0.88 0.9987 signif. UL:  20.80
  0   768 781875519   16180.5   1061.7 -10168.7    0.0069   0.0079 22.434 76.566  -0.824
Total wtd_rate (for all exposures so far):  0.017 +/- 0.027 snr:  0.6 mag: 24.71 UL: 19.53
Rebinned Data for sw01403191001uw2_sk.img using a zero point of 17.035:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     49.3    6036.9     25.1    -25.1   -0.0028   0.0348 99.00 99.00    6036.9   -0.0028   0.0348 99.00 99.00 19.43
  1      719   16877.1    365.2   -365.2    0.0076   0.0081 22.33  0.79   16180.6    0.0069   0.0079 22.43  0.82 20.80
=========================================================
================ Start New Filter UGRISM ==================
=========================================================
# ============ Reading file sw01403191992ugu_sk.img ================
The data range from T+106.8 s (0.00 d) to T+28262.0 s (0.33 d)
Wrote uvot_fluxes_251021d04h09m05s500554usUT.qdp
Wrote uvot_fluxes_251021d04h09m05s500554usUT.gif
Wrote uvot_fluxes_251021d04h09m05s500554usUT.ps
Wrote uvot_fluxes_251021d04h09m05s500554usUT_vis.qdp
Wrote uvot_fluxes_251021d04h09m05s500554usUT_uv.qdp
Wrote uvot_fluxes_251021d04h09m05s500554usUT_vis.gif
Wrote uvot_fluxes_251021d04h09m05s500554usUT_vis.ps
Wrote uvot_fluxes_251021d04h09m05s500554usUT_uv.gif
Wrote uvot_fluxes_251021d04h09m05s500554usUT_uv.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  u (0)  , v (0)  , white (0)  , b (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 1.09e+03     181.7     74.9    -74.9    0.1150   0.1538 22.64  0.92     181.7    0.1150   0.1538 22.64  0.92 20.86
  1     7.06     391.2     71.7    -71.7   -0.2804   0.3496 99.00 99.00     183.0    0.1095   0.1518 22.69  0.94 20.88
  2      1.7    5888.9    116.9   -287.9    0.0524   0.1167 23.49  1.27     191.8    0.1068   0.1446 22.72  0.93 20.93
  3  0.00237   22431.1    364.9   -367.3   -0.8573   0.2727 99.00 99.00     191.9    0.1066   0.1446 22.72  0.93 20.93
  4   0.0143   28030.6    231.4   -222.2   -0.0063   0.1557 99.00 99.00     192.3    0.1064   0.1443 22.72  0.93 20.93
The data range from T+106.8 s (0.00 d) to T+28262.0 s (0.33 d)
Wrote uvot_fluxes_wtd_251021d04h09m05s500554usUT.qdp
Wrote uvot_fluxes_wtd_251021d04h09m05s500554usUT.gif
Wrote uvot_fluxes_wtd_251021d04h09m05s500554usUT.ps
Found 5 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem