# uvot_fluxes_wget.pl vrs. 2009-07-14 fem at 090927d01h53m14s666923usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020113992 -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
# ========= unknown GRB ===================
Used archived BAT position of 353.53600 -66.32900
Reference: GCN_FOM_Notice_Sat_26_Sep_09_17:16:44_UT
The position is (23:34:08.64, -66:19:44.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(353.536,-66.329,3")
Region file centered at (353.536,-66.329), which is (23:34:08.64, -66:19: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.
*** 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.
Failed to find trigger time in BAT summary file for trigger 00020113
# ============ Reading file sw00020113992uwh_sk.img ================
The processing date in extension 0 is: 2009-09-27T01:37:16
The trigger time is: 0. The reference is trigger time unknown
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 3:
# 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(353.536,-66.329,25")
fk5;-circle(353.536,-66.329,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 wh275678606I 275678606.2  0.98  358.0  476.4 112  25805  5860  0.000 0.071 99.00 21.4  0.0000 0.0711 99.00 21.4   358  0.000 19590.584 99.00 0.000 
   2 wh275683727I 275683727.3  0.98  675.0  825.8 104  44566  5808  0.000 0.048 99.00 21.8  0.0000 0.0397 99.00 22.0  1033  0.000 10923.066 99.00 0.000 
   3 wh275689448I 275689448.0  0.98  704.5  962.4 116  47043  5872  0.000 0.049 99.00 21.8  0.0000 0.0310 99.00 22.3  1737  0.000 8526.235 99.00 0.000 
    Sum (T+275678606 to 275690164):            2220.5       2220.5 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  22.30
Total wtd_rate (for all exposures so far):  0.000 +/-8446.962 snr:  0.0 mag: 99.00 UL:  8.71
Rebinned Data for sw00020113992uwh_sk.img using a zero point of 20.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0  1.7e+03 275685309.6   4854.2  -6703.4    0.0000   0.0310 99.00 99.00 275685309.6    0.0000   0.0310 99.00 99.00 22.79
# ============ Reading file sw00020113992uvv_sk.img ================
The processing date in extension 0 is:  2009-09-27T01:37:17
The trigger time is: 0. The reference is trigger time unknown
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 5:
# 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(353.536,-66.329,25")
fk5;-circle(353.536,-66.329,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 vv275678976I 275678976.3  0.99  358.0  229.0 116  12900  5888  0.000 0.049 99.00 19.4  0.0000 0.0495 99.00 19.4   358  0.000 124384.604 99.00 0.000 
   2 vv275679343I 275679343.3  0.98   12.3   14.6 120    854  5880  0.000 0.381 99.00 17.2  0.0000 0.0495 99.00 19.4   370  0.000 123350.014 99.00 0.000 
   3 vv275684419I 275684419.9  0.99  675.0  315.8 112  15448  5872  0.000 0.028 99.00 20.0  0.0000 0.0252 99.00 20.1  1045  0.000 61356.922 99.00 0.000 
   4 vv275685109I 275685109.7  0.98   27.1   35.5 108   1250  5832  0.000 0.198 99.00 17.9  0.0000 0.0251 99.00 20.1  1072  0.000 60895.062 99.00 0.000 
   5 vv275690170I 275690170.9  0.99  703.3  322.5 116  15664  5832  0.000 0.028 99.00 20.0  0.0000 0.0187 99.00 20.4  1776  0.000 45889.235 99.00 0.000 
   6 vv275690886I 275690886.7  0.98   36.4   27.5 116   1726  5884  0.000 0.179 99.00 18.0  0.0000 0.0187 99.00 20.4  1812  0.000 45652.070 99.00 0.000 
    Sum (T+275678976 to 275690924):             934.9        934.9 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  20.45
Total wtd_rate (for all exposures so far):  0.000 +/-8156.721 snr:  0.0 mag: 99.00 UL:  6.34
Rebinned Data for sw00020113992uvv_sk.img using a zero point of 17.89:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0  1.8e+03 275685991.3   4932.3  -7015.0    0.0000   0.0187 99.00 99.00 275685991.3    0.0000   0.0187 99.00 99.00 20.94
# ============ Reading file sw00020113992uuu_sk.img ================
The processing date in extension 0 is:  2009-09-27T01:37:16
The trigger time is: 0. The reference is trigger time unknown
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 3:
# 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(353.536,-66.329,25")
fk5;-circle(353.536,-66.329,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 uu275678236I 275678236.7  1.00  358.0   75.7 128   3804  5888  0.000 0.028 99.00 20.4  0.0000 0.0283 99.00 20.4   358  0.000 47054.012 99.00 0.000 
   2 uu275683035I 275683035.1  1.00  675.0  135.7 112   6998  5844  0.000 0.019 99.00 20.9  0.0000 0.0159 99.00 21.1  1033  0.000 26317.650 99.00 0.000 
   3 uu275688725I 275688725.7  1.00  704.5  151.9 112   7401  5876  0.000 0.019 99.00 20.9  0.0000 0.0121 99.00 21.4  1737  0.000 20115.131 99.00 0.000 
   4 uu275694429I 275694429.3  1.00  526.0  100.4 112   5484  5860  0.000 0.022 99.00 20.7  0.0000 0.0106 99.00 21.5  2263  0.000 17561.522 99.00 0.000 
    Sum (T+275678237 to 275694964):             462.7        462.7 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  21.51
Total wtd_rate (for all exposures so far):  0.000 +/-7452.035 snr:  0.0 mag: 99.00 UL:  6.89
Rebinned Data for sw00020113992uuu_sk.img using a zero point of 18.34:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.26e+03 275686999.5   7964.1  -8762.8    0.0000   0.0106 99.00 99.00 275686999.5    0.0000   0.0106 99.00 99.00 22.01
The data range from T+275678236.7 s (3190.72 d) to T+275694963.7 s (3190.91 d)
Wrote uvot_fluxes_090927d01h53m14s666923usUT.gif
Wrote uvot_fluxes_090927d01h53m14s666923usUT.ps
Wrote uvot_fluxes_090927d01h53m14s666923usUT_vis.qdp
Wrote uvot_fluxes_090927d01h53m14s666923usUT_uv.qdp
Wrote uvot_fluxes_090927d01h53m14s666923usUT_vis.gif
Wrote uvot_fluxes_090927d01h53m14s666923usUT_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 1.43e-08 275685385.5   9578.2  -7148.7    0.0000   0.0298 99.00 99.00 275685385.5    0.0000   0.0298 99.00 99.00 22.84
The data range from T+275678236.7 s (3190.72 d) to T+275694963.7 s (3190.91 d)
Wrote uvot_fluxes_wtd_090927d01h53m14s666923usUT.gif
Wrote uvot_fluxes_wtd_090927d01h53m14s666923usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2009-07-14 fem