# uvot_fluxes_wget.pl vrs. 2023-03-23 fem at 231104d05h14m23s863750usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=00021624001 -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
# ========= GRB231024A ===================
Could not find/read custom source region custom_021624_src.reg
Used archived opt source position of 13.78042 -15.25540 3.00
Reference: GCN_Circulars-34878
The position is (00:55:07.30, -15:15:19.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(13.78042,-15.25540,3") # color=red dash=0
Source region spec. is: 13.78042 -15.25540 3"
Region file centered at (13.78042,-15.25540), which is (00:55:07.30, -15:15:19.4)
Could not find/read custom background region custom_021624_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.
Failed to correct trigger time of 728486434.42 in BAT summary file for UTCF because did not find utcf
# ============ Reading file sw00021624001uvv_sk.img ================
Long-term sensitivity correction to zero point is -0.223 at 719939080
The processing date in extension 0 is: 2023-11-04T04:58:29
The trigger time is: 728486434.42. The reference is BAT GRB summary file
Using zero point of 17.667 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(13.78042,-15.25540,25")
fk5;-circle(13.78042,-15.25540,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 vv719939080I -8547354.4  0.99   78.5   53.0 104   1767  5875  0.303 0.102 18.96 18.2  0.3031 0.1023 18.96 18.2    79 -29014.205 9792.042 99.00 -0.000 
    Sum (T+-8547354 to -8547275):              53.0         31.3 (est. in src region)   SNR_unwtd_sum:   2.96 0.9987 signif. UL:  18.20
  0    79 719939120 -8547314.5     39.9    -39.9    0.3031   0.1023 18.963  0.447  -0.316
Total wtd_rate (for all exposures so far): -29014.205 +/-9741.249 snr: -3.0 mag: 99.00 UL:  7.16
Rebinned Data for sw00021624001uvv_sk.img using a zero point of 17.667:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     77.8 -8547314.5     39.9    -39.9    0.3031   0.1023 18.96  0.32 -8547314.5    0.3031   0.1023 18.96  0.32 18.20
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw00021624001ubb_sk.img ================
Long-term sensitivity correction to zero point is -0.206 at 719938670
The processing date in extension 0 is:  2023-11-04T04:58:28
The trigger time is: 728486434.42. The reference is BAT GRB summary file
Using zero point of 18.904 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(13.78042,-15.25540,25")
fk5;-circle(13.78042,-15.25540,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 bb719938669I -8547764.6  0.98   78.5  175.9 124   2745  5948  1.715 0.192 18.32 18.0  1.7148 0.1923 18.32 18.0    79 -52547.942 5894.125 99.00 -0.000 
    Sum (T+-8547765 to -8547685):             175.9         57.2 (est. in src region)   SNR_unwtd_sum:   8.92 0.9987 signif. UL:  18.00
  0    79 719938710 -8547724.7     39.9    -39.9    1.7148   0.1923 18.318  0.129  -0.115
Total wtd_rate (for all exposures so far): -48826.316 +/-5178.778 snr: -9.4 mag: 99.00 UL: 99.00
Rebinned Data for sw00021624001ubb_sk.img using a zero point of 18.904:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     76.6 -8547724.7     39.9    -39.9    1.7148   0.1923 18.32  0.12 -8547724.7    1.7148   0.1923 18.32  0.12 18.00
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw00021624001uuu_sk.img ================
Long-term sensitivity correction to zero point is -0.223 at 719938585
The processing date in extension 0 is:  2023-11-04T04:58:28
The trigger time is: 728486434.42. The reference is BAT GRB summary file
Using zero point of 18.117 for filter U
Use aperture correction of  1.100 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(13.78042,-15.25540,25")
fk5;-circle(13.78042,-15.25540,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 uu719938585I -8547849.0  0.97   78.5  234.5 108   1234  5991  3.059 0.221 16.90 16.7  3.0593 0.2209 16.90 16.7    79 -193579.593 13977.717 99.00 -0.000 
    Sum (T+-8547849 to -8547769):             234.5         22.2 (est. in src region)   SNR_unwtd_sum:  13.85 0.9987 signif. UL:  16.69
  0    79 719938625 -8547809.1     39.9    -39.9    3.0593   0.2209 16.902  0.082  -0.075
Total wtd_rate (for all exposures so far): -96925.925 +/-5785.689 snr: -16.8 mag: 99.00 UL: 99.00
Rebinned Data for sw00021624001uuu_sk.img using a zero point of 18.117:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     76.3 -8547809.1     39.9    -39.9    3.0593   0.2209 16.90  0.08 -8547809.1    3.0593   0.2209 16.90  0.08 16.69
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw00021624001uw1_sk.img ================
Long-term sensitivity correction to zero point is -0.271 at 719932927
The processing date in extension 0 is:  2023-11-04T04:58:27
The trigger time is: 728486434.42. 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 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(13.78042,-15.25540,25")
fk5;-circle(13.78042,-15.25540,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
   2 w1719938421I -8548013.2  0.98  157.2  248.7 108    731  5920  1.711 0.115 16.59 16.4  1.7107 0.1147 16.59 16.4   157 -259123.386 17368.405 99.00 -0.000 
    Sum (T+-8548013 to -8547853):             248.7         13.3 (est. in src region)   SNR_unwtd_sum:  14.92 0.9987 signif. UL:  16.39
  0   157 719938501 -8547933.3     79.9    -79.9    1.7107   0.1147 16.586  0.075  -0.071
Total wtd_rate (for all exposures so far): -144670.263 +/-6508.311 snr: -22.2 mag: 99.00 UL: 99.00
Rebinned Data for sw00021624001uw1_sk.img using a zero point of 17.169:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      155 -8547933.3     79.9    -79.9    1.7107   0.1147 16.59  0.07 -8547933.3    1.7107   0.1147 16.59  0.07 16.39
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw00021624001um2_sk.img ================
Long-term sensitivity correction to zero point is -0.259 at 719939164
The processing date in extension 0 is:  2023-11-04T04:58:30
The trigger time is: 728486434.42. 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
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(13.78042,-15.25540,25")
fk5;-circle(13.78042,-15.25540,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 m2719939163I -8547270.5  0.99   19.4   38.6 112     16  5933  2.217 0.360 15.73 15.3  2.2169 0.3597 15.73 15.3    19 -571516.089 92721.548 99.00 -0.000 
    Sum (T+-8547270 to -8547251):              38.6          0.3 (est. in src region)   SNR_unwtd_sum:   6.16 0.9987 signif. UL:  15.29
  0    19 719939174 -8547260.6      9.8     -9.8    2.2169   0.3597 15.727  0.192  -0.163
Total wtd_rate (for all exposures so far): -169116.063 +/-8328.829 snr: -20.3 mag: 99.00 UL: 99.00
Rebinned Data for sw00021624001um2_sk.img using a zero point of 16.591:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     19.1 -8547260.6      9.8     -9.8    2.2169   0.3597 15.73  0.16 -8547260.6    2.2169   0.3597 15.73  0.16 15.29
=========================================================
================ Start New Filter UVW2 ==================
=========================================================
# ============ Reading file sw00021624001uw2_sk.img ================
Long-term sensitivity correction to zero point is -0.345 at 719938755
The processing date in extension 0 is:  2023-11-04T04:58:29
The trigger time is: 728486434.42. 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 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(13.78042,-15.25540,25")
fk5;-circle(13.78042,-15.25540,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 w2719938755I -8547679.4  0.98  314.7  443.3 104    613  5955  1.547 0.075 16.56 16.4  1.5469 0.0753 16.56 16.4   315 -264949.856 12897.904 99.00 -0.000 
    Sum (T+-8547679 to -8547360):             443.3         10.7 (est. in src region)   SNR_unwtd_sum:  20.54 0.9987 signif. UL:  16.41
  0   315 719938915 -8547519.5    159.9   -159.9    1.5469   0.0753 16.562  0.054  -0.052
Total wtd_rate (for all exposures so far): -218282.166 +/-7753.389 snr: -28.2 mag: 99.00 UL: 99.00
Rebinned Data for sw00021624001uw2_sk.img using a zero point of 17.035:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      310 -8547519.5    159.9   -159.9    1.5469   0.0753 16.56  0.05 -8547519.5    1.5469   0.0753 16.56  0.05 16.41
The data range from T+-8548013.2 s (-98.94 d) to T+-8547250.8 s (-98.93 d)
Wrote uvot_fluxes_231104d05h14m23s863750usUT.qdp
Wrote uvot_fluxes_231104d05h14m23s863750usUT.gif
Wrote uvot_fluxes_231104d05h14m23s863750usUT.ps
Wrote uvot_fluxes_231104d05h14m23s863750usUT_vis.qdp
Wrote uvot_fluxes_231104d05h14m23s863750usUT_uv.qdp
Wrote uvot_fluxes_231104d05h14m23s863750usUT_vis.gif
Wrote uvot_fluxes_231104d05h14m23s863750usUT_vis.ps
Wrote uvot_fluxes_231104d05h14m23s863750usUT_uv.gif
Wrote uvot_fluxes_231104d05h14m23s863750usUT_uv.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  white (0)  , b (0)  , v (0)  , u (0)  , The data range from T+-8548013.2 s (-98.94 d) to T+-8547250.8 s (-98.93 d)
Wrote uvot_fluxes_wtd_231104d05h14m23s863750usUT.qdp
Wrote uvot_fluxes_wtd_231104d05h14m23s863750usUT.gif
Wrote uvot_fluxes_wtd_231104d05h14m23s863750usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2023-03-23 fem