# uvot_fluxes_wget.pl vrs. 2009-07-14 fem at 091030d20h32m50s894636usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020119992 -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
# ========= GRB091030 ===================
Used archived BAT position of 284.12100 -37.90900
Reference: GCN_Position_Notice_Fri_30_Oct_09_15:20:32_UT
The position is (18:56:29.04, -37:54:32.4)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl bat
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(284.121,-37.909,3")
Region file centered at (284.121,-37.909), which is (18:56:29.04, -37:54: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.
*** Since no accurate position is available, set rates to 0. and compute ULs based on expected background in source aperture.
Because there are many possible positions for a source, the confidence levels should be increased for upper limits.
Using the ratio of the BAT region and the aperture of 3600.0,
3 sigma should become about 5.1 sigma and 2 sigma should become about 4.5 sigma.
Accordingly confidence limits in the tables have been adjusted from 0.9987 to 0.99999964.
No adjustment has been made for the confidence limits for the rebinned data or the plots.
Subtract UTCF of -5.21244 from trigger time of 278570592 in BAT summary file
# ============ Reading file sw00020119992uwh_sk.img ================
The processing date in extension 0 is: 2009-10-30T20:21:55
The trigger time is: 278570597.21244. The reference is BAT GRB summary file
Using zero point of 20.29 for filter WHITE
Use aperture correction of 1.108 based on aperture of 3.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(284.121,-37.909,25")
fk5;-circle(284.121,-37.909,12.5")
fk5;-circle(284.113976,-37.913719,6")
fk5;-circle(284.124360,-37.913303,6")
fk5;-circle(284.130367,-37.911893,6")
fk5;-circle(284.115163,-37.911584,6")
fk5;-circle(284.127733,-37.908687,6")
fk5;-circle(284.115705,-37.905310,6")
fk5;-circle(284.130842,-37.906628,6")
fk5;-circle(284.121694,-37.905699,6")
fk5;-circle(284.127487,-37.903538,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 wh278608235I   37638.0  0.93  147.4  644.3 110  19316  3550  0.000 0.211 99.00 20.2  0.0000 0.2112 99.00 20.2   147  0.000  7.963 99.00 0.006 
   2 wh278608235E   37638.0  0.93  147.4  667.9 115  19294  3554  0.000 0.216 99.00 20.2 
    Sum (T+ 37638 to  37788):             598.5        598.5 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  20.21
Total wtd_rate (for all exposures so far):  0.000 +/- 7.454 snr:  0.0 mag: 99.00 UL: 16.34
Rebinned Data for sw00020119992uwh_sk.img using a zero point of 20.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      137   37712.9     74.9    -74.9    0.0000   0.2112 99.00 99.00   37712.9    0.0000   0.2112 99.00 99.00 20.71
# ============ Reading file sw00020119992uvv_sk.img ================
The processing date in extension 0 is:  2009-10-30T20:21:55
The trigger time is: 278570597.21244. The reference is BAT GRB summary file
Using zero point of 17.89 for filter V
Use aperture correction of  1.087 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(284.121,-37.909,25")
fk5;-circle(284.121,-37.909,12.5")
fk5;-circle(284.115708,-37.905298,6")
fk5;-circle(284.121695,-37.905676,6")
fk5;-circle(284.130776,-37.906580,6")
fk5;-circle(284.127785,-37.908760,6")
fk5;-circle(284.115244,-37.911539,6")
fk5;-circle(284.113983,-37.913721,6")
fk5;-circle(284.130401,-37.911891,6")
fk5;-circle(284.124324,-37.913386,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 vv278608212E   37615.5  0.98   13.8   15.2 111    463  3662  0.000 0.304 99.00 17.4  0.0000 0.3038 99.00 17.4    14  0.000 104.248 99.00 0.003 
   2 vv278608392I   37794.9  0.98  295.0  301.3 112  10850  3680  0.000 0.069 99.00 19.0  0.0000 0.0676 99.00 19.0   309  0.000 23.375 99.00 0.003 
   3 vv278608695I   38098.5  0.98  295.0  333.6 116  10673  3664  0.000 0.070 99.00 19.0  0.0000 0.0487 99.00 19.4   604  0.000 16.907 99.00 0.002 
   4 vv278608999I   38402.0  0.98  255.8  256.2 112   9262  3644  0.000 0.074 99.00 18.9  0.0000 0.0407 99.00 19.6   860  0.000 14.189 99.00 0.003 
    Sum (T+ 37615 to  38662):             966.8        966.8 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  19.60
Total wtd_rate (for all exposures so far):  0.000 +/- 6.483 snr:  0.0 mag: 99.00 UL: 14.09
Rebinned Data for sw00020119992uvv_sk.img using a zero point of 17.89:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      843   38218.4    443.4   -603.0    0.0000   0.0407 99.00 99.00   38218.4    0.0000   0.0407 99.00 99.00 20.10
# ============ Reading file sw00020119992ubb_sk.img ================
The processing date in extension 0 is:  2009-10-30T20:21:55
The trigger time is: 278570597.21244. 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 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(284.121,-37.909,25")
fk5;-circle(284.121,-37.909,12.5")
fk5;-circle(284.115679,-37.905220,6")
fk5;-circle(284.121722,-37.905627,6")
fk5;-circle(284.127898,-37.908671,6")
fk5;-circle(284.115173,-37.911630,6")
fk5;-circle(284.114066,-37.913642,6")
fk5;-circle(284.130479,-37.911855,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 bb278614121I   43523.9  0.97  157.9  314.3 116  10957  4212  0.000 0.128 99.00 19.6  0.0000 0.1276 99.00 19.6   158  0.000 16.493 99.00 0.004 
    Sum (T+ 43524 to  43684):             301.8        301.8 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  19.58
Total wtd_rate (for all exposures so far):  0.000 +/- 6.119 snr:  0.0 mag: 99.00 UL: 15.38
Rebinned Data for sw00020119992ubb_sk.img using a zero point of 19.11:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      153   43604.1     80.2    -80.2    0.0000   0.1276 99.00 99.00   43604.1    0.0000   0.1276 99.00 99.00 20.08
The data range from T+37615.5 s (0.44 d) to T+43684.2 s (0.51 d)
Wrote uvot_fluxes_091030d20h32m50s894636usUT.gif
Wrote uvot_fluxes_091030d20h32m50s894636usUT.ps
Wrote uvot_fluxes_091030d20h32m50s894636usUT_vis.qdp
Wrote uvot_fluxes_091030d20h32m50s894636usUT_uv.qdp
Wrote uvot_fluxes_091030d20h32m50s894636usUT_vis.gif
Wrote uvot_fluxes_091030d20h32m50s894636usUT_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.0176   38144.6   5539.7   -529.1    0.0000   0.1904 99.00 99.00   38144.6    0.0000   0.1904 99.00 99.00 20.82
The data range from T+37615.5 s (0.44 d) to T+43684.2 s (0.51 d)
Wrote uvot_fluxes_wtd_091030d20h32m50s894636usUT.gif
Wrote uvot_fluxes_wtd_091030d20h32m50s894636usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2009-07-14 fem