# uvot_fluxes_wget.pl vrs. 2020-11-03a fem at 210722d09h29m20s557784usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01059881002 -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
# ========= GRB210712A ===================
Could not find/read custom source region custom_1059881_src.reg
Used archived XRT position of 97.33179 -35.37167 4.00
Reference: GCN_Circulars-30453-Mon,_12_Jul_2021_14:32:59_-0400
The position is (06:29:19.63, -35:22:18.0)
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(97.33179,-35.37167,4") # color=red dash=0
Source region spec. is: 97.33179 -35.37167 4"
Region file centered at (97.33179,-35.37167), which is (06:29:19.63, -35:22:18.0)
Could not find/read custom background region custom_1059881_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 -27.35594 from uncorrected trigger time of 647775791.9 in BAT summary file
# ============ Reading file sw01059881992uwh_sk.img ================
Use keyword TRIGTIME of 647775818.521 for trigger time.
Long-term sensitivity correction to zero point is -0.178 at 647775909
The processing date in extension 0 is: 2021-07-12T16:57:37
The trigger time is: 647775818.521. The reference is keyword in image file
Using zero point of 20.112 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(97.33179,-35.37167,25")
fk5;-circle(97.33179,-35.37167,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 wh647775909I      90.9  0.94  147.4 1001.6 199  25587  5889  1.026 0.241 20.08 19.5  1.0262 0.2405 20.08 19.5   147  0.200  0.047 22.04 0.818 
   2 wh647775909E      92.1  0.94  143.8  991.7 201  25010  5883  1.055 0.246 20.05 19.5 
High bkg:   3 wh647776402E   19.5   7551  5841 66.421  0.764
   3 wh647776402E     583.8  0.87   19.5  284.3 198   7551  5897  1.886 1.050 19.42 18.4  1.1198 0.2429 19.99 19.4   167  0.205  0.047 22.01 0.654 
above line uses coinc_corr_src:  0.867 corr_bkg:  0.875
    Sum (T+    91 to    604):            1285.8       1118.1 (est. in src region)   SNR_unwtd_sum:   4.61 0.9987 signif. UL:  19.44
  0   167 647776034     215.7    387.9   -124.8    1.1198   0.2429 19.990  0.265  -0.214
Total wtd_rate (for all exposures so far):  0.205 +/- 0.046 snr:  4.4 mag: 22.01 UL: 21.27
# ============ Reading file sw01059881002uwh_sk.img ================
Use keyword TRIGTIME of 647775819.264 for trigger time.
Long-term sensitivity correction to zero point is -0.178 at 647815024
The processing date in extension 0 is:  2021-07-22T09:12:39
The trigger time is: 647775819.264. The reference is keyword in image file
Using zero point of 20.112 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(97.33179,-35.37167,25")
fk5;-circle(97.33179,-35.37167,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 wh647815024I   39205.1  0.97  295.0 1058.6 204  27677  5841  0.333 0.120 21.31 20.5  0.3332 0.1198 21.31 20.5   295 15.443  5.551 17.32 0.006 
   2 wh647815327I   39508.6  0.97  295.1 1014.3 204  28316  5823  0.081 0.117 22.84 21.0  0.2071 0.0838 21.82 21.0   590  9.730  3.901 17.82 0.006 
   3 wh647815631I   39812.1  0.96  205.8  806.5 196  22809  5837  0.212 0.151 21.80 20.5  0.2083 0.0733 21.82 21.0   796  9.781  3.417 17.81 0.006 
    Sum (T+ 39205 to  40021):            2879.4       2724.5 (est. in src region)   SNR_unwtd_sum:   2.84 0.9987 signif. UL:  21.03
  0   796 647815432   39612.7    408.5   -407.7    0.2083   0.0733 21.816  0.471  -0.328
Total wtd_rate (for all exposures so far):  0.206 +/- 0.046 snr:  4.5 mag: 22.00 UL: 21.27
Rebinned Data for sw01059881002uwh_sk.img using a zero point of 20.112:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      138     165.8     74.9    -74.9    1.0262   0.2405 20.08  0.23     165.8    1.0262   0.2405 20.08  0.23 19.50
  1     16.9     593.7      9.9     -9.9    1.8862   1.0497 19.42  0.48     212.3    1.1198   0.2429 19.99  0.21 19.44
  2      769   39612.3    408.9   -407.3    0.2083   0.0733 21.82  0.33   33007.1    0.3611   0.0734 21.22  0.20 20.70
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw01059881992uvv_sk.img ================
Use keyword TRIGTIME of 647775818.521 for trigger time.
Long-term sensitivity correction to zero point is -0.214 at 647775891
The processing date in extension 0 is:  2021-07-12T16:57:18
The trigger time is: 647775818.521. The reference is keyword in image file
Using zero point of 17.676 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(97.33179,-35.37167,25")
fk5;-circle(97.33179,-35.37167,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 vv647775890E      72.1  0.99    9.1   13.2 202    289  5874  0.379 0.423 18.73 17.1 
# ============ Reading file sw01059881001uvv_sk.img ================
Use keyword TRIGTIME of 647775819.264 for trigger time.
Long-term sensitivity correction to zero point is -0.214 at 647781428
The processing date in extension 0 is:  2021-07-22T09:13:00
The trigger time is: 647775819.264. The reference is keyword in image file
Using zero point of 17.676 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(97.33179,-35.37167,25")
fk5;-circle(97.33179,-35.37167,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 vv647781427I    5608.2  0.99  196.6  213.3 208   5551  5872  0.089 0.079 20.31 18.9  0.0885 0.0785 20.31 18.9   197  5.612  4.978 18.42 0.016 
    Sum (T+  5608 to   5808):             213.3        196.6 (est. in src region)   SNR_unwtd_sum:   1.13 0.9987 signif. UL:  18.89
  0   197 647781527    5708.1     99.9    -99.9    0.0885   0.0785 20.309  2.368  -0.690
Total wtd_rate (for all exposures so far):  0.206 +/- 0.046 snr:  4.5 mag: 22.01 UL: 18.83
Rebinned Data for sw01059881001uvv_sk.img using a zero point of 17.676:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      195    5708.1     99.9    -99.9    0.0885   0.0785 20.31  0.69    5708.1    0.0885   0.0785 20.31  0.69 18.89
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw01059881992ubb_sk.img ================
Use keyword TRIGTIME of 647775818.521 for trigger time.
Long-term sensitivity correction to zero point is -0.179 at 647776378
The processing date in extension 0 is:  2021-07-12T16:57:33
The trigger time is: 647775818.521. The reference is keyword in image file
Using zero point of 18.931 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(97.33179,-35.37167,25")
fk5;-circle(97.33179,-35.37167,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
High bkg:   1 bb647776378E   19.5   3676  5842 32.350  0.534
   1 bb647776378E     559.5  0.94   19.5  130.4 200   3676  5858  0.276 0.660 20.33 18.0  0.2764 0.6597 20.33 18.0    19  0.550  1.313 20.94 0.073 
    Sum (T+   560 to    579):             130.4        125.5 (est. in src region)   SNR_unwtd_sum:   0.42 0.9987 signif. UL:  18.01
  0    19 647776388     569.4      9.9     -9.9    0.2764   0.6597 20.327 78.673  -1.324
Total wtd_rate (for all exposures so far):  0.207 +/- 0.046 snr:  4.5 mag: 22.00 UL: 20.08
# ============ Reading file sw01059881001ubb_sk.img ================
Use keyword TRIGTIME of 647775819.264 for trigger time.
Long-term sensitivity correction to zero point is -0.179 at 647787226
The processing date in extension 0 is:  2021-07-22T09:13:00
The trigger time is: 647775819.264. The reference is keyword in image file
Using zero point of 18.931 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(97.33179,-35.37167,25")
fk5;-circle(97.33179,-35.37167,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 bb647787225I   11406.7  0.98  295.0  627.0 200  18559  5834 -0.033 0.091 99.00 20.4 -0.0332 0.0913 99.00 20.4   295 -1.342  3.688 99.00 0.011 
   2 bb647787529I   11710.2  0.96  295.0 1182.1 208  31936  5893  0.200 0.127 20.68 19.5  0.0824 0.0781 21.64 20.2   590  1.949  3.025 19.57 0.008 
   3 bb647787832I   12013.7  0.96   65.0  276.7 200   9044  5806 -0.579 0.282 99.00 19.6  0.0176 0.0757 23.32 20.4   655  0.516  2.932 21.01 0.007 
    Sum (T+ 11407 to  12080):            2085.8       2075.0 (est. in src region)   SNR_unwtd_sum:   0.23 0.9987 signif. UL:  20.41
  0   655 647787561   11741.9    337.9   -335.2    0.0176   0.0757 23.317 75.683  -1.811
Total wtd_rate (for all exposures so far):  0.207 +/- 0.046 snr:  4.5 mag: 22.00 UL: 20.08
# ============ Reading file sw01059881002ubb_sk.img ================
Use keyword TRIGTIME of 647775819.264 for trigger time.
Long-term sensitivity correction to zero point is -0.179 at 647814112
The processing date in extension 0 is:  2021-07-22T09:12:38
The trigger time is: 647775819.264. The reference is keyword in image file
Using zero point of 18.931 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(97.33179,-35.37167,25")
fk5;-circle(97.33179,-35.37167,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 bb647814111I   38292.5  0.99  295.0  432.5 196  12027  5843  0.103 0.075 21.39 20.1  0.1033 0.0752 21.39 20.1   295 13.889 10.102 17.43 0.005 
   2 bb647814415I   38596.0  0.99  295.0  471.5 204  12888  5847  0.078 0.079 21.70 20.2  0.0906 0.0544 21.54 20.4   590 12.322  7.328 17.56 0.005 
   3 bb647814718I   38899.5  0.99  295.0  385.9 200  10797  5831  0.055 0.071 22.07 20.3  0.0788 0.0433 21.69 20.6   885 10.603  5.843 17.73 0.005 
    Sum (T+ 38292 to  39199):            1289.9       1223.4 (est. in src region)   SNR_unwtd_sum:   1.82 0.9987 signif. UL:  20.63
  0   885 647814565   38745.9    453.4   -453.4    0.0788   0.0433 21.689  0.865  -0.475
Total wtd_rate (for all exposures so far):  0.208 +/- 0.046 snr:  4.5 mag: 22.00 UL: 20.08
Rebinned Data for sw01059881002ubb_sk.img using a zero point of 18.931:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     18.2     569.4      9.9     -9.9    0.2764   0.6597 20.33  1.32     569.4    0.2764   0.6597 20.33  1.32 18.01
  1      635   11740.4    339.4   -333.7    0.0176   0.0757 23.32  1.81   11429.2    0.0248   0.0758 22.94  1.52 20.38
  2      873   38746.1    453.2   -453.6    0.0788   0.0433 21.69  0.48   27051.4    0.0557   0.0408 22.07  0.60 20.79
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw01059881992uuu_sk.img ================
Use keyword TRIGTIME of 647775818.521 for trigger time.
Long-term sensitivity correction to zero point is -0.194 at 647776123
The processing date in extension 0 is:  2021-07-12T16:57:38
The trigger time is: 647775818.521. The reference is keyword in image file
Using zero point of 18.146 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(97.33179,-35.37167,25")
fk5;-circle(97.33179,-35.37167,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 uu647776122I     304.2  0.98  245.8  506.5 200  15164  5845 -0.053 0.098 99.00 19.5 -0.0530 0.0981 99.00 19.5   246 -0.164  0.303 99.00 0.150 
   2 uu647776122E     304.2  0.98  245.8  493.6 196  15167  5841 -0.066 0.097 99.00 19.6 
    Sum (T+   304 to    554):             506.5        518.9 (est. in src region)   SNR_unwtd_sum:  -0.54 0.9987 signif. UL:  19.54
  0   246 647776248     429.1    124.9   -124.9   -0.0530   0.0981 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.200 +/- 0.045 snr:  4.4 mag: 22.04 UL: 19.33
# ============ Reading file sw01059881001uuu_sk.img ================
Use keyword TRIGTIME of 647775819.264 for trigger time.
Long-term sensitivity correction to zero point is -0.194 at 647782043
The processing date in extension 0 is:  2021-07-22T09:13:00
The trigger time is: 647775819.264. The reference is keyword in image file
Using zero point of 18.146 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(97.33179,-35.37167,25")
fk5;-circle(97.33179,-35.37167,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 uu647782043I    6224.2  0.98  120.0  244.7 196   7314  5821 -0.014 0.140 99.00 19.0 -0.0136 0.1396 99.00 19.0   120 -0.618  6.321 99.00 0.011 
    Sum (T+  6224 to   6346):             244.7        246.3 (est. in src region)   SNR_unwtd_sum:  -0.10 0.9987 signif. UL:  19.04
  0   120 647782104    6285.1     60.9    -60.9   -0.0136   0.1396 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.200 +/- 0.045 snr:  4.4 mag: 22.04 UL: 19.33
# ============ Reading file sw01059881002uuu_sk.img ================
Use keyword TRIGTIME of 647775819.264 for trigger time.
Long-term sensitivity correction to zero point is -0.194 at 647809311
The processing date in extension 0 is:  2021-07-22T09:12:38
The trigger time is: 647775819.264. The reference is keyword in image file
Using zero point of 18.146 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(97.33179,-35.37167,25")
fk5;-circle(97.33179,-35.37167,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 uu647809311I   33491.8  1.00  295.0  138.4 200   4497  5830 -0.056 0.042 99.00 20.7 -0.0559 0.0421 99.00 20.7   295 -13.551 10.207 99.00 0.008 
   2 uu647809614I   33795.3  1.00  295.0  154.5 200   4435  5820  0.007 0.044 23.49 20.2 -0.0243 0.0306 99.00 20.9   590 -5.914  7.452 99.00 0.008 
   3 uu647809918I   34098.9  0.99  197.7  125.4 200   4131  5866 -0.081 0.060 99.00 20.3 -0.0386 0.0274 99.00 21.1   788 -8.615  6.656 99.00 0.007 
    Sum (T+ 33492 to  34300):             418.3        447.6 (est. in src region)   SNR_unwtd_sum:  -1.41 0.9987 signif. UL:  21.14
  0   788 647809715   33895.3    404.5   -403.5   -0.0386   0.0274 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.200 +/- 0.045 snr:  4.4 mag: 22.04 UL: 19.33
Rebinned Data for sw01059881002uuu_sk.img using a zero point of 18.146:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      241     429.1    124.9   -124.9   -0.0530   0.0981 99.00 99.00     429.1   -0.0530   0.0981 99.00 99.00 19.54
  1      118    6285.1     60.9    -60.9   -0.0136   0.1396 99.00 99.00    2350.0   -0.0401   0.0803 99.00 99.00 19.75
  2      784   33895.1    404.6   -403.3   -0.0386   0.0274 99.00 99.00   23994.0   -0.0390   0.0314 99.00 99.00 20.95
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw01059881001uw1_sk.img ================
Use keyword TRIGTIME of 647775819.264 for trigger time.
Long-term sensitivity correction to zero point is -0.271 at 647781838
The processing date in extension 0 is:  2021-07-22T09:13:00
The trigger time is: 647775819.264. 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(97.33179,-35.37167,25")
fk5;-circle(97.33179,-35.37167,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 w1647781837I    6018.7  1.00  196.6   35.4 200   1085  5819 -0.010 0.032 99.00 19.7 -0.0100 0.0319 99.00 19.7   197 -1.084  3.461 99.00 0.049 
    Sum (T+  6019 to   6218):              35.4         37.3 (est. in src region)   SNR_unwtd_sum:  -0.31 0.9987 signif. UL:  19.72
  0   197 647781938    6118.6     99.9    -99.9   -0.0100   0.0319 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.200 +/- 0.046 snr:  4.4 mag: 22.04 UL: 18.35
# ============ Reading file sw01059881002uw1_sk.img ================
Use keyword TRIGTIME of 647775819.264 for trigger time.
Long-term sensitivity correction to zero point is -0.271 at 647803461
The processing date in extension 0 is:  2021-07-22T09:12:38
The trigger time is: 647775819.264. 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 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(97.33179,-35.37167,25")
fk5;-circle(97.33179,-35.37167,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 w1647803460I   27641.5  1.00  393.7   55.8 204   1506  5825  0.008 0.020 22.40 20.0  0.0081 0.0200 22.40 20.0   394  3.991  9.859 18.79 0.015 
   2 w1647808403I   32584.2  1.00  885.6  110.5 200   3150  5848  0.003 0.012 23.39 20.6  0.0047 0.0106 22.98 20.7  1279  2.658  5.876 19.23 0.014 
   3 w1647819776I   43956.8  1.00  813.7   96.1 200   2715  5848  0.004 0.013 23.12 20.6  0.0045 0.0081 23.03 21.0  2093  2.814  5.063 19.17 0.013 
    Sum (T+ 27641 to  44783):             262.4        253.3 (est. in src region)   SNR_unwtd_sum:   0.55 0.9987 signif. UL:  20.98
  0  2093 647812284   36464.4   8319.0  -8822.9    0.0045   0.0081 23.033 75.967  -1.120
Total wtd_rate (for all exposures so far):  0.200 +/- 0.046 snr:  4.4 mag: 22.04 UL: 18.35
Rebinned Data for sw01059881002uw1_sk.img using a zero point of 17.169:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      196    6118.6     99.9    -99.9   -0.0100   0.0319 99.00 99.00    6118.6   -0.0100   0.0319 99.00 99.00 19.72
  1 2.09e+03   36465.3   8318.2  -8823.8    0.0045   0.0081 23.03  1.12   33860.3    0.0033   0.0079 23.38  1.34 21.05
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw01059881001um2_sk.img ================
Use keyword TRIGTIME of 647775819.264 for trigger time.
Long-term sensitivity correction to zero point is -0.259 at 647781633
The processing date in extension 0 is:  2021-07-22T09:13:00
The trigger time is: 647775819.264. 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 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(97.33179,-35.37167,25")
fk5;-circle(97.33179,-35.37167,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 m2647781632I    5813.6  1.00  196.6   10.1 196    248  5872  0.009 0.017 21.65 19.6  0.0094 0.0169 21.65 19.6   197  1.684  3.012 19.72 0.133 
   2 m2647791144I   15324.9  1.00  275.7   15.5 200    418  5824  0.004 0.015 22.48 19.8  0.0065 0.0112 22.06 20.0   472  1.738  2.768 19.69 0.075 
    Sum (T+  5814 to  15605):              25.6         22.6 (est. in src region)   SNR_unwtd_sum:   0.58 0.9987 signif. UL:  20.05
  0   472 647787308   11488.6   4116.5  -5675.0    0.0065   0.0112 22.057 76.943  -1.088
Total wtd_rate (for all exposures so far):  0.200 +/- 0.045 snr:  4.4 mag: 22.04 UL: 17.77
# ============ Reading file sw01059881002um2_sk.img ================
Use keyword TRIGTIME of 647775819.264 for trigger time.
Long-term sensitivity correction to zero point is -0.259 at 647793202
The processing date in extension 0 is:  2021-07-22T09:12:38
The trigger time is: 647775819.264. 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 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(97.33179,-35.37167,25")
fk5;-circle(97.33179,-35.37167,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 m2647793202I   17383.0  1.00  392.1   18.2 196    528  5836  0.001 0.011 23.81 20.1  0.0013 0.0114 23.81 20.1   392  0.689  6.052 20.70 0.042 
   2 m2647802554I   26734.8  1.00  885.6   28.8 196   1167  5843 -0.012 0.006 99.00 21.3 -0.0080 0.0056 99.00 21.3  1278 -4.523  4.013 99.00 0.032 
    Sum (T+ 17383 to  27635):              47.0         56.9 (est. in src region)   SNR_unwtd_sum:  -1.41 0.9987 signif. UL:  21.31
  0  1278 647800057   24237.7   3396.8  -6854.7   -0.0080   0.0056 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.199 +/- 0.045 snr:  4.4 mag: 22.04 UL: 17.77
Rebinned Data for sw01059881002um2_sk.img using a zero point of 16.591:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      197    5913.5     99.9    -99.9    0.0094   0.0169 21.65  1.11    5913.5    0.0094   0.0169 21.65  1.11 19.61
  1 1.55e+03   22681.1   4953.4  -7356.2   -0.0058   0.0053 99.00 99.00   20797.2   -0.0041   0.0051 99.00 99.00 21.26
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw01059881992uw2_sk.img ================
Use keyword TRIGTIME of 647775818.521 for trigger time.
Long-term sensitivity correction to zero point is -0.343 at 647776428
The processing date in extension 0 is:  2021-07-12T16:57:37
The trigger time is: 647775818.521. The reference is keyword in image file
Using zero point of 17.037 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(97.33179,-35.37167,25")
fk5;-circle(97.33179,-35.37167,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 w2647776427E     609.1  1.00    4.5    0.0 197     12  5851 -0.093 0.232 99.00 17.5 -0.0933 0.2324 99.00 17.5     4 -1.140  2.842 99.00 0.907 
    Sum (T+   609 to    614):               0.0          0.4 (est. in src region)   SNR_unwtd_sum:  -0.40 0.9987 signif. UL:  17.46
Total wtd_rate (for all exposures so far):  0.199 +/- 0.046 snr:  4.4 mag: 22.04 UL: 18.22
# ============ Reading file sw01059881001uw2_sk.img ================
Use keyword TRIGTIME of 647775819.264 for trigger time.
Long-term sensitivity correction to zero point is -0.343 at 647781223
The processing date in extension 0 is:  2021-07-22T09:13:00
The trigger time is: 647775819.264. The reference is keyword in image file
Using zero point of 17.037 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(97.33179,-35.37167,25")
fk5;-circle(97.33179,-35.37167,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 w2647781222I    5403.5  1.00  196.6   12.9 208    438  5871 -0.014 0.019 99.00 20.2 -0.0138 0.0193 99.00 20.2   197 -1.523  2.125 99.00 0.115 
    Sum (T+  5403 to   5603):              12.9         15.5 (est. in src region)   SNR_unwtd_sum:  -0.72 0.9987 signif. UL:  20.24
  0   197 647781323    5503.3     99.9    -99.9   -0.0138   0.0193 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.199 +/- 0.046 snr:  4.4 mag: 22.04 UL: 18.22
Rebinned Data for sw01059881001uw2_sk.img using a zero point of 17.037:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     4.48     611.4      2.3     -2.3   -0.0933   0.2324 99.00 99.00     611.4   -0.0933   0.2324 99.00 99.00 17.46
  1      197    5503.3     99.9    -99.9   -0.0138   0.0193 99.00 99.00    5394.3   -0.0156   0.0196 99.00 99.00 20.25
=========================================================
================ Start New Filter UGRISM ==================
=========================================================
# ============ Reading file sw01059881992ugu_sk.img ================
The data range from T+90.9 s (0.00 d) to T+44783.4 s (0.52 d)
Wrote uvot_fluxes_210722d09h29m20s557784usUT.qdp
Wrote uvot_fluxes_210722d09h29m20s557784usUT.gif
Wrote uvot_fluxes_210722d09h29m20s557784usUT.ps
Wrote uvot_fluxes_210722d09h29m20s557784usUT_vis.qdp
Wrote uvot_fluxes_210722d09h29m20s557784usUT_uv.qdp
Wrote uvot_fluxes_210722d09h29m20s557784usUT_vis.gif
Wrote uvot_fluxes_210722d09h29m20s557784usUT_vis.ps
Wrote uvot_fluxes_210722d09h29m20s557784usUT_uv.gif
Wrote uvot_fluxes_210722d09h29m20s557784usUT_uv.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  u (0)  , white (0)  , b (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      385     165.8     74.9    -74.9    1.2085   0.2833 20.08  0.23     165.8    1.2085   0.2833 20.08  0.23 19.50
  1     3.25     516.0     87.6   -211.8    1.1459   0.7528 20.14  0.55     168.7    1.2069   0.2767 20.09  0.22 19.52
  2   0.0404   10679.6   1400.2  -5071.3    0.0593   0.2355 23.36  1.74     169.8    1.1994   0.2749 20.09  0.22 19.52
  3   0.0843   39305.5    715.8  -5813.7    0.2297   0.0767 21.89  0.31     178.3    1.1530   0.2617 20.14  0.22 19.57
The data range from T+90.9 s (0.00 d) to T+44783.4 s (0.52 d)
Wrote uvot_fluxes_wtd_210722d09h29m20s557784usUT.qdp
Wrote uvot_fluxes_wtd_210722d09h29m20s557784usUT.gif
Wrote uvot_fluxes_wtd_210722d09h29m20s557784usUT.ps
Found 2 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2020-11-03a fem