# uvot_fluxes_wget.pl vrs. 2012-06-15 fem at 130519d14h45m06s558274usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00020280992 -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 sw00020280992uuu_sk.img ================
Long-term sensitivity correction is 0.086 at 390609533
The processing date in extension 0 is: 2013-05-19T10:31:16
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
Calculate distance from target to edge of image.
Ext Dist.(") RA_cent  DEC_cent width  PA
  1  156.0 355.52924  47.64224 0.286  98.4
  2  159.0 355.52747  47.64204 0.286  98.4
  3  129.4 355.53580  47.63588 0.286  98.4
  4  133.1 355.53147  47.63371 0.286  98.4
  5  133.1 355.53186  47.63406 0.286  98.4
  6  147.1 355.53285  47.64139 0.286  98.4
Using background region based on sources found in extension 3:
# 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")
 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
Low  bkg:   1 uu390609532I  497.0      0  5860  0.000  0.000
%  1 uu390609532I   31444.4  1.00  497.0    0.0 200      0  5860 
Low  bkg:   2 uu390614161I  542.0      0  5808  0.000  0.000
%  2 uu390614161I   36073.1  1.00  542.0    0.0 184      0  5808 
Low  bkg:   3 uu390619313I  559.3      0  5828  0.000  0.000
%  3 uu390619313I   41224.9  1.00  559.3    0.0 200      0  5828 
Low  bkg:   4 uu390625663I  557.1      0  5828  0.000  0.000
%  4 uu390625663I   47575.5  1.00  557.1    0.0 192      0  5828 
Low  bkg:   5 uu390632284I  427.2      0  5872  0.000  0.000
%  5 uu390632284I   54196.2  1.00  427.2    0.0 208      0  5872 
Low  bkg:   6 uu390637471I  223.6      0  5832  0.000  0.001
%  6 uu390637471I   59383.2  1.00  223.6    0.0 192      0  5832 
Wrote uvot_fluxes_130519d14h45m06s558274usUT.qdp
Failed to write uvot_fluxes_130519d14h45m06s558274usUT.gif
Failed to write uvot_fluxes_130519d14h45m06s558274usUT.ps
Wrote uvot_fluxes_130519d14h45m06s558274usUT_vis.qdp
Wrote uvot_fluxes_130519d14h45m06s558274usUT_uv.qdp
Found 6 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2012-06-15 fem