# uvot_fluxes_wget.pl vrs. 2009-12-07 fem at 100103d23h52m25s738483usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020125992 -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
# ========= GRB100103A ===================
Used archived XRT position of 112.37327 -34.48781 4.00
Reference: GCN_Circ_10308
The position is (07:29:29.58, -34:29:16.1)
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(112.37327,-34.487811,4")
Region file centered at (112.37327,-34.487811), which is (07:29:29.58, -34:29:16.1)
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 -5.3973 from trigger time of 284233352 in BAT summary file
# ============ Reading file sw00020125992uvv_sk.img ================
The processing date in extension 0 is: 2010-01-03T23:44:42
The trigger time is: 284233357.3973. 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 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(112.37327,-34.487811,25")
fk5;-circle(112.37327,-34.487811,12.5")
fk5;-circle(112.378496,-34.494632,6")
fk5;-circle(112.370157,-34.490637,6")
fk5;-circle(112.383543,-34.488947,6")
fk5;-circle(112.370769,-34.485327,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 vv284236601I    3243.8  0.99 1146.4  807.6 204  22487  5278 -0.056 0.026 99.00 21.1 -0.0557 0.0262 99.00 21.1  1146 -1.943  0.915 99.00 0.038 
   2 vv284242172I    8815.6  0.99 1248.8  802.4 196  24188  5279 -0.079 0.024 99.00 21.5 -0.0681 0.0177 99.00 21.9  2395 -2.720  0.837 99.00 0.027 
    Sum (T+  3244 to  10084):            1610.0       1767.3 (est. in src region)   SNR_unwtd_sum:  -3.84 0.9987 signif. UL:  21.90
Total wtd_rate (for all exposures so far): -2.720 +/- 0.820 snr: -3.3 mag: 99.00 UL: 17.64
Rebinned Data for sw00020125992uvv_sk.img using a zero point of 17.89:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.14e+03    3826.1    582.4   -582.4   -0.0557   0.0262 99.00 99.00    3826.1   -0.0557   0.0262 99.00 99.00 21.11
  1 1.24e+03    9450.0    634.4   -634.4   -0.0795   0.0240 99.00 99.00    6758.1   -0.0681   0.0177 99.00 99.00 21.90
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020125992uuu_sk.img ================
The processing date in extension 0 is:  2010-01-03T23:44:43
The trigger time is: 284233357.3973. 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(112.37327,-34.487811,25")
fk5;-circle(112.37327,-34.487811,12.5")
fk5;-circle(112.378558,-34.494671,6")
fk5;-circle(112.370099,-34.490587,6")
fk5;-circle(112.383492,-34.488989,6")
fk5;-circle(112.370804,-34.485323,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 uu284237775I    4417.7  0.99 1118.1  973.5 196  27590  5266 -0.050 0.030 99.00 21.3 -0.0496 0.0296 99.00 21.3  1118 -1.491  0.889 99.00 0.036 
   2 uu284243449I   10092.5  0.99  393.2  293.9 192   8597  5270 -0.051 0.046 99.00 20.7 -0.0500 0.0250 99.00 21.6  1511 -1.637  0.849 99.00 0.032 
    Sum (T+  4418 to  10492):            1267.4       1340.0 (est. in src region)   SNR_unwtd_sum:  -2.00 0.9987 signif. UL:  21.59
Total wtd_rate (for all exposures so far): -2.182 +/- 0.585 snr: -3.7 mag: 99.00 UL: 18.53
Rebinned Data for sw00020125992uuu_sk.img using a zero point of 18.34:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.11e+03    4985.7    568.0   -568.0   -0.0496   0.0296 99.00 99.00    4985.7   -0.0496   0.0296 99.00 99.00 21.32
  1      390   10292.2    199.7   -199.7   -0.0512   0.0462 99.00 99.00    6367.5   -0.0500   0.0250 99.00 99.00 21.59
The data range from T+3243.8 s (0.04 d) to T+10492.0 s (0.12 d)
Wrote uvot_fluxes_100103d23h52m25s738483usUT.qdp
Wrote uvot_fluxes_100103d23h52m25s738483usUT.gif
Wrote uvot_fluxes_100103d23h52m25s738483usUT.ps
Wrote uvot_fluxes_100103d23h52m25s738483usUT_vis.qdp
Wrote uvot_fluxes_100103d23h52m25s738483usUT_uv.qdp
Wrote uvot_fluxes_100103d23h52m25s738483usUT_vis.gif
Wrote uvot_fluxes_100103d23h52m25s738483usUT_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.131    3826.1    582.4   -582.4   -0.5078   0.2392 99.00 99.00    3826.1   -0.5078   0.2392 99.00 99.00 21.11
  1    0.256    5852.8   4639.1  -1435.1   -0.3692   0.1353 99.00 99.00    5166.7   -0.4039   0.1178 99.00 99.00 22.16
The data range from T+3243.8 s (0.04 d) to T+10492.0 s (0.12 d)
Wrote uvot_fluxes_wtd_100103d23h52m25s738483usUT.qdp
Wrote uvot_fluxes_wtd_100103d23h52m25s738483usUT.gif
Wrote uvot_fluxes_wtd_100103d23h52m25s738483usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2009-12-07 fem