# uvot_fluxes_wget.pl vrs. 2009-12-07 fem at 100119d15h16m07s250194usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020126992 -use_uvot -rebin -plot_mag -wrk_dir=/local/data/khamseen10/uvot_tdrss/uvot_lc -web -update_wiki -usex -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/data/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB100115A ===================
Used archived opt source position of 3.36688 -0.82567 3.00
Reference: GCN_Circulars-10332
The position is (00:13:28.05, -00:49:32.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(3.36688,-0.82567,3")
Region file centered at (3.36688,-0.82567), which is (00:13:28.05, -00:49:32.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 -5.44758 from trigger time of 285246919 in BAT summary file
# ============ Reading file sw00020126992ubb_sk.img ================
The processing date in extension 0 is: 2010-01-16T17:04:28
The trigger time is: 285246924.44758. The reference is BAT GRB summary file
Using zero point of 19.11 for filter B
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(3.36688,-0.82567,25")
fk5;-circle(3.36688,-0.82567,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 bb285287556I   40632.0  0.97  204.5  492.1 128  20520  5900  0.263 0.126 20.56 19.6  0.2634 0.1256 20.56 19.6   205 31.815 15.174 16.53 0.004 
   2 bb285293320I   46396.0  0.97  206.5  423.2 116  20728  5832  0.061 0.115 22.15 20.1  0.1616 0.0852 21.09 20.1   411 21.078 10.984 16.98 0.004 
   3 bb285299038I   52114.0  0.97  214.3  398.7 108  21898  5819 -0.041 0.108 99.00 20.4  0.0920 0.0671 21.70 20.4   625 13.252  9.177 17.48 0.003 
    Sum (T+ 40632 to  52332):            1314.0       1263.8 (est. in src region)   SNR_unwtd_sum:   1.37 0.9987 signif. UL:  20.43
Total wtd_rate (for all exposures so far): 13.252 +/- 9.089 snr:  1.5 mag: 17.48 UL: 15.08
Rebinned Data for sw00020126992ubb_sk.img using a zero point of 19.11:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      605   46581.6   5750.2  -5949.6    0.0920   0.0671 21.70  0.59   46581.6    0.0920   0.0671 21.70  0.59 20.43
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020126992uuu_sk.img ================
The processing date in extension 0 is:  2010-01-16T17:04:27
The trigger time is: 285246924.44758. 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 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(3.36688,-0.82567,25")
fk5;-circle(3.36688,-0.82567,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 uu285287343I   40419.2  0.98  204.5  200.3 112   9216  5874  0.134 0.078 20.52 19.4  0.1344 0.0780 20.52 19.4   205 32.825 19.047 16.50 0.005 
   2 uu285293105I   46181.4  0.98  206.5  190.1 116   9555  5883  0.009 0.075 23.40 19.8  0.0716 0.0542 21.20 19.9   411 20.095 14.136 17.03 0.004 
   3 uu285298815I   51891.2  0.98  214.3  225.6 112  10339  5844  0.143 0.079 20.45 19.4  0.0963 0.0448 20.88 19.9   625 26.424 12.281 16.73 0.004 
    Sum (T+ 40419 to  52109):             616.1        562.3 (est. in src region)   SNR_unwtd_sum:   2.15 0.9987 signif. UL:  19.93
Total wtd_rate (for all exposures so far): 18.014 +/- 7.251 snr:  2.5 mag: 17.15 UL: 14.34
Rebinned Data for sw00020126992uuu_sk.img using a zero point of 18.34:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      615   46358.1   5750.8  -5939.0    0.0963   0.0448 20.88  0.41   46358.1    0.0963   0.0448 20.88  0.41 19.93
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw00020126992uw1_sk.img ================
The processing date in extension 0 is:  2010-01-16T17:04:27
The trigger time is: 285246924.44758. The reference is BAT GRB summary file
Using zero point of 17.49 for filter UVW1
Use aperture correction of  1.123 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(3.36688,-0.82567,25")
fk5;-circle(3.36688,-0.82567,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 w1285286921I  410.2   3359  5836  1.403  0.024
   1 w1285286921I   39997.3  1.00  410.2   78.5 112   3359  5837  0.039 0.025 21.02 19.9  0.0387 0.0245 21.02 19.9   410 20.505 12.999 17.01 0.012 
   2 w1285292680I   45755.6  1.00  414.1   60.8 104   3366  5815  0.002 0.021 24.41 20.4  0.0201 0.0163 21.73 20.4   824 11.642  9.217 17.62 0.012 
   3 w1285298375I   51451.4  1.00  427.9   70.6 112   3452  5862  0.012 0.022 22.27 20.2  0.0174 0.0131 21.89 20.6  1252 10.786  7.883 17.71 0.011 
High bkg:   4 w1285304155I   66.8    763  5824  1.961  0.071
   4 w1285304155I   57231.1  1.00   66.8   18.0 112    763  5823  0.056 0.072 20.63 18.9  0.0194 0.0130 21.77 20.6  1319 11.490  7.802 17.64 0.011 
    Sum (T+ 39997 to  57299):             227.9        205.3 (est. in src region)   SNR_unwtd_sum:   1.49 0.9987 signif. UL:  20.57
Total wtd_rate (for all exposures so far): 15.019 +/- 5.352 snr:  2.8 mag: 17.35 UL: 13.76
Rebinned Data for sw00020126992uw1_sk.img using a zero point of 17.49:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.32e+03   46596.4  10702.6  -6599.0    0.0194   0.0130 21.77  0.56   46596.4    0.0194   0.0130 21.77  0.56 20.57
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw00020126992uw2_sk.img ================
The processing date in extension 0 is:  2010-01-16T17:04:28
The trigger time is: 285246924.44758. The reference is BAT GRB summary file
Using zero point of 17.35 for filter UVW2
Use aperture correction of  1.108 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(3.36688,-0.82567,25")
fk5;-circle(3.36688,-0.82567,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 w2285287770I   40845.6  1.00  463.4   18.8 104    933  5808  0.005 0.010 23.10 20.9  0.0050 0.0104 23.10 20.9   463  3.079  6.438 19.07 0.045 
   2 w2285293536I   46612.1  1.00  634.2   24.6 116   1338  5863 -0.003 0.009 99.00 21.3  0.0002 0.0067 26.37 21.5  1098  0.537  4.473 20.96 0.038 
   3 w2285299262I   52337.6  1.00  195.8    7.6 108    410  5820  0.000 0.016 29.36 20.6  0.0002 0.0062 26.53 21.6  1293  0.479  4.207 21.09 0.037 
    Sum (T+ 40846 to  52536):              51.0         50.8 (est. in src region)   SNR_unwtd_sum:   0.03 0.9987 signif. UL:  21.60
Total wtd_rate (for all exposures so far):  6.176 +/- 3.273 snr:  1.9 mag: 18.31 UL: 14.34
Rebinned Data for sw00020126992uw2_sk.img using a zero point of 17.35:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.29e+03   45669.8   6866.7  -4824.3    0.0002   0.0062 26.53  3.70   45669.8    0.0002   0.0062 26.53  3.70 21.60
The data range from T+39997.3 s (0.46 d) to T+57298.9 s (0.66 d)
Wrote uvot_fluxes_100119d15h16m07s250194usUT.qdp
Wrote uvot_fluxes_100119d15h16m07s250194usUT.gif
Wrote uvot_fluxes_100119d15h16m07s250194usUT.ps
Wrote uvot_fluxes_100119d15h16m07s250194usUT_vis.qdp
Wrote uvot_fluxes_100119d15h16m07s250194usUT_uv.qdp
Wrote uvot_fluxes_100119d15h16m07s250194usUT_vis.gif
Wrote uvot_fluxes_100119d15h16m07s250194usUT_vis.ps
Wrote uvot_fluxes_100119d15h16m07s250194usUT_uv.gif
Wrote uvot_fluxes_100119d15h16m07s250194usUT_uv.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.0039   43996.9   8112.1  -3577.7    0.5006   0.1955 21.04  0.36   43996.9    0.5006   0.1955 21.04  0.36 20.20
  1  0.00122   52222.9    108.9   -108.9   -0.1222   0.3190 99.00 99.00   45950.3    0.3325   0.1667 21.49  0.44 20.48
The data range from T+39997.3 s (0.46 d) to T+57298.9 s (0.66 d)
Wrote uvot_fluxes_wtd_100119d15h16m07s250194usUT.qdp
Wrote uvot_fluxes_wtd_100119d15h16m07s250194usUT.gif
Wrote uvot_fluxes_wtd_100119d15h16m07s250194usUT.ps
Found 2 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2009-12-07 fem