# uvot_fluxes_wget.pl vrs. 2012-06-15 fem at 130711d04h22m30s099975usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020285002 -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
# ========= GRB130626A ===================
Used archived XRT position of 273.14042 -9.50092 4.00
Reference: GCN_Circulars-14937-Thu,_27_Jun_2013_09:31:48_-0400_(EDT)
The position is (18:12:33.70, -09:30:03.3)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl xrt
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(273.14042,-9.50092,4") # color=red dash=0
Region file centered at (273.14042,-9.50092), which is (18:12:33.70, -09:30:03.3)
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 -10.71484 from trigger time of 393936663.52 in BAT summary file
# ============ Reading file sw00020285002uw1_sk.img ================
Use keyword TRIGTIME of 393936673.684 for trigger time.
Long-term sensitivity correction is 0.087 at 395151527
The processing date in extension 0 is: 2013-07-11T04:03:33
The trigger time is: 393936673.684. The reference is keyword in image file
Using zero point of 17.527 for filter UVW1
Use aperture correction of 1.035 based on aperture of 4.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(273.14042,-9.50092,25")
fk5;-circle(273.14042,-9.50092,12.5")
fk5;-circle(273.136250,-9.494022,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 w1395151526I 1214853.2  1.00  958.8  140.4 200   3874  5809  0.008 0.013 22.82 20.8  0.0076 0.0130 22.82 20.8   959 118.240 201.498 15.11 0.000 
   2 w1395181493I 1244820.1  1.00 1050.3  136.3 196   3794  5800  0.008 0.012 22.77 20.9  0.0078 0.0087 22.79 21.2  2009 122.809 136.502 15.07 0.000 
   3 w1395187646I 1250972.4  1.00  664.3  113.4 208   2497  5802  0.037 0.017 21.10 20.2  0.0151 0.0078 22.08 21.1  2673 233.863 122.022 14.37 0.000 
    Sum (T+1214853 to 1251647):             390.2        351.1 (est. in src region)   SNR_unwtd_sum:   1.95 0.9987 signif. UL:  21.06
  0  2673 395172744 1236069.9  15577.4 -21216.7    0.0151   0.0078 22.077  0.782  -0.450
Total wtd_rate (for all exposures so far): 233.863 +/-120.165 snr:  1.9 mag: 14.37 UL: 10.59
Rebinned Data for sw00020285002uw1_sk.img using a zero point of 17.527:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 2.67e+03 1236070.2  15577.1 -21217.0    0.0151   0.0078 22.08  0.45 1236070.2    0.0151   0.0078 22.08  0.45 21.06
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw00020285001um2_sk.img ================
Use keyword TRIGTIME of 393936673.684 for trigger time.
Long-term sensitivity correction is  0.087 at 395030238
The processing date in extension 0 is:  2013-07-10T04:41:46
The trigger time is: 393936673.684. The reference is keyword in image file
Using zero point of 16.937 for filter UVM2
Use aperture correction of  1.031 based on aperture of  4.00
There are no aspect corrected images to process.
The data range from T+1214853.2 s (14.06 d) to T+1251647.3 s (14.49 d)
Wrote uvot_fluxes_130711d04h22m30s099975usUT.qdp
Wrote uvot_fluxes_130711d04h22m30s099975usUT.gif
Wrote uvot_fluxes_130711d04h22m30s099975usUT.ps
Wrote uvot_fluxes_130711d04h22m30s099975usUT_vis.qdp
Wrote uvot_fluxes_130711d04h22m30s099975usUT_uv.qdp
Wrote uvot_fluxes_130711d04h22m30s099975usUT_uv.gif
Wrote uvot_fluxes_130711d04h22m30s099975usUT_uv.ps
Normal end of uvot_fluxes_wget.pl vrs. 2012-06-15 fem