# uvot_fluxes_wget.pl vrs. 2010-06-28 fem at 110113d20h13m10s426375usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020155992 -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
# ========= GRB110112 ===================
Used archived BAT position of 10.59900 64.40590
Reference: GCN_Notice_Thu_13_Jan_11_14:05:06_UT
The position is (00:42:23.76, +64:24:21.2)
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(10.5990,+64.4059,3")
Region file centered at (10.5990,+64.4059), which is (00:42:23.76, +64:24:21.2)
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 2704.0,
3 sigma should become about 5.0 sigma and 2 sigma should become about 4.5 sigma.
Accordingly confidence limits in the tables have been adjusted from 0.9987 to 0.99999952.
No adjustment has been made for the confidence limits for the rebinned data or the plots.
Subtract UTCF of -6.53844 from trigger time of 316563894.6 in BAT summary file
# ============ Reading file sw00020155992uwh_sk.img ================
The processing date in extension 0 is: 2011-01-13T20:01:48
The trigger time is: 316563901.13844. 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 5:
# 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(10.5990,+64.4059,25")
fk5;-circle(10.5990,+64.4059,12.5")
fk5;-circle(10.610304,64.401249,6")
fk5;-circle(10.586739,64.411693,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 wh316619725I   55824.9  0.96   86.4  229.9 104  11560  5548  0.000 0.199 99.00 20.3  0.0000 0.1995 99.00 20.3    86  0.000 11.144 99.00 0.007 
   2 wh316619816I   55915.4  0.96  834.4 1772.7 112  90837  5500  0.000 0.060 99.00 21.6  0.0000 0.0574 99.00 21.6   921  0.000  3.231 99.00 0.008 
   3 wh316620702I   56801.5  0.96   66.4  150.2 116   6924  5568  0.000 0.210 99.00 20.2  0.0000 0.0554 99.00 21.7   987  0.000  3.119 99.00 0.008 
   4 wh316624008I   60107.0  0.90  166.2  989.3 108  49372  5496  0.000 0.246 99.00 20.1  0.0000 0.0584 99.00 21.6  1153  0.000  3.053 99.00 0.006 
above line uses coinc_corr_src:  0.898 corr_bkg:  0.898
   5 wh316624223I   60322.8  0.95 1454.2 3948.3 104 211091  5512  0.000 0.051 99.00 21.8  0.0000 0.0384 99.00 22.1  2608  0.000  2.186 99.00 0.006 
   6 wh316626358I   62457.8  0.96  153.7  316.5 112  15986  5512  0.000 0.136 99.00 20.7  0.0000 0.0371 99.00 22.1  2761  0.000  2.118 99.00 0.006 
High bkg:   7 wh316629787I  166.9  57016  5504 62.067  0.260
   7 wh316629787I   65886.0  0.88  166.9 1179.2 108  57016  5504  0.000 0.272 99.00 19.9  0.0000 0.0379 99.00 22.1  2928  0.000  2.103 99.00 0.005 
above line uses coinc_corr_src:  0.882 corr_bkg:  0.882
    Sum (T+ 55825 to  66099):            8607.3       8607.3 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999519230769 signif. UL:  22.09
  0  2928   59944.6   6154.1  -4119.8    0.0000   0.0379 99.00 99.00
Total wtd_rate (for all exposures so far):  0.000 +/- 2.078 snr:  0.0 mag: 99.00 UL: 17.74
Rebinned Data for sw00020155992uwh_sk.img using a zero point of 20.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.78e+03   59906.4   6192.3  -4081.6    0.0000   0.0379 99.00 99.00   59906.4    0.0000   0.0379 99.00 99.00 22.57
The data range from T+55824.9 s (0.65 d) to T+66098.7 s (0.77 d)
Wrote uvot_fluxes_110113d20h13m10s426375usUT.qdp
Wrote uvot_fluxes_110113d20h13m10s426375usUT.gif
Wrote uvot_fluxes_110113d20h13m10s426375usUT.ps
Wrote uvot_fluxes_110113d20h13m10s426375usUT_vis.qdp
Wrote uvot_fluxes_110113d20h13m10s426375usUT_uv.qdp
Wrote uvot_fluxes_110113d20h13m10s426375usUT_vis.gif
Wrote uvot_fluxes_110113d20h13m10s426375usUT_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.226   59209.0   6889.7  -3384.2    0.0000   0.0355 99.00 99.00   59209.0    0.0000   0.0355 99.00 99.00 22.65
The data range from T+55824.9 s (0.65 d) to T+66098.7 s (0.77 d)
Wrote uvot_fluxes_wtd_110113d20h13m10s426375usUT.qdp
Wrote uvot_fluxes_wtd_110113d20h13m10s426375usUT.gif
Wrote uvot_fluxes_wtd_110113d20h13m10s426375usUT.ps
Found 1 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2010-06-28 fem