# uvot_fluxes_wget.pl vrs. 2009-07-14 fem at 090814d17h31m00s861738usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020107992 -use_uvot -rebin -plot_mag -wrk_dir=/local/data/khamseen10/uvot_tdrss/uvot_lc -web -update_wiki -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/data/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB090814B ===================
Used archived XRT position of 64.75458 60.59009 4.00
Reference: GCN_Circulars-9803-Fri,_14_Aug_2009_10:28:41_-0400_(EDT)
The position is (04:19:01.10, +60:35:24.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(64.75458,60.59009,4")
Region file centered at (64.75458,60.59009), which is (04:19:01.10, +60:35:24.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 -4.99554 from trigger time of 271905693.09 in BAT summary file
# ============ Reading file sw00020107992uuu_sk.img ================
The processing date in extension 0 is: 2009-08-14T12:17:58
The trigger time is: 271905698.08554. 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 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(64.75458,60.59009,25")
fk5;-circle(64.75458,60.59009,12.5")
 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 uu271913741I    8043.6  0.99  426.0  585.2 196  17074  5857  0.034 0.060 22.02 20.0  0.0338 0.0604 22.02 20.0   426  1.683  3.004 19.73 0.015 
   2 uu271919782I   14084.2  0.99   80.1  113.0 196   3706  5812 -0.156 0.141 99.00 19.5  0.0037 0.0555 24.41 20.2   506  0.899  2.916 20.41 0.013 
    Sum (T+  8044 to  14166):             698.2        696.4 (est. in src region)   SNR_unwtd_sum:   0.07 0.9987 signif. UL:  20.19
Total wtd_rate (for all exposures so far):  0.899 +/- 2.869 snr:  0.3 mag: 20.41 UL: 15.85
Rebinned Data for sw00020107992uuu_sk.img using a zero point of 18.34:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      499    9188.1   4977.5  -1144.5    0.0037   0.0555 24.41  3.00    9188.1    0.0037   0.0555 24.41  3.00 20.19
# ============ Reading file sw00020107992uw2_sk.img ================
The processing date in extension 0 is:  2009-08-14T12:17:58
The trigger time is: 271905698.08554. The reference is BAT GRB summary file
Using zero point of 17.35 for filter UVW2
Use aperture correction of  1.035 based on aperture of  4.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(64.75458,60.59009,25")
fk5;-circle(64.75458,60.59009,12.5")
 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
High bkg:   1 w2271914183I  440.5   2133  5888  0.822  0.018
   1 w2271914183I    8485.1  1.00  440.5   68.3 208   2133  5888 -0.017 0.020 99.00 20.6 -0.0166 0.0198 99.00 20.6   441 -2.162  2.588 99.00 0.045 
    Sum (T+  8485 to   8933):              68.3         75.3 (est. in src region)   SNR_unwtd_sum:  -0.84 0.9987 signif. UL:  20.56
Total wtd_rate (for all exposures so far): -0.733 +/- 1.907 snr: -0.4 mag: 99.00 UL: 15.48
Rebinned Data for sw00020107992uw2_sk.img using a zero point of 17.35:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      440    8709.0    223.8   -223.8   -0.0166   0.0198 99.00 99.00    8709.0   -0.0166   0.0198 99.00 99.00 20.56
The data range from T+8043.6 s (0.09 d) to T+14165.6 s (0.16 d)
Wrote uvot_fluxes_090814d17h31m00s861738usUT.gif
Wrote uvot_fluxes_090814d17h31m00s861738usUT.ps
Wrote uvot_fluxes_090814d17h31m00s861738usUT_vis.qdp
Wrote uvot_fluxes_090814d17h31m00s861738usUT_uv.qdp
Wrote uvot_fluxes_090814d17h31m00s861738usUT_vis.gif
Wrote uvot_fluxes_090814d17h31m00s861738usUT_vis.ps
Wrote uvot_fluxes_090814d17h31m00s861738usUT_uv.gif
Wrote uvot_fluxes_090814d17h31m00s861738usUT_uv.ps
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.0195    8604.0   5561.6   -560.4    0.0935   0.3388 22.86  1.66    8604.0    0.0935   0.3388 22.86  1.66 20.12
The data range from T+8043.6 s (0.09 d) to T+14165.6 s (0.16 d)
Wrote uvot_fluxes_wtd_090814d17h31m00s861738usUT.gif
Wrote uvot_fluxes_wtd_090814d17h31m00s861738usUT.ps
Found 1 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2009-07-14 fem