# uvot_fluxes_wget.pl vrs. 2018-11-07 fem at 200726d13h08m28s814433usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00021018002 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/local/home/khamseen/khamseen10/uvot_tdrss/uvot_lc -web -useprev -zp_2011 -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/data/khamseenssd/khamseen/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB200715A ===================
Could not find/read custom source region custom_021018_src.reg
Used archived XRT position of 248.53767 -51.83556 4.00
Reference: GCN_Circulars-28115-Thu,_16_Jul_2020_04:44:55_-0400
The position is (16:34:09.04, -51:50:08.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(248.53767,-51.83556,4") # color=red dash=0
Source region spec. is: 248.53767 -51.83556 4"
Region file centered at (248.53767,-51.83556), which is (16:34:09.04, -51:50:08.0)
Could not find/read custom background region custom_021018_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.296 from uncorrected trigger time of 616549900 in BAT summary file
# ============ Reading file sw00021018001uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.228 at 616558260
The processing date in extension 0 is: 2020-07-26T12:53:26
The trigger time is: 616549925.296. The reference is BAT GRB summary file
Using zero point of 20.062 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(248.53767,-51.83556,25")
fk5;-circle(248.53767,-51.83556,12.5")
fk5;-circle(248.535890,-51.843640,6")
fk5;-circle(248.539788,-51.843851,6")
fk5;-circle(248.535804,-51.841462,6")
fk5;-circle(248.531142,-51.839355,6")
fk5;-circle(248.549265,-51.838855,6")
fk5;-circle(248.528025,-51.833766,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 wh616558260I    8334.9  0.93  423.5 3081.3 200  70564  4646  0.115 0.149 22.41 20.7  0.1147 0.1490 22.41 20.7   423  1.231  1.600 20.06 0.012 
    Sum (T+  8335 to   9079):            3081.3       3037.7 (est. in src region)   SNR_unwtd_sum:   0.77 0.9987 signif. UL:  20.66
  0   423 616558632    8706.8    371.9   -371.9    0.1147   0.1490 22.414 76.586  -0.904
Total wtd_rate (for all exposures so far):  1.231 +/- 1.567 snr:  0.8 mag: 20.06 UL: 18.11
# ============ Reading file sw00021018002uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.228 at 616570977
The processing date in extension 0 is:  2020-07-26T12:55:18
The trigger time is: 616549925.296. The reference is BAT GRB summary file
Using zero point of 20.062 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(248.53767,-51.83556,25")
fk5;-circle(248.53767,-51.83556,12.5")
fk5;-circle(248.535927,-51.841380,6")
fk5;-circle(248.528020,-51.833656,6")
fk5;-circle(248.531116,-51.839256,6")
fk5;-circle(248.535931,-51.843607,6")
fk5;-circle(248.539904,-51.843770,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 wh616570976I   21051.4  0.93  129.7  925.4 196  21367  4659  0.226 0.265 21.68 20.0  0.2256 0.2653 21.68 20.0   130  5.876  6.911 18.37 0.005 
   2 wh616575510I   25585.1  0.93  420.1 3006.6 196  70354  4702  0.196 0.148 21.83 20.5  0.2028 0.1294 21.80 20.6   550  6.140  3.912 18.32 0.004 
    Sum (T+ 21051 to  26313):            3931.9       3831.7 (est. in src region)   SNR_unwtd_sum:   1.57 0.9987 signif. UL:  20.63
  0   550 616574735   24809.6   1503.4  -3758.2    0.2028   0.1294 21.795  1.103  -0.536
Total wtd_rate (for all exposures so far):  1.941 +/- 1.450 snr:  1.3 mag: 19.57 UL: 18.05
Rebinned Data for sw00021018002uwh_sk.img using a zero point of 20.062:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      394    8706.8    371.9   -371.9    0.1147   0.1490 22.41  0.90    8706.8    0.1147   0.1490 22.41  0.90 20.66
  1      511   24806.1   1506.9  -3754.7    0.2028   0.1294 21.80  0.54   17803.9    0.1645   0.0977 22.02  0.51 20.91
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00021018001uvv_sk.img ================
Long-term sensitivity correction to zero point is -0.291 at 616559011
The processing date in extension 0 is:  2020-07-26T12:53:26
The trigger time is: 616549925.296. The reference is BAT GRB summary file
Using zero point of 17.599 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(248.53767,-51.83556,25")
fk5;-circle(248.53767,-51.83556,12.5")
fk5;-circle(248.539847,-51.843800,6")
fk5;-circle(248.535718,-51.841365,6")
fk5;-circle(248.528063,-51.833752,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 vv616559011I    9085.8  0.98    6.1   12.9 196    334  5112  0.024 0.629 21.65 16.8  0.0240 0.6286 21.65 16.8     6  2.606 68.139 19.25 0.004 
    Sum (T+  9086 to   9092):              12.9         12.8 (est. in src region)   SNR_unwtd_sum:   0.04 0.9987 signif. UL:  16.82
  0     6 616559014    9088.9      3.1     -3.1    0.0240   0.6286 21.646 77.354  -3.584
Total wtd_rate (for all exposures so far):  1.932 +/- 1.443 snr:  1.3 mag: 19.57 UL: 15.60
# ============ Reading file sw00021018002uvv_sk.img ================
Long-term sensitivity correction to zero point is -0.291 at 616571119
The processing date in extension 0 is:  2020-07-26T12:55:19
The trigger time is: 616549925.296. The reference is BAT GRB summary file
Using zero point of 17.599 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(248.53767,-51.83556,25")
fk5;-circle(248.53767,-51.83556,12.5")
fk5;-circle(248.527922,-51.833668,6")
fk5;-circle(248.535816,-51.843614,6")
fk5;-circle(248.539821,-51.843771,6")
fk5;-circle(248.535847,-51.841370,6")
fk5;-circle(248.531008,-51.839271,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 vv616571119I   21194.0  0.98  132.1  250.2 200   5972  4698 -0.032 0.128 99.00 18.6 -0.0324 0.1283 99.00 18.6   132 -8.221 32.535 99.00 0.002 
   2 vv616576246I   26321.3  0.98  716.4 1508.0 204  33589  4689  0.069 0.058 20.51 19.1  0.0528 0.0530 20.79 19.3   848 14.733 16.089 17.37 0.002 
   3 vv616576978I   27053.2  0.98   12.2   23.9 200    592  4673 -0.128 0.429 99.00 17.3  0.0503 0.0526 20.85 19.3   861 14.041 15.982 17.42 0.002 
    Sum (T+ 21194 to  27066):            1782.0       1740.8 (est. in src region)   SNR_unwtd_sum:   0.96 0.9987 signif. UL:  19.29
  0   861 616575784   25858.3   1207.4  -4664.3    0.0503   0.0526 20.846 78.154  -0.778
Total wtd_rate (for all exposures so far):  2.035 +/- 1.437 snr:  1.4 mag: 19.52 UL: 15.58
Rebinned Data for sw00021018002uvv_sk.img using a zero point of 17.599:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0        6    9088.9      3.1     -3.1    0.0240   0.6286 21.65  3.58    9088.9    0.0240   0.6286 21.65  3.58 16.82
  1      844   25857.0   1208.6  -4663.1    0.0503   0.0526 20.85  0.78   25738.6    0.0501   0.0524 20.85  0.78 19.29
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00021018001uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.179 at 616557510
The processing date in extension 0 is:  2020-07-26T12:53:26
The trigger time is: 616549925.296. The reference is BAT GRB summary file
Using zero point of 18.161 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(248.53767,-51.83556,25")
fk5;-circle(248.53767,-51.83556,12.5")
fk5;-circle(248.535767,-51.843701,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 uu616557509I    7584.5  0.98  732.0 1559.1 204  45317  5821 -0.042 0.058 99.00 20.2 -0.0417 0.0578 99.00 20.2   732 -2.357  3.268 99.00 0.008 
    Sum (T+  7585 to   8328):            1559.1       1588.1 (est. in src region)   SNR_unwtd_sum:  -0.72 0.9987 signif. UL:  20.18
  0   732 616557882    7956.4    371.9   -371.9   -0.0417   0.0578 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  1.323 +/- 1.314 snr:  1.0 mag: 19.99 UL: 16.34
# ============ Reading file sw00021018002uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.179 at 616570835
The processing date in extension 0 is:  2020-07-26T12:55:18
The trigger time is: 616549925.296. The reference is BAT GRB summary file
Using zero point of 18.161 for filter U
Use aperture correction of  1.032 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(248.53767,-51.83556,25")
fk5;-circle(248.53767,-51.83556,12.5")
fk5;-circle(248.535756,-51.843586,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 uu616570834I   20909.4  0.99  134.6  160.6 200   4295  5795  0.096 0.100 20.70 19.1  0.0962 0.0998 20.70 19.1   135 14.347 14.880 17.40 0.006 
   2 uu616574775I   24850.6  0.98  716.3 1324.7 188  41786  5779 -0.051 0.054 99.00 20.3 -0.0274 0.0483 99.00 20.3   851 -1.562  8.152 99.00 0.003 
   3 uu616580553I   30628.5  0.98  340.0  842.0 188  24881  5770  0.097 0.092 20.69 19.2  0.0080 0.0433 23.41 20.3  1191  1.754  7.552 19.68 0.003 
    Sum (T+ 20909 to  30974):            2327.4       2318.3 (est. in src region)   SNR_unwtd_sum:   0.18 0.9987 signif. UL:  20.25
  0  1191 616576256   26330.8   4643.2  -5421.5    0.0080   0.0433 23.406 75.594  -2.020
Total wtd_rate (for all exposures so far):  1.336 +/- 1.294 snr:  1.0 mag: 19.98 UL: 16.35
Rebinned Data for sw00021018002uuu_sk.img using a zero point of 18.161:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      717    7956.4    371.9   -371.9   -0.0417   0.0578 99.00 99.00    7956.4   -0.0417   0.0578 99.00 99.00 20.18
  1 1.17e+03   26319.3   4654.7  -5410.0    0.0080   0.0433 23.41  2.02   19333.3   -0.0109   0.0347 99.00 99.00 20.62
The data range from T+7584.5 s (0.09 d) to T+30974.0 s (0.36 d)
Wrote uvot_fluxes_200726d13h08m28s814433usUT.qdp
Wrote uvot_fluxes_200726d13h08m28s814433usUT.gif
Wrote uvot_fluxes_200726d13h08m28s814433usUT.ps
Wrote uvot_fluxes_200726d13h08m28s814433usUT_vis.qdp
Wrote uvot_fluxes_200726d13h08m28s814433usUT_uv.qdp
Wrote uvot_fluxes_200726d13h08m28s814433usUT_vis.gif
Wrote uvot_fluxes_200726d13h08m28s814433usUT_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    0.348    9309.8  12018.4  -1725.2    0.1444   0.1613 22.39  0.81    9309.8    0.1444   0.1613 22.39  0.81 20.77
  1   0.0381   25969.8   5004.2  -1119.2    0.2271   0.1735 21.90  0.62   10954.9    0.1637   0.1300 22.25  0.63 20.92
The data range from T+7584.5 s (0.09 d) to T+30974.0 s (0.36 d)
Wrote uvot_fluxes_wtd_200726d13h08m28s814433usUT.qdp
Wrote uvot_fluxes_wtd_200726d13h08m28s814433usUT.gif
Wrote uvot_fluxes_wtd_200726d13h08m28s814433usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2018-11-07 fem