# uvot_fluxes_wget.pl vrs. 2020-11-03a fem at 201106d08h08m34s025664usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01002103002 -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
# ========= GRB201026A ===================
Could not find/read custom source region custom_1002103_src.reg
Used archived XRT position of 196.74662 83.78194 4.00
Reference: GCN_Circulars-28791-Tue,_27_Oct_2020_05:22:14_-0400
The position is (13:06:59.19, +83:46:55.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(196.74662,83.78194,4") # color=red dash=0
Source region spec. is: 196.74662 83.78194 4"
Region file centered at (196.74662,83.78194), which is (13:06:59.19, +83:46:55.0)
Could not find/read custom background region custom_1002103_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 -25.87512 from uncorrected trigger time of 625444654.18 in BAT summary file
# ============ Reading file sw01002103001uvv_sk.img ================
Use keyword TRIGTIME of 625444680.064 for trigger time.
Long-term sensitivity correction to zero point is -0.210 at 625449203
The processing date in extension 0 is: 2020-11-05T05:37:12
The trigger time is: 625444680.064. The reference is keyword in image file
Using zero point of 17.680 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(196.74662,83.78194,25")
fk5;-circle(196.74662,83.78194,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 vv625449203I    4523.3  0.98   37.0   73.7 204   2152  5829 -0.046 0.248 99.00 18.0 -0.0460 0.2479 99.00 18.0    37 -2.314 12.460 99.00 0.010 
   2 vv625451309I    6629.3  1.00    4.7    2.0 208     56  5865  0.001 0.313 25.07 17.7 -0.0406 0.2223 99.00 18.1    42 -1.760 10.956 99.00 0.010 
    Sum (T+  4523 to   6634):              75.7         77.3 (est. in src region)   SNR_unwtd_sum:  -0.18 0.9987 signif. UL:  18.09
  0    42 625449459    4779.3   1854.9   -255.9   -0.0406   0.2223 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -1.760 +/-10.766 snr: -0.2 mag: 99.00 UL: 13.87
Rebinned Data for sw01002103001uvv_sk.img using a zero point of 17.680:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0       41    4782.5   1851.6   -259.2   -0.0406   0.2223 99.00 99.00    4782.5   -0.0406   0.2223 99.00 99.00 18.09
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw01002103002uuu_sk.img ================
Use keyword TRIGTIME of 625444680.064 for trigger time.
Long-term sensitivity correction to zero point is -0.185 at 625491065
The processing date in extension 0 is:  2020-11-06T07:54:18
The trigger time is: 625444680.064. The reference is keyword in image file
Using zero point of 18.155 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(196.74662,83.78194,25")
fk5;-circle(196.74662,83.78194,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 uu625491065I   46385.0  1.00  201.0   65.0 200   1897  5859  0.001 0.042 25.57 20.3  0.0011 0.0422 25.57 20.3   201  0.359 14.020 21.40 0.009 
    Sum (T+ 46385 to  46589):              65.0         64.8 (est. in src region)   SNR_unwtd_sum:   0.03 0.9987 signif. UL:  20.32
  0   201 625491167   46487.1    102.1   -102.1    0.0011   0.0422 25.571 73.429  -4.007
Total wtd_rate (for all exposures so far): -0.948 +/- 8.495 snr: -0.1 mag: 99.00 UL: 14.59
Rebinned Data for sw01002103002uuu_sk.img using a zero point of 18.155:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      200   46487.1    102.1   -102.1    0.0011   0.0422 25.57  4.01   46487.1    0.0011   0.0422 25.57  4.01 20.32
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw01002103002uw1_sk.img ================
Use keyword TRIGTIME of 625444680.064 for trigger time.
Long-term sensitivity correction to zero point is -0.268 at 625485623
The processing date in extension 0 is:  2020-11-06T07:54:17
The trigger time is: 625444680.064. The reference is keyword in image file
Using zero point of 17.172 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(196.74662,83.78194,25")
fk5;-circle(196.74662,83.78194,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 w1625485623I   40943.2  1.00   69.7    3.7 200    128  5871 -0.010 0.029 99.00 19.8 -0.0096 0.0291 99.00 19.8    70 -6.972 21.097 99.00 0.022 
   2 w1625490157I   45477.5  1.00  885.6   99.1 200   2746  5852  0.006 0.012 22.71 20.6  0.0050 0.0112 22.93 20.7   955  3.236  8.763 19.02 0.012 
    Sum (T+ 40943 to  46377):             102.8         98.2 (est. in src region)   SNR_unwtd_sum:   0.44 0.9987 signif. UL:  20.67
  0   955 625490246   45566.3    811.0  -4623.0    0.0050   0.0112 22.934 76.066  -1.281
Total wtd_rate (for all exposures so far):  1.154 +/- 6.060 snr:  0.2 mag: 20.14 UL: 13.90
Rebinned Data for sw01002103002uw1_sk.img using a zero point of 17.172:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      954   45566.0    811.3  -4622.8    0.0050   0.0112 22.93  1.28   45566.0    0.0050   0.0112 22.93  1.28 20.67
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw01002103002um2_sk.img ================
Use keyword TRIGTIME of 625444680.064 for trigger time.
Long-term sensitivity correction to zero point is -0.260 at 625479404
The processing date in extension 0 is:  2020-11-06T07:54:17
The trigger time is: 625444680.064. The reference is keyword in image file
Using zero point of 16.590 for filter UVM2
Use aperture correction of  1.031 based on aperture of  4.00
Using background region based on sources found in extension 3:
# 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(196.74662,83.78194,25")
fk5;-circle(196.74662,83.78194,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 m2625479403I   34723.5  1.00  371.3    8.4 200    271  5832 -0.003 0.008 99.00 20.6 -0.0025 0.0082 99.00 20.6   371 -2.674  8.630 99.00 0.038 
#  2 m2625483494I   38814.8  1.00    5.9    0.0 204      8  5842 
   3 m2625484715I   40035.4  1.00  885.6   19.2 200    710  5832 -0.006 0.005 99.00 21.3 -0.0050 0.0044 99.00 21.5  1257 -5.581  5.134 99.00 0.032 
    Sum (T+ 34724 to  40935):              27.5         33.6 (est. in src region)   SNR_unwtd_sum:  -1.14 0.9987 signif. UL:  21.51
  0  1257 625483519   38838.9   2096.3  -4115.4   -0.0050   0.0044 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -2.503 +/- 3.883 snr: -0.6 mag: 99.00 UL: 14.02
Rebinned Data for sw01002103002um2_sk.img using a zero point of 16.590:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.26e+03   38838.8   2096.3  -4115.3   -0.0050   0.0044 99.00 99.00   38838.8   -0.0050   0.0044 99.00 99.00 21.51
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw01002103001uw2_sk.img ================
Use keyword TRIGTIME of 625444680.064 for trigger time.
Long-term sensitivity correction to zero point is -0.340 at 625448999
The processing date in extension 0 is:  2020-11-05T05:37:11
The trigger time is: 625444680.064. The reference is keyword in image file
Using zero point of 17.040 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(196.74662,83.78194,25")
fk5;-circle(196.74662,83.78194,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 w2625448998I    4318.7  1.00  196.6   21.9 196    695  5824 -0.008 0.025 99.00 19.9 -0.0080 0.0251 99.00 19.9   197 -0.708  2.211 99.00 0.095 
    Sum (T+  4319 to   4518):              21.9         23.4 (est. in src region)   SNR_unwtd_sum:  -0.32 0.9987 signif. UL:  19.86
  0   197 625449099    4418.5     99.9    -99.9   -0.0080   0.0251 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -1.128 +/- 1.897 snr: -0.6 mag: 99.00 UL: 15.23
Rebinned Data for sw01002103001uw2_sk.img using a zero point of 17.040:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      196    4418.5     99.9    -99.9   -0.0080   0.0251 99.00 99.00    4418.5   -0.0080   0.0251 99.00 99.00 19.86
The data range from T+4318.7 s (0.05 d) to T+46589.2 s (0.54 d)
Wrote uvot_fluxes_201106d08h08m34s025664usUT.qdp
Wrote uvot_fluxes_201106d08h08m34s025664usUT.gif
Wrote uvot_fluxes_201106d08h08m34s025664usUT.ps
Wrote uvot_fluxes_201106d08h08m34s025664usUT_vis.qdp
Wrote uvot_fluxes_201106d08h08m34s025664usUT_uv.qdp
Wrote uvot_fluxes_201106d08h08m34s025664usUT_vis.gif
Wrote uvot_fluxes_201106d08h08m34s025664usUT_vis.ps
Wrote uvot_fluxes_201106d08h08m34s025664usUT_uv.gif
Wrote uvot_fluxes_201106d08h08m34s025664usUT_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 0.000753    5016.4   1617.8   -493.0   -0.3529   2.1839 99.00 99.00    5016.4   -0.3529   2.1839 99.00 99.00 18.22
  1 0.000712   46487.1    102.1   -102.1    0.0077   0.3016 25.57  4.01   25175.6   -0.0292   0.3511 99.00 99.00 20.18
The data range from T+4318.7 s (0.05 d) to T+46589.2 s (0.54 d)
Wrote uvot_fluxes_wtd_201106d08h08m34s025664usUT.qdp
Wrote uvot_fluxes_wtd_201106d08h08m34s025664usUT.gif
Wrote uvot_fluxes_wtd_201106d08h08m34s025664usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2020-11-03a fem