# uvot_fluxes_wget.pl vrs. 2020-11-03a fem at 221104d12h59m53s137858usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01131029002 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/data/uvot/swift_data/home/uvot_lc -web -useprev -zp_2011 -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /data/uvot/swift_data/home/uvot_lc
# ========= GRB221024A ===================
Could not find/read custom source region custom_1131029_src.reg
Used archived opt source position of 169.74075 33.04184 3.00
Reference: GCN_Circulars-32841
The position is (11:18:57.78, +33:02:30.6)
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(169.74075,33.04184,3") # color=red dash=0
Source region spec. is: 169.74075 33.04184 3"
Region file centered at (169.74075,33.04184), which is (11:18:57.78, +33:02:30.6)
Could not find/read custom background region custom_1131029_bkg.reg
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 -30.0925 from uncorrected trigger time of 688309227.12 in BAT summary file
# ============ Reading file sw01131029001um2_sk.img ================
Use keyword TRIGTIME of 688309257.216 for trigger time.
Long-term sensitivity correction to zero point is -0.259 at 688320564
The processing date in extension 0 is: 2022-11-03T14:41:18
The trigger time is: 688309257.216. The reference is keyword in image file
Using zero point of 16.591 for filter UVM2
Use aperture correction of 1.106 based on aperture of 3.00
Using background region based on sources found in extension 4:
# 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(169.74075,33.04184,25")
fk5;-circle(169.74075,33.04184,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 m2688320563I   11306.7  1.00  301.7    5.8 116    300  5848 
#  2 m2688326784I   17527.5  1.00   23.3    0.0 108     22  5828 
   3 m2688333249I   23992.6  1.00  959.6   21.4 108    971  5828  0.004 0.005 22.62 20.8  0.0039 0.0054 22.62 20.8   960  2.860  3.963 19.15 0.072 
   4 m2688338693I   29436.5  1.00 1444.0   22.5 116   1446  5832 -0.005 0.004 99.00 21.7 -0.0013 0.0031 99.00 21.7  2404 -0.628  2.611 99.00 0.062 
   5 m2688344405I   35148.4  1.00  902.7   10.5 108    793  5828 -0.005 0.004 99.00 21.6 -0.0024 0.0025 99.00 22.1  3306 -1.651  2.253 99.00 0.061 
    Sum (T+ 23993 to  36066):              54.4         61.5 (est. in src region)   SNR_unwtd_sum:  -0.95 0.9987 signif. UL:  22.08
  0  3306 688339260   30002.9   6062.6  -6010.4   -0.0024   0.0025 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -1.651 +/- 2.231 snr: -0.7 mag: 99.00 UL: 14.64
# ============ Reading file sw01131029002um2_sk.img ================
Use keyword TRIGTIME of 688309257.216 for trigger time.
Long-term sensitivity correction to zero point is -0.259 at 688361142
The processing date in extension 0 is:  2022-11-04T12:45:35
The trigger time is: 688309257.216. The reference is keyword in image file
Using zero point of 16.591 for filter UVM2
Use aperture correction of  1.106 based on aperture of  3.00
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(169.74075,33.04184,25")
fk5;-circle(169.74075,33.04184,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 m2688361142I   51885.3  1.00  608.6    6.7 104    424  5860 -0.002 0.005 99.00 21.2 -0.0015 0.0047 99.00 21.2   609 -2.378  7.472 99.00 0.051 
   2 m2688384366I   75109.5  1.00  840.7   15.2 112    597  5864  0.005 0.005 22.36 20.8  0.0022 0.0036 23.22 21.3  1449  2.740  6.422 19.20 0.040 
   3 m2688389804I   80546.9  1.00 1158.3   15.9 104    928  5824 -0.001 0.004 99.00 21.4  0.0009 0.0026 24.16 21.7  2608  1.428  5.306 19.90 0.035 
   4 m2688419298I  110041.7  1.00  592.5   15.4 124    557  5880  0.007 0.007 22.00 20.4  0.0020 0.0025 23.32 21.6  3200  2.633  5.195 19.24 0.030 
   5 m2688424519I  115262.5  1.00  709.8    7.5 104    582  5824 -0.005 0.004 99.00 21.5  0.0008 0.0022 24.27 21.9  3910  1.220  4.934 20.07 0.028 
#  6 m2688430599I  121342.6  1.00  749.1   10.4 112    571  5832 
    Sum (T+ 51885 to 115984):              60.6         57.6 (est. in src region)   SNR_unwtd_sum:   0.38 0.9987 signif. UL:  21.86
  0  3910 688395371   86113.4  29870.3 -34228.1    0.0008   0.0022 24.272 74.728  -1.398
Total wtd_rate (for all exposures so far): -1.121 +/- 2.031 snr: -0.6 mag: 99.00 UL: 14.70
Rebinned Data for sw01131029002um2_sk.img using a zero point of 16.591:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 3.31e+03   30003.0   6062.6  -6010.5   -0.0024   0.0025 99.00 99.00   30003.0   -0.0024   0.0025 99.00 99.00 22.08
  1 2.61e+03   72575.4   9148.4 -20690.1    0.0009   0.0026 24.16  1.45   48775.0   -0.0009   0.0018 99.00 99.00 22.31
  2  1.3e+03  113220.8   2762.9  -3179.2    0.0007   0.0041 24.54  2.14   60405.6   -0.0006   0.0017 99.00 99.00 22.37
The data range from T+23992.6 s (0.28 d) to T+115983.7 s (1.34 d)
Wrote uvot_fluxes_221104d12h59m53s137858usUT.qdp
Wrote uvot_fluxes_221104d12h59m53s137858usUT.gif
Wrote uvot_fluxes_221104d12h59m53s137858usUT.ps
Wrote uvot_fluxes_221104d12h59m53s137858usUT_vis.qdp
Wrote uvot_fluxes_221104d12h59m53s137858usUT_uv.qdp
Wrote uvot_fluxes_221104d12h59m53s137858usUT_uv.gif
Wrote uvot_fluxes_221104d12h59m53s137858usUT_uv.ps
Normal end of uvot_fluxes_wget.pl vrs. 2020-11-03a fem