# uvot_fluxes_wget.pl vrs. 2010-06-28 fem at 101209d15h37m36s073207usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020153992 -use_uvot -rebin -plot_mag -wrk_dir=/local/data/khamseen10/uvot_tdrss/uvot_lc -web -usex -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/data/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB101204A ===================
Used archived uvot source position of 167.53683 -20.42014 3.00
Reference: GCN_Circ_11442
The position is (11:10:08.84, -20:25:12.5)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl uvot
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(167.53683,-20.42014,3")
Region file centered at (167.53683,-20.42014), which is (11:10:08.84, -20:25:12.5)
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.41946 from trigger time of 313199609 in BAT summary file
# ============ Reading file sw00020153992uvv_sk.img ================
The processing date in extension 0 is: 2010-12-06T15:55:05
The trigger time is: 313199615.41946. 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 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(167.53683,-20.42014,25")
fk5;-circle(167.53683,-20.42014,12.5")
fk5;-circle(167.541923,-20.426866,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 vv313325809I  126194.6  0.99 1281.2  724.6 104  33129  5803  0.112 0.023 20.27 19.7  0.1120 0.0232 20.27 19.7  1281 129.616 26.860 15.01 0.002 
   2 vv313331591I  131976.4  0.99 1281.3  789.8 124  33549  5854  0.068 0.024 20.81 20.0  0.0899 0.0168 20.50 20.0  2563 108.994 19.846 15.20 0.002 
    Sum (T+126195 to 133278):            1514.4       1304.4 (est. in src region)   SNR_unwtd_sum:   5.35 0.9987 signif. UL:  20.02
  0  2563  129736.5   3541.8  -3542.0    0.0899   0.0168 20.50  0.19
Total wtd_rate (for all exposures so far): 108.994 +/-19.684 snr:  5.5 mag: 15.20 UL: 12.32
Rebinned Data for sw00020153992uvv_sk.img using a zero point of 17.89:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.54e+03  129736.3   3542.0  -3541.7    0.0899   0.0168 20.50  0.19  129736.3    0.0899   0.0168 20.50  0.19 20.02
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020153992uuu_sk.img ================
The processing date in extension 0 is:  2010-12-06T15:55:06
The trigger time is: 313199615.41946. 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 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(167.53683,-20.42014,25")
fk5;-circle(167.53683,-20.42014,12.5")
fk5;-circle(167.541620,-20.426894,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 uu313327120I  127504.6  0.99 1254.9 1107.4 112  43535  5819  0.239 0.030 19.89 19.5  0.2393 0.0298 19.89 19.5  1255 184.756 22.985 14.62 0.002 
   2 uu313332901I  133286.5  0.99 1074.3  864.2 112  33728  5805  0.221 0.031 19.98 19.6  0.2309 0.0214 19.93 19.7  2329 181.741 16.837 14.64 0.002 
    Sum (T+127505 to 134378):            1971.6       1488.8 (est. in src region)   SNR_unwtd_sum:  10.80 0.9987 signif. UL:  19.66
  0  2329  130766.6   3611.4  -3262.0    0.2309   0.0214 19.93  0.10
Total wtd_rate (for all exposures so far): 154.233 +/-12.822 snr: 12.0 mag: 14.82 UL: 12.63
Rebinned Data for sw00020153992uuu_sk.img using a zero point of 18.34:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0  2.3e+03  130768.8   3609.3  -3264.2    0.2309   0.0214 19.93  0.10  130768.8    0.2309   0.0214 19.93  0.10 19.66
The data range from T+126194.6 s (1.46 d) to T+134378.0 s (1.56 d)
Wrote uvot_fluxes_101209d15h37m36s073207usUT.qdp
Wrote uvot_fluxes_101209d15h37m36s073207usUT.gif
Wrote uvot_fluxes_101209d15h37m36s073207usUT.ps
Wrote uvot_fluxes_101209d15h37m36s073207usUT_vis.qdp
Wrote uvot_fluxes_101209d15h37m36s073207usUT_uv.qdp
Wrote uvot_fluxes_101209d15h37m36s073207usUT_vis.gif
Wrote uvot_fluxes_101209d15h37m36s073207usUT_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.000864  130358.9   4019.1  -4164.4    1.2115   0.1003 20.08  0.09  130358.9    1.2115   0.1003 20.08  0.09 19.84
The data range from T+126194.6 s (1.46 d) to T+134378.0 s (1.56 d)
Wrote uvot_fluxes_wtd_101209d15h37m36s073207usUT.qdp
Wrote uvot_fluxes_wtd_101209d15h37m36s073207usUT.gif
Wrote uvot_fluxes_wtd_101209d15h37m36s073207usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2010-06-28 fem