# uvot_fluxes_wget.pl vrs. 2011-06-09 fem at 110709d01h54m28s402405usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020164992 -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
# ========= GRB110708 ===================
Used archived BAT position of 340.12080 53.95970
Reference: GCN_FOM_Notice_Fri_08_Jul_11_13:45:08_UT
The position is (22:40:28.99, +53:57:34.9)
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(340.1208,+53.9597,3")
Region file centered at (340.1208,+53.9597), which is (22:40:28.99, +53:57:34.9)
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 1024.0,
3 sigma should become about 4.8 sigma and 2 sigma should become about 4.2 sigma.
Accordingly confidence limits in the tables have been adjusted from 0.9987 to 0.99999873.
No adjustment has been made for the confidence limits for the rebinned data or the plots.
Subtract UTCF of -7.13156 from trigger time of 331793002 in BAT summary file
# ============ Reading file sw00020164992uvv_sk.img ================
The processing date in extension 0 is: 2011-07-09T01:37:14
The trigger time is: 331793009.13156. 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(340.1208,+53.9597,25")
fk5;-circle(340.1208,+53.9597,12.5")
fk5;-circle(340.132338,53.956520,6")
fk5;-circle(340.116167,53.961373,6")
fk5;-circle(340.114547,53.964464,6")
fk5;-circle(340.110912,53.963436,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 vv331827942I   34933.7  0.99  513.5  261.2 112  11788  4992  0.000 0.035 99.00 19.8  0.0000 0.0351 99.00 19.8   514  0.000 11.275 99.00 0.006 
   2 vv331833811I   40802.7  0.99  473.2  239.9 108  11046  4988  0.000 0.036 99.00 19.8  0.0000 0.0252 99.00 20.2   987  0.000  8.670 99.00 0.006 
   3 vv331839091I   46082.8  0.99  725.1  367.4 112  17301  5024  0.000 0.030 99.00 20.0  0.0000 0.0193 99.00 20.5  1712  0.000  7.167 99.00 0.005 
   4 vv331845031I   52022.7  0.99  650.4  312.4 108  15477  5012  0.000 0.031 99.00 19.9  0.0000 0.0164 99.00 20.6  2362  0.000  6.456 99.00 0.005 
   5 vv331850731I   57722.6  0.99  279.2  149.0 108   6710  4992  0.000 0.048 99.00 19.5  0.0000 0.0155 99.00 20.7  2641  0.000  6.255 99.00 0.005 
    Sum (T+ 34934 to  58006):            1368.0       1368.0 (est. in src region)   SNR_unwtd_sum:   0.00 0.99999873046875 signif. UL:  20.70
  0  2641   45953.5  12052.8 -11019.8    0.0000   0.0155 99.00 99.00
Total wtd_rate (for all exposures so far):  0.000 +/- 6.187 snr:  0.0 mag: 99.00 UL: 14.20
Rebinned Data for sw00020164992uvv_sk.img using a zero point of 17.89:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.62e+03   45952.4  12053.9 -11018.7    0.0000   0.0155 99.00 99.00   45952.4    0.0000   0.0155 99.00 99.00 21.14
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020164992uuu_sk.img ================
The processing date in extension 0 is:  2011-07-09T01:37:14
The trigger time is: 331793009.13156. 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 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(340.1208,+53.9597,25")
fk5;-circle(340.1208,+53.9597,12.5")
fk5;-circle(340.132292,53.956505,6")
fk5;-circle(340.114514,53.964466,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 uu331828471I   35462.2  0.99  479.9  298.5 112  15488  5380  0.000 0.042 99.00 20.1  0.0000 0.0420 99.00 20.1   480  0.000  9.046 99.00 0.007 
   2 uu331834299I   41290.6  0.99  439.8  330.3 112  14181  5352  0.000 0.044 99.00 20.0  0.0000 0.0304 99.00 20.4   920  0.000  6.990 99.00 0.006 
   3 uu331839835I   46826.6  0.99  687.5  392.0 112  19515  5392  0.000 0.033 99.00 20.3  0.0000 0.0224 99.00 20.8  1607  0.000  5.597 99.00 0.006 
   4 uu331845699I   52690.4  0.99  612.5  388.5 116  18283  5352  0.000 0.037 99.00 20.2  0.0000 0.0191 99.00 20.9  2220  0.000  5.046 99.00 0.006 
    Sum (T+ 35462 to  53313):            1420.8       1420.8 (est. in src region)   SNR_unwtd_sum:   0.00 0.99999873046875 signif. UL:  20.93
  0  2220   45181.8   8131.0  -9719.6    0.0000   0.0191 99.00 99.00
Total wtd_rate (for all exposures so far):  0.000 +/- 3.903 snr:  0.0 mag: 99.00 UL: 15.15
Rebinned Data for sw00020164992uuu_sk.img using a zero point of 18.34:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0  2.2e+03   45184.1   8128.7  -9721.9    0.0000   0.0191 99.00 99.00   45184.1    0.0000   0.0191 99.00 99.00 21.37
The data range from T+34933.7 s (0.40 d) to T+58006.3 s (0.67 d)
Wrote uvot_fluxes_110709d01h54m28s402405usUT.qdp
Wrote uvot_fluxes_110709d01h54m28s402405usUT.gif
Wrote uvot_fluxes_110709d01h54m28s402405usUT.ps
Wrote uvot_fluxes_110709d01h54m28s402405usUT_vis.qdp
Wrote uvot_fluxes_110709d01h54m28s402405usUT_uv.qdp
Wrote uvot_fluxes_110709d01h54m28s402405usUT_vis.gif
Wrote uvot_fluxes_110709d01h54m28s402405usUT_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.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0  0.00932   43530.9  14475.4  -8597.2    0.0000   0.0919 99.00 99.00   43530.9    0.0000   0.0919 99.00 99.00 21.61
The data range from T+34933.7 s (0.40 d) to T+58006.3 s (0.67 d)
Wrote uvot_fluxes_wtd_110709d01h54m28s402405usUT.qdp
Wrote uvot_fluxes_wtd_110709d01h54m28s402405usUT.gif
Wrote uvot_fluxes_wtd_110709d01h54m28s402405usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2011-06-09 fem