# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 250118d03h53m23s772961usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00021753002 -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
# ========= GRB250106A ===================
Could not find/read custom source region custom_021753_src.reg
Used archived opt source position of 117.37078 63.70817 3.00
Reference: GCN_Circulars-38829
The position is (07:49:28.99, +63:42:29.4)
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(117.37078,63.70817,3") # color=red dash=0
Source region spec. is: 117.37078 63.70817 3"
Region file centered at (117.37078,63.70817), which is (07:49:28.99, +63:42:29.4)
Could not find/read custom background region custom_021753_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 -34.82974 from uncorrected trigger time of 757736959.97 in BAT summary file
# ============ Reading file sw00021753001uvv_sk.img ================
Long-term sensitivity correction to zero point is -0.227 at 757844264
The processing date in extension 0 is: 2025-01-06T14:14:22
The trigger time is: 757736994.79974. The reference is BAT GRB summary file
Using zero point of 17.663 for filter V
Use aperture correction of 1.087 based on aperture of 3.00
Calculate distance from target to edge of image.
Ext Dist.(") RA_cent  DEC_cent width  PA
  1  -13.7 117.12244  63.78608 0.286 358.2
  2  -14.2 117.12292  63.78616 0.286 358.2
  3    5.4 117.10627  63.78373 0.286 358.2
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(117.37078,63.70817,25")
fk5;-circle(117.37078,63.70817,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 vv757844264I  107269.2  0.99  622.8  180.4 104  10405  5850 
%  2 vv757844900I  107905.9  0.99  444.9  222.8 116  10373  5865 
Low  bkg:   3 vv757849911I  600.4   6633  5828  1.895  0.023
%  3 vv757849911I  112916.9  1.00  600.4  167.9 108   6633  5836 
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00021753001uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.239 at 757843623
The processing date in extension 0 is:  2025-01-06T14:14:21
The trigger time is: 757736994.79974. The reference is BAT GRB summary file
Using zero point of 18.101 for filter U
Use aperture correction of  1.100 based on aperture of  3.00
Calculate distance from target to edge of image.
Ext Dist.(") RA_cent  DEC_cent width  PA
  1  -11.0 117.12020  63.78577 0.286 358.2
  2    7.2 117.10467  63.78346 0.286 358.2
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(117.37078,63.70817,25")
fk5;-circle(117.37078,63.70817,12.5")
fk5;-circle(117.366362,63.708820,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 uu757843622I  106628.0  1.00  622.8  133.3 104   7058  5797 
Low  bkg:   2 uu757849271I  621.8   4696  5812  1.299  0.019
%  2 uu757849271I  112276.6  1.00  621.8  135.2 112   4696  5820 
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw00021753002uw2_sk.img ================
Use keyword TRIGTIME of 757823394.826 for trigger time.
Long-term sensitivity correction to zero point is -0.345 at 758052486
The processing date in extension 0 is:  2025-01-18T03:39:48
The trigger time is: 757823394.826. The reference is keyword in image file
Using zero point of 17.035 for filter UVW2
Use aperture correction of  1.108 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(117.37078,63.70817,25")
fk5;-circle(117.37078,63.70817,12.5")
fk5;-circle(117.365388,63.708753,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 w2758052486I  229091.6  1.00   53.5    1.0 112     80  5787 -0.012 0.021 99.00 20.1 -0.0116 0.0209 99.00 20.1    53 -53.185 96.091 99.00 0.008 
   2 w2758058059I  234664.2  1.00  119.8    1.1 112    157  5751 -0.018 0.010 99.00 21.2 -0.0162 0.0094 99.00 21.3   173 -76.273 43.346 99.00 0.008 
   3 w2758059267I  235872.6  1.00  347.9    7.1 116    534  5801 -0.011 0.009 99.00 21.3 -0.0129 0.0066 99.00 21.7   521 -61.797 30.314 99.00 0.007 
   4 w2758063799I  240404.5  1.00  609.5   13.4 112    601  5753  0.003 0.007 23.29 21.1 -0.0042 0.0047 99.00 21.8  1131 -13.395 23.279 99.00 0.009 
    Sum (T+229092 to 241024):              22.7         27.0 (est. in src region)   SNR_unwtd_sum:  -0.90 0.9987 signif. UL:  21.82
  0  1131 758061491  238095.8   2927.9  -9004.2   -0.0042   0.0047 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -13.395 +/-23.040 snr: -0.6 mag: 99.00 UL: 12.51
Rebinned Data for sw00021753002uw2_sk.img using a zero point of 17.035:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.13e+03  238095.8   2927.9  -9004.2   -0.0042   0.0047 99.00 99.00  238095.8   -0.0042   0.0047 99.00 99.00 21.82
The data range from T+229091.6 s (2.65 d) to T+241023.7 s (2.79 d)
Wrote uvot_fluxes_250118d03h53m23s772961usUT.qdp
Wrote uvot_fluxes_250118d03h53m23s772961usUT.gif
Wrote uvot_fluxes_250118d03h53m23s772961usUT.ps
Wrote uvot_fluxes_250118d03h53m23s772961usUT_vis.qdp
Wrote uvot_fluxes_250118d03h53m23s772961usUT_uv.qdp
Wrote uvot_fluxes_250118d03h53m23s772961usUT_uv.gif
Wrote uvot_fluxes_250118d03h53m23s772961usUT_uv.ps
Found 2 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem