# uvot_fluxes_wget.pl vrs. 2011-03-30 fem at 110504d08h33m32s528743usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020160001 -use_uvot -rebin -plot_mag -wrk_dir=/local/data/khamseen10/uvot_tdrss/uvot_lc -web -useprev -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/data/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB110428 ===================
Used archived BAT position of 320.27010 -33.95860
Reference: GCN_Notice_Thu_28_Apr_11_20:54:11_UT
The position is (21:21:04.82, -33:57:31.0)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl bat
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(320.2701,-33.9586,3")
Region file centered at (320.2701,-33.9586), which is (21:21:04.82, -33:57:31.0)
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.
*** Since no accurate position is available, set rates to 0. and compute ULs based on expected background in source aperture.
Because there are many possible positions for a source, the confidence levels should be increased for upper limits.
Using the ratio of the BAT region and the aperture of 4816.4,
3 sigma should become about 5.1 sigma and 2 sigma should become about 4.6 sigma.
Accordingly confidence limits in the tables have been adjusted from 0.9987 to 0.99999973.
No adjustment has been made for the confidence limits for the rebinned data or the plots.
Subtract UTCF of -6.90006 from trigger time of 325701700.38 in BAT summary file
# ============ Reading file sw00020160992uwh_sk.img ================
The processing date in extension 0 is: 2011-04-29T00:34:09
The trigger time is: 325701707.28006. The reference is BAT GRB summary file
Using zero point of 20.29 for filter WHITE
Use aperture correction of 1.108 based on aperture of 3.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(320.2701,-33.9586,25")
fk5;-circle(320.2701,-33.9586,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 wh325718087I   16380.2  0.95  295.0  918.0 112  46915  5860  0.000 0.124 99.00 20.8  0.0000 0.1243 99.00 20.8   295  0.000  2.055 99.00 0.019 
   2 wh325718390I   16683.7  0.94  295.1 1046.3 112  53076  5832  0.000 0.134 99.00 20.7  0.0000 0.0913 99.00 21.1   590  0.000  1.518 99.00 0.017 
   3 wh325718694I   16987.2  0.94  295.0 1139.8 112  58440  5820  0.000 0.142 99.00 20.6  0.0000 0.0770 99.00 21.3   885  0.000  1.287 99.00 0.016 
    Sum (T+ 16380 to  17287):            3040.6       3040.6 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999730086621 signif. UL:  21.30
  0   885   16833.6    453.4   -453.4    0.0000   0.0770 99.00 99.00
Total wtd_rate (for all exposures so far):  0.000 +/- 1.225 snr:  0.0 mag: 99.00 UL: 18.29
# ============ Reading file sw00020160001uwh_sk.img ================
The processing date in extension 0 is:  2011-05-04T08:07:08
The trigger time is: 325701707.28006. The reference is BAT GRB summary file
Using zero point of 20.29 for filter WHITE
Use aperture correction of  1.108 based on aperture of  3.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(320.2701,-33.9586,25")
fk5;-circle(320.2701,-33.9586,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 wh325718087I   16380.2  0.95  295.0  955.8 116  47065  5876  0.000 0.127 99.00 20.8  0.0000 0.1265 99.00 20.8   295  0.000  2.092 99.00 0.018 
   2 wh325718390I   16683.7  0.94  295.1 1000.2 108  53080  5828  0.000 0.131 99.00 20.7  0.0000 0.0912 99.00 21.1   590  0.000  1.520 99.00 0.017 
   3 wh325718694I   16987.2  0.94  295.0 1134.6 112  58456  5820  0.000 0.142 99.00 20.6  0.0000 0.0770 99.00 21.3   885  0.000  1.289 99.00 0.016 
    Sum (T+ 16380 to  17287):            3037.7       3037.7 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999730086621 signif. UL:  21.30
  0   885   16833.6    453.4   -453.4    0.0000   0.0770 99.00 99.00
Total wtd_rate (for all exposures so far):  0.000 +/- 0.867 snr:  0.0 mag: 99.00 UL: 18.67
Rebinned Data for sw00020160001uwh_sk.img using a zero point of 20.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      833   16832.3    454.7   -452.2    0.0000   0.0770 99.00 99.00   16832.3    0.0000   0.0770 99.00 99.00 21.81
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00020160001uvv_sk.img ================
The processing date in extension 0 is:  2011-05-04T08:07:08
The trigger time is: 325701707.28006. The reference is BAT GRB summary file
Using zero point of 17.89 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(320.2701,-33.9586,25")
fk5;-circle(320.2701,-33.9586,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 vv325722892I   21185.4  0.99  295.0  170.4 112   8416  5848  0.000 0.048 99.00 19.4  0.0000 0.0477 99.00 19.4   295  0.000  9.279 99.00 0.009 
   2 vv325723196I   21489.0  0.99  295.0  175.5 112   8376  5832  0.000 0.048 99.00 19.4  0.0000 0.0337 99.00 19.8   590  0.000  6.604 99.00 0.009 
   3 vv325723499I   21792.5  0.99  295.0  168.1 116   8598  5872  0.000 0.049 99.00 19.4  0.0000 0.0278 99.00 20.0   885  0.000  5.477 99.00 0.009 
    Sum (T+ 21185 to  22092):             491.9        491.9 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999730086621 signif. UL:  20.00
  0   885   21638.9    453.4   -453.4    0.0000   0.0278 99.00 99.00
Total wtd_rate (for all exposures so far):  0.000 +/- 0.841 snr:  0.0 mag: 99.00 UL: 16.30
Rebinned Data for sw00020160001uvv_sk.img using a zero point of 17.89:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      877   21638.9    453.4   -453.4    0.0000   0.0278 99.00 99.00   21638.9    0.0000   0.0278 99.00 99.00 20.51
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw00020160992ubb_sk.img ================
The processing date in extension 0 is:  2011-04-29T00:34:09
The trigger time is: 325701707.28006. The reference is BAT GRB summary file
Using zero point of 19.11 for filter B
Use aperture correction of  1.108 based on aperture of  3.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(320.2701,-33.9586,25")
fk5;-circle(320.2701,-33.9586,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 bb325717175I   15467.7  0.98  295.0  298.6 108  14384  5844  0.000 0.063 99.00 20.3  0.0000 0.0628 99.00 20.3   295  0.000  2.908 99.00 0.024 
   2 bb325717478I   15771.5  0.98  295.0  297.2 116  14317  5840  0.000 0.065 99.00 20.3  0.0000 0.0452 99.00 20.7   590  0.000  2.110 99.00 0.023 
   3 bb325717782I   16075.2  0.98  295.0  323.7 116  15639  5872  0.000 0.068 99.00 20.3  0.0000 0.0377 99.00 20.9   885  0.000  1.772 99.00 0.021 
    Sum (T+ 15468 to  16375):             859.1        859.1 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999730086621 signif. UL:  20.89
  0   885   15921.4    453.6   -453.6    0.0000   0.0377 99.00 99.00
Total wtd_rate (for all exposures so far):  0.000 +/- 0.770 snr:  0.0 mag: 99.00 UL: 17.62
# ============ Reading file sw00020160001ubb_sk.img ================
The processing date in extension 0 is:  2011-05-04T08:07:07
The trigger time is: 325701707.28006. The reference is BAT GRB summary file
Using zero point of 19.11 for filter B
Use aperture correction of  1.108 based on aperture of  3.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(320.2701,-33.9586,25")
fk5;-circle(320.2701,-33.9586,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 bb325717175I   15467.7  0.98  295.0  299.3 108  14340  5824  0.000 0.063 99.00 20.3  0.0000 0.0628 99.00 20.3   295  0.000  2.907 99.00 0.024 
   2 bb325717478I   15771.5  0.98  295.0  273.9 108  14287  5824  0.000 0.063 99.00 20.3  0.0000 0.0444 99.00 20.7   590  0.000  2.073 99.00 0.023 
   3 bb325717782I   16075.2  0.98  295.0  311.1 112  15598  5852  0.000 0.067 99.00 20.3  0.0000 0.0370 99.00 20.9   885  0.000  1.741 99.00 0.022 
    Sum (T+ 15468 to  16375):             829.4        829.4 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999730086621 signif. UL:  20.91
  0   885   15921.4    453.6   -453.6    0.0000   0.0370 99.00 99.00
Total wtd_rate (for all exposures so far):  0.000 +/- 0.703 snr:  0.0 mag: 99.00 UL: 17.71
Rebinned Data for sw00020160001ubb_sk.img using a zero point of 19.11:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      870   15921.2    453.7   -453.5    0.0000   0.0377 99.00 99.00   15921.2    0.0000   0.0377 99.00 99.00 21.40
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw00020160001um2_sk.img ================
The processing date in extension 0 is:  2011-05-04T08:07:08
The trigger time is: 325701707.28006. The reference is BAT GRB summary file
Using zero point of 16.82 for filter UVM2
Use aperture correction of  1.106 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(320.2701,-33.9586,25")
fk5;-circle(320.2701,-33.9586,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 m2325723804I   22097.5  1.00   98.0    0.1 112    102  5844  0.000 0.016 99.00 19.5  0.0000 0.0159 99.00 19.5    98  0.000  8.619 99.00 0.093 
    Sum (T+ 22097 to  22197):               2.0          2.0 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999730086621 signif. UL:  19.54
  0    98   22147.3     49.8    -49.8    0.0000   0.0159 99.00 99.00
Total wtd_rate (for all exposures so far):  0.000 +/- 0.699 snr:  0.0 mag: 99.00 UL: 15.43
Rebinned Data for sw00020160001um2_sk.img using a zero point of 16.82:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0       98   22147.3     49.8    -49.8    0.0000   0.0159 99.00 99.00   22147.3    0.0000   0.0159 99.00 99.00 20.05
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw00020160992uw2_sk.img ================
The processing date in extension 0 is:  2011-04-29T00:34:09
The trigger time is: 325701707.28006. The reference is BAT GRB summary file
Using zero point of 17.35 for filter UVW2
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(320.2701,-33.9586,25")
fk5;-circle(320.2701,-33.9586,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 w2325719000I   17293.2  1.00  638.8   35.8 108   1811  5820  0.000 0.010 99.00 20.6  0.0000 0.0102 99.00 20.6   639  0.000  2.682 99.00 0.072 
    Sum (T+ 17293 to  17942):              33.6         33.6 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999730086621 signif. UL:  20.55
  0   639   17617.7    324.5   -324.5    0.0000   0.0102 99.00 99.00
Total wtd_rate (for all exposures so far):  0.000 +/- 0.677 snr:  0.0 mag: 99.00 UL: 15.99
# ============ Reading file sw00020160001uw2_sk.img ================
The processing date in extension 0 is:  2011-05-04T08:07:08
The trigger time is: 325701707.28006. The reference is BAT GRB summary file
Using zero point of 17.35 for filter UVW2
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(320.2701,-33.9586,25")
fk5;-circle(320.2701,-33.9586,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 w2325719000I   17293.2  1.00  638.8   35.4 108   1814  5820  0.000 0.010 99.00 20.6  0.0000 0.0102 99.00 20.6   639  0.000  2.685 99.00 0.072 
    Sum (T+ 17293 to  17942):              33.7         33.7 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999730086621 signif. UL:  20.55
  0   639   17617.7    324.5   -324.5    0.0000   0.0102 99.00 99.00
Total wtd_rate (for all exposures so far):  0.000 +/- 0.656 snr:  0.0 mag: 99.00 UL: 16.03
Rebinned Data for sw00020160001uw2_sk.img using a zero point of 17.35:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      638   17617.7    324.5   -324.5    0.0000   0.0102 99.00 99.00   17617.7    0.0000   0.0102 99.00 99.00 21.07
The data range from T+15467.7 s (0.18 d) to T+22197.1 s (0.26 d)
Wrote uvot_fluxes_110504d08h33m32s528743usUT.qdp
Wrote uvot_fluxes_110504d08h33m32s528743usUT.gif
Wrote uvot_fluxes_110504d08h33m32s528743usUT.ps
Wrote uvot_fluxes_110504d08h33m32s528743usUT_vis.qdp
Wrote uvot_fluxes_110504d08h33m32s528743usUT_uv.qdp
Wrote uvot_fluxes_110504d08h33m32s528743usUT_vis.gif
Wrote uvot_fluxes_110504d08h33m32s528743usUT_vis.ps
Wrote uvot_fluxes_110504d08h33m32s528743usUT_uv.gif
Wrote uvot_fluxes_110504d08h33m32s528743usUT_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    0.715   16689.0   5403.2  -1221.3    0.0000   0.0671 99.00 99.00   16689.0    0.0000   0.0671 99.00 99.00 21.95
The data range from T+15467.7 s (0.18 d) to T+22197.1 s (0.26 d)
Wrote uvot_fluxes_wtd_110504d08h33m32s528743usUT.qdp
Wrote uvot_fluxes_wtd_110504d08h33m32s528743usUT.gif
Wrote uvot_fluxes_wtd_110504d08h33m32s528743usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2011-03-30 fem