# uvot_fluxes_wget.pl vrs. 2012-06-15 fem at 130519d14h41m06s969297usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020279992 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/local/home/khamseen/khamseen10/uvot_tdrss/uvot_lc -web -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
# ========= GRB130518A ===================
Used archived XRT position of 355.66565 47.46528 4.00
Reference: team_email(source
The position is (23:42:39.76, +47:27:55.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(355.66565,+47.46528,4") # color=red dash=0
Region file centered at (355.66565,+47.46528), which is (23:42:39.76, +47:27:55.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 -10.55612 from trigger time of 390578077.53 in BAT summary file
# ============ Reading file sw00020279992uuu_sk.img ================
Long-term sensitivity correction is 0.086 at 390608950
The processing date in extension 0 is: 2013-05-19T10:33:25
The trigger time is: 390578088.08612. The reference is BAT GRB summary file
Using zero point of 18.426 for filter U
Use aperture correction of 1.032 based on aperture of 4.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(355.66565,+47.46528,25")
fk5;-circle(355.66565,+47.46528,12.5")
fk5;-circle(355.668021,47.470912,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 uu390608949I   30861.8  0.98  548.7 1297.1 196  39779  5432 -0.266 0.071 99.00 20.9 -0.2660 0.0707 99.00 20.9   549 -46.131 12.258 99.00 0.002 
   2 uu390613579I   35491.8  0.98  547.7  946.3 196  27071  5461 -0.048 0.060 99.00 20.4 -0.1570 0.0464 99.00 21.3  1096 -26.771  8.565 99.00 0.002 
High bkg:   3 uu390621071I  511.4  49128  5472 17.556  0.079
   3 uu390621071I   42983.4  0.97  511.4 1642.7 196  49128  5465 -0.249 0.086 99.00 20.5 -0.1860 0.0418 99.00 21.6  1608 -31.567  7.917 99.00 0.002 
High bkg:   4 uu390626836I  518.9  50284  5440 17.813  0.079
   4 uu390626836I   48748.8  0.97  518.9 1729.0 200  50284  5430 -0.253 0.087 99.00 20.5 -0.2022 0.0380 99.00 21.9  2127 -35.288  7.511 99.00 0.002 
High bkg:   5 uu390632743I  387.8  36808  5424 17.497  0.091
   5 uu390632743I   54655.5  0.97  387.8 1200.2 192  36808  5413 -0.289 0.097 99.00 20.4 -0.2156 0.0355 99.00 22.1  2515 -38.438  7.280 99.00 0.001 
   6 uu390637723I   59635.2  0.98  238.1  506.5 200  16286  5407 -0.424 0.102 99.00 20.6 -0.2337 0.0336 99.00 22.2  2753 -42.543  7.119 99.00 0.001 
    Sum (T+ 30862 to  59877):            7321.9       7929.1 (est. in src region)   SNR_unwtd_sum:  -6.96 0.9987 signif. UL:  22.25
  0  2753 390621584   43495.7  16381.5 -12633.8   -0.2337   0.0336 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -42.543 +/- 6.986 snr: -6.1 mag: 99.00 UL: 16.33
Rebinned Data for sw00020279992uuu_sk.img using a zero point of 18.426:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.07e+03   33460.2   2588.0  -2598.4   -0.1570   0.0464 99.00 99.00   33460.2   -0.1570   0.0464 99.00 99.00 21.30
  1      997   46149.5   3126.6  -3166.2   -0.2510   0.0613 99.00 99.00   39567.1   -0.2022   0.0380 99.00 99.00 21.87
  2      609   56728.8   3148.4  -2073.2   -0.3410   0.0714 99.00 99.00   43466.6   -0.2337   0.0336 99.00 99.00 22.25
The data range from T+30861.8 s (0.36 d) to T+59877.1 s (0.69 d)
Wrote uvot_fluxes_130519d14h41m06s969297usUT.qdp
Wrote uvot_fluxes_130519d14h41m06s969297usUT.gif
Wrote uvot_fluxes_130519d14h41m06s969297usUT.ps
Wrote uvot_fluxes_130519d14h41m06s969297usUT_vis.qdp
Wrote uvot_fluxes_130519d14h41m06s969297usUT_uv.qdp
Wrote uvot_fluxes_130519d14h41m06s969297usUT_vis.gif
Wrote uvot_fluxes_130519d14h41m06s969297usUT_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.290:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0   0.0012   31140.5    278.7   -278.7   -1.4814   0.3936 99.00 99.00   31140.5   -1.4814   0.3936 99.00 99.00 20.92
  1  0.00167   37633.8   5869.1  -2142.0   -0.5894   0.2753 99.00 99.00   34928.3   -0.9207   0.2265 99.00 99.00 21.58
  2 0.000523   51303.1   3746.5  -2554.2   -1.4934   0.3612 99.00 99.00   37452.8   -1.0417   0.1943 99.00 99.00 21.97
  3 0.000156   59756.2    121.0   -121.0   -2.3624   0.5670 99.00 99.00   38436.3   -1.1322   0.1851 99.00 99.00 22.14
The data range from T+30861.8 s (0.36 d) to T+59877.1 s (0.69 d)
Wrote uvot_fluxes_wtd_130519d14h41m06s969297usUT.qdp
Wrote uvot_fluxes_wtd_130519d14h41m06s969297usUT.gif
Wrote uvot_fluxes_wtd_130519d14h41m06s969297usUT.ps
Found 3 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2012-06-15 fem