# uvot_fluxes_wget.pl vrs. 2009-07-14 fem at 091203d15h59m10s785338usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020123992 -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
# ========= GRB091202 ===================
Used archived XRT position of 138.83404 62.54947 4.00
Reference: GCN_Circulars-10239-Thu,_3_Dec_2009_07:19:21_-0500_(EST)
The position is (09:15:20.17, +62:32:58.1)
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(138.83404,62.54947,4")
Region file centered at (138.83404,62.54947), which is (09:15:20.17, +62:32:58.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.30688 from trigger time of 281488212 in BAT summary file
# ============ Reading file sw00020123992uwh_sk.img ================
The processing date in extension 0 is: 2009-12-03T05:03:51
The trigger time is: 281488217.30688. 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(138.83404,62.54947,25")
fk5;-circle(138.83404,62.54947,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 wh281491336I    3119.5  0.97  737.9 2224.5 196  64966  5830  0.059 0.069 23.37 21.7  0.0586 0.0692 23.37 21.7   738  0.205  0.242 22.01 0.094 
    Sum (T+  3120 to   3869):            2224.5       2184.0 (est. in src region)   SNR_unwtd_sum:   0.85 0.9987 signif. UL:  21.70
Total wtd_rate (for all exposures so far):  0.205 +/- 0.238 snr:  0.9 mag: 22.01 UL: 20.36
Rebinned Data for sw00020123992uwh_sk.img using a zero point of 20.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      717    3494.4    374.9   -374.9    0.0586   0.0692 23.37  0.85    3494.4    0.0586   0.0692 23.37  0.85 21.70
# ============ Reading file sw00020123992uvv_sk.img ================
The processing date in extension 0 is:  2009-12-03T05:03:51
The trigger time is: 281488217.30688. 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(138.83404,62.54947,25")
fk5;-circle(138.83404,62.54947,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 vv281492093I    3876.2  0.98  473.3  743.2 200  22104  5838 -0.031 0.061 99.00 19.8 -0.0310 0.0613 99.00 19.8   473 -1.165  2.301 99.00 0.016 
    Sum (T+  3876 to   4357):             743.2        757.2 (est. in src region)   SNR_unwtd_sum:  -0.51 0.9987 signif. UL:  19.79
Total wtd_rate (for all exposures so far):  0.189 +/- 0.236 snr:  0.8 mag: 22.10 UL: 17.99
Rebinned Data for sw00020123992uvv_sk.img using a zero point of 17.89:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      466    4116.6    240.4   -240.4   -0.0310   0.0613 99.00 99.00    4116.6   -0.0310   0.0613 99.00 99.00 19.79
# ============ Reading file sw00020123992uuu_sk.img ================
The processing date in extension 0 is:  2009-12-03T05:03:50
The trigger time is: 281488217.30688. 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(138.83404,62.54947,25")
fk5;-circle(138.83404,62.54947,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 uu281490580I    2363.0  1.00  737.9  297.3 204   7973  5873  0.029 0.025 22.20 20.8  0.0286 0.0246 22.20 20.8   738  0.472  0.406 21.11 0.161 
    Sum (T+  2363 to   3113):             297.3        276.9 (est. in src region)   SNR_unwtd_sum:   1.16 0.9987 signif. UL:  20.80
Total wtd_rate (for all exposures so far):  0.266 +/- 0.203 snr:  1.3 mag: 21.73 UL: 18.47
Rebinned Data for sw00020123992uuu_sk.img using a zero point of 18.34:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      735    2737.9    374.9   -374.9    0.0286   0.0246 22.20  0.67    2737.9    0.0286   0.0246 22.20  0.67 20.80
The data range from T+2363.0 s (0.03 d) to T+4357.0 s (0.05 d)
Wrote uvot_fluxes_091203d15h59m10s785338usUT.gif
Wrote uvot_fluxes_091203d15h59m10s785338usUT.ps
Wrote uvot_fluxes_091203d15h59m10s785338usUT_vis.qdp
Wrote uvot_fluxes_091203d15h59m10s785338usUT_uv.qdp
Wrote uvot_fluxes_091203d15h59m10s785338usUT_vis.gif
Wrote uvot_fluxes_091203d15h59m10s785338usUT_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     18.1    3453.0    904.0  -1090.0    0.0631   0.0664 23.29  0.78    3453.0    0.0631   0.0664 23.29  0.78 21.73
The data range from T+2363.0 s (0.03 d) to T+4357.0 s (0.05 d)
Wrote uvot_fluxes_wtd_091203d15h59m10s785338usUT.gif
Wrote uvot_fluxes_wtd_091203d15h59m10s785338usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2009-07-14 fem