# uvot_fluxes_wget.pl vrs. 2023-03-23 fem at 230825d09h01m11s583469usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01185505001 -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
# ========= GRB230815A ===================
Could not find/read custom source region custom_1185505_src.reg
Used archived opt source position of 184.72183 -58.05262 3.00
Reference: GCN_Circ-34467
The position is (12:18:53.24, -58:03:09.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(184.72183,-58.05262,3") # color=red dash=0
Source region spec. is: 184.72183 -58.05262 3"
Region file centered at (184.72183,-58.05262), which is (12:18:53.24, -58:03:09.4)
Could not find/read custom background region custom_1185505_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 -31.83002 from uncorrected trigger time of 713789395.94 in BAT summary file
# ============ Reading file sw01185505001ubb_sk.img ================
Use keyword TRIGTIME of 713789427.776 for trigger time.
Long-term sensitivity correction to zero point is -0.204 at 713808092
The processing date in extension 0 is: 2023-08-25T08:06:37
The trigger time is: 713789427.776. The reference is keyword in image file
Using zero point of 18.906 for filter B
Use aperture correction of 1.108 based on aperture of 3.00
Using background region based on sources found in extension 7:
# 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(184.72183,-58.05262,25")
fk5;-circle(184.72183,-58.05262,12.5")
fk5;-circle(184.726894,-58.054741,6")
fk5;-circle(184.709316,-58.053586,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 bb713808092I   18664.4  0.98   94.8  120.6 110   5944  5358 -0.017 0.132 99.00 19.9 -0.0167 0.1324 99.00 19.9    95 -1.120  8.861 99.00 0.011 
   2 bb713808092E   18664.4  0.98   94.8  110.1 113   5923  5340 -0.182 0.127 99.00 20.3 
   3 bb713811725I   22298.2  0.97  245.8  431.3 112  22082  5342 -0.147 0.098 99.00 20.6 -0.1106 0.0794 99.00 20.7   341 -6.968  5.870 99.00 0.007 
   4 bb713811725E   22298.2  0.97  245.8  414.4 111  22015  5333 -0.204 0.096 99.00 20.7 
   5 bb713817434I   28007.0  0.97  245.8  434.6 112  23739  5341 -0.294 0.098 99.00 20.9 -0.1874 0.0619 99.00 21.4   586 -12.481  5.052 99.00 0.006 
   6 bb713817434E   28007.0  0.97  245.8  445.9 115  23608  5341 -0.291 0.100 99.00 20.9 
   7 bb713818003I   28575.9  0.97  245.8  393.9 116  19823  5356 -0.164 0.093 99.00 20.7 -0.1804 0.0515 99.00 21.7   832 -13.420  4.466 99.00 0.006 
   8 bb713828934I   39507.0  0.96  245.8  535.1 114  25987  5345 -0.089 0.109 99.00 20.3 -0.1598 0.0469 99.00 21.8  1078 -13.360  4.292 99.00 0.005 
   9 bb713829502I   40075.0  0.97  245.8  391.7 113  19918  5332 -0.141 0.093 99.00 20.6 -0.1563 0.0419 99.00 22.0  1324 -14.003  4.086 99.00 0.005 
  10 bb713830070I   40643.2  0.97  245.8  392.7 111  19977  5345 -0.103 0.093 99.00 20.5 -0.1479 0.0382 99.00 22.1  1570 -14.088  3.912 99.00 0.005 
    Sum (T+ 18664 to  40893):            2700.0       2903.3 (est. in src region)   SNR_unwtd_sum:  -3.87 0.9987 signif. UL:  22.09
  0  1570 713821855   32427.6   8465.3 -13763.3   -0.1479   0.0382 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -14.088 +/- 3.868 snr: -3.6 mag: 99.00 UL: 17.03
# ============ Reading file sw01185505001ubb_sk_01.img ================
Use keyword TRIGTIME of 713789427.776 for trigger time.
Long-term sensitivity correction to zero point is -0.204 at 713818004
The processing date in extension 0 is:  2023-08-25T08:05:14
The trigger time is: 713789427.776. The reference is keyword in image file
Using zero point of 18.906 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(184.72183,-58.05262,25")
fk5;-circle(184.72183,-58.05262,12.5")
fk5;-circle(184.726856,-58.054706,6")
fk5;-circle(184.709410,-58.053574,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 bb713818003E   28575.9  0.97  245.8  394.3 115  19747  5334 -0.145 0.093 99.00 20.6 -0.1453 0.0930 99.00 20.6   246 -14.918  9.550 99.00 0.005 
   2 bb713828934E   39507.0  0.96  245.8  528.1 112  25987  5344 -0.077 0.109 99.00 20.2 -0.1116 0.0715 99.00 20.9   492 -13.790  8.121 99.00 0.004 
   3 bb713829502E   40075.0  0.97  245.8  391.7 111  19922  5334 -0.106 0.093 99.00 20.5 -0.1098 0.0568 99.00 21.2   737 -14.192  6.936 99.00 0.004 
    Sum (T+ 28576 to  40325):            1314.1       1384.9 (est. in src region)   SNR_unwtd_sum:  -1.93 0.9987 signif. UL:  21.24
  0   737 713825605   36177.4   4147.4  -7601.4   -0.1098   0.0568 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -14.113 +/- 3.369 snr: -4.2 mag: 99.00 UL: 17.29
# ============ Reading file sw01185505001ubb_sk_02.img ================
Use keyword TRIGTIME of 713789427.776 for trigger time.
Long-term sensitivity correction to zero point is -0.204 at 713830071
The processing date in extension 0 is:  2023-08-25T08:06:13
The trigger time is: 713789427.776. The reference is keyword in image file
Using zero point of 18.906 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(184.72183,-58.05262,25")
fk5;-circle(184.72183,-58.05262,12.5")
fk5;-circle(184.726952,-58.054673,6")
fk5;-circle(184.709812,-58.053625,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 bb713830070E   40643.2  0.97  245.8  404.8 112  19872  5307 -0.068 0.094 99.00 20.4 -0.0678 0.0944 99.00 20.4   246 -9.891 13.769 99.00 0.004 
    Sum (T+ 40643 to  40893):             404.8        419.4 (est. in src region)   SNR_unwtd_sum:  -0.72 0.9987 signif. UL:  20.39
  0   246 713830196   40768.1    124.9   -124.9   -0.0678   0.0944 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -13.863 +/- 3.271 snr: -4.2 mag: 99.00 UL: 17.33
Rebinned Data for sw01185505001ubb_sk_02.img using a zero point of 18.906:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      569   24202.6   4054.2  -5538.2   -0.1874   0.0619 99.00 99.00   24202.6   -0.1874   0.0619 99.00 99.00 21.40
  1      953   37316.1   3576.8  -8740.2   -0.0993   0.0487 99.00 99.00   32416.0   -0.1322   0.0383 99.00 99.00 22.01
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw01185505001uuu_sk.img ================
Use keyword TRIGTIME of 713789427.776 for trigger time.
Long-term sensitivity correction to zero point is -0.221 at 713807837
The processing date in extension 0 is:  2023-08-25T08:06:37
The trigger time is: 713789427.776. The reference is keyword in image file
Using zero point of 18.119 for filter U
Use aperture correction of  1.100 based on aperture of  3.00
Using background region based on sources found in extension 7:
# 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(184.72183,-58.05262,25")
fk5;-circle(184.72183,-58.05262,12.5")
fk5;-circle(184.727000,-58.054777,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 uu713807836I   18409.0  0.99  245.8  181.9 112   9646  5588 -0.052 0.062 99.00 20.1 -0.0520 0.0618 99.00 20.1   246 -7.120  8.453 99.00 0.009 
   2 uu713807836E   18409.0  0.99  245.8  185.4 115   9698  5594 -0.063 0.062 99.00 20.1 
   3 uu713811470I   22042.8  0.98  245.8  234.2 112  13207  5587 -0.139 0.070 99.00 20.2 -0.0954 0.0468 99.00 20.7   492 -12.372  6.822 99.00 0.007 
   4 uu713811470E   22042.8  0.98  245.8  245.5 115  13269  5602 -0.122 0.072 99.00 20.1 
   5 uu713812038I   22611.2  0.98  104.6   91.2 111   5038  5583 -0.096 0.103 99.00 19.6 -0.0954 0.0426 99.00 20.8   596 -12.857  6.343 99.00 0.007 
   6 uu713812038E   22611.2  0.98  104.6   88.3 112   5059  5588 -0.139 0.101 99.00 19.7 
   7 uu713817179I   27751.6  0.98  245.8  229.9 110  13461  5589 -0.160 0.070 99.00 20.3 -0.1141 0.0364 99.00 21.2   842 -15.963  5.804 99.00 0.006 
   8 uu713817748I   28320.6  0.99  245.8  207.1 111  11060  5593 -0.057 0.066 99.00 20.0 -0.1011 0.0319 99.00 21.4  1088 -15.338  5.354 99.00 0.006 
   9 uu713828679I   39251.6  0.98  245.8  265.4 110  13441  5597  0.006 0.075 23.72 19.6 -0.0815 0.0295 99.00 21.4  1334 -14.287  5.201 99.00 0.005 
  10 uu713829247I   39819.7  0.98  245.8  215.6 113  11521  5580 -0.080 0.067 99.00 20.1 -0.0813 0.0270 99.00 21.5  1580 -14.891  5.032 99.00 0.005 
  11 uu713829815I   40387.8  0.99  245.8  189.8 113  10079  5587 -0.063 0.063 99.00 20.1 -0.0789 0.0249 99.00 21.6  1825 -15.165  4.862 99.00 0.005 
  12 uu713834378I   44950.8  0.98  216.3  236.1 110  11367  5608  0.068 0.080 21.03 19.4 -0.0633 0.0238 99.00 21.6  2042 -13.783  4.785 99.00 0.005 
    Sum (T+ 18409 to  45171):            1851.3       1967.0 (est. in src region)   SNR_unwtd_sum:  -2.66 0.9987 signif. UL:  21.57
  0  2042 713821473   32045.3  13125.2 -13636.3   -0.0633   0.0238 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -13.768 +/- 2.678 snr: -5.1 mag: 99.00 UL: 16.92
# ============ Reading file sw01185505001uuu_sk_01.img ================
Use keyword TRIGTIME of 713789427.776 for trigger time.
Long-term sensitivity correction to zero point is -0.221 at 713817179
The processing date in extension 0 is:  2023-08-25T08:04:42
The trigger time is: 713789427.776. The reference is keyword in image file
Using zero point of 18.119 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(184.72183,-58.05262,25")
fk5;-circle(184.72183,-58.05262,12.5")
fk5;-circle(184.726907,-58.054723,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 uu713817179E   27751.6  0.98  245.8  228.8 112  13450  5599 -0.183 0.070 99.00 20.4 -0.1834 0.0697 99.00 20.4   246 -37.760 14.343 99.00 0.004 
   2 uu713817748E   28320.6  0.99  245.8  191.9 112  11078  5600 -0.135 0.064 99.00 20.4 -0.1589 0.0472 99.00 21.0   492 -32.633  9.778 99.00 0.005 
    Sum (T+ 27752 to  28570):             420.7        490.6 (est. in src region)   SNR_unwtd_sum:  -3.37 0.9987 signif. UL:  20.98
  0   492 713817589   28161.0    409.4   -409.4   -0.1589   0.0472 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -15.010 +/- 2.581 snr: -5.8 mag: 99.00 UL: 17.06
# ============ Reading file sw01185505001uuu_sk_02.img ================
Use keyword TRIGTIME of 713789427.776 for trigger time.
Long-term sensitivity correction to zero point is -0.221 at 713828679
The processing date in extension 0 is:  2023-08-25T08:05:22
The trigger time is: 713789427.776. The reference is keyword in image file
Using zero point of 18.119 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(184.72183,-58.05262,25")
fk5;-circle(184.72183,-58.05262,12.5")
fk5;-circle(184.726806,-58.054503,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 uu713828679E   39251.6  0.98  245.8  262.3 112  13538  5633 -0.031 0.075 99.00 19.8 -0.0312 0.0746 99.00 19.8   246 -9.060 21.701 99.00 0.003 
   2 uu713829247E   39819.7  0.98  245.8  210.8 113  11601  5631 -0.100 0.067 99.00 20.2 -0.0656 0.0500 99.00 20.4   492 -19.901 14.584 99.00 0.003 
    Sum (T+ 39252 to  40069):             473.1        502.0 (est. in src region)   SNR_unwtd_sum:  -1.31 0.9987 signif. UL:  20.44
  0   492 713829088   39660.5    408.9   -408.9   -0.0656   0.0500 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -15.163 +/- 2.541 snr: -6.0 mag: 99.00 UL: 17.10
# ============ Reading file sw01185505001uuu_sk_03.img ================
Use keyword TRIGTIME of 713789427.776 for trigger time.
Long-term sensitivity correction to zero point is -0.221 at 713829816
The processing date in extension 0 is:  2023-08-25T08:06:04
The trigger time is: 713789427.776. The reference is keyword in image file
Using zero point of 18.119 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(184.72183,-58.05262,25")
fk5;-circle(184.72183,-58.05262,12.5")
fk5;-circle(184.727053,-58.054664,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 uu713829815E   40387.8  0.99  244.1  186.3 112  10012  5594 -0.065 0.063 99.00 20.1 -0.0648 0.0630 99.00 20.1   244 -19.383 18.848 99.00 0.004 
   2 uu713834378E   44950.8  0.98  216.2  238.3 112  11370  5597  0.056 0.081 21.25 19.4 -0.0081 0.0505 99.00 20.1   460 -5.819 15.452 99.00 0.003 
    Sum (T+ 40388 to  45171):             424.6        428.0 (est. in src region)   SNR_unwtd_sum:  -0.16 0.9987 signif. UL:  20.13
  0   460 713832077   42649.1   2521.5  -2261.2   -0.0081   0.0505 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far): -14.901 +/- 2.507 snr: -5.9 mag: 99.00 UL: 17.11
Rebinned Data for sw01185505001uuu_sk_03.img using a zero point of 18.119:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      484   20346.3   1946.3  -1937.2   -0.0954   0.0468 99.00 99.00   20346.3   -0.0954   0.0468 99.00 99.00 20.69
  1      345   26317.8   1683.6  -3706.6   -0.1571   0.0577 99.00 99.00   22829.0   -0.1211   0.0364 99.00 99.00 21.25
  2 1.18e+03   38502.7   6667.8 -10182.1   -0.0577   0.0311 99.00 99.00   32031.8   -0.0838   0.0237 99.00 99.00 21.76
=========================================================
================ Start New Filter UGRISM ==================
=========================================================
# ============ Reading file sw01185505001ugu_sk.img ================
Use keyword TRIGTIME of 713789427.776 for trigger time.
The data range from T+18409.0 s (0.21 d) to T+45170.5 s (0.52 d)
Wrote uvot_fluxes_230825d09h01m11s583469usUT.qdp
Wrote uvot_fluxes_230825d09h01m11s583469usUT.gif
Wrote uvot_fluxes_230825d09h01m11s583469usUT.ps
Wrote uvot_fluxes_230825d09h01m11s583469usUT_vis.qdp
Wrote uvot_fluxes_230825d09h01m11s583469usUT_uv.qdp
Wrote uvot_fluxes_230825d09h01m11s583469usUT_vis.gif
Wrote uvot_fluxes_230825d09h01m11s583469usUT_vis.ps
# ================ Make Light Curve for Weighted Filters ==========
Use the following filters with indicated color corrections (mags):
  u (0)  , b (0)  , v (0)  , white (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.0121   21011.7   6989.7  -2602.7   -0.4961   0.2079 99.00 99.00   21011.7   -0.4961   0.2079 99.00 99.00 21.32
  1   0.0121   33779.4  11391.2  -5772.3   -0.5380   0.1362 99.00 99.00   27385.6   -0.5219   0.1158 99.00 99.00 22.39
The data range from T+18409.0 s (0.21 d) to T+45170.5 s (0.52 d)
Wrote uvot_fluxes_wtd_230825d09h01m11s583469usUT.qdp
Wrote uvot_fluxes_wtd_230825d09h01m11s583469usUT.gif
Wrote uvot_fluxes_wtd_230825d09h01m11s583469usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2023-03-23 fem