# uvot_fluxes_wget.pl vrs. 2012-06-15 fem at 140812d14h17m36s700627usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020402001 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/local/home/khamseen/khamseen10/uvot_tdrss/uvot_lc -web -useprev -zp_2011 -search_src_reg -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /local/home/khamseen/khamseen10/uvot_tdrss/uvot_lc
# ========= unknown GRB ===================
Used archived opt source position of 44.06850 30.93800 3.00
Reference: GCN_Circulars-16653
The position is (02:56:16.44, +30:56:16.8)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl opt
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(44.0685,30.9380,3") # color=red dash=0
Region file centered at (44.0685,30.9380), which is (02:56:16.44, +30:56:16.8)
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 -12.33946 from trigger time of 428612393.26 in BAT summary file
# ============ Reading file sw00020402001uw1_sk.img ================
Use keyword TRIGTIME of 428612405.563 for trigger time.
Long-term sensitivity correction is 0.098 at 428648788
The processing date in extension 0 is: 2014-08-12T14:06:32
The trigger time is: 428612405.563. The reference is keyword in image file
Using zero point of 17.538 for filter UVW1
Use aperture correction of 1.123 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.0685,30.9380,25")
fk5;-circle(44.0685,30.9380,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 w1428648787I   36382.0  1.00  931.8  130.9 116   6301  5876  0.008 0.014 22.80 20.8  0.0079 0.0139 22.80 20.8   932  3.662  6.485 18.88 0.016 
   2 w1428654547I   42141.6  1.00  928.9  127.5 112   6078  5848  0.014 0.014 22.21 20.7  0.0107 0.0098 22.47 21.0  1861  5.255  4.884 18.49 0.015 
   3 w1428660307I   47901.6  1.00   83.8   14.4 108    401  5827  0.094 0.051 20.11 19.1  0.0143 0.0096 22.15 20.9  1945  7.448  4.859 18.11 0.016 
    Sum (T+ 36382 to  47987):             272.8        248.2 (est. in src region)   SNR_unwtd_sum:   1.48 0.9987 signif. UL:  20.94
  0  1945 428652489   40083.9   7902.8  -3701.8    0.0143   0.0096 22.153  1.225  -0.561
Total wtd_rate (for all exposures so far):  7.448 +/- 4.817 snr:  1.5 mag: 18.11 UL: 14.18
Rebinned Data for sw00020402001uw1_sk.img using a zero point of 17.538:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.94e+03   40084.0   7902.7  -3701.9    0.0143   0.0096 22.15  0.56   40084.0    0.0143   0.0096 22.15  0.56 20.94
The data range from T+36382.0 s (0.42 d) to T+47986.7 s (0.56 d)
Wrote uvot_fluxes_140812d14h17m36s700627usUT.qdp
Wrote uvot_fluxes_140812d14h17m36s700627usUT.gif
Wrote uvot_fluxes_140812d14h17m36s700627usUT.ps
Wrote uvot_fluxes_140812d14h17m36s700627usUT_vis.qdp
Wrote uvot_fluxes_140812d14h17m36s700627usUT_uv.qdp
Wrote uvot_fluxes_140812d14h17m36s700627usUT_uv.gif
Wrote uvot_fluxes_140812d14h17m36s700627usUT_uv.ps
Normal end of uvot_fluxes_wget.pl vrs. 2012-06-15 fem