# uvot_fluxes_wget.pl vrs. 2009-07-14 fem at 090817d12h57m32s668799usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020108992 -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
# ========= GRB090817 ===================
Used archived XRT position of 63.96600 44.12900 4.00
Reference: draft_XRT_circ
The position is (04:15:51.84, +44:07:44.4)
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(63.9660,+44.129,4")
Region file centered at (63.9660,+44.129), which is (04:15:51.84, +44:07:44.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.00338 from trigger time of 272163093.71 in BAT summary file
# ============ Reading file sw00020108992uwh_sk.img ================
The processing date in extension 0 is: 2009-08-17T08:56:58
The trigger time is: 272163098.71338. The reference is BAT GRB summary file
Using zero point of 20.29 for filter WHITE
Use aperture correction of 1.035 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(63.9660,+44.129,25")
fk5;-circle(63.9660,+44.129,12.5")
fk5;-circle(63.955546,44.125506,6")
fk5;-circle(63.958383,44.123221,6")
fk5;-circle(63.967974,44.130893,6")
fk5;-circle(63.968593,44.135183,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 wh272174614I   11515.8  0.90  264.0 2725.1 196  74197  5394  0.126 0.236 22.54 20.5  0.1263 0.2359 22.54 20.5   264  1.483  2.770 19.86 0.008 
   2 wh272180612I   17513.8  0.90  148.8 1574.8 200  39078  5433  1.054 0.320 20.23 19.5  0.4601 0.1900 21.13 20.3   413  5.044  2.488 18.53 0.007 
    Sum (T+ 11516 to  17719):            4299.9       4134.5 (est. in src region)   SNR_unwtd_sum:   2.42 0.9987 signif. UL:  20.25
Total wtd_rate (for all exposures so far):  5.044 +/- 2.391 snr:  2.1 mag: 18.53 UL: 17.57
Rebinned Data for sw00020108992uwh_sk.img using a zero point of 20.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      372   13857.0   3862.3  -2341.1    0.4601   0.1900 21.13  0.38   13857.0    0.4601   0.1900 21.13  0.38 20.25
# ============ Reading file sw00020108992uvv_sk.img ================
The processing date in extension 0 is:  2009-08-17T08:56:59
The trigger time is: 272163098.71338. 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 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(63.9660,+44.129,25")
fk5;-circle(63.9660,+44.129,12.5")
fk5;-circle(63.955681,44.125405,6")
fk5;-circle(63.958490,44.123170,6")
fk5;-circle(63.967960,44.130800,6")
fk5;-circle(63.968581,44.135071,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 vv272175073I   11975.0  0.97  416.4 1251.1 192  33382  5384  0.154 0.092 19.92 18.8  0.1543 0.0916 19.92 18.8   416 17.151 10.176 17.20 0.003 
    Sum (T+ 11975 to  12398):            1251.1       1190.5 (est. in src region)   SNR_unwtd_sum:   1.69 0.9987 signif. UL:  18.80
Total wtd_rate (for all exposures so far):  5.684 +/- 2.315 snr:  2.5 mag: 18.40 UL: 15.13
Rebinned Data for sw00020108992uvv_sk.img using a zero point of 17.89:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      405   12186.6    211.6   -211.6    0.1543   0.0916 19.92  0.51   12186.6    0.1543   0.0916 19.92  0.51 18.80
# ============ Reading file sw00020108992ubb_sk.img ================
The processing date in extension 0 is:  2009-08-17T08:56:58
The trigger time is: 272163098.71338. The reference is BAT GRB summary file
Using zero point of 19.11 for filter B
Use aperture correction of  1.035 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(63.9660,+44.129,25")
fk5;-circle(63.9660,+44.129,12.5")
fk5;-circle(63.955479,44.125383,6")
fk5;-circle(63.958479,44.123212,6")
fk5;-circle(63.968074,44.130714,6")
fk5;-circle(63.968772,44.135017,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 bb272174156I   11058.2  0.97  445.6 1386.2 196  36209  5378  0.159 0.091 21.11 20.0  0.1593 0.0905 21.11 20.0   446  5.329  3.030 18.47 0.010 
   2 bb272180261I   17162.3  0.97  341.3 1128.7 188  30462  5368  0.193 0.107 20.89 19.8  0.1740 0.0691 21.01 20.2   787  6.408  2.653 18.27 0.008 
    Sum (T+ 11058 to  17509):            2514.9       2386.5 (est. in src region)   SNR_unwtd_sum:   2.52 0.9987 signif. UL:  20.15
Total wtd_rate (for all exposures so far):  6.023 +/- 1.736 snr:  3.5 mag: 18.34 UL: 16.48
Rebinned Data for sw00020108992ubb_sk.img using a zero point of 19.11:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      763   13905.5   3603.6  -2847.3    0.1740   0.0691 21.01  0.36   13905.5    0.1740   0.0691 21.01  0.36 20.15
# ============ Reading file sw00020108992uuu_sk.img ================
The processing date in extension 0 is:  2009-08-17T08:56:58
The trigger time is: 272163098.71338. 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(63.9660,+44.129,25")
fk5;-circle(63.9660,+44.129,12.5")
fk5;-circle(63.955189,44.125452,6")
fk5;-circle(63.968516,44.135015,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 uu272174106I   11007.8  0.99   44.1   46.9 208   1288  5542 -0.033 0.165 99.00 19.1 -0.0329 0.1650 99.00 19.1    44 -2.189 10.967 99.00 0.014 
   2 uu272180220I   17121.8  0.99   34.2   57.5 188   1389  5491  0.302 0.235 19.64 18.3  0.1132 0.1384 20.70 19.0    78  4.522 10.030 18.65 0.010 
    Sum (T+ 11008 to  17157):             104.4         95.9 (est. in src region)   SNR_unwtd_sum:   0.82 0.9987 signif. UL:  19.01
Total wtd_rate (for all exposures so far):  5.963 +/- 1.705 snr:  3.5 mag: 18.35 UL: 15.73
Rebinned Data for sw00020108992uuu_sk.img using a zero point of 18.34:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     77.4   13692.7   3463.8  -2684.9    0.1132   0.1384 20.70  0.87   13692.7    0.1132   0.1384 20.70  0.87 19.01
The data range from T+11007.8 s (0.13 d) to T+17719.3 s (0.21 d)
Wrote uvot_fluxes_090817d12h57m32s668799usUT.gif
Wrote uvot_fluxes_090817d12h57m32s668799usUT.ps
Wrote uvot_fluxes_090817d12h57m32s668799usUT_vis.qdp
Wrote uvot_fluxes_090817d12h57m32s668799usUT_uv.qdp
Wrote uvot_fluxes_090817d12h57m32s668799usUT_vis.gif
Wrote uvot_fluxes_090817d12h57m32s668799usUT_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.212   12830.1   4889.1  -1822.3    0.4061   0.1550 21.27  0.35   12830.1    0.4061   0.1550 21.27  0.35 20.44
The data range from T+11007.8 s (0.13 d) to T+17719.3 s (0.21 d)
Wrote uvot_fluxes_wtd_090817d12h57m32s668799usUT.gif
Wrote uvot_fluxes_wtd_090817d12h57m32s668799usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2009-07-14 fem