# uvot_fluxes_wget.pl vrs. 2012-06-15 fem at 140131d08h44m44s105173usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020353001 -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
# ========= GRB140110A ===================
Used archived XRT position of 28.53253 -36.12000 4.00
Reference: GCN_Circulars-15721
The position is (01:54:07.81, -36:07:12.0)
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(28.53253,-36.12000,4") # color=red dash=0
Region file centered at (28.53253,-36.12000), which is (01:54:07.81, -36:07:12.0)
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 -11.49434 from trigger time of 411027517.94 in BAT summary file
# ============ Reading file sw00020353001um2_sk.img ================
Long-term sensitivity correction is 0.092 at 411955329
The processing date in extension 0 is: 2014-01-31T08:30:00
The trigger time is: 411027529.43434. The reference is BAT GRB summary file
Using zero point of 16.942 for filter UVM2
Use aperture correction of 1.031 based on aperture of 4.00
Using background region based on sources found in extension 7:
# 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(28.53253,-36.12000,25")
fk5;-circle(28.53253,-36.12000,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 m2411955329I  927799.9  1.00  641.3   89.4 204    699  5879  0.105 0.015 19.39 19.0  0.1049 0.0153 19.39 19.0   641 2126.088 309.871 11.97 0.001 
   2 m2411966855I  939326.3  1.00  398.8   48.2 204    407  5833  0.088 0.018 19.58 19.1  0.0984 0.0117 19.46 19.1  1040 1999.805 237.890 12.04 0.001 
   3 m2411978062I  950532.7  1.00  549.5   87.6 204    642  5831  0.122 0.018 19.22 18.8  0.1067 0.0098 19.37 19.1  1590 2170.262 199.739 11.95 0.001 
   4 m2411983835I  956306.4  1.00  693.9  101.6 196    793  5842  0.112 0.015 19.32 19.0  0.1082 0.0082 19.36 19.1  2283 2216.988 168.623 11.93 0.001 
   5 m2411989595I  962066.1  1.00  694.3   81.3 196    830  5858  0.080 0.013 19.69 19.2  0.1015 0.0070 19.43 19.2  2978 2097.653 145.583 11.99 0.001 
   6 m2412001138I  973608.7  1.00  908.3  127.3 200    941  5842  0.108 0.013 19.36 19.0  0.1030 0.0062 19.41 19.2  3886 2145.366 128.676 11.96 0.001 
   7 m2412006916I  979387.2  1.00 1598.7  217.2 200   1596  5878  0.105 0.010 19.39 19.1  0.1036 0.0052 19.40 19.3  5485 2176.975 109.001 11.95 0.001 
   8 m2412029962I 1002433.1  1.00  293.7   38.0 200    343  5834  0.092 0.022 19.53 18.9  0.1031 0.0050 19.41 19.3  5779 2170.200 106.307 11.95 0.001 
   9 m2412035722I 1008192.7  1.00  589.3   77.0 200    993  5885  0.076 0.015 19.74 19.2  0.1005 0.0048 19.44 19.3  6368 2141.855 102.135 11.96 0.001 
    Sum (T+927800 to 1008791):             867.6        247.4 (est. in src region)   SNR_unwtd_sum:  20.95 0.9987 signif. UL:  19.29
  0  6368 411995674  968144.6  40646.8 -40344.7    0.1005   0.0048 19.437  0.053  -0.051
Total wtd_rate (for all exposures so far): 2141.855 +/-101.660 snr: 21.1 mag: 11.96 UL:  8.47
Rebinned Data for sw00020353001um2_sk.img using a zero point of 16.942:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 6.36e+03  968144.8  40646.7 -40344.9    0.1005   0.0048 19.44  0.05  968144.8    0.1005   0.0048 19.44  0.05 19.29
The data range from T+927799.9 s (10.74 d) to T+1008791.4 s (11.68 d)
Wrote uvot_fluxes_140131d08h44m44s105173usUT.qdp
Wrote uvot_fluxes_140131d08h44m44s105173usUT.gif
Wrote uvot_fluxes_140131d08h44m44s105173usUT.ps
Wrote uvot_fluxes_140131d08h44m44s105173usUT_vis.qdp
Wrote uvot_fluxes_140131d08h44m44s105173usUT_uv.qdp
Wrote uvot_fluxes_140131d08h44m44s105173usUT_uv.gif
Wrote uvot_fluxes_140131d08h44m44s105173usUT_uv.ps
Normal end of uvot_fluxes_wget.pl vrs. 2012-06-15 fem