# uvot_fluxes_wget.pl vrs. 2012-06-15 fem at 120922d03h28m28s445931usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020232002 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/local/data/khamseen10/uvot_tdrss/uvot_lc -web -useprev -zp_2011 -search_src_reg -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/data/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB120919A ===================
Used archived XRT position of 214.83981 -45.56220 4.00
Reference: GCN_Circulars-13790-Fri,_21_Sep_2012_06:47:05_-0400_(EDT)
The position is (14:19:21.55, -45:33:43.9)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl xrt
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(214.83981,-45.56220,4") # color=red dash=0
Region file centered at (214.83981,-45.56220), which is (14:19:21.55, -45:33:43.9)
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 -9.6632 from trigger time of 369732282 in BAT summary file
# ============ Reading file sw00020232002uw1_sk.img ================
Long-term sensitivity correction is 0.079 at 369931457
The processing date in extension 0 is: 2012-09-22T02:58:44
The trigger time is: 369732291.6632. The reference is BAT GRB summary file
Using zero point of 17.519 for filter UVW1
Use aperture correction of 1.035 based on aperture of 4.00
Using background region based on sources found in extension 8:
# 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(214.83981,-45.56220,25")
fk5;-circle(214.83981,-45.56220,12.5")
fk5;-circle(214.842365,-45.568335,6")
fk5;-circle(214.832017,-45.561733,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 w1369931456I  199164.9  1.00  614.1  158.3 200   3661  5126  0.026 0.022 21.48 20.1  0.0262 0.0216 21.48 20.1   614 66.951 55.366 15.73 0.002 
   2 w1369935398I  203107.0  1.00  120.4   36.3 196    852  5127  0.032 0.053 21.24 19.3  0.0272 0.0200 21.43 20.2   735 69.411 51.372 15.69 0.002 
   3 w1369937190I  204898.8  1.00  649.8  165.8 200   3406  5106  0.052 0.021 20.73 19.9  0.0387 0.0145 21.05 20.2  1384 102.413 37.593 15.26 0.002 
   4 w1369941085I  208794.2  1.00  605.4  175.8 204   3901  5110  0.034 0.023 21.18 20.0  0.0374 0.0123 21.09 20.3  1990 99.793 32.158 15.29 0.002 
   5 w1369943206I  210914.7  1.00  409.1   80.0 200   2071  5117 -0.002 0.023 99.00 20.4  0.0306 0.0109 21.30 20.5  2399 80.237 28.660 15.53 0.002 
   6 w1369946914I  214623.1  1.00  951.0  233.3 200   5663  5093  0.012 0.017 22.33 20.5  0.0253 0.0092 21.51 20.7  3350 68.011 24.459 15.71 0.002 
   7 w1369949213I  216921.9  1.00  176.4   43.8 200    871  5118  0.058 0.039 20.62 19.4  0.0269 0.0089 21.44 20.7  3526 72.996 23.888 15.63 0.002 
   8 w1369952592I  220301.2  1.00 1298.6  365.8 196   8781  5097  0.023 0.016 21.64 20.4  0.0257 0.0078 21.49 20.8  4825 70.978 21.006 15.66 0.002 
    Sum (T+199165 to 221621):            1259.3       1139.6 (est. in src region)   SNR_unwtd_sum:   3.32 0.9987 signif. UL:  20.79
  0  4825 369944335  212042.9   9577.7 -12878.0    0.0257   0.0078 21.493  0.390  -0.286
Total wtd_rate (for all exposures so far): 70.978 +/-20.647 snr:  3.4 mag: 15.66 UL: 12.21
Rebinned Data for sw00020232002uw1_sk.img using a zero point of 17.519:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 4.81e+03  212042.7   9577.9 -12877.8    0.0257   0.0078 21.49  0.29  212042.7    0.0257   0.0078 21.49  0.29 20.79
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw00020232001um2_sk.img ================
Long-term sensitivity correction is  0.079 at 369865987
The processing date in extension 0 is:  2012-09-21T05:44:32
The trigger time is: 369732291.6632. The reference is BAT GRB summary file
Using zero point of 16.929 for filter UVM2
Use aperture correction of  1.031 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(214.83981,-45.56220,25")
fk5;-circle(214.83981,-45.56220,12.5")
fk5;-circle(214.838533,-45.559562,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 m2369865986I  133695.2  1.00  761.9   70.3 208   1577  5745  0.018 0.012 21.30 20.1  0.0178 0.0115 21.30 20.1   762 52.837 34.124 15.98 0.005 
   2 m2369878448I  146157.2  1.00  897.8   78.5 208   1694  5761  0.020 0.010 21.18 20.2  0.0190 0.0077 21.23 20.4  1660 58.897 23.891 15.87 0.005 
   3 m2369883465I  151173.7  1.00 2409.7  203.7 204   4665  5721  0.016 0.006 21.42 20.6  0.0172 0.0048 21.34 20.7  4069 56.087 15.722 15.92 0.004 
   4 m2369889054I  156763.2  1.00  821.3   73.6 196   1692  5705  0.019 0.011 21.21 20.1  0.0176 0.0044 21.32 20.7  4891 57.767 14.524 15.89 0.004 
    Sum (T+133695 to 157598):             426.1        342.8 (est. in src region)   SNR_unwtd_sum:   3.98 0.9987 signif. UL:  20.70
  0  4891 369881578  149285.9   8311.8 -15590.7    0.0176   0.0044 21.317  0.314  -0.243
Total wtd_rate (for all exposures so far): 61.682 +/-11.768 snr:  5.2 mag: 15.81 UL: 11.96
Rebinned Data for sw00020232001um2_sk.img using a zero point of 16.929:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 4.89e+03  149286.1   8311.6 -15590.9    0.0176   0.0044 21.32  0.24  149286.1    0.0176   0.0044 21.32  0.24 20.70
The data range from T+133695.2 s (1.55 d) to T+221620.6 s (2.57 d)
Wrote uvot_fluxes_120922d03h28m28s445931usUT.qdp
Wrote uvot_fluxes_120922d03h28m28s445931usUT.gif
Wrote uvot_fluxes_120922d03h28m28s445931usUT.ps
Wrote uvot_fluxes_120922d03h28m28s445931usUT_vis.qdp
Wrote uvot_fluxes_120922d03h28m28s445931usUT_uv.qdp
Wrote uvot_fluxes_120922d03h28m28s445931usUT_uv.gif
Wrote uvot_fluxes_120922d03h28m28s445931usUT_uv.ps
Normal end of uvot_fluxes_wget.pl vrs. 2012-06-15 fem