# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 251025d04h57m45s449544usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01403878001 -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
# ========= GRB251014A ===================
Could not find/read custom source region custom_1403878_src.reg
Used archived BAT position of 111.72792 6.41964
Reference: GCN_Circulars-42278-Wed,_15_Oct_2025_01:35:57_+0000
The position is (07:26:54.70, +06:25:10.7)
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(111.72792,6.41964,3") # color=red dash=0
Source region spec. is: 111.72792 6.41964 3"
Region file centered at (111.72792,6.41964), which is (07:26:54.70, +06:25:10.7)
Could not find/read custom background region custom_1403878_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 676.0,
3 sigma should become about 4.8 sigma and 2 sigma should become about 4.1 sigma.
Accordingly confidence limits in the tables have been adjusted from 0.9987 to 0.99999808.
No adjustment has been made for the confidence limits for the rebinned data or the plots.
Subtract UTCF of -36.50514 from uncorrected trigger time of 782094510.18 in BAT summary file
# ============ Reading file sw01403878001uwh_sk.img ================
Use keyword TRIGTIME of 782094546.688 for trigger time.
Long-term sensitivity correction to zero point is -0.175 at 782228928
The processing date in extension 0 is: 2025-10-25T04:38:03
The trigger time is: 782094546.688. 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
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(111.72792,6.41964,25")
fk5;-circle(111.72792,6.41964,12.5")
fk5;-circle(111.722315,6.423887,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 wh782228927I  134381.1  0.96  295.0  726.2 108  33196  5624  0.000 0.099 99.00 20.9  0.0000 0.0995 99.00 20.9   295  0.000 15.723 99.00 0.003 
   2 wh782229231I  134684.6  0.96  125.3  290.6 104  14832  5628  0.000 0.154 99.00 20.5  0.0000 0.0835 99.00 21.1   420  0.000 13.208 99.00 0.003 
    Sum (T+134381 to 134812):             911.6        911.6 (est. in src region)   SNR_unwtd_sum:   0.00 0.999998076923077 signif. UL:  21.12
  0   420 782229142  134595.8    216.2   -214.7    0.0000   0.0835 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/-13.085 snr:  0.0 mag: 99.00 UL: 15.63
Rebinned Data for sw01403878001uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      404  134595.7    216.3   -214.6    0.0000   0.0835 99.00 99.00  134595.7    0.0000   0.0835 99.00 99.00 21.54
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw01403878001uvv_sk.img ================
Use keyword TRIGTIME of 782094546.688 for trigger time.
Long-term sensitivity correction to zero point is -0.230 at 782223297
The processing date in extension 0 is:  2025-10-25T04:38:02
The trigger time is: 782094546.688. The reference is keyword in image file
Using zero point of 17.660 for filter V
Use aperture correction of  1.087 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(111.72792,6.41964,25")
fk5;-circle(111.72792,6.41964,12.5")
fk5;-circle(111.722326,6.423869,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 vv782223297I  128750.8  0.99  295.1  116.6 104   7574  5636  0.000 0.044 99.00 19.3  0.0000 0.0444 99.00 19.3   295  0.000 64.454 99.00 0.001 
   2 vv782223601I  129054.4  0.99  117.8   64.9 112   3184  5672  0.000 0.075 99.00 18.8  0.0000 0.0382 99.00 19.5   413  0.000 55.431 99.00 0.001 
    Sum (T+128751 to 129174):             202.6        202.6 (est. in src region)   SNR_unwtd_sum:   0.00 0.999998076923077 signif. UL:  19.51
  0   413 782223508  128961.6    212.5   -210.8    0.0000   0.0382 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/-12.508 snr:  0.0 mag: 99.00 UL: 13.22
Rebinned Data for sw01403878001uvv_sk.img using a zero point of 17.660:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      409  128961.5    212.5   -210.8    0.0000   0.0382 99.00 99.00  128961.5    0.0000   0.0382 99.00 99.00 19.94
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw01403878001ubb_sk.img ================
Use keyword TRIGTIME of 782094546.688 for trigger time.
Long-term sensitivity correction to zero point is -0.229 at 782201796
The processing date in extension 0 is:  2025-10-25T04:38:01
The trigger time is: 782094546.688. The reference is keyword in image file
Using zero point of 18.881 for filter B
Use aperture correction of  1.108 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(111.72792,6.41964,25")
fk5;-circle(111.72792,6.41964,12.5")
fk5;-circle(111.722324,6.423862,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 bb782201796I  107249.8  0.97  295.1  489.4 112  24871  5616  0.000 0.087 99.00 19.8  0.0000 0.0869 99.00 19.8   295  0.000 34.185 99.00 0.001 
   2 bb782202100I  107553.5  0.96  197.4  474.9 108  25198  5620  0.000 0.130 99.00 19.4  0.0000 0.0736 99.00 20.0   492  0.000 28.452 99.00 0.001 
   3 bb782228015I  133468.8  0.98  295.0  292.4 112  14072  5632  0.000 0.064 99.00 20.2  0.0000 0.0518 99.00 20.4   788  0.000 21.129 99.00 0.001 
   4 bb782228319I  133772.6  0.98  295.0  279.6 116  13902  5664  0.000 0.065 99.00 20.2  0.0000 0.0416 99.00 20.6  1083  0.000 17.615 99.00 0.002 
   5 bb782228622I  134076.1  0.98  295.0  283.2 112  13600  5628  0.000 0.063 99.00 20.2  0.0000 0.0354 99.00 20.8  1378  0.000 15.332 99.00 0.002 
    Sum (T+107250 to 134376):            1815.5       1815.5 (est. in src region)   SNR_unwtd_sum:   0.00 0.999998076923077 signif. UL:  20.81
  0  1378 782219024  124477.0   9898.9 -17227.2    0.0000   0.0354 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 9.759 snr:  0.0 mag: 99.00 UL: 14.71
Rebinned Data for sw01403878001ubb_sk.img using a zero point of 18.881:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0 1.35e+03  124590.2   9785.7 -17340.5    0.0000   0.0354 99.00 99.00  124590.2    0.0000   0.0354 99.00 99.00 21.24
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw01403878001uuu_sk.img ================
Use keyword TRIGTIME of 782094546.688 for trigger time.
Long-term sensitivity correction to zero point is -0.248 at 782196552
The processing date in extension 0 is:  2025-10-25T04:38:01
The trigger time is: 782094546.688. The reference is keyword in image file
Using zero point of 18.092 for filter U
Use aperture correction of  1.100 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(111.72792,6.41964,25")
fk5;-circle(111.72792,6.41964,12.5")
fk5;-circle(111.722372,6.423836,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 uu782196551I  102005.0  0.98   32.6   48.8 116   2009  5660  0.000 0.224 99.00 18.0  0.0000 0.2236 99.00 18.0    33  0.000 172.760 99.00 0.001 
   2 uu782216866I  122319.7  0.99  295.0  117.9 112   5882  5608  0.000 0.041 99.00 19.9  0.0000 0.0431 99.00 19.8   328  0.000 37.203 99.00 0.002 
   3 uu782217169I  122623.2  0.99  295.0  116.6 116   5336  5616  0.000 0.040 99.00 19.9  0.0000 0.0295 99.00 20.2   623  0.000 26.228 99.00 0.003 
   4 uu782217473I  122926.9  0.99  268.9   96.4 108   4803  5600  0.000 0.040 99.00 19.9  0.0000 0.0238 99.00 20.5   892  0.000 21.447 99.00 0.003 
    Sum (T+102005 to 123200):             361.5        361.5 (est. in src region)   SNR_unwtd_sum:   0.00 0.999998076923077 signif. UL:  20.45
  0   892 782216549  122002.2   1197.9 -19997.1    0.0000   0.0238 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 8.814 snr:  0.0 mag: 99.00 UL: 14.03
Rebinned Data for sw01403878001uuu_sk.img using a zero point of 18.092:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      885  122013.1   1186.9 -20008.1    0.0000   0.0238 99.00 99.00  122013.1    0.0000   0.0238 99.00 99.00 20.88
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw01403878001uw1_sk.img ================
Use keyword TRIGTIME of 782094546.688 for trigger time.
Long-term sensitivity correction to zero point is -0.271 at 782195645
The processing date in extension 0 is:  2025-10-25T04:38:01
The trigger time is: 782094546.688. 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(111.72792,6.41964,25")
fk5;-circle(111.72792,6.41964,12.5")
fk5;-circle(111.722349,6.423814,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 w1782195645I  101098.5  1.00  885.6  110.8 108   4992  5620  0.000 0.013 99.00 20.2  0.0000 0.0126 99.00 20.2   886  0.000 22.608 99.00 0.005 
    Sum (T+101099 to 101998):              95.9         95.9 (est. in src region)   SNR_unwtd_sum:   0.00 0.999998076923077 signif. UL:  20.23
  0   886 782196095  101548.4    449.9   -449.9    0.0000   0.0126 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 8.353 snr:  0.0 mag: 99.00 UL: 13.17
Rebinned Data for sw01403878001uw1_sk.img using a zero point of 17.169:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      884  101548.4    449.9   -449.9    0.0000   0.0126 99.00 99.00  101548.4    0.0000   0.0126 99.00 99.00 20.65
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw01403878001uw2_sk.img ================
Use keyword TRIGTIME of 782094546.688 for trigger time.
Long-term sensitivity correction to zero point is -0.345 at 782222391
The processing date in extension 0 is:  2025-10-25T04:38:02
The trigger time is: 782094546.688. 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 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(111.72792,6.41964,25")
fk5;-circle(111.72792,6.41964,12.5")
fk5;-circle(111.722392,6.423849,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 w2782222391I  127844.5  1.00  885.6   62.4 116   2302  5668  0.000 0.009 99.00 20.5  0.0000 0.0087 99.00 20.5   886  0.000 22.314 99.00 0.007 
    Sum (T+127845 to 128744):              47.1         47.1 (est. in src region)   SNR_unwtd_sum:   0.00 0.999998076923077 signif. UL:  20.50
  0   886 782222841  128294.4    449.9   -449.9    0.0000   0.0087 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 7.719 snr:  0.0 mag: 99.00 UL: 13.12
Rebinned Data for sw01403878001uw2_sk.img using a zero point of 17.035:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      885  128294.4    449.9   -449.9    0.0000   0.0087 99.00 99.00  128294.4    0.0000   0.0087 99.00 99.00 20.92
The data range from T+101098.5 s (1.17 d) to T+134812.0 s (1.56 d)
Wrote uvot_fluxes_251025d04h57m45s449544usUT.qdp
Wrote uvot_fluxes_251025d04h57m45s449544usUT.gif
Wrote uvot_fluxes_251025d04h57m45s449544usUT.ps
Wrote uvot_fluxes_251025d04h57m45s449544usUT_vis.qdp
Wrote uvot_fluxes_251025d04h57m45s449544usUT_uv.qdp
Wrote uvot_fluxes_251025d04h57m45s449544usUT_vis.gif
Wrote uvot_fluxes_251025d04h57m45s449544usUT_vis.ps
Wrote uvot_fluxes_251025d04h57m45s449544usUT_uv.gif
Wrote uvot_fluxes_251025d04h57m45s449544usUT_uv.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  white (0)  , b (0)  , u (0)  , v (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  0.00636  132494.6   2317.4 -30489.6    0.0000   0.0797 99.00 99.00  132494.6    0.0000   0.0797 99.00 99.00 21.77
The data range from T+101098.5 s (1.17 d) to T+134812.0 s (1.56 d)
Wrote uvot_fluxes_wtd_251025d04h57m45s449544usUT.qdp
Wrote uvot_fluxes_wtd_251025d04h57m45s449544usUT.gif
Wrote uvot_fluxes_wtd_251025d04h57m45s449544usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem