# uvot_fluxes_wget.pl vrs. 2023-03-23 fem at 240214d18h59m49s181599usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01212898001 -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
# ========= GRB240204A ===================
Could not find/read custom source region custom_1212898_src.reg
Used archived opt source position of 104.18067 1.02714 3.00
Reference: GCN_Circulars-35670
The position is (06:56:43.36, +01:01:37.7)
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(104.18067,1.02714,3") # color=red dash=0
Source region spec. is: 104.18067 1.02714 3"
Region file centered at (104.18067,1.02714), which is (06:56:43.36, +01:01:37.7)
Could not find/read custom background region custom_1212898_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 -32.86198 from uncorrected trigger time of 728752186.14 in BAT summary file
# ============ Reading file sw01212898001uwh_sk.img ================
Use keyword TRIGTIME of 728752103.488 for trigger time.
Long-term sensitivity correction to zero point is -0.175 at 728758079
The processing date in extension 0 is: 2024-02-14T18:39:43
The trigger time is: 728752103.488. The reference is keyword in image file
Using zero point of 20.115 for filter WHITE
Use aperture correction of 1.108 based on aperture of 3.00
Calculate distance from target to edge of image.
Ext Dist.(") RA_cent  DEC_cent width  PA
  1  -13.9 104.11306   1.04980 0.134 227.6
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(104.18067,1.02714,25")
fk5;-circle(104.18067,1.02714,12.5")
fk5;-circle(104.185133,1.020671,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 wh728758078I    5975.4  0.96  196.6  478.6 116  16280  5806 
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw01212898992uvv_sk.img ================
Long-term sensitivity correction to zero point is -0.224 at 728752229
The processing date in extension 0 is:  2024-02-04T17:44:48
The trigger time is: 728752103.488. The reference is keyword in image file
Using zero point of 17.666 for filter V
Use aperture correction of  1.087 based on aperture of  3.00
There are no aspect corrected images to process.
# ============ Reading file sw01212898001uvv_sk.img ================
Use keyword TRIGTIME of 728752103.488 for trigger time.
Long-term sensitivity correction to zero point is -0.224 at 728757053
The processing date in extension 0 is:  2024-02-14T18:39:42
The trigger time is: 728752103.488. The reference is keyword in image file
Using zero point of 17.666 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  -18.7 104.11438   1.05000 0.134 227.6
  2  -16.3 104.11396   1.04888 0.134 227.6
Using background region based on sources found in extension 2:
# 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(104.18067,1.02714,25")
fk5;-circle(104.18067,1.02714,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 vv728757053I    4949.7  0.99  196.6  149.2 108   6359  5823 
%  2 vv728758489I    6386.1  0.99  196.6   98.7 108   4054  5837 
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw01212898001ubb_sk.img ================
Use keyword TRIGTIME of 728752103.488 for trigger time.
Long-term sensitivity correction to zero point is -0.209 at 728757874
The processing date in extension 0 is:  2024-02-14T18:39:43
The trigger time is: 728752103.488. The reference is keyword in image file
Using zero point of 18.901 for filter B
Use aperture correction of  1.108 based on aperture of  3.00
Calculate distance from target to edge of image.
Ext Dist.(") RA_cent  DEC_cent width  PA
  1  -16.8 104.11431   1.04813 0.134 227.6
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(104.18067,1.02714,25")
fk5;-circle(104.18067,1.02714,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 bb728757874I    5770.7  0.99  196.6  137.7 112   7002  5884 
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw01212898001uuu_sk.img ================
Use keyword TRIGTIME of 728752103.488 for trigger time.
Long-term sensitivity correction to zero point is -0.227 at 728757669
The processing date in extension 0 is:  2024-02-14T18:39:43
The trigger time is: 728752103.488. The reference is keyword in image file
Using zero point of 18.113 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  -14.8 104.11326   1.05013 0.134 227.6
  2   34.4 104.10031   1.04540 0.134 227.6
  3   34.0 104.10014   1.04661 0.134 227.6
  4   36.2 104.09934   1.04738 0.134 227.6
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(104.18067,1.02714,25")
fk5;-circle(104.18067,1.02714,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 uu728757668I    5565.4  0.99  196.6   74.2 112   3150  5857 
Low  bkg:   2 uu728779857I  295.0      0  1256  0.000  0.003
%  2 uu728779857I   27754.0  1.00  295.0    0.0   0      0  1256 
Low  bkg:   3 uu728780160I  295.0      0  1148  0.000  0.003
%  3 uu728780160I   28057.5  1.00  295.0    0.0   0      0  1148 
Low  bkg:   4 uu728780464I  261.8      0   712  0.000  0.005
%  4 uu728780464I   28361.2  1.00  261.8    0.0   0      0   712 
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw01212898001uw1_sk.img ================
Use keyword TRIGTIME of 728752103.488 for trigger time.
Long-term sensitivity correction to zero point is -0.271 at 728757463
The processing date in extension 0 is:  2024-02-14T18:39:43
The trigger time is: 728752103.488. 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
Calculate distance from target to edge of image.
Ext Dist.(") RA_cent  DEC_cent width  PA
  1  -11.1 104.08342   1.03242 0.201 227.6
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(104.18067,1.02714,25")
fk5;-circle(104.18067,1.02714,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 w1728757463I    5359.9  1.00  196.6   14.9 108    850  5829 
#  2 w1728774748I   22645.1  1.00  289.1   30.5 108   1744  5810 
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw01212898001um2_sk.img ================
Use keyword TRIGTIME of 728752103.488 for trigger time.
Long-term sensitivity correction to zero point is -0.259 at 728757258
The processing date in extension 0 is:  2024-02-14T18:39:42
The trigger time is: 728752103.488. 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
Calculate distance from target to edge of image.
Ext Dist.(") RA_cent  DEC_cent width  PA
  1   -6.6 104.08175   1.03396 0.201 227.6
  2   -9.6 104.08269   1.03356 0.201 227.6
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(104.18067,1.02714,25")
fk5;-circle(104.18067,1.02714,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
High bkg:   1 m2728757258I  196.6    549  5828  0.479  0.020
%  1 m2728757258I    5154.6  1.00  196.6   14.4 108    549  5831 
%  2 m2728758694I    6590.9  1.00  163.8    6.3 112    170  5874 
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw01212898001uw2_sk.img ================
Use keyword TRIGTIME of 728752103.488 for trigger time.
Long-term sensitivity correction to zero point is -0.345 at 728758285
The processing date in extension 0 is:  2024-02-14T18:39:43
The trigger time is: 728752103.488. 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
Calculate distance from target to edge of image.
Ext Dist.(") RA_cent  DEC_cent width  PA
  1  -12.4 104.08379   1.03238 0.201 227.6
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(104.18067,1.02714,25")
fk5;-circle(104.18067,1.02714,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 w2728758284I    6181.2  1.00  196.6   13.3 116    438  5858 
Wrote uvot_fluxes_240214d18h59m49s181599usUT.qdp
Failed to write uvot_fluxes_240214d18h59m49s181599usUT.gif
Failed to write uvot_fluxes_240214d18h59m49s181599usUT.ps
Wrote uvot_fluxes_240214d18h59m49s181599usUT_vis.qdp
Wrote uvot_fluxes_240214d18h59m49s181599usUT_uv.qdp
Found 4 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2023-03-23 fem