# uvot_fluxes_wget.pl vrs. 2010-06-28 fem at 100909d18h00m45s287911usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020147992 -use_uvot -rebin -plot_mag -wrk_dir=/local/data/khamseen10/uvot_tdrss/uvot_lc -web -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/data/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB100909 ===================
Used archived XRT position of 73.94910 54.65780 4.00
Reference: GCN_Notice_Thu_09_Sep_10_13:18:52_UT
The position is (04:55:47.78, +54:39:28.1)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl xrt
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(73.9491,+54.6578,4")
Region file centered at (73.9491,+54.6578), which is (04:55:47.78, +54:39:28.1)
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 -6.15152 from trigger time of 305715893.94 in BAT summary file
# ============ Reading file sw00020147992uwh_sk.img ================
The processing date in extension 0 is: 2010-09-09T17:44:08
The trigger time is: 305715900.09152. The reference is BAT GRB summary file
Using zero point of 20.29 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(73.9491,+54.6578,25")
fk5;-circle(73.9491,+54.6578,12.5")
fk5;-circle(73.954776,54.661889,6")
fk5;-circle(73.937417,54.661073,6")
fk5;-circle(73.950961,54.659347,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 wh305727588I   11687.9  0.97  147.4  532.4 201  13419  5277  0.154 0.171 22.32 20.7  0.1543 0.1706 22.32 20.7   147  1.815  2.007 19.64 0.024 
   2 wh305727588E   11687.9  0.97  147.4  525.0 200  13450  5281  0.113 0.170 22.65 20.8 
   3 wh305728660I   12759.9  0.97  295.0 1081.3 196  27931  5243  0.135 0.122 22.46 21.0  0.1414 0.0990 22.41 21.2   442  1.770  1.236 19.67 0.022 
   4 wh305728963I   13063.6  0.96  295.1 1102.9 192  30729  5260 -0.068 0.123 99.00 21.4  0.0577 0.0771 23.39 21.6   738  0.824  0.984 20.50 0.021 
   5 wh305729267I   13367.1  0.95  295.0 1329.7 184  38629  5223 -0.114 0.136 99.00 21.4  0.0089 0.0675 25.41 21.9  1033  0.315  0.868 21.54 0.019 
    Sum (T+ 11688 to  13667):            4046.4       4037.8 (est. in src region)   SNR_unwtd_sum:   0.13 0.9987 signif. UL:  21.91
  0  1033   13006.3    660.5  -1318.4    0.0089   0.0675 25.41  2.33
Total wtd_rate (for all exposures so far):  0.315 +/- 0.853 snr:  0.4 mag: 21.54 UL: 19.10
Rebinned Data for sw00020147992uwh_sk.img using a zero point of 20.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      993   13004.4    662.4  -1316.5    0.0089   0.0675 25.41  2.33   13004.4    0.0089   0.0675 25.41  2.33 21.91
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00020147992uvv_sk.img ================
The processing date in extension 0 is:  2010-09-09T17:43:58
The trigger time is: 305715900.09152. The reference is BAT GRB summary file
Using zero point of 17.89 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(73.9491,+54.6578,25")
fk5;-circle(73.9491,+54.6578,12.5")
fk5;-circle(73.937359,54.661184,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 vv305727569E   11669.1  0.99    9.1   10.6 201    205  5738  0.387 0.374 18.92 17.4 
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw00020147992ubb_sk.img ================
The processing date in extension 0 is:  2010-09-09T17:44:08
The trigger time is: 305715900.09152. The reference is BAT GRB summary file
Using zero point of 19.11 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(73.9491,+54.6578,25")
fk5;-circle(73.9491,+54.6578,12.5")
fk5;-circle(73.954821,54.661847,6")
fk5;-circle(73.937415,54.661045,6")
fk5;-circle(73.950960,54.659304,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 bb305727747I   11847.8  0.99  295.0  451.5 208  10918  5295  0.081 0.077 21.84 20.4  0.0807 0.0770 21.84 20.4   295  2.870  2.738 19.14 0.019 
   2 bb305728051I   12151.4  0.99  295.0  410.2 200  10938  5297 -0.010 0.073 99.00 20.7  0.0354 0.0532 22.74 20.9   590  1.263  1.915 20.04 0.019 
   3 bb305728355I   12455.0  0.99  295.0  410.8 196  10966  5228 -0.001 0.073 99.00 20.7  0.0233 0.0431 23.19 21.1   885  0.845  1.570 20.47 0.019 
    Sum (T+ 11848 to  12755):            1272.6       1252.9 (est. in src region)   SNR_unwtd_sum:   0.54 0.9987 signif. UL:  21.12
  0   885   12301.3    453.5   -453.5    0.0233   0.0431 23.19  1.14
Total wtd_rate (for all exposures so far):  0.440 +/- 0.746 snr:  0.6 mag: 21.18 UL: 18.01
Rebinned Data for sw00020147992ubb_sk.img using a zero point of 19.11:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      873   12301.3    453.4   -453.6    0.0233   0.0431 23.19  1.14   12301.3    0.0233   0.0431 23.19  1.14 21.12
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw00020147992uw2_sk.img ================
The processing date in extension 0 is:  2010-09-09T17:44:10
The trigger time is: 305715900.09152. The reference is BAT GRB summary file
Using zero point of 17.35 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(73.9491,+54.6578,25")
fk5;-circle(73.9491,+54.6578,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 w2305729573I   13673.2  1.00  560.7   66.8 196   2002  5824 -0.001 0.015 99.00 20.6 -0.0011 0.0153 99.00 20.6   561 -0.234  3.213 99.00 0.040 
    Sum (T+ 13673 to  14243):              66.8         67.4 (est. in src region)   SNR_unwtd_sum:  -0.07 0.9987 signif. UL:  20.64
  0   561   13958.0    284.9   -284.9   -0.0011   0.0153 99.00 99.00
Total wtd_rate (for all exposures so far):  0.405 +/- 0.726 snr:  0.6 mag: 21.27 UL: 16.29
Rebinned Data for sw00020147992uw2_sk.img using a zero point of 17.35:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      560   13958.0    284.9   -284.9   -0.0011   0.0153 99.00 99.00   13958.0   -0.0011   0.0153 99.00 99.00 20.64
The data range from T+11687.9 s (0.14 d) to T+14242.9 s (0.16 d)
Wrote uvot_fluxes_100909d18h00m45s287911usUT.qdp
Wrote uvot_fluxes_100909d18h00m45s287911usUT.gif
Wrote uvot_fluxes_100909d18h00m45s287911usUT.ps
Wrote uvot_fluxes_100909d18h00m45s287911usUT_vis.qdp
Wrote uvot_fluxes_100909d18h00m45s287911usUT_uv.qdp
Wrote uvot_fluxes_100909d18h00m45s287911usUT_vis.gif
Wrote uvot_fluxes_100909d18h00m45s287911usUT_vis.ps
Wrote uvot_fluxes_100909d18h00m45s287911usUT_uv.gif
Wrote uvot_fluxes_100909d18h00m45s287911usUT_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.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     1.46   12859.0    807.9  -1171.0    0.0251   0.0623 24.29  1.35   12859.0    0.0251   0.0623 24.29  1.35 21.93
The data range from T+11687.9 s (0.14 d) to T+14242.9 s (0.16 d)
Wrote uvot_fluxes_wtd_100909d18h00m45s287911usUT.qdp
Wrote uvot_fluxes_wtd_100909d18h00m45s287911usUT.gif
Wrote uvot_fluxes_wtd_100909d18h00m45s287911usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2010-06-28 fem