# uvot_fluxes_wget.pl vrs. 2009-07-14 fem at 090903d13h38m35s259702usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020111992 -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
# ========= GRB090902B ===================
Used archived opt source position of 264.93921 27.32419 3.00
Reference: GCN_Circulars-9874-Thu,_3_Sep_2009_05:14:53_-0400_(EDT)
The position is (17:39:45.41, +27:19:27.1)
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(264.93921,27.32419,3")
Region file centered at (264.93921,27.32419), which is (17:39:45.41, +27:19:27.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.0461 from trigger time of 273582308.31 in BAT summary file
# ============ Reading file sw00020111992uuu_sk.img ================
The processing date in extension 0 is: 2009-09-03T12:51:33
The trigger time is: 273582313.3561. 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 6:
# 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(264.93921,27.32419,25")
fk5;-circle(264.93921,27.32419,12.5")
fk5;-circle(264.942361,27.321094,6")
fk5;-circle(264.936970,27.320032,6")
fk5;-circle(264.936914,27.323775,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 uu273627409I   45096.4  0.99 1074.7  801.2 112  28336  5065  0.181 0.030 20.20 19.8  0.1807 0.0295 20.20 19.8  1075 49.684  8.123 16.05 0.006 
   2 uu273633204I   50890.8  0.99 1615.9  921.5 112  32463  5040  0.137 0.021 20.50 20.1  0.1546 0.0173 20.37 99.0  2691 45.513  5.098 16.14 0.007 
   3 uu273638987I   56673.7  0.99 1997.0 1085.4 112  36581  5053  0.152 0.018 20.38 99.0  0.1537 0.0126 20.37 99.0  4688 48.496  3.991 16.08 0.007 
   4 uu273644770I   62457.6  0.99 2378.9 1191.5 116  43694  5060  0.088 0.016 20.97 20.5  0.1317 0.0100 20.54 99.0  7067 44.512  3.363 16.17 0.007 
   5 uu273650557I   68243.7  0.99 2514.9 1185.6 108  44271  5040  0.104 0.015 20.79 20.4  0.1245 0.0084 20.60 99.0  9581 44.343  2.978 16.17 0.007 
   6 uu273656303I   73989.7  0.99 2552.3 1242.0 112  46555  5072  0.093 0.015 20.92 20.5  0.1179 0.0074 20.66 99.0 12134 44.018  2.741 16.18 0.006 
   7 uu273662088I   79774.8  0.99 1310.0  838.8 104  33621  5081  0.128 0.025 20.57 20.1  0.1188 0.0071 20.65 99.0 13444 44.878  2.672 16.16 0.006 
    Sum (T+ 45096 to  81106):            7266.0       5825.3 (est. in src region)   SNR_unwtd_sum:  16.76
Total wtd_rate (for all exposures so far): 44.878 +/- 2.649 snr: 16.9 mag: 16.16 UL: 99.00
Rebinned Data for sw00020111992uuu_sk.img using a zero point of 18.34:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.66e+03   49291.1   3241.4  -4194.8    0.1546   0.0173 20.37  0.12   49291.1    0.1546   0.0173 20.37  0.12 99.00
  1 4.34e+03   60938.5   3936.1  -4264.8    0.1176   0.0122 20.66  0.11   56508.2    0.1317   0.0100 20.54  0.08 99.00
  2 6.33e+03   74067.2   7038.5  -5823.4    0.1046   0.0100 20.79  0.10   64839.5    0.1188   0.0071 20.65  0.06 99.00
The data range from T+45096.4 s (0.52 d) to T+81105.7 s (0.94 d)
Wrote uvot_fluxes_090903d13h38m35s259702usUT.gif
Wrote uvot_fluxes_090903d13h38m35s259702usUT.ps
Wrote uvot_fluxes_090903d13h38m35s259702usUT_vis.qdp
Wrote uvot_fluxes_090903d13h38m35s259702usUT_uv.qdp
Wrote uvot_fluxes_090903d13h38m35s259702usUT_vis.gif
Wrote uvot_fluxes_090903d13h38m35s259702usUT_vis.ps
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.00639   49321.1   3211.4  -4224.8    0.9228   0.1034 20.38  0.11   49321.1    0.9228   0.1034 20.38  0.11 99.00
  1  0.00404   57688.2   1014.5  -1014.5    0.9187   0.1111 20.38  0.12   52563.3    0.9210   0.0759 20.38  0.09 99.00
  2  0.00832   66510.6   4288.3  -4053.0    0.5815   0.0671 20.88  0.12   58754.4    0.7504   0.0506 20.60  0.07 99.00
  3  0.00453   76594.5   4511.2  -2604.8    0.6157   0.0790 20.82  0.13   62229.2    0.7181   0.0429 20.65  0.06 99.00
The data range from T+45096.4 s (0.52 d) to T+81105.7 s (0.94 d)
Wrote uvot_fluxes_wtd_090903d13h38m35s259702usUT.gif
Wrote uvot_fluxes_wtd_090903d13h38m35s259702usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2009-07-14 fem