# uvot_fluxes_wget.pl vrs. 2020-11-03a fem at 230113d09h02m47s665480usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01148770992 -use_uvot -rebin -plot_mag -sens_corr -search_src_reg -wrk_dir=/data/uvot/swift_data/home/uvot_lc -web -zp_2011 -gamma=1.0 -use_filter_wtd=white v b u
# Current directory: /data/uvot/swift_data/home/uvot_lc
# ========= GRB230113 ===================
Could not find/read custom source region custom_1148770_src.reg
Used archived BAT position of 299.51200 35.07500
Reference: GCN_Position_Notice_Fri_13_Jan_23_00:28:43_UT
The position is (19:58:02.88, +35:04:30.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(299.512,+35.075,3") # color=red dash=0
Source region spec. is: 299.512 +35.075 3"
Region file centered at (299.512,+35.075), which is (19:58:02.88, +35:04:30.0)
Could not find/read custom background region custom_1148770_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 3600.0,
3 sigma should become about 5.1 sigma and 2 sigma should become about 4.5 sigma.
Accordingly confidence limits in the tables have been adjusted from 0.9987 to 0.99999964.
No adjustment has been made for the confidence limits for the rebinned data or the plots.
Subtract UTCF of -30.56568 from uncorrected trigger time of 695262469.53 in BAT summary file
# ============ Reading file sw01148770992uwh_sk.img ================
Long-term sensitivity correction to zero point is -0.175 at 695263070
The processing date in extension 0 is: 2023-01-13T08:55:24
The trigger time is: 695262500.09568. The reference is BAT GRB summary 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
  3   -9.2 299.53809  35.13525 0.134 185.8
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(299.512,+35.075,25")
fk5;-circle(299.512,+35.075,12.5")
fk5;-circle(299.507575,35.068215,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 wh695263070I     570.1  0.94  147.4  515.0 112  27814  5749  0.000 0.189 99.00 20.2  0.0000 0.1886 99.00 20.2   147  0.000  0.143 99.00 0.336 
   2 wh695263070E     570.8  0.94  146.6  530.3 114  27673  5750  0.000 0.191 99.00 20.1 
%  3 wh695263326E     826.0  0.96   19.4   70.9 114   2168  5756 
   4 wh695263379I     879.3  0.94  142.4  448.2 110  24230  5751  0.000 0.179 99.00 20.2  0.0000 0.1301 99.00 20.6   290  0.000  0.116 99.00 0.301 
    Sum (T+   570 to   1024):            1005.3       1005.3 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  20.56
  0   290 695263296     795.6    228.3   -225.6    0.0000   0.1301 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 0.115 snr:  0.0 mag: 99.00 UL: 20.70
Rebinned Data for sw01148770992uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      272     796.2    227.7   -226.2    0.0000   0.1301 99.00 99.00     796.2    0.0000   0.1301 99.00 99.00 21.06
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw01148770992ubb_sk.img ================
Long-term sensitivity correction to zero point is -0.197 at 695263302
The processing date in extension 0 is:  2023-01-13T08:55:22
The trigger time is: 695262500.09568. The reference is BAT GRB summary file
Using zero point of 18.913 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   -8.6 299.53833  35.13530 0.134 185.8
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(299.512,+35.075,25")
fk5;-circle(299.512,+35.075,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 bb695263301E     801.5  0.98   19.5   27.1 111    913  5855 
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw01148770992uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.213 at 695263277
The processing date in extension 0 is:  2023-01-13T08:55:21
The trigger time is: 695262500.09568. The reference is BAT GRB summary file
Using zero point of 18.127 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   -5.1 299.53884  35.13621 0.134 185.8
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(299.512,+35.075,25")
fk5;-circle(299.512,+35.075,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 uu695263276E     776.5  0.99   19.5    8.8 110    390  5837 
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw01148770992uw1_sk.img ================
Long-term sensitivity correction to zero point is -0.271 at 695263252
The processing date in extension 0 is:  2023-01-13T08:55:21
The trigger time is: 695262500.09568. The reference is BAT GRB summary 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(299.512,+35.075,25")
fk5;-circle(299.512,+35.075,12.5")
fk5;-circle(299.507696,35.068326,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 w1695263252E     752.1  1.00   19.5    5.2 110    149  5725  0.000 0.099 99.00 17.9  0.0000 0.0988 99.00 17.9    19  0.000  1.334 99.00 0.503 
    Sum (T+   752 to    772):               2.9          2.9 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  17.91
  0    19 695263262     762.0      9.9     -9.9    0.0000   0.0988 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 0.116 snr:  0.0 mag: 99.00 UL: 17.74
Rebinned Data for sw01148770992uw1_sk.img using a zero point of 17.169:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     19.4     762.0      9.9     -9.9    0.0000   0.0988 99.00 99.00     762.0    0.0000   0.0988 99.00 99.00 18.41
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw01148770992um2_sk.img ================
Long-term sensitivity correction to zero point is -0.259 at 695263227
The processing date in extension 0 is:  2023-01-13T08:55:21
The trigger time is: 695262500.09568. The reference is BAT GRB summary file
Using zero point of 16.591 for filter UVM2
Use aperture correction of  1.106 based on aperture of  3.00
There are no aspect corrected images to process.
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw01148770992uw2_sk.img ================
Long-term sensitivity correction to zero point is -0.345 at 695263051
The processing date in extension 0 is:  2023-01-13T08:55:11
The trigger time is: 695262500.09568. The reference is BAT GRB summary 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 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(299.512,+35.075,25")
fk5;-circle(299.512,+35.075,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 w2695263050E   10.6     51  5844  0.822  0.115
   1 w2695263050E     550.6  1.00   10.6    1.4 109     51  5844  0.000 0.103 99.00 17.7  0.0000 0.1031 99.00 17.7    11  0.000  1.149 99.00 1.000 
   2 w2695263351E     851.3  1.00   19.5    1.0 110     77  5837  0.000 0.069 99.00 18.2  0.0000 0.0577 99.00 18.4    30  0.000  0.829 99.00 0.865 
    Sum (T+   551 to    871):               2.4          2.4 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  18.36
  0    30 695263254     753.8    117.3   -203.2    0.0000   0.0577 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 0.114 snr:  0.0 mag: 99.00 UL: 17.63
Rebinned Data for sw01148770992uw2_sk.img using a zero point of 17.035:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0       30     753.9    117.2   -203.2    0.0000   0.0577 99.00 99.00     753.9    0.0000   0.0577 99.00 99.00 18.86
The data range from T+550.6 s (0.01 d) to T+1024.0 s (0.01 d)
Wrote uvot_fluxes_230113d09h02m47s665480usUT.qdp
Wrote uvot_fluxes_230113d09h02m47s665480usUT.gif
Wrote uvot_fluxes_230113d09h02m47s665480usUT.ps
Wrote uvot_fluxes_230113d09h02m47s665480usUT_vis.qdp
Wrote uvot_fluxes_230113d09h02m47s665480usUT_uv.qdp
Wrote uvot_fluxes_230113d09h02m47s665480usUT_vis.gif
Wrote uvot_fluxes_230113d09h02m47s665480usUT_vis.ps
Wrote uvot_fluxes_230113d09h02m47s665480usUT_uv.gif
Wrote uvot_fluxes_230113d09h02m47s665480usUT_uv.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  v (0)  , white (0)  , b (0)  , u (0)  , 
Rebinned Data for All_files using a zero point of 20.290:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     62.9     748.4    275.6   -178.4    0.0000   0.1554 99.00 99.00     748.4    0.0000   0.1554 99.00 99.00 21.04
The data range from T+550.6 s (0.01 d) to T+1024.0 s (0.01 d)
Wrote uvot_fluxes_wtd_230113d09h02m47s665480usUT.qdp
Wrote uvot_fluxes_wtd_230113d09h02m47s665480usUT.gif
Wrote uvot_fluxes_wtd_230113d09h02m47s665480usUT.ps
Found 1 exposures with unusual background rate
Normal end of uvot_fluxes_wget.pl vrs. 2020-11-03a fem