# uvot_fluxes_wget.pl vrs. 2010-04-14 fem at 100415d22h04m22s160803usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020135992 -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
# ========= GRB100414A ===================
Used archived BAT position of 191.59000 8.57000
Reference: GCN_Circ_10594
The position is (12:46:21.60, +08:34:12.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(191.590,+8.570,3")
Region file centered at (191.590,+8.570), which is (12:46:21.60, +08:34:12.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 46656.0,
3 sigma should become about 5.6 sigma and 2 sigma should become about 5.0 sigma.
Accordingly confidence limits in the tables have been adjusted from 0.9987 to 0.99999997.
No adjustment has been made for the confidence limits for the rebinned data or the plots.
Subtract UTCF of -5.70362 from trigger time of 292904422 in BAT summary file
# ============ Reading file sw00020135992uwh_sk.img ================
The processing date in extension 0 is: 2010-04-15T21:55:10
The trigger time is: 292904427.70362. 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 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(191.590,+8.570,25")
fk5;-circle(191.590,+8.570,12.5")
fk5;-circle(191.584042,8.574496,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 wh292963192I   58764.7  0.97  147.4  297.9 115  14863  5706  0.000 0.136 99.00 20.6  0.0000 0.1360 99.00 20.6   147  0.000  8.001 99.00 0.008 
   2 wh292963192E   58764.7  0.97  147.4  296.1 112  14937  5710  0.000 0.134 99.00 20.6 
    Sum (T+ 58765 to  58914):             299.6        299.6 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999972136488 signif. UL:  20.59
Total wtd_rate (for all exposures so far):  0.000 +/- 7.921 snr:  0.0 mag: 99.00 UL: 16.18
Rebinned Data for sw00020135992uwh_sk.img using a zero point of 20.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      142   58839.6     74.9    -74.9    0.0000   0.1360 99.00 99.00   58839.6    0.0000   0.1360 99.00 99.00 21.19
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00020135992uvv_sk.img ================
The processing date in extension 0 is:  2010-04-15T21:55:10
The trigger time is: 292904427.70362. 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 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(191.590,+8.570,25")
fk5;-circle(191.590,+8.570,12.5")
fk5;-circle(191.584068,8.574505,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 vv292963172E   58745.3  0.99    9.1    6.1 109    191  5717  0.000 0.231 99.00 17.6 
   2 vv292963349I   58921.6  0.99  295.0  144.1 116   7061  5700  0.000 0.045 99.00 19.4  0.0000 0.0450 99.00 19.4   295  0.000 24.238 99.00 0.004 
   3 vv292963653I   59225.4  0.99  295.0  130.0 116   7121  5736  0.000 0.045 99.00 19.4  0.0000 0.0318 99.00 19.8   590  0.000 17.192 99.00 0.004 
   4 vv292963956I   59528.9  0.99  295.0  143.1 104   7024  5676  0.000 0.043 99.00 19.5  0.0000 0.0255 99.00 20.0   885  0.000 13.800 99.00 0.004 
    Sum (T+ 58922 to  59829):             416.4        416.4 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999972136488 signif. UL:  20.01
Total wtd_rate (for all exposures so far):  0.000 +/- 6.759 snr:  0.0 mag: 99.00 UL: 13.95
Rebinned Data for sw00020135992uvv_sk.img using a zero point of 17.89:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      878   59375.2    453.5   -453.6    0.0000   0.0255 99.00 99.00   59375.2    0.0000   0.0255 99.00 99.00 20.61
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020135992uuu_sk.img ================
The processing date in extension 0 is:  2010-04-15T21:55:12
The trigger time is: 292904427.70362. The reference is BAT GRB summary file
Using zero point of 18.34 for filter U
Use aperture correction of  1.100 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(191.590,+8.570,25")
fk5;-circle(191.590,+8.570,12.5")
fk5;-circle(191.583992,8.574525,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 uu292970666I   66239.3  0.99  295.0   97.0 112   4788  5700  0.000 0.037 99.00 20.1  0.0000 0.0367 99.00 20.1   295  0.000 14.680 99.00 0.008 
   2 uu292970970I   66542.7  0.99  295.0   93.8 112   5116  5732  0.000 0.038 99.00 20.0  0.0000 0.0264 99.00 20.4   590  0.000 10.562 99.00 0.008 
   3 uu292971273I   66846.2  0.99   48.6   15.7 116    816  5728  0.000 0.093 99.00 19.1  0.0000 0.0254 99.00 20.5   639  0.000 10.169 99.00 0.008 
    Sum (T+ 66239 to  66896):             210.6        210.6 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999972136488 signif. UL:  20.47
Total wtd_rate (for all exposures so far):  0.000 +/- 5.655 snr:  0.0 mag: 99.00 UL: 14.60
Rebinned Data for sw00020135992uuu_sk.img using a zero point of 18.34:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      635   66566.0    329.6   -326.7    0.0000   0.0254 99.00 99.00   66566.0    0.0000   0.0254 99.00 99.00 21.06
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw00020135992uw1_sk.img ================
The processing date in extension 0 is:  2010-04-15T21:55:11
The trigger time is: 292904427.70362. The reference is BAT GRB summary file
Using zero point of 17.49 for filter UVW1
Use aperture correction of  1.123 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(191.590,+8.570,25")
fk5;-circle(191.590,+8.570,12.5")
fk5;-circle(191.584037,8.574476,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 w1292965168I   60740.7  1.00  365.6   11.7 108    972  5688  0.000 0.013 99.00 20.3  0.0000 0.0133 99.00 20.3   366  0.000 10.711 99.00 0.025 
   2 w1292969760I   65332.9  1.00  885.6   50.4 116   2689  5692  0.000 0.009 99.00 20.7  0.0000 0.0078 99.00 20.9  1251  0.000  6.527 99.00 0.020 
    Sum (T+ 60741 to  66233):              73.3         73.3 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999972136488 signif. UL:  20.90
Total wtd_rate (for all exposures so far):  0.000 +/- 4.307 snr:  0.0 mag: 99.00 UL: 14.04
Rebinned Data for sw00020135992uw1_sk.img using a zero point of 17.49:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.25e+03   64363.7   1869.0  -3623.0    0.0000   0.0078 99.00 99.00   64363.7    0.0000   0.0078 99.00 99.00 21.50
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw00020135992um2_sk.img ================
The processing date in extension 0 is:  2010-04-15T21:55:11
The trigger time is: 292904427.70362. 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(191.590,+8.570,25")
fk5;-circle(191.590,+8.570,12.5")
fk5;-circle(191.584113,8.574529,6")
fk5;-circle(191.593168,8.564790,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 m2292964261I   59833.9  1.00  885.6   11.7 108    690  5332  0.000 0.005 99.00 20.8  0.0000 0.0047 99.00 20.8   886  0.000  6.944 99.00 0.043 
    Sum (T+ 59834 to  60734):              14.0         14.0 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999972136488 signif. UL:  20.77
Total wtd_rate (for all exposures so far):  0.000 +/- 3.609 snr:  0.0 mag: 99.00 UL: 13.56
Rebinned Data for sw00020135992um2_sk.img using a zero point of 16.82:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      885   60283.8    449.9   -449.9    0.0000   0.0047 99.00 99.00   60283.8    0.0000   0.0047 99.00 99.00 21.37
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw00020135992uw2_sk.img ================
The processing date in extension 0 is:  2010-04-15T21:55:12
The trigger time is: 292904427.70362. 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(191.590,+8.570,25")
fk5;-circle(191.590,+8.570,12.5")
fk5;-circle(191.584010,8.574402,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 w2292975985I   71557.4  1.00  159.6    6.3 108    223  5660  0.000 0.014 99.00 20.1  0.0000 0.0144 99.00 20.1   160  0.000 15.520 99.00 0.035 
    Sum (T+ 71557 to  71719):               4.2          4.2 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999972136488 signif. UL:  20.09
Total wtd_rate (for all exposures so far):  0.000 +/- 3.519 snr:  0.0 mag: 99.00 UL: 14.12
Rebinned Data for sw00020135992uw2_sk.img using a zero point of 17.35:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      159   71638.4     81.1    -81.1    0.0000   0.0144 99.00 99.00   71638.4    0.0000   0.0144 99.00 99.00 20.68
The data range from T+58764.7 s (0.68 d) to T+71719.5 s (0.83 d)
Wrote uvot_fluxes_100415d22h04m22s160803usUT.qdp
Wrote uvot_fluxes_100415d22h04m22s160803usUT.gif
Wrote uvot_fluxes_100415d22h04m22s160803usUT.ps
Wrote uvot_fluxes_100415d22h04m22s160803usUT_vis.qdp
Wrote uvot_fluxes_100415d22h04m22s160803usUT_uv.qdp
Wrote uvot_fluxes_100415d22h04m22s160803usUT_vis.gif
Wrote uvot_fluxes_100415d22h04m22s160803usUT_vis.ps
Wrote uvot_fluxes_100415d22h04m22s160803usUT_uv.gif
Wrote uvot_fluxes_100415d22h04m22s160803usUT_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.0178   59553.1   7342.5   -788.4    0.0000   0.1191 99.00 99.00   59553.1    0.0000   0.1191 99.00 99.00 21.33
The data range from T+58764.7 s (0.68 d) to T+71719.5 s (0.83 d)
Wrote uvot_fluxes_wtd_100415d22h04m22s160803usUT.qdp
Wrote uvot_fluxes_wtd_100415d22h04m22s160803usUT.gif
Wrote uvot_fluxes_wtd_100415d22h04m22s160803usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2010-04-14 fem