# uvot_fluxes_wget.pl vrs. 2023-03-23 fem at 231125d04h32m59s378489usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00021625001 -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
# ========= GRB231115A ===================
Could not find/read custom source region custom_021625_src.reg
Used archived BAT position of 149.00090 69.68000
Reference: GCN_Circ-35037
The position is (09:56:00.22, +69:40:48.0)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl bat
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(149.0009,+69.6800,3") # color=red dash=0
Source region spec. is: 149.0009 +69.6800 3"
Region file centered at (149.0009,+69.6800), which is (09:56:00.22, +69:40:48.0)
Could not find/read custom background region custom_021625_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.
*** Since no accurate position is available, set rates to 0. and compute ULs based on expected background in source aperture.
Because there are many possible positions for a source, the confidence levels should be increased for upper limits.
Using the ratio of the BAT region and the aperture of 1600.0,
3 sigma should become about 4.9 sigma and 2 sigma should become about 4.3 sigma.
Accordingly confidence limits in the tables have been adjusted from 0.9987 to 0.99999919.
No adjustment has been made for the confidence limits for the rebinned data or the plots.
Found 2 bright star(s) within 50.0 arcsec of 149.0009 +69.6800:
ra: 148.9823 dec: 69.6825 mag: 10.14
ra: 148.9762 dec: 69.6818 mag: 9.57
Subtract UTCF of -32.38386 from uncorrected trigger time of 721755382.88 in BAT summary file
# ============ Reading file sw00021625001uw1_sk.img ================
Use keyword TRIGTIME of 721755414.376 for trigger time.
Long-term sensitivity correction to zero point is -0.271 at 721764640
The processing date in extension 0 is: 2023-11-25T04:11:47
The trigger time is: 721755414.376. The reference is keyword in image file
Using zero point of 17.169 for filter UVW1
Use aperture correction of 1.123 based on aperture of 3.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(149.0009,+69.6800,25")
fk5;-circle(149.0009,+69.6800,12.5")
fk5;-circle(148.997790,69.687141,6")
fk5;-circle(149.003929,69.687463,6")
fk5;-circle(148.9823139,69.6825056,25")
fk5;-circle(148.9761687,69.6818111,25")
 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
High bkg:   1 w1721764639E 1505.1  19650  3514  3.715  0.027
   1 w1721764639E    9225.2  0.99 1505.1  404.3 116  19650  3514  0.000 0.019 99.00 19.7  0.0000 0.0195 99.00 19.7  1505  0.000  3.444 99.00 0.013 
High bkg:   2 w1721787338E 1481.7  13261  3513  2.548  0.022
#  2 w1721787338E   31924.1  1.00 1481.7  344.3 116  13261  3513 
High bkg:   3 w1721793283E 1306.4  16895  3513  3.681  0.028
   3 w1721793283E   37869.3  0.99 1306.4  366.8 116  16895  3513  0.000 0.021 99.00 19.6  0.0000 0.0142 99.00 20.1  2811  0.000  3.347 99.00 0.009 
    Sum (T+  9225 to  39197):            1206.5       1206.5 (est. in src region)   SNR_unwtd_sum:   0.00 0.9999991875 signif. UL:  20.05
  0  2811 721778667   23253.0  15943.6 -14027.8    0.0000   0.0142 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 3.293 snr:  0.0 mag: 99.00 UL: 14.14
Rebinned Data for sw00021625001uw1_sk.img using a zero point of 17.169:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.49e+03    9989.8    764.6   -764.6    0.0000   0.0195 99.00 99.00    9989.8    0.0000   0.0195 99.00 99.00 20.18
  1  1.3e+03   38533.0    663.7   -663.7    0.0000   0.0208 99.00 99.00   23253.7    0.0000   0.0142 99.00 99.00 20.52
The data range from T+9225.2 s (0.11 d) to T+39196.6 s (0.45 d)
Wrote uvot_fluxes_231125d04h32m59s378489usUT.qdp
Wrote uvot_fluxes_231125d04h32m59s378489usUT.gif
Wrote uvot_fluxes_231125d04h32m59s378489usUT.ps
Wrote uvot_fluxes_231125d04h32m59s378489usUT_vis.qdp
Wrote uvot_fluxes_231125d04h32m59s378489usUT_uv.qdp
Wrote uvot_fluxes_231125d04h32m59s378489usUT_uv.gif
Wrote uvot_fluxes_231125d04h32m59s378489usUT_uv.ps
Found 3 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2023-03-23 fem