# uvot_fluxes_wget.pl vrs. 2011-11-14 fem at 111202d20h26m35s089186usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020188002 -use_uvot -rebin -plot_mag -wrk_dir=/local/data/khamseen10/uvot_tdrss/uvot_lc -web -useprev -zp_2011 -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/data/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB111201A ===================
Used archived XRT position of 190.47700 32.98792 4.00
Reference: GCN_Circulars-12609-Thu,_1_Dec_2011_22:44:05_-0500_(EST)
The position is (12:41:54.48, +32:59:16.5)
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(190.47700,32.98792,4")
Region file centered at (190.47700,32.98792), which is (12:41:54.48, +32:59:16.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 -7.62408 from trigger time of 344442165 in BAT summary file
# ============ Reading file sw00020188002uw2_sk.img ================
The processing date in extension 0 is: 2011-12-02T19:59:13
The trigger time is: 344442172.62408. The reference is BAT GRB summary file
Using zero point of 17.38 for filter UVW2
Use aperture correction of 1.035 based on aperture of 4.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(190.47700,32.98792,25")
fk5;-circle(190.47700,32.98792,12.5")
fk5;-circle(190.472792,32.991315,6")
fk5;-circle(190.481587,32.992846,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 w2344533979I   91806.7  1.00  844.8   67.3 192   1766  5052  0.000 0.010 26.70 21.1  0.0002 0.0102 26.70 21.1   845  0.251 13.779 21.79 0.009 
   2 w2344538091I   95919.0  1.00 2096.1  118.3 204   2558  5060  0.008 0.005 22.69 21.4  0.0054 0.0049 23.05 21.6  2941  8.373  6.753 17.98 0.012 
    Sum (T+ 91807 to  98049):             185.6        170.2 (est. in src region)   SNR_unwtd_sum:   1.11 0.9987 signif. UL:  21.61
  0  2941   95620.0   2428.7  -3813.3    0.0054   0.0049 23.05  0.70
Total wtd_rate (for all exposures so far):  8.373 +/- 6.636 snr:  1.3 mag: 17.98 UL: 13.74
Rebinned Data for sw00020188002uw2_sk.img using a zero point of 17.38:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.94e+03   95620.2   2428.5  -3813.5    0.0054   0.0049 23.05  0.70   95620.2    0.0054   0.0049 23.05  0.70 21.61
The data range from T+91806.7 s (1.06 d) to T+98048.7 s (1.13 d)
Wrote uvot_fluxes_111202d20h26m35s089186usUT.qdp
Wrote uvot_fluxes_111202d20h26m35s089186usUT.gif
Wrote uvot_fluxes_111202d20h26m35s089186usUT.ps
Wrote uvot_fluxes_111202d20h26m35s089186usUT_vis.qdp
Wrote uvot_fluxes_111202d20h26m35s089186usUT_uv.qdp
Wrote uvot_fluxes_111202d20h26m35s089186usUT_uv.gif
Wrote uvot_fluxes_111202d20h26m35s089186usUT_uv.ps
Normal end of uvot_fluxes_wget.pl vrs. 2011-11-14 fem