# uvot_fluxes_wget.pl vrs. 2010-06-28 fem at 101202d13h22m43s468182usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020152992 -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
# ========= unknown GRB ===================
Used archived opt source position of 1.96746 -16.18484 3.00
Reference: GCN_Circulars-11430-Wed,_1_Dec_2010_21:49:35_-0500_(EST)
The position is (00:07:52.19, -16:11:05.4)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl opt
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(1.96746,-16.18484,3")
Region file centered at (1.96746,-16.18484), which is (00:07:52.19, -16:11:05.4)
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 312890508 in BAT summary file
# ============ Reading file sw00020152992uwh_sk.img ================
The processing date in extension 0 is: 2010-12-02T13:07:31
The trigger time is: 312890514.41946. The reference is BAT GRB summary file
Using zero point of 20.29 for filter WHITE
Use aperture correction of 1.108 based on aperture of 3.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(1.96746,-16.18484,25")
fk5;-circle(1.96746,-16.18484,12.5")
fk5;-circle(1.964548,-16.180298,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 wh312942579I   52064.9  0.96   21.3   64.6 104   2162  5406  1.248 0.438 20.05 19.3  1.2479 0.4384 20.05 19.3    21 64.987 22.827 15.76 0.009 
   2 wh312948361I   57847.0  0.96  531.0 1684.8 120  54331  5443  1.063 0.090 20.22 20.0  1.0705 0.0885 20.22 20.0   552 61.971  5.116 15.81 0.007 
   3 wh312954203I   63689.3  0.96  798.1 2381.5 112  81733  5432  1.009 0.071 20.28 20.1  1.0341 0.0555 20.25 20.1  1350 63.473  3.406 15.78 0.007 
   4 wh312959984I   69470.2  0.96  203.6  582.1 112  20708  5415  0.873 0.138 20.44 20.0  1.0129 0.0515 20.28 20.1  1554 63.177  3.210 15.79 0.007 
    Sum (T+ 52065 to  69677):            4713.0       3352.7 (est. in src region)   SNR_unwtd_sum:  19.67 0.9987 signif. UL:  20.12
  0  1554   62604.8   7072.2 -10539.9    1.0129   0.0515 20.28  0.05
Total wtd_rate (for all exposures so far): 63.177 +/- 3.187 snr: 19.8 mag: 15.79 UL: 15.63
Rebinned Data for sw00020152992uwh_sk.img using a zero point of 20.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      528   57882.8    503.7  -5818.0    1.0705   0.0885 20.22  0.09   57882.8    1.0705   0.0885 20.22  0.09 19.98
  1      960   65209.2   4467.9  -1519.8    0.9813   0.0633 20.31  0.07   62609.5    1.0129   0.0515 20.28  0.05 20.12
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00020152992uvv_sk.img ================
The processing date in extension 0 is:  2010-12-02T13:07:32
The trigger time is: 312890514.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 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(1.96746,-16.18484,25")
fk5;-circle(1.96746,-16.18484,12.5")
fk5;-circle(1.964553,-16.180286,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 vv312955021I   64507.3  0.99   58.3   45.8 116   1438  5431  0.284 0.129 19.25 18.3  0.2844 0.1286 19.25 18.3    58 167.386 75.669 14.73 0.003 
    Sum (T+ 64507 to  64567):              45.8         30.7 (est. in src region)   SNR_unwtd_sum:   2.21 0.9987 signif. UL:  18.32
  0    58   64536.9     29.6    -29.6    0.2844   0.1286 19.25  0.40
Total wtd_rate (for all exposures so far): 62.217 +/- 3.126 snr: 19.9 mag: 15.80 UL: 13.25
Rebinned Data for sw00020152992uvv_sk.img using a zero point of 17.89:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     57.6   64536.9     29.6    -29.6    0.2844   0.1286 19.25  0.40   64536.9    0.2844   0.1286 19.25  0.40 18.32
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020152992uuu_sk.img ================
The processing date in extension 0 is:  2010-12-02T13:07:31
The trigger time is: 312890514.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 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(1.96746,-16.18484,25")
fk5;-circle(1.96746,-16.18484,12.5")
fk5;-circle(1.964478,-16.180226,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 uu312941732I   51217.7  0.99  826.5  674.5 104  23406  5419  0.303 0.035 19.64 19.3  0.3034 0.0352 19.64 19.3   827 94.405 10.951 15.35 0.006 
   2 uu312947514I   57000.4  0.99  826.5  661.2 116  22510  5387  0.237 0.035 19.90 19.5  0.2703 0.0248 19.76 19.5  1653 89.128  8.116 15.41 0.005 
   3 uu312953385I   62871.5  0.99  798.0  603.6 116  19166  5409  0.268 0.034 19.77 19.4  0.2696 0.0201 19.76 19.5  2451 92.788  6.904 15.37 0.005 
   4 uu312959168I   68653.8  0.99  797.0  497.8 104  19331  5395  0.174 0.031 20.24 19.8  0.2462 0.0170 19.86 19.7  3248 88.629  6.104 15.42 0.005 
    Sum (T+ 51218 to  69464):            2437.1       1717.6 (est. in src region)   SNR_unwtd_sum:  14.47 0.9987 signif. UL:  19.66
  0  3248   60243.4   9220.1  -9025.7    0.2462   0.0170 19.86  0.07
Total wtd_rate (for all exposures so far): 68.463 +/- 2.802 snr: 24.4 mag: 15.70 UL: 13.62
Rebinned Data for sw00020152992uuu_sk.img using a zero point of 18.34:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.63e+03   54530.6   3309.5  -3312.9    0.2703   0.0248 19.76  0.10   54530.6    0.2703   0.0248 19.76  0.10 19.50
  1 1.58e+03   66166.8   3296.8  -3295.2    0.2212   0.0233 19.98  0.11   60249.3    0.2462   0.0170 19.86  0.07 19.66
The data range from T+51217.7 s (0.59 d) to T+69677.0 s (0.81 d)
Wrote uvot_fluxes_101202d13h22m43s468182usUT.qdp
Wrote uvot_fluxes_101202d13h22m43s468182usUT.gif
Wrote uvot_fluxes_101202d13h22m43s468182usUT.ps
Wrote uvot_fluxes_101202d13h22m43s468182usUT_vis.qdp
Wrote uvot_fluxes_101202d13h22m43s468182usUT_uv.qdp
Wrote uvot_fluxes_101202d13h22m43s468182usUT_vis.gif
Wrote uvot_fluxes_101202d13h22m43s468182usUT_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.00444   53311.6   4528.6  -2093.9    1.4733   0.2041 19.87  0.14   53311.6    1.4733   0.2041 19.87  0.14 19.49
  1   0.0363   58116.8    269.8   -269.8    1.0633   0.0903 20.22  0.09   57592.7    1.1047   0.0838 20.18  0.08 19.96
  2 0.000962   63276.9    405.4   -405.4    1.6151   0.2076 19.77  0.13   57723.8    1.1176   0.0818 20.17  0.08 19.95
  3   0.0598   65169.9   4507.1  -1480.6    0.9839   0.0623 20.31  0.07   62111.5    1.0349   0.0496 20.25  0.05 20.11
The data range from T+51217.7 s (0.59 d) to T+69677.0 s (0.81 d)
Wrote uvot_fluxes_wtd_101202d13h22m43s468182usUT.qdp
Wrote uvot_fluxes_wtd_101202d13h22m43s468182usUT.gif
Wrote uvot_fluxes_wtd_101202d13h22m43s468182usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2010-06-28 fem