# uvot_fluxes_wget.pl vrs. 2009-12-07 fem at 100111d17h09m35s826583usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020124001 -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
# ========= GRB091230 ===================
Used archived opt source position of 132.91325 -53.89797 3.00
Reference: GCN_Circulars-10299
The position is (08:51:39.18, -53:53:52.7)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl opt
global color=red font="helvetica 10 normal" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source
fk5;circle(132.91325,-53.89797,3")
Region file centered at (132.91325,-53.89797), which is (08:51:39.18, -53:53:52.7)
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.3895 from trigger time of 283847285.25 in BAT summary file
# ============ Reading file sw00020124001uwh_sk.img ================
The processing date in extension 0 is: 2010-01-06T19:17:22
The trigger time is: 283847290.6395. 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 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(132.91325,-53.89797,25")
fk5;-circle(132.91325,-53.89797,12.5")
fk5;-circle(132.915736,-53.904415,6")
fk5;-circle(132.915653,-53.901139,6")
fk5;-circle(132.919709,-53.900808,6")
fk5;-circle(132.919342,-53.903522,6")
fk5;-circle(132.905254,-53.894271,6")
fk5;-circle(132.925831,-53.894539,6")
fk5;-circle(132.908259,-53.895407,6")
fk5;-circle(132.921353,-53.898654,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 wh283879581I   32290.6  0.96  107.1  280.1 120   9368  3885 -0.100 0.183 99.00 21.0 -0.1003 0.1834 99.00 21.0   107 -3.243  5.934 99.00 0.011 
   2 wh283879692I   32402.2  0.94  719.1 2565.0 116  90270  3880 -0.220 0.086 99.00 22.3 -0.2039 0.0788 99.00 22.4   826 -6.507  2.567 99.00 0.008 
   3 wh283880790I   33499.9  0.90   39.2  258.0 116   8585  3846 -0.029 0.531 99.00 19.7 -0.1963 0.0788 99.00 22.4   865 -6.387  2.541 99.00 0.008 
above line uses coinc_corr_src:  0.896 corr_bkg:  0.891
   4 wh283884181I   36890.5  0.96  204.5  478.0 104  17057  3855  0.101 0.125 22.78 21.1 -0.1387 0.0680 99.00 22.5  1070 -3.977  2.228 99.00 0.008 
   5 wh283884391I   37101.3  0.95 1486.4 4116.7 112 140342  3838  0.017 0.051 24.72 22.2 -0.0478 0.0410 99.00 22.8  2556 -1.349  1.464 99.00 0.009 
   6 wh283886477I   39187.1  0.90   74.2  456.9 116  15383  3833 -0.145 0.372 99.00 20.2 -0.0504 0.0412 99.00 22.8  2630 -1.394  1.456 99.00 0.008 
above line uses coinc_corr_src:  0.896 corr_bkg:  0.897
   7 wh283889901I   42611.2  0.96  209.4  502.3 104  18225  3866  0.066 0.126 23.23 21.1 -0.0417 0.0392 99.00 22.8  2840 -1.099  1.405 99.00 0.008 
    Sum (T+ 32291 to  42824):            8656.9       8758.2 (est. in src region)   SNR_unwtd_sum:  -1.06 0.9987 signif. UL:  22.81
Total wtd_rate (for all exposures so far): -1.099 +/- 1.377 snr: -0.8 mag: 99.00 UL: 18.88
Rebinned Data for sw00020124001uwh_sk.img using a zero point of 20.29:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.69e+03   36842.0   5982.0  -4551.5   -0.0417   0.0392 99.00 99.00   36842.0   -0.0417   0.0392 99.00 99.00 22.81
The data range from T+32290.6 s (0.37 d) to T+42824.0 s (0.50 d)
Wrote uvot_fluxes_100111d17h09m35s826583usUT.qdp
Wrote uvot_fluxes_100111d17h09m35s826583usUT.gif
Wrote uvot_fluxes_100111d17h09m35s826583usUT.ps
Wrote uvot_fluxes_100111d17h09m35s826583usUT_vis.qdp
Wrote uvot_fluxes_100111d17h09m35s826583usUT_uv.qdp
Wrote uvot_fluxes_100111d17h09m35s826583usUT_vis.gif
Wrote uvot_fluxes_100111d17h09m35s826583usUT_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.506   36741.0   6083.0  -4450.5   -0.0307   0.0382 99.00 99.00   36741.0   -0.0307   0.0382 99.00 99.00 22.77
The data range from T+32290.6 s (0.37 d) to T+42824.0 s (0.50 d)
Wrote uvot_fluxes_wtd_100111d17h09m35s826583usUT.qdp
Wrote uvot_fluxes_wtd_100111d17h09m35s826583usUT.gif
Wrote uvot_fluxes_wtd_100111d17h09m35s826583usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2009-12-07 fem