# uvot_fluxes_wget.pl vrs. 2020-11-03a fem at 230210d18h41m21s656239usUT
# /Home/eud/uvot_tdrss/perl/uvot_fluxes_wget.pl -seq=01153670992 -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
# ========= GRB230210 ===================
Could not find/read custom source region custom_1153670_src.reg
Used archived BAT position of 50.74500 7.15300
Reference: GCN_Position_Notice_Fri_10_Feb_23_05:52:55_UT
The position is (03:22:58.80, +07:09:10.8)
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(50.745,+7.153,3") # color=red dash=0
Source region spec. is: 50.745 +7.153 3"
Region file centered at (50.745,+7.153), which is (03:22:58.80, +07:09:10.8)
Could not find/read custom background region custom_1153670_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.70348 from uncorrected trigger time of 697701135.41 in BAT summary file
# ============ Reading file sw01153670992uwh_sk.img ================
Use keyword TRIGTIME of 697701166.144 for trigger time.
Long-term sensitivity correction to zero point is -0.175 at 697701293
The processing date in extension 0 is: 2023-02-10T18:29:06
The trigger time is: 697701166.144. 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 9:
# 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(50.745,+7.153,25")
fk5;-circle(50.745,+7.153,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 wh697701292I     126.8  0.95  147.4  411.2 112  20386  5845  0.000 0.157 99.00 20.4  0.0000 0.1571 99.00 20.4   147  0.000  0.037 99.00 1.520 
   2 wh697701292E     126.8  0.96  147.4  407.5 110  20405  5842  0.000 0.156 99.00 20.4 
   3 wh697701731E     565.0  0.96   19.5   56.9 112   2636  5838  0.000 0.427 99.00 19.3  0.0000 0.1475 99.00 20.4   167  0.000  0.037 99.00 1.408 
#  4 wh697701904E     738.5  0.96   19.5   42.1 115   2501  5843 
   5 wh697702029I     863.8  0.96  147.4  402.2 112  18903  5839  0.000 0.151 99.00 20.4  0.0000 0.1055 99.00 20.8   314  0.000  0.036 99.00 0.932 
#  6 wh697702334E    1168.0  0.96   19.5   44.6 115   2450  5843 
#  7 wh697702508E    1342.8  0.96   19.4   43.5 115   2494  5843 
#  8 wh697702681E    1515.5  0.96   19.4   43.4 115   2467  5843 
   9 wh697706166I    5000.5  0.91  178.9  968.0 108  51695  5840  0.000 0.213 99.00 20.0  0.0000 0.1013 99.00 20.8   493  0.000  0.036 99.00 0.441 
    Sum (T+   127 to   5182):            1759.8       1759.8 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  20.83
  0   493 697703376    2210.2   2972.0  -2083.4    0.0000   0.1013 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 0.036 snr:  0.0 mag: 99.00 UL: 21.97
Rebinned Data for sw01153670992uwh_sk.img using a zero point of 20.115:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      141     201.7     74.9    -74.9    0.0000   0.1571 99.00 99.00     201.7    0.0000   0.1571 99.00 99.00 20.86
  1      160     896.3    117.2   -331.3    0.0000   0.1422 99.00 99.00     571.2    0.0000   0.1055 99.00 99.00 21.29
  2      162    5091.4     90.9    -90.9    0.0000   0.2131 99.00 99.00    2155.5    0.0000   0.1013 99.00 99.00 21.33
=========================================================
================ Start New Filter V ==================
=========================================================
# ============ Reading file sw01153670992uvv_sk.img ================
Use keyword TRIGTIME of 697701166.144 for trigger time.
Long-term sensitivity correction to zero point is -0.220 at 697701275
The processing date in extension 0 is:  2023-02-10T18:28:45
The trigger time is: 697701166.144. The reference is keyword in image file
Using zero point of 17.670 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(50.745,+7.153,25")
fk5;-circle(50.745,+7.153,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 vv697701275E     109.1  0.99   10.2    4.4 111    310  5843  0.000 0.265 99.00 17.3 
#  2 vv697701780E     614.7  0.99   19.4    5.0 115    567  5843 
#  3 vv697701954E     788.7  0.99   19.4    9.8 115    588  5843 
#  4 vv697702209E    1043.7  0.99   19.5   13.4 115    542  5843 
#  5 vv697702385E    1219.2  0.99   19.4   19.0 115    556  5843 
#  6 vv697702559E    1392.9  0.99   19.4   20.1 115    595  5843 
#  7 vv697702731E    1565.5  0.99   19.5   14.1 115    549  5843 
=========================================================
================ Start New Filter B ==================
=========================================================
# ============ Reading file sw01153670992ubb_sk.img ================
Use keyword TRIGTIME of 697701166.144 for trigger time.
Long-term sensitivity correction to zero point is -0.198 at 697701707
The processing date in extension 0 is:  2023-02-10T18:28:56
The trigger time is: 697701166.144. The reference is keyword in image file
Using zero point of 18.912 for filter B
Use aperture correction of  1.108 based on aperture of  3.00
There are no aspect corrected images to process.
=========================================================
================ Start New Filter U ==================
=========================================================
# ============ Reading file sw01153670992uuu_sk.img ================
Use keyword TRIGTIME of 697701166.144 for trigger time.
Long-term sensitivity correction to zero point is -0.214 at 697701451
The processing date in extension 0 is:  2023-02-10T18:29:06
The trigger time is: 697701166.144. The reference is keyword in image file
Using zero point of 18.126 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(50.745,+7.153,25")
fk5;-circle(50.745,+7.153,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 uu697701451I     285.1  0.99  245.8   91.3 113   5211  5847  0.000 0.046 99.00 19.7  0.0000 0.0456 99.00 19.7   246  0.000  0.137 99.00 0.805 
   2 uu697701451E     285.1  0.99  245.8   89.5 115   5216  5845  0.000 0.046 99.00 19.7 
#  3 uu697701854E     688.7  0.99   19.5    8.6 115    400  5843 
#  4 uu697702285E    1119.1  0.99   19.5    6.3 115    357  5843 
#  5 uu697702459E    1293.7  0.99   19.5    8.8 115    409  5843 
#  6 uu697702632E    1466.2  0.99   19.5    2.2 115    397  5843 
#  7 uu697702806E    1640.1  0.99   19.5   10.2 115    438  5843 
    Sum (T+   285 to    535):             100.7        100.7 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  19.71
  0   246 697701576     409.9    124.9   -124.9    0.0000   0.0456 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 0.034 snr:  0.0 mag: 99.00 UL: 20.02
Rebinned Data for sw01153670992uuu_sk.img using a zero point of 18.126:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0      244     409.9    124.9   -124.9    0.0000   0.0456 99.00 99.00     409.9    0.0000   0.0456 99.00 99.00 20.21
=========================================================
================ Start New Filter UVW1 ==================
=========================================================
# ============ Reading file sw01153670992uw1_sk.img ================
Use keyword TRIGTIME of 697701166.144 for trigger time.
Long-term sensitivity correction to zero point is -0.271 at 697701830
The processing date in extension 0 is:  2023-02-10T18:28:58
The trigger time is: 697701166.144. 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 4:
# 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(50.745,+7.153,25")
fk5;-circle(50.745,+7.153,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 w1697701830E     663.9  1.00   19.4    0.0 111    118  5844  0.000 0.087 99.00 18.1  0.0000 0.0873 99.00 18.1    19  0.000  1.043 99.00 0.728 
#  2 w1697702003E     837.8  1.00   19.4    3.0 115     79  5843 
   3 w1697702260E    1094.0  1.00   19.4    2.6 111     72  5842  0.000 0.068 99.00 18.3  0.0000 0.0555 99.00 18.5    39  0.000  0.822 99.00 0.726 
   4 w1697702435E    1269.5  1.00   19.5    1.0 112     76  5834  0.000 0.070 99.00 18.3  0.0000 0.0438 99.00 18.8    58  0.000  0.731 99.00 0.687 
#  5 w1697702608E    1442.0  1.00   19.4    0.0 115     86  5843 
   6 w1697702780E    1614.7  1.00   19.5    1.0 111     91  5842  0.000 0.077 99.00 18.2  0.0000 0.0380 99.00 19.0    78  0.000  0.694 99.00 0.612 
    Sum (T+   664 to   1634):               6.8          6.8 (est. in src region)   SNR_unwtd_sum:   0.00 0.999999638888889 signif. UL:  18.95
  0    78 697702337    1170.5    464.0   -506.6    0.0000   0.0380 99.000 99.000 -99.000
Total wtd_rate (for all exposures so far):  0.000 +/- 0.035 snr:  0.0 mag: 99.00 UL: 19.04
Rebinned Data for sw01153670992uw1_sk.img using a zero point of 17.169:
 No Exposure     t-avg        + / -       net_rate      +/-   mag   +/-     t-avg  sum_rate     +/-   mag   +/-   UL3
  0     58.2    1019.1    270.1   -355.2    0.0000   0.0438 99.00 99.00    1019.1    0.0000   0.0438 99.00 99.00 19.30
  1     19.4    1624.6      9.9     -9.9    0.0000   0.0766 99.00 99.00    1170.5    0.0000   0.0380 99.00 99.00 19.45
=========================================================
================ Start New Filter UVM2 ==================
=========================================================
# ============ Reading file sw01153670992um2_sk.img ================
Use keyword TRIGTIME of 697701166.144 for trigger time.
Long-term sensitivity correction to zero point is -0.259 at 697701805
The processing date in extension 0 is:  2023-02-10T18:28:58
The trigger time is: 697701166.144. The reference is keyword in image 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 sw01153670992uw2_sk.img ================
Use keyword TRIGTIME of 697701166.144 for trigger time.
Long-term sensitivity correction to zero point is -0.345 at 697701757
The processing date in extension 0 is:  2023-02-10T18:28:58
The trigger time is: 697701166.144. 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
There are no aspect corrected images to process.
The data range from T+126.8 s (0.00 d) to T+5182.2 s (0.06 d)
Wrote uvot_fluxes_230210d18h41m21s656239usUT.qdp
Wrote uvot_fluxes_230210d18h41m21s656239usUT.gif
Wrote uvot_fluxes_230210d18h41m21s656239usUT.ps
Wrote uvot_fluxes_230210d18h41m21s656239usUT_vis.qdp
Wrote uvot_fluxes_230210d18h41m21s656239usUT_uv.qdp
Wrote uvot_fluxes_230210d18h41m21s656239usUT_vis.gif
Wrote uvot_fluxes_230210d18h41m21s656239usUT_vis.ps
Wrote uvot_fluxes_230210d18h41m21s656239usUT_uv.gif
Wrote uvot_fluxes_230210d18h41m21s656239usUT_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      614     201.7     74.9    -74.9    0.0000   0.1846 99.00 99.00     201.7    0.0000   0.1846 99.00 99.00 20.86
  1     17.4     506.6     78.2   -221.5    0.0000   0.3522 99.00 99.00     210.1    0.0000   0.1739 99.00 99.00 20.92
  2     30.8     938.6     74.9    -74.9    0.0000   0.1771 99.00 99.00     244.0    0.0000   0.1463 99.00 99.00 21.11
  3    0.524    5091.4     90.9    -90.9    0.0000   0.2504 99.00 99.00     247.8    0.0000   0.1439 99.00 99.00 21.13
The data range from T+126.8 s (0.00 d) to T+5182.2 s (0.06 d)
Wrote uvot_fluxes_wtd_230210d18h41m21s656239usUT.qdp
Wrote uvot_fluxes_wtd_230210d18h41m21s656239usUT.gif
Wrote uvot_fluxes_wtd_230210d18h41m21s656239usUT.ps
Normal end of uvot_fluxes_wget.pl vrs. 2020-11-03a fem