# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 250615d02h59m36s769033usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01321323001 -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
# ========= GRB250605A ===================
Could not find/read custom source region custom_1321323_src.reg
Used archived XRT position of 166.95717 -19.78842 4.00
Reference: GCN_Circulars-40642-Fri,_6_Jun_2025_08:44:08_+0000
The position is (11:07:49.72, -19:47:18.3)
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(166.95717,-19.78842,4") # color=red dash=0
Source region spec. is: 166.95717 -19.78842 4"
Region file centered at (166.95717,-19.78842), which is (11:07:49.72, -19:47:18.3)
Could not find/read custom background region custom_1321323_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 -35.73364 from uncorrected trigger time of 770842351.27 in BAT summary file
# ============ Reading file sw01321323992uwh_sk.img ================
Use keyword TRIGTIME of 770842387.01 for trigger time.
Long-term sensitivity correction to zero point is -0.175 at 770842494
The processing date in extension 0 is: 2025-06-06T03:56:06
The trigger time is: 770842387.01. 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(166.95717,-19.78842,25")
fk5;-circle(166.95717,-19.78842,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 wh770842493I     107.0  0.97  141.3  457.2 201  14214  5832 -0.247 0.165 99.00 21.2 -0.2468 0.1645 99.00 21.2   141 -0.052  0.035 99.00 1.331 
   2 wh770842493E     108.7  0.97  139.6  460.8 201  14069  5839 -0.180 0.167 99.00 21.1 
    Sum (T+   107 to    251):             457.2        489.8 (est. in src region)   SNR_unwtd_sum:  -1.50 0.9987 signif. UL:  21.19
  0   141 770842566     178.8     71.8    -71.8   -0.2468   0.1645 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -0.052 +/- 0.034 snr: -1.5 mag: 99.00 UL: 22.91
# ============ Reading file sw01321323001uwh_sk.img ================
Use keyword TRIGTIME of 770842387.008 for trigger time.
Long-term sensitivity correction to zero point is -0.175 at 770847612
The processing date in extension 0 is:  2025-06-15T02:35:03
The trigger time is: 770842387.008. 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 4:
# 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(166.95717,-19.78842,25")
fk5;-circle(166.95717,-19.78842,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 wh770847611I    5224.8  0.96   48.2  199.9 204   5567  5823  0.109 0.321 22.53 20.0  0.1085 0.3206 22.53 20.0    48  0.669  1.977 20.73 0.039 
   2 wh770852645I   10258.6  0.94  295.0 1915.5 204  54842  5828 -0.015 0.166 99.00 20.8  0.0023 0.1497 26.70 20.9   343  0.258  1.418 21.76 0.014 
   3 wh770852949I   10562.2  0.95  295.0 1490.2 200  43815  5835 -0.043 0.145 99.00 21.0 -0.0187 0.1046 99.00 21.3   638 -0.039  1.119 99.00 0.015 
   4 wh770853252I   10865.6  0.96  295.0 1140.6 200  33787  5843 -0.058 0.125 99.00 21.2 -0.0312 0.0816 99.00 21.7   933 -0.266  0.921 99.00 0.016 
    Sum (T+  5225 to  11165):            4746.2       4773.0 (est. in src region)   SNR_unwtd_sum:  -0.38 0.9987 signif. UL:  21.67
  0   933 770852817   10430.0    735.4  -5205.2   -0.0312   0.0816 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -0.052 +/- 0.034 snr: -1.5 mag: 99.00 UL: 22.92
Rebinned Data for sw01321323001uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      137     178.8     71.8    -71.8   -0.2468   0.1645 99.00 99.00     178.8   -0.2468   0.1645 99.00 99.00 21.19
  1     46.4    5249.2     24.5    -24.5    0.1085   0.3206 22.53  1.49    1462.3   -0.1569   0.1473 99.00 99.00 21.20
  2      842   10714.6    450.9   -455.9   -0.0389   0.0843 99.00 99.00    9060.1   -0.0600   0.0741 99.00 99.00 21.88
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw01321323992uvv_sk.img ================
Use keyword TRIGTIME of 770842387.01 for trigger time.
Long-term sensitivity correction to zero point is -0.229 at 770842474
The processing date in extension 0 is:  2025-06-06T03:56:00
The trigger time is: 770842387.01. The reference is keyword in image file
Using zero point of 17.661 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(166.95717,-19.78842,25")
fk5;-circle(166.95717,-19.78842,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 vv770842474E      87.2  0.99   10.8    8.5 200    205  5842  0.145 0.284 19.76 17.6 
# ============ Reading file sw01321323001uvv_sk.img ================
Use keyword TRIGTIME of 770842387.008 for trigger time.
Long-term sensitivity correction to zero point is -0.229 at 770858789
The processing date in extension 0 is:  2025-06-15T02:35:04
The trigger time is: 770842387.008. The reference is keyword in image file
Using zero point of 17.661 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(166.95717,-19.78842,25")
fk5;-circle(166.95717,-19.78842,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 vv770858789I   16402.3  0.99  295.0  222.6 204   6664  5826 -0.038 0.053 99.00 19.8 -0.0376 0.0534 99.00 19.8   295 -7.011  9.955 99.00 0.007 
   2 vv770859092I   16705.9  0.99  295.0  183.6 200   5602  5868 -0.026 0.048 99.00 19.8 -0.0317 0.0361 99.00 20.2   590 -5.858  6.754 99.00 0.007 
   3 vv770859396I   17009.4  0.99  295.0  180.1 196   5255  5877  0.017 0.048 22.08 19.6 -0.0154 0.0289 99.00 20.4   885 -2.539  5.459 99.00 0.008 
    Sum (T+ 16402 to  17309):             586.4        599.5 (est. in src region)   SNR_unwtd_sum:  -0.53 0.9987 signif. UL:  20.38
  0   885 770859243   16855.7    453.4   -453.4   -0.0154   0.0289 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -0.052 +/- 0.034 snr: -1.5 mag: 99.00 UL: 20.47
Rebinned Data for sw01321323001uvv_sk.img using a zero point of 17.661:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      879   16855.8    453.3   -453.5   -0.0154   0.0289 99.00 99.00   16855.8   -0.0154   0.0289 99.00 99.00 20.38
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw01321323001ubb_sk.img ================
Use keyword TRIGTIME of 770842387.008 for trigger time.
Long-term sensitivity correction to zero point is -0.225 at 770847407
The processing date in extension 0 is:  2025-06-15T02:35:03
The trigger time is: 770842387.008. The reference is keyword in image file
Using zero point of 18.885 for filter B
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(166.95717,-19.78842,25")
fk5;-circle(166.95717,-19.78842,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 bb770847406I    5020.0  0.98  196.6  387.4 200  11230  5833  0.013 0.107 23.63 20.0  0.0127 0.1074 23.63 20.0   197  0.236  2.005 21.86 0.027 
    Sum (T+  5020 to   5220):             387.4        385.0 (est. in src region)   SNR_unwtd_sum:   0.12 0.9987 signif. UL:  20.01
  0   197 770847507    5119.9     99.9    -99.9    0.0127   0.1074 23.629 75.371  -2.442
Total wtd_rate (for all exposures so far): -0.052 +/- 0.034 snr: -1.5 mag: 99.00 UL: 21.69
Rebinned Data for sw01321323001ubb_sk.img using a zero point of 18.885:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      193    5119.9     99.9    -99.9    0.0127   0.1074 23.63  2.44    5119.9    0.0127   0.1074 23.63  2.44 20.01
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw01321323001uuu_sk.img ================
Use keyword TRIGTIME of 770842387.008 for trigger time.
Long-term sensitivity correction to zero point is -0.244 at 770847202
The processing date in extension 0 is:  2025-06-15T02:35:03
The trigger time is: 770842387.008. The reference is keyword in image file
Using zero point of 18.096 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(166.95717,-19.78842,25")
fk5;-circle(166.95717,-19.78842,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 uu770847201I    4814.9  0.99  196.6  292.8 204   8046  5826  0.059 0.093 21.17 19.2  0.0591 0.0926 21.17 19.2   197  2.190  3.432 19.44 0.019 
   2 uu770864711I   22324.0  0.99    7.5    2.3 204     96  5857 -0.139 0.216 99.00 18.7  0.0517 0.0895 21.31 19.3   204  2.036  3.418 19.52 0.019 
    Sum (T+  4815 to  22332):             295.2        285.1 (est. in src region)   SNR_unwtd_sum:   0.58 0.9987 signif. UL:  19.30
  0   204 770847945    5558.4  16773.3   -743.5    0.0517   0.0895 21.312 77.688  -1.090
Total wtd_rate (for all exposures so far): -0.052 +/- 0.034 snr: -1.5 mag: 99.00 UL: 20.90
Rebinned Data for sw01321323001uuu_sk.img using a zero point of 18.096:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      194    4914.8     99.9    -99.9    0.0591   0.0926 21.17  1.02    4914.8    0.0591   0.0926 21.17  1.02 19.25
  1      7.5   22327.9      3.8     -3.8   -0.1388   0.2160 99.00 99.00    5563.6    0.0517   0.0895 21.31  1.09 19.30
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw01321323001uw1_sk.img ================
Use keyword TRIGTIME of 770842387.008 for trigger time.
Long-term sensitivity correction to zero point is -0.271 at 770863805
The processing date in extension 0 is:  2025-06-15T02:35:05
The trigger time is: 770842387.008. 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(166.95717,-19.78842,25")
fk5;-circle(166.95717,-19.78842,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 w1770863804I   21417.9  1.00  885.7  182.8 200   5387  5872 -0.001 0.016 99.00 20.4 -0.0008 0.0161 99.00 20.4   886 -0.318  6.236 99.00 0.012 
    Sum (T+ 21418 to  22318):             182.8        183.5 (est. in src region)   SNR_unwtd_sum:  -0.05 0.9987 signif. UL:  20.40
  0   886 770864255   21867.8    449.9   -449.9   -0.0008   0.0161 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -0.052 +/- 0.034 snr: -1.5 mag: 99.00 UL: 19.97
Rebinned Data for sw01321323001uw1_sk.img using a zero point of 17.169:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      884   21867.8    449.9   -449.9   -0.0008   0.0161 99.00 99.00   21867.8   -0.0008   0.0161 99.00 99.00 20.40
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw01321323001um2_sk.img ================
Use keyword TRIGTIME of 770842387.008 for trigger time.
Long-term sensitivity correction to zero point is -0.259 at 770859701
The processing date in extension 0 is:  2025-06-15T02:35:05
The trigger time is: 770842387.008. 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
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(166.95717,-19.78842,25")
fk5;-circle(166.95717,-19.78842,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 m2770859701I   17314.4  1.00  761.1   16.9 204    493  5844 -0.000 0.006 99.00 21.0 -0.0004 0.0057 99.00 21.0   761 -0.220  3.025 99.00 0.083 
    Sum (T+ 17314 to  18088):              16.9         17.2 (est. in src region)   SNR_unwtd_sum:  -0.07 0.9987 signif. UL:  20.96
  0   761 770860088   17701.1    386.7   -386.7   -0.0004   0.0057 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -0.052 +/- 0.034 snr: -1.5 mag: 99.00 UL: 19.39
Rebinned Data for sw01321323001um2_sk.img using a zero point of 16.591:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      761   17701.1    386.7   -386.7   -0.0004   0.0057 99.00 99.00   17701.1   -0.0004   0.0057 99.00 99.00 20.96
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw01321323001uw2_sk.img ================
Use keyword TRIGTIME of 770842387.008 for trigger time.
Long-term sensitivity correction to zero point is -0.345 at 770853559
The processing date in extension 0 is:  2025-06-15T02:35:04
The trigger time is: 770842387.008. 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 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(166.95717,-19.78842,25")
fk5;-circle(166.95717,-19.78842,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 w2770853559I   11172.1  1.00  674.8   50.5 200   1063  5825  0.021 0.011 21.21 20.2  0.0214 0.0110 21.21 20.2   675  4.946  2.547 18.55 0.080 
    Sum (T+ 11172 to  11858):              50.5         36.5 (est. in src region)   SNR_unwtd_sum:   1.94 0.9987 signif. UL:  20.19
  0   675 770853902   11514.9    342.8   -342.8    0.0214   0.0110 21.208  0.785  -0.451
Total wtd_rate (for all exposures so far): -0.051 +/- 0.034 snr: -1.5 mag: 99.00 UL: 19.82
Rebinned Data for sw01321323001uw2_sk.img using a zero point of 17.035:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      674   11514.9    342.8   -342.8    0.0214   0.0110 21.21  0.45   11514.9    0.0214   0.0110 21.21  0.45 20.19
The data range from T+107.0 s (0.00 d) to T+22331.7 s (0.26 d)
Wrote uvot_fluxes_250615d02h59m36s769033usUT.qdp
Wrote uvot_fluxes_250615d02h59m36s769033usUT.gif
Wrote uvot_fluxes_250615d02h59m36s769033usUT.ps
Wrote uvot_fluxes_250615d02h59m36s769033usUT_vis.qdp
Wrote uvot_fluxes_250615d02h59m36s769033usUT_uv.qdp
Wrote uvot_fluxes_250615d02h59m36s769033usUT_vis.gif
Wrote uvot_fluxes_250615d02h59m36s769033usUT_vis.ps
Wrote uvot_fluxes_250615d02h59m36s769033usUT_uv.gif
Wrote uvot_fluxes_250615d02h59m36s769033usUT_uv.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  b (0)  , u (0)  , white (0)  , v (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      712     178.8     71.8    -71.8   -0.2900   0.1933 99.00 99.00     178.8   -0.2900   0.1933 99.00 99.00 21.19
  1     1.08    9236.1   1929.3  -4421.2   -0.0234   0.0934 99.00 99.00     192.5   -0.2706   0.1794 99.00 99.00 21.27
  2  0.00308   17047.4   5284.3   -645.2   -0.1967   0.3173 99.00 99.00     192.6   -0.2705   0.1793 99.00 99.00 21.28
The data range from T+107.0 s (0.00 d) to T+22331.7 s (0.26 d)
Wrote uvot_fluxes_wtd_250615d02h59m36s769033usUT.qdp
Wrote uvot_fluxes_wtd_250615d02h59m36s769033usUT.gif
Wrote uvot_fluxes_wtd_250615d02h59m36s769033usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem