# uvot_fluxes_wget.pl vrs. 2011-06-09 fem at 110913d16h58m13s224490usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020184001 -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
# ========= GRB110903A ===================
Used archived XRT position of 197.06571 58.98153 4.00
Reference: GCN_Circulars-12324-Sat,_3_Sep_2011_15:34:21_-0400_(EDT)
The position is (13:08:15.77, +58:58:53.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(197.06571,58.98153,4")
Region file centered at (197.06571,58.98153), which is (13:08:15.77, +58:58:53.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.32918 from trigger time of 336710395 in BAT summary file
# ============ Reading file sw00020184001uwh_sk.img ================
The processing date in extension 0 is: 2011-09-09T15:13:47
The trigger time is: 336710402.32918. The reference is BAT GRB summary file
Using zero point of 20.29 for filter WHITE
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(197.06571,58.98153,25")
fk5;-circle(197.06571,58.98153,12.5")
fk5;-circle(197.075906,58.977866,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 wh336749335I   38933.0  0.96  710.4 3130.8 184  94053  5500 -0.024 0.087 99.00 21.7 -0.0235 0.0866 99.00 21.7   710 -0.925  3.404 99.00 0.005 
   2 wh336754890I   44488.3  0.96  797.6 3713.0 208  97204  5581  0.123 0.084 22.57 21.3  0.0538 0.0603 23.46 21.8  1508  2.012  2.527 19.53 0.005 
    Sum (T+ 38933 to  45299):            6843.8       6768.8 (est. in src region)   SNR_unwtd_sum:   0.89 0.9987 signif. UL:  21.84
  0  1508   42255.5   3043.1  -3322.6    0.0538   0.0603 23.46  0.82
Total wtd_rate (for all exposures so far):  2.012 +/- 2.484 snr:  0.8 mag: 19.53 UL: 17.83
Rebinned Data for sw00020184001uwh_sk.img using a zero point of 20.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.44e+03   42258.1   3040.6  -3325.1    0.0538   0.0603 23.46  0.82   42258.1    0.0538   0.0603 23.46  0.82 21.84
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00020184001uvv_sk.img ================
The processing date in extension 0 is:  2011-09-09T15:13:47
The trigger time is: 336710402.32918. 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 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(197.06571,58.98153,25")
fk5;-circle(197.06571,58.98153,12.5")
fk5;-circle(197.075815,58.977843,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 vv336750064I   39662.1  0.99  705.1  799.0 188  23090  5489  0.012 0.042 22.68 20.0  0.0121 0.0425 22.68 20.0   705  4.418 15.497 18.68 0.002 
    Sum (T+ 39662 to  40379):             799.0        790.8 (est. in src region)   SNR_unwtd_sum:   0.29 0.9987 signif. UL:  19.98
  0   705   40020.3    358.2   -358.2    0.0121   0.0425 22.68  1.64
Total wtd_rate (for all exposures so far):  2.065 +/- 2.441 snr:  0.8 mag: 19.50 UL: 15.44
Rebinned Data for sw00020184001uvv_sk.img using a zero point of 17.89:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      697   40020.3    358.2   -358.2    0.0121   0.0425 22.68  1.64   40020.3    0.0121   0.0425 22.68  1.64 19.98
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020184001uuu_sk.img ================
The processing date in extension 0 is:  2011-09-09T15:13:46
The trigger time is: 336710402.32918. 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(197.06571,58.98153,25")
fk5;-circle(197.06571,58.98153,12.5")
fk5;-circle(197.075796,58.977742,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 uu336744176I   33774.2  0.99   63.5   58.6 200   1594  5566  0.021 0.128 22.53 19.3  0.0211 0.1277 22.53 19.3    63  4.294 26.019 18.71 0.005 
   2 uu336748606I   38204.6  0.99  710.4  720.0 188  21421  5499 -0.018 0.040 99.00 20.7 -0.0149 0.0382 99.00 20.7   774 -3.207  8.763 99.00 0.004 
   3 uu336754055I   43652.8  0.99  815.7 1121.5 184  33505  5501  0.001 0.044 25.72 20.5 -0.0067 0.0291 99.00 21.0  1590 -1.924  6.991 99.00 0.003 
   4 uu336759849I   49447.6  0.98  715.0 1216.3 196  32636  5532  0.088 0.052 20.98 19.9  0.0226 0.0258 22.45 20.8  2305  3.043  6.382 19.08 0.003 
    Sum (T+ 33774 to  50174):            3116.3       3066.5 (est. in src region)   SNR_unwtd_sum:   0.88 0.9987 signif. UL:  20.82
  0  2305   43870.7   6303.4 -10096.5    0.0226   0.0258 22.45  0.82
Total wtd_rate (for all exposures so far):  2.197 +/- 2.279 snr:  1.0 mag: 19.44 UL: 15.93
Rebinned Data for sw00020184001uuu_sk.img using a zero point of 18.34:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.27e+03   43858.7   6315.4 -10084.5    0.0226   0.0258 22.45  0.82   43858.7    0.0226   0.0258 22.45  0.82 20.82
The data range from T+33774.2 s (0.39 d) to T+50174.1 s (0.58 d)
Wrote uvot_fluxes_110913d16h58m13s224490usUT.qdp
Wrote uvot_fluxes_110913d16h58m13s224490usUT.gif
Wrote uvot_fluxes_110913d16h58m13s224490usUT.ps
Wrote uvot_fluxes_110913d16h58m13s224490usUT_vis.qdp
Wrote uvot_fluxes_110913d16h58m13s224490usUT_uv.qdp
Wrote uvot_fluxes_110913d16h58m13s224490usUT_vis.gif
Wrote uvot_fluxes_110913d16h58m13s224490usUT_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.161   41803.7   8370.4  -8029.5    0.0476   0.0589 23.60  0.88   41803.7    0.0476   0.0589 23.60  0.88 21.89
The data range from T+33774.2 s (0.39 d) to T+50174.1 s (0.58 d)
Wrote uvot_fluxes_wtd_110913d16h58m13s224490usUT.qdp
Wrote uvot_fluxes_wtd_110913d16h58m13s224490usUT.gif
Wrote uvot_fluxes_wtd_110913d16h58m13s224490usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2011-06-09 fem