# uvot_fluxes_wget.pl vrs. 2020-11-03a fem at 201114d06h08m37s249869usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01004168001 -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
# ========= GRB201104B ===================
Could not find/read custom source region custom_1004168_src.reg
Used archived uvot source position of 5.21520 7.84150 3.00
Reference: GCN_Circ_28827
The position is (00:20:51.65, +07:50:29.4)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl uvot
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(5.21520,7.84150,3") # color=red dash=0
Source region spec. is: 5.21520 7.84150 3"
Region file centered at (5.21520,7.84150), which is (00:20:51.65, +07:50:29.4)
Could not find/read custom background region custom_1004168_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.92744 from uncorrected trigger time of 626203987.6 in BAT summary file
# ============ Reading file sw01004168992uwh_sk.img ================
Use keyword TRIGTIME of 626204052.028 for trigger time.
Long-term sensitivity correction to zero point is -0.179 at 626204108
The processing date in extension 0 is: 2020-11-04T20:56:46
The trigger time is: 626204052.028. The reference is keyword in image file
Using zero point of 20.111 for filter WHITE
Use aperture correction of 1.108 based on aperture of 3.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(5.21520,7.84150,25")
fk5;-circle(5.21520,7.84150,12.5")
fk5;-circle(5.219326,7.837678,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 wh626204108I      56.2  0.93  147.4 1073.9 109  13484  5657  6.588 0.266 18.06 17.9  6.5883 0.2658 18.06 17.9   147  1.019  0.041 20.27 3.405 
   2 wh626204108E      58.1  0.93  145.6 1062.0 115  13345  5666  6.484 0.268 18.08 18.0 
    Sum (T+    56 to    206):            1073.9        259.8 (est. in src region)   SNR_unwtd_sum:  24.78 0.9987 signif. UL:  17.94
  0   147 626204183     131.1     74.9    -74.9    6.5883   0.2658 18.064  0.044  -0.043
Total wtd_rate (for all exposures so far):  1.019 +/- 0.041 snr: 24.8 mag: 20.27 UL: 19.97
# ============ Reading file sw01004168001uwh_sk.img ================
Use keyword TRIGTIME of 626204000.704 for trigger time.
Long-term sensitivity correction to zero point is -0.179 at 626224942
The processing date in extension 0 is:  2020-11-14T06:03:18
The trigger time is: 626204000.704. The reference is keyword in image file
Using zero point of 20.111 for filter WHITE
Use aperture correction of  1.108 based on aperture of  3.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(5.21520,7.84150,25")
fk5;-circle(5.21520,7.84150,12.5")
fk5;-circle(5.219307,7.837633,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 wh626224942I   20941.6  0.95  295.0  849.9 104  42609  5389  0.109 0.116 22.51 20.9  0.1093 0.1162 22.51 20.9   295  2.720  2.892 19.20 0.014 
   2 wh626225245I   21245.0  0.97  188.7  396.9 108  17379  5404  0.301 0.122 21.41 20.5  0.1850 0.0853 21.94 21.0   484  5.125  2.109 18.52 0.016 
    Sum (T+ 20942 to  21437):            1246.8       1169.6 (est. in src region)   SNR_unwtd_sum:   2.17 0.9987 signif. UL:  21.00
  0   484 626225189   21188.7    248.0   -247.2    0.1850   0.0853 21.943  0.671  -0.412
Total wtd_rate (for all exposures so far):  1.019 +/- 0.041 snr: 24.9 mag: 20.27 UL: 19.96
Rebinned Data for sw01004168001uwh_sk.img using a zero point of 20.111:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      137     131.1     74.9    -74.9    6.5883   0.2658 18.06  0.04     131.1    6.5883   0.2658 18.06  0.04 17.94
  1      463   21189.7    247.0   -248.1    0.1850   0.0853 21.94  0.41   16383.2    1.6465   0.0895 19.57  0.06 19.40
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw01004168992uvv_sk.img ================
Use keyword TRIGTIME of 626204052.028 for trigger time.
Long-term sensitivity correction to zero point is -0.210 at 626204089
The processing date in extension 0 is:  2020-11-04T20:56:40
The trigger time is: 626204052.028. The reference is keyword in image file
Using zero point of 17.680 for filter V
Use aperture correction of  1.087 based on aperture of  3.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(5.21520,7.84150,25")
fk5;-circle(5.21520,7.84150,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 vv626204089E      37.4  0.97   10.1   29.1 111    243  5979  2.724 0.598 16.59 16.0 
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw01004168992ubb_sk.img ================
Use keyword TRIGTIME of 626204052.028 for trigger time.
Long-term sensitivity correction to zero point is -0.171 at 626207771
The processing date in extension 0 is:  2020-11-04T20:56:47
The trigger time is: 626204052.028. The reference is keyword in image file
Using zero point of 18.939 for filter B
Use aperture correction of  1.108 based on aperture of  3.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(5.21520,7.84150,25")
fk5;-circle(5.21520,7.84150,12.5")
fk5;-circle(5.219313,7.837620,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 bb626207770I    3718.5  0.98   57.5   78.2 104   4215  5403 -0.059 0.176 99.00 19.6 -0.0585 0.1761 99.00 19.6    57 -0.761  2.291 99.00 0.053 
    Sum (T+  3718 to   3777):              78.2         81.1 (est. in src region)   SNR_unwtd_sum:  -0.33 0.9987 signif. UL:  19.64
  0    57 626207800    3747.7     29.2    -29.2   -0.0585   0.1761 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  1.019 +/- 0.041 snr: 24.9 mag: 20.27 UL: 18.79
Rebinned Data for sw01004168992ubb_sk.img using a zero point of 18.939:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     56.2    3747.7     29.2    -29.2   -0.0585   0.1761 99.00 99.00    3747.7   -0.0585   0.1761 99.00 99.00 19.64
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw01004168992uuu_sk.img ================
Use keyword TRIGTIME of 626204052.028 for trigger time.
Long-term sensitivity correction to zero point is -0.185 at 626204320
The processing date in extension 0 is:  2020-11-04T20:56:47
The trigger time is: 626204052.028. The reference is keyword in image file
Using zero point of 18.155 for filter U
Use aperture correction of  1.100 based on aperture of  3.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(5.21520,7.84150,25")
fk5;-circle(5.21520,7.84150,12.5")
fk5;-circle(5.219329,7.837671,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 uu626204320I     268.1  0.99  187.7  160.5 115   2771  5450  0.603 0.075 18.70 18.4  0.6028 0.0751 18.70 18.4   188  1.566  0.195 19.80 1.225 
   2 uu626204320E     268.1  0.99  187.7  157.4 110   2773  5439  0.599 0.074 18.71 18.4 
    Sum (T+   268 to    459):             160.5         58.5 (est. in src region)   SNR_unwtd_sum:   8.02 0.9987 signif. UL:  18.36
  0   188 626204415     363.4     95.4    -95.4    0.6028   0.0751 18.704  0.145  -0.127
Total wtd_rate (for all exposures so far):  1.027 +/- 0.040 snr: 25.7 mag: 20.26 UL: 18.00
Rebinned Data for sw01004168992uuu_sk.img using a zero point of 18.155:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      186     363.4     95.4    -95.4    0.6028   0.0751 18.70  0.13     363.4    0.6028   0.0751 18.70  0.13 18.36
=========================================================
================ Start New Filter UGRISM ==================
=========================================================
# ============ Reading file sw01004168992ugu_sk.img ================
The data range from T+56.2 s (0.00 d) to T+21436.7 s (0.25 d)
Wrote uvot_fluxes_201114d06h08m37s249869usUT.qdp
Wrote uvot_fluxes_201114d06h08m37s249869usUT.gif
Wrote uvot_fluxes_201114d06h08m37s249869usUT.ps
Wrote uvot_fluxes_201114d06h08m37s249869usUT_vis.qdp
Wrote uvot_fluxes_201114d06h08m37s249869usUT_uv.qdp
Wrote uvot_fluxes_201114d06h08m37s249869usUT_vis.gif
Wrote uvot_fluxes_201114d06h08m37s249869usUT_vis.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      501     131.1     74.9    -74.9    7.7725   0.3136 18.06  0.04     131.1    7.7725   0.3136 18.06  0.04 17.94
  1     3.67     363.4     95.4    -95.4    4.3079   0.5370 18.70  0.13     132.8    7.7035   0.3076 18.07  0.04 17.95
  2   0.0549    3747.7     29.2    -29.2   -0.2031   0.6113 99.00 99.00     133.2    7.6793   0.3066 18.08  0.04 17.95
  3    0.191   21208.6    228.1   -267.0    0.2360   0.0993 21.86  0.38     141.2    7.2565   0.2893 18.14  0.04 18.02
The data range from T+56.2 s (0.00 d) to T+21436.7 s (0.25 d)
Wrote uvot_fluxes_wtd_201114d06h08m37s249869usUT.qdp
Wrote uvot_fluxes_wtd_201114d06h08m37s249869usUT.gif
Wrote uvot_fluxes_wtd_201114d06h08m37s249869usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2020-11-03a fem