# uvot_fluxes_wget.pl vrs. 2010-06-28 fem at 110109d14h43m05s987893usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020154992 -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
# ========= GRB110107A ===================
Used archived XRT position of 299.90917 41.91397 4.00
Reference: GCN_Circulars-11547-Sat,_8_Jan_2011_17:09:12_-0500_(EST)
The position is (19:59:38.20, +41:54:50.3)
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(299.90917,41.91397,4")
Region file centered at (299.90917,41.91397), which is (19:59:38.20, +41:54:50.3)
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.53844 from trigger time of 316127751 in BAT summary file
# ============ Reading file sw00020154992uvv_sk.img ================
The processing date in extension 0 is: 2011-01-08T21:37:20
The trigger time is: 316127757.53844. 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 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(299.90917,41.91397,25")
fk5;-circle(299.90917,41.91397,12.5")
fk5;-circle(299.916544,41.908674,6")
fk5;-circle(299.899490,41.910322,6")
fk5;-circle(299.900094,41.911978,6")
fk5;-circle(299.911091,41.912058,6")
fk5;-circle(299.912949,41.910216,6")
fk5;-circle(299.903000,41.913557,6")
fk5;-circle(299.916262,41.919094,6")
fk5;-circle(299.907298,41.919395,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 vv316192400I   64642.5  0.99   28.3   32.6 196    656  4199  0.073 0.215 20.73 18.2  0.0732 0.2146 20.73 18.2    28 43.187 126.518 16.20 0.002 
   2 vv316192431I   64673.9  0.99   20.0   18.4 204    437  4218 -0.141 0.229 99.00 18.4 -0.0154 0.1575 99.00 18.7    48 -9.880 92.765 99.00 0.002 
   3 vv316196535I   68777.9  0.99  801.9  851.7 200  18474  4183 -0.041 0.039 99.00 20.4 -0.0396 0.0377 99.00 20.5   850 -24.858 23.674 99.00 0.001 
   4 vv316197354I   69597.1  0.99  862.9  897.7 196  20625  4178 -0.084 0.037 99.00 20.8 -0.0621 0.0264 99.00 21.2  1713 -39.077 16.737 99.00 0.001 
   5 vv316202301I   74543.9  0.99  534.3  569.1 196  12304  4159 -0.021 0.048 99.00 20.0 -0.0523 0.0231 99.00 21.3  2247 -33.729 14.876 99.00 0.001 
    Sum (T+ 64642 to  75087):            2369.5       2482.5 (est. in src region)   SNR_unwtd_sum:  -2.27 0.9987 signif. UL:  21.28
  0  2247   70753.2   4333.6  -6110.7   -0.0523   0.0231 99.00 99.00
Total wtd_rate (for all exposures so far): -33.729 +/-14.521 snr: -2.3 mag: 99.00 UL: 14.30
Rebinned Data for sw00020154992uvv_sk.img using a zero point of 17.89:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.22e+03   70753.3   4333.6  -6110.8   -0.0523   0.0231 99.00 99.00   70753.3   -0.0523   0.0231 99.00 99.00 21.28
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020154992uuu_sk.img ================
The processing date in extension 0 is:  2011-01-08T21:37:19
The trigger time is: 316127757.53844. The reference is BAT GRB summary file
Using zero point of 18.34 for filter U
Use aperture correction of  1.032 based on aperture of  4.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(299.90917,41.91397,25")
fk5;-circle(299.90917,41.91397,12.5")
fk5;-circle(299.916622,41.908703,6")
fk5;-circle(299.911074,41.912138,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 uu316192363I   64605.9  0.99   28.3   21.5 196    804  5665 -0.233 0.174 99.00 19.3 -0.2332 0.1741 99.00 19.3    28 -90.796 67.808 99.00 0.003 
   2 uu316195711I   67954.3  0.98  801.9 1243.9 200  34993  5681  0.016 0.047 22.85 20.3  0.0072 0.0457 23.70 20.4   830  0.740 18.604 20.62 0.002 
   3 uu316201471I   73714.3  0.99  807.8 1176.2 184  35385  5645  0.030 0.045 22.16 20.3  0.0182 0.0321 22.69 20.7  1638  6.527 13.674 18.25 0.002 
    Sum (T+ 64606 to  74535):            2441.6       2413.2 (est. in src region)   SNR_unwtd_sum:   0.57 0.9987 signif. UL:  20.66
  0  1638   71139.1   3396.0  -6533.1    0.0182   0.0321 22.69  1.10
Total wtd_rate (for all exposures so far): -11.517 +/- 9.879 snr: -1.2 mag: 99.00 UL: 14.89
Rebinned Data for sw00020154992uuu_sk.img using a zero point of 18.34:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.61e+03   71139.6   3395.5  -6533.6    0.0182   0.0321 22.69  1.10   71139.6    0.0182   0.0321 22.69  1.10 20.66
The data range from T+64605.9 s (0.75 d) to T+75086.8 s (0.87 d)
Wrote uvot_fluxes_110109d14h43m05s987893usUT.qdp
Wrote uvot_fluxes_110109d14h43m05s987893usUT.gif
Wrote uvot_fluxes_110109d14h43m05s987893usUT.ps
Wrote uvot_fluxes_110109d14h43m05s987893usUT_vis.qdp
Wrote uvot_fluxes_110109d14h43m05s987893usUT_uv.qdp
Wrote uvot_fluxes_110109d14h43m05s987893usUT_vis.gif
Wrote uvot_fluxes_110109d14h43m05s987893usUT_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.00139   70758.7   4328.2  -6152.7   -0.1224   0.1450 99.00 99.00   70758.7   -0.1224   0.1450 99.00 99.00 21.34
The data range from T+64605.9 s (0.75 d) to T+75086.8 s (0.87 d)
Wrote uvot_fluxes_wtd_110109d14h43m05s987893usUT.qdp
Wrote uvot_fluxes_wtd_110109d14h43m05s987893usUT.gif
Wrote uvot_fluxes_wtd_110109d14h43m05s987893usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2010-06-28 fem