# uvot_fluxes_wget.pl vrs. 2011-06-09 fem at 110831d01h51m01s350973usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020183002 -use_uvot -rebin -plot_mag -wrk_dir=/local/data/khamseen10/uvot_tdrss/uvot_lc -web -useprev -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/data/khamseen10/uvot_tdrss/uvot_lc
# ========= GRB110825A ===================
Used archived BAT position of 44.89600 15.40700
Reference: GCN_FOM_Notice_Fri_26_Aug_11_01:05:56_UT
The position is (02:59:35.04, +15:24:25.2)
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(44.896,+15.407,3")
Region file centered at (44.896,+15.407), which is (02:59:35.04, +15:24:25.2)
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 -7.29496 from trigger time of 335932010 in BAT summary file
# ============ Reading file sw00020183001uwh_sk.img ================
The processing date in extension 0 is: 2011-08-26T07:39:44
The trigger time is: 335932017.29496. 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(44.896,+15.407,25")
fk5;-circle(44.896,+15.407,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 wh336013809I   81792.4  0.95  469.8 1432.5 108  75373  5836  0.000 0.097 99.00 21.1  0.0000 0.0970 99.00 21.1   470  0.000  7.956 99.00 0.004 
   2 wh336019613I   87595.9  0.96   66.7  194.0 112   9184  5872  0.000 0.232 99.00 20.1  0.0000 0.0897 99.00 21.1   536  0.000  7.411 99.00 0.004 
   3 wh336025576I   93559.4  0.94  359.1 1219.4 112  64720  5848  0.000 0.121 99.00 20.8  0.0000 0.0722 99.00 21.4   896  0.000  6.198 99.00 0.003 
    Sum (T+ 81792 to  93959):            2809.5       2809.5 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  21.38
  0   896   87157.1   6802.1  -5364.7    0.0000   0.0722 99.00 99.00
Total wtd_rate (for all exposures so far):  0.000 +/- 5.953 snr:  0.0 mag: 99.00 UL: 16.59
# ============ Reading file sw00020183002uwh_sk.img ================
Use keyword TRIGTIME of 335932017.283 for trigger time.
The processing date in extension 0 is:  2011-08-30T22:10:29
The trigger time is: 335932017.283. The reference is keyword in image 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 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(44.896,+15.407,25")
fk5;-circle(44.896,+15.407,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 wh336393924I  461907.1  0.96  130.7  302.4 112  16543  5848  0.000 0.159 99.00 20.5  0.0000 0.1590 99.00 20.5   131  0.000 73.448 99.00 0.001 
   2 wh336394060I  462043.3  0.96 1313.7 3258.6 112 167478  5824  0.000 0.050 99.00 21.8  0.0000 0.0480 99.00 21.8  1444  0.000 22.222 99.00 0.001 
   3 wh336395400I  463383.5  0.96  118.2  293.7 108  15785  5816  0.000 0.169 99.00 20.5  0.0000 0.0462 99.00 21.9  1563  0.000 21.378 99.00 0.001 
   4 wh336416911I  484894.4  0.96   17.5   43.6 112   2231  5856  0.000 0.436 99.00 19.4  0.0000 0.0459 99.00 21.9  1580  0.000 21.269 99.00 0.001 
   5 wh336416931I  484914.7  0.96  181.9  455.0 112  23184  5864  0.000 0.135 99.00 20.7  0.0000 0.0435 99.00 21.9  1762  0.000 20.230 99.00 0.001 
    Sum (T+461907 to 485099):            4316.1       4316.1 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  21.93
  0  1762  465226.9  19872.5  -3319.8    0.0000   0.0435 99.00 99.00
Total wtd_rate (for all exposures so far):  0.000 +/- 5.706 snr:  0.0 mag: 99.00 UL: 16.63
Rebinned Data for sw00020183002uwh_sk.img using a zero point of 20.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      847   87135.7   6823.5  -5343.3    0.0000   0.0722 99.00 99.00   87135.7    0.0000   0.0722 99.00 99.00 21.88
  1 1.69e+03  465225.3  19874.1  -3318.2    0.0000   0.0435 99.00 99.00  338949.8    0.0000   0.0377 99.00 99.00 22.58
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw00020183001uvv_sk.img ================
The processing date in extension 0 is:  2011-08-26T07:39:45
The trigger time is: 335932017.283. The reference is keyword in image 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 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(44.896,+15.407,25")
fk5;-circle(44.896,+15.407,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 vv336014316I   82299.3  0.98  491.9  676.8 104  37301  5856  0.000 0.059 99.00 19.2  0.0000 0.0588 99.00 19.2   492  0.000 44.285 99.00 0.001 
High bkg:   2 vv336014819I   27.1   2965  5820 18.771  0.345
   2 vv336014819I   82802.6  0.96   27.1   61.6 112   2965  5820  0.000 0.317 99.00 17.4  0.0000 0.0581 99.00 19.2   519  0.000 43.546 99.00 0.001 
   3 vv336025982I   93965.4  0.98   59.7   61.3 112   3116  5824  0.000 0.145 99.00 18.2  0.0000 0.0542 99.00 19.3   579  0.000 41.095 99.00 0.001 
    Sum (T+ 82299 to  94026):             779.4        779.4 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  19.29
  0   579   83741.8  10284.2  -1442.5    0.0000   0.0542 99.00 99.00
Total wtd_rate (for all exposures so far):  0.000 +/- 5.550 snr:  0.0 mag: 99.00 UL: 14.26
Rebinned Data for sw00020183001uvv_sk.img using a zero point of 17.89:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      565   83749.8  10276.2  -1450.5    0.0000   0.0542 99.00 99.00   83749.8    0.0000   0.0542 99.00 99.00 19.79
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00020183001uuu_sk.img ================
The processing date in extension 0 is:  2011-08-26T07:39:43
The trigger time is: 335932017.283. The reference is keyword in image 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 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(44.896,+15.407,25")
fk5;-circle(44.896,+15.407,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 uu336013303I   81286.6  0.99  491.9  206.9 112  10946  5852  0.000 0.033 99.00 20.3  0.0000 0.0329 99.00 20.3   492  0.000 16.166 99.00 0.005 
   2 uu336019119I   87102.0  0.99  480.1  231.8 120  10874  5880  0.000 0.035 99.00 20.2  0.0000 0.0239 99.00 20.6   972  0.000 12.109 99.00 0.004 
   3 uu336025171I   93153.8  0.99  393.5  177.1 120   9228  5884  0.000 0.039 99.00 20.1  0.0000 0.0204 99.00 20.8  1365  0.000 10.603 99.00 0.004 
    Sum (T+ 81287 to  93554):             619.6        619.6 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  20.80
  0  1365   86984.3   6569.2  -5697.7    0.0000   0.0204 99.00 99.00
Total wtd_rate (for all exposures so far):  0.000 +/- 4.949 snr:  0.0 mag: 99.00 UL: 14.84
Rebinned Data for sw00020183001uuu_sk.img using a zero point of 18.34:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.36e+03   86983.6   6569.9  -5697.0    0.0000   0.0204 99.00 99.00   86983.6    0.0000   0.0204 99.00 99.00 21.30
The data range from T+81286.6 s (0.94 d) to T+485099.4 s (5.61 d)
Wrote uvot_fluxes_110831d01h51m01s350973usUT.qdp
Wrote uvot_fluxes_110831d01h51m01s350973usUT.gif
Wrote uvot_fluxes_110831d01h51m01s350973usUT.ps
Wrote uvot_fluxes_110831d01h51m01s350973usUT_vis.qdp
Wrote uvot_fluxes_110831d01h51m01s350973usUT_uv.qdp
Wrote uvot_fluxes_110831d01h51m01s350973usUT_vis.gif
Wrote uvot_fluxes_110831d01h51m01s350973usUT_vis.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  u (0)  , white (0)  , b (0)  , v (0)  , 
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.0276   86085.7   7940.3  -4799.2    0.0000   0.0683 99.00 99.00   86085.7    0.0000   0.0683 99.00 99.00 21.94
  1  0.00244  465033.5  20066.0  -3126.4    0.0000   0.0435 99.00 99.00  116925.8    0.0000   0.0483 99.00 99.00 22.31
The data range from T+81286.6 s (0.94 d) to T+485099.4 s (5.61 d)
Wrote uvot_fluxes_wtd_110831d01h51m01s350973usUT.qdp
Wrote uvot_fluxes_wtd_110831d01h51m01s350973usUT.gif
Wrote uvot_fluxes_wtd_110831d01h51m01s350973usUT.ps
Found 1 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2011-06-09 fem