# uvot_fluxes_wget.pl vrs. 2024-08-27 fem at 250707d00h00m28s514516usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01330958002 -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
# ========= GRB250706A ===================
Could not find/read custom source region custom_1330958_src.reg
Used archived XRT position of 284.01750 32.32110 4.00
Reference: GCN_Notice_Sun_06_Jul_25_16:13:46_UT-ground
The position is (18:56:04.20, +32:19:16.0)
Using source region:
# Region file format: DS9 version 3.0
# uvot_fluxes.pl xrt
global font="helvetica 12 bold" select=1 edit=1 move=1 delete=1 include=1 fixed=0 source=1
fk5;circle(284.0175,+32.3211,4") # color=red dash=0
Source region spec. is: 284.0175 +32.3211 4"
Region file centered at (284.0175,+32.3211), which is (18:56:04.20, +32:19:16.0)
Could not find/read custom background region custom_1330958_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 -35.89348 from uncorrected trigger time of 773509710.96 in BAT summary file
# ============ Reading file sw01330958992uvv_sk.img ================
Long-term sensitivity correction to zero point is -0.229 at 773509878
The processing date in extension 0 is: 2025-07-06T22:19:58
The trigger time is: 773509746.85348. The reference is BAT GRB summary file
Using zero point of 17.661 for filter V
Use aperture correction of 1.030 based on aperture of 4.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(284.0175,+32.3211,25")
fk5;-circle(284.0175,+32.3211,12.5")
fk5;-circle(284.021127,32.315329,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 vv773509878E     131.4  0.99   10.5    9.8 200    170  5580  0.369 0.314 18.74 17.4 
   2 vv773510199E     453.1  0.99   19.5   36.0 203    394  5598  1.166 0.325 17.49 16.8  1.1655 0.3245 17.49 16.8    19  6.078  1.692 18.33 0.257 
    Sum (T+   453 to    473):              36.0         14.3 (est. in src region)   SNR_unwtd_sum:   3.59 0.9987 signif. UL:  16.83
  0    19 773510210     463.0      9.9     -9.9    1.1655   0.3245 17.494  0.355  -0.266
Total wtd_rate (for all exposures so far):  6.078 +/- 1.680 snr:  3.6 mag: 18.33 UL: 15.04
Rebinned Data for sw01330958992uvv_sk.img using a zero point of 17.661:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     19.2     463.0      9.9     -9.9    1.1655   0.3245 17.49  0.27     463.0    1.1655   0.3245 17.49  0.27 16.83
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw01330958992ubb_sk.img ================
Long-term sensitivity correction to zero point is -0.226 at 773510150
The processing date in extension 0 is:  2025-07-06T22:20:03
The trigger time is: 773509746.85348. The reference is BAT GRB summary file
Using zero point of 18.884 for filter B
Use aperture correction of  1.035 based on aperture of  4.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(284.0175,+32.3211,25")
fk5;-circle(284.0175,+32.3211,12.5")
fk5;-circle(284.021105,32.315361,6")
fk5;-circle(284.017777,32.323257,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 bb773510149E     403.0  0.98   19.5   48.0 201    758  5562  1.119 0.380 18.76 18.0  1.1194 0.3802 18.76 18.0    19  1.687  0.573 19.72 0.462 
    Sum (T+   403 to    423):              48.0         27.4 (est. in src region)   SNR_unwtd_sum:   2.94 0.9987 signif. UL:  18.00
  0    19 773510160     412.8      9.9     -9.9    1.1194   0.3802 18.762  0.450  -0.318
Total wtd_rate (for all exposures so far):  2.304 +/- 0.542 snr:  4.3 mag: 19.38 UL: 17.40
# ============ Reading file sw01330958002ubb_sk.img ================
Long-term sensitivity correction to zero point is -0.226 at 773532367
The processing date in extension 0 is:  2025-07-06T23:54:14
The trigger time is: 773509746.85348. The reference is BAT GRB summary file
Using zero point of 18.884 for filter B
Use aperture correction of  1.035 based on aperture of  4.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(284.0175,+32.3211,25")
fk5;-circle(284.0175,+32.3211,12.5")
fk5;-circle(284.017549,32.323428,6")
fk5;-circle(284.021072,32.315443,6")
fk5;-circle(284.018490,32.312844,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 bb773532366I   22620.1  0.98  289.2  675.9 196   9589  5494  1.218 0.096 18.67 18.4  1.2184 0.0957 18.67 18.4   289 101.276  7.958 15.28 0.010 
    Sum (T+ 22620 to  22914):             675.9        342.1 (est. in src region)   SNR_unwtd_sum:  12.73 0.9987 signif. UL:  18.44
  0   289 773532514   22767.0    146.9   -146.9    1.2184   0.0957 18.669  0.089  -0.082
Total wtd_rate (for all exposures so far):  2.798 +/- 0.541 snr:  5.2 mag: 19.17 UL: 17.27
Rebinned Data for sw01330958002ubb_sk.img using a zero point of 18.884:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0       19     412.8      9.9     -9.9    1.1194   0.3802 18.76  0.32     412.8    1.1194   0.3802 18.76  0.32 18.00
  1      283   22767.0    146.9   -146.9    1.2184   0.0957 18.67  0.08   21359.5    1.2122   0.0929 18.68  0.08 18.45
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw01330958992uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.245 at 773509894
The processing date in extension 0 is:  2025-07-06T22:20:04
The trigger time is: 773509746.85348. The reference is BAT GRB summary file
Using zero point of 18.095 for filter U
Use aperture correction of  1.032 based on aperture of  4.00
Calculate distance from target to edge of image.
Ext Dist.(") RA_cent  DEC_cent width  PA
  3 88530.9 253.38032  36.78276 0.134 357.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(284.0175,+32.3211,25")
fk5;-circle(284.0175,+32.3211,12.5")
fk5;-circle(284.018546,32.312795,6")
fk5;-circle(284.021026,32.315357,6")
fk5;-circle(284.017445,32.323459,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 uu773509893I     147.1  0.99  245.8  136.8 198   3030  5483  0.116 0.050 20.44 19.5  0.1156 0.0501 20.44 19.5   246  0.237  0.103 21.85 1.088 
   2 uu773509893E     150.9  0.99  242.1  132.5 201   2974  5471  0.100 0.050 20.60 19.6 
#  3 uu773513600I    3853.5  1.00   74.4    0.0   0      0     0 
    Sum (T+   147 to    397):             136.8        109.4 (est. in src region)   SNR_unwtd_sum:   2.31 0.9987 signif. UL:  19.53
  0   246 773510019     272.0    124.9   -124.9    0.1156   0.0501 20.438  0.616  -0.391
Total wtd_rate (for all exposures so far):  0.365 +/- 0.100 snr:  3.6 mag: 21.38 UL: 18.54
Rebinned Data for sw01330958992uuu_sk.img using a zero point of 18.095:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      245     272.0    124.9   -124.9    0.1156   0.0501 20.44  0.39     272.0    0.1156   0.0501 20.44  0.39 19.53
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw01330958992uw1_sk.img ================
Long-term sensitivity correction to zero point is -0.271 at 773510249
The processing date in extension 0 is:  2025-07-06T22:20:04
The trigger time is: 773509746.85348. The reference is BAT GRB summary file
Using zero point of 17.169 for filter UVW1
Use aperture correction of  1.035 based on aperture of  4.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(284.0175,+32.3211,25")
fk5;-circle(284.0175,+32.3211,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 w1773510248E     502.1  1.00    6.5    0.0 199     45  5829 -0.243 0.164 99.00 18.2 -0.2430 0.1636 99.00 18.2     6 -2.176  1.465 99.00 0.475 
    Sum (T+   502 to    509):               0.0          1.5 (est. in src region)   SNR_unwtd_sum:  -1.49 0.9987 signif. UL:  18.25
  0     6 773510252     505.4      3.3     -3.3   -0.2430   0.1636 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.360 +/- 0.100 snr:  3.6 mag: 21.40 UL: 17.62
Rebinned Data for sw01330958992uw1_sk.img using a zero point of 17.169:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     6.49     505.4      3.3     -3.3   -0.2430   0.1636 99.00 99.00     505.4   -0.2430   0.1636 99.00 99.00 18.25
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw01330958992um2_sk.img ================
Long-term sensitivity correction to zero point is -0.259 at 773510224
The processing date in extension 0 is:  2025-07-06T22:20:04
The trigger time is: 773509746.85348. The reference is BAT GRB summary file
Using zero point of 16.591 for filter UVM2
Use aperture correction of  1.031 based on aperture of  4.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(284.0175,+32.3211,25")
fk5;-circle(284.0175,+32.3211,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 m2773510224E     477.4  1.00   19.5    2.0 196     28  5834  0.057 0.076 19.71 17.9  0.0566 0.0758 19.71 17.9    19  0.832  1.114 20.49 1.403 
    Sum (T+   477 to    497):               2.0          0.9 (est. in src region)   SNR_unwtd_sum:   0.75 0.9987 signif. UL:  17.93
  0    19 773510234     487.3      9.9     -9.9    0.0566   0.0758 19.709 79.291  -0.923
Total wtd_rate (for all exposures so far):  0.365 +/- 0.099 snr:  3.7 mag: 21.39 UL: 17.04
Rebinned Data for sw01330958992um2_sk.img using a zero point of 16.591:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     19.4     487.3      9.9     -9.9    0.0566   0.0758 19.71  0.92     487.3    0.0566   0.0758 19.71  0.92 17.93
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw01330958992uw2_sk.img ================
Long-term sensitivity correction to zero point is -0.345 at 773510176
The processing date in extension 0 is:  2025-07-06T22:20:03
The trigger time is: 773509746.85348. The reference is BAT GRB summary file
Using zero point of 17.035 for filter UVW2
Use aperture correction of  1.035 based on aperture of  4.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(284.0175,+32.3211,25")
fk5;-circle(284.0175,+32.3211,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 w2773510175E     428.9  1.00   19.5    0.4 204     51  5845 -0.073 0.037 99.00 19.9 -0.0735 0.0366 99.00 19.9    19 -0.646  0.322 99.00 1.235 
    Sum (T+   429 to    449):               0.4          1.8 (est. in src region)   SNR_unwtd_sum:  -2.01 0.9987 signif. UL:  19.87
  0    19 773510186     438.7      9.9     -9.9   -0.0735   0.0366 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.346 +/- 0.098 snr:  3.5 mag: 21.44 UL: 17.52
Rebinned Data for sw01330958992uw2_sk.img using a zero point of 17.035:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     19.4     438.7      9.9     -9.9   -0.0735   0.0366 99.00 99.00     438.7   -0.0735   0.0366 99.00 99.00 19.87
The data range from T+147.1 s (0.00 d) to T+22913.9 s (0.27 d)
Wrote uvot_fluxes_250707d00h00m28s514516usUT.qdp
Wrote uvot_fluxes_250707d00h00m28s514516usUT.gif
Wrote uvot_fluxes_250707d00h00m28s514516usUT.ps
Wrote uvot_fluxes_250707d00h00m28s514516usUT_vis.qdp
Wrote uvot_fluxes_250707d00h00m28s514516usUT_uv.qdp
Wrote uvot_fluxes_250707d00h00m28s514516usUT_vis.gif
Wrote uvot_fluxes_250707d00h00m28s514516usUT_vis.ps
Wrote uvot_fluxes_250707d00h00m28s514516usUT_uv.gif
Wrote uvot_fluxes_250707d00h00m28s514516usUT_uv.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  u (0)  , white (0)  , b (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     12.5     272.0    124.9   -124.9    0.8727   0.3780 20.44  0.39     272.0    0.8727   0.3780 20.44  0.39 19.53
  1    0.865     414.6     58.2    -11.7    4.4486   1.3404 18.67  0.29     281.2    1.2133   0.3651 20.08  0.29 19.38
  2  0.00432   22767.0    146.9   -146.9    4.4484   0.3496 18.67  0.08     288.5    1.2957   0.3559 20.01  0.26 19.35
The data range from T+147.1 s (0.00 d) to T+22913.9 s (0.27 d)
Wrote uvot_fluxes_wtd_250707d00h00m28s514516usUT.qdp
Wrote uvot_fluxes_wtd_250707d00h00m28s514516usUT.gif
Wrote uvot_fluxes_wtd_250707d00h00m28s514516usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2024-08-27 fem