diff --git a/agilepy/api/AGAnalysis.py b/agilepy/api/AGAnalysis.py
index 49d556f0..10629ae8 100644
--- a/agilepy/api/AGAnalysis.py
+++ b/agilepy/api/AGAnalysis.py
@@ -159,7 +159,6 @@ def getConfiguration(confFilePath, userName, sourceName, tmin, tmax, timetype, g
output:
outdir: {outputDir}
filenameprefix: analysis_product
- logfilenameprefix: analysis_log
sourcename: {sourceName}
username: {userName}
verboselvl: {verboselvl}
@@ -955,7 +954,6 @@ def lightCurveMLE(self, sourceName, tmin = None, tmax = None, timetype = None, b
(_, last) = Utils._getFirstAndLastLineInFile(configBKP.getConf("input", "evtfile"))
idxTmax = float(Utils._extractTimes(last)[1])
- # logFilenamePrefix = configBKP.getConf("output","logfilenameprefix")
# verboseLvl = configBKP.getConf("output","verboselvl")
self.logger.info( f"[LC] Number of processes: {processes}, Number of bins per process {len(binsForProcesses[0])}")
@@ -994,9 +992,8 @@ def lightCurveMLE(self, sourceName, tmin = None, tmax = None, timetype = None, b
"""
processes = []
for pID, pInputs in enumerate(binsForProcesses):
- logFilenamePrefix += f"_thread_{pID}"
self.logger.info("generating process...(%d). Chunk size for process: %d"%(pID, len(pInputs)))
- p = Process(target=self._computeLcBin, args=(pID, pInputs, configBKP, lcAnalysisDataDir, logsOutDir, logFilenamePrefix, verboseLvl))
+ p = Process(target=self._computeLcBin, args=(pID, pInputs, configBKP, lcAnalysisDataDir, logsOutDir, verboseLvl))
processes.append((pID,p,len(pInputs)))
for pID, p, binsNumber in processes:
@@ -1381,11 +1378,11 @@ def _updateFovMinMaxValues(fovbinnumber, fovradmin, fovradmax, stepi):
"""
The light curve data generation could be parallalezed..
- def _computeLcBin(self, threadID, bins, configBKP, lcAnalysisDataDir, logsOutDir, logFilenamePrefix, verboseLvl):
+ def _computeLcBin(self, threadID, bins, configBKP, lcAnalysisDataDir, logsOutDir, verboseLvl):
logger = AgilepyLogger()
- logger.initialize(logsOutDir, logFilenamePrefix, verboseLvl)
+ logger.initialize(logsOutDir, verboseLvl)
# outputs = []
diff --git a/agilepy/api/AGAnalysisWavelet.py b/agilepy/api/AGAnalysisWavelet.py
index 99ab49ed..7d20e458 100644
--- a/agilepy/api/AGAnalysisWavelet.py
+++ b/agilepy/api/AGAnalysisWavelet.py
@@ -97,7 +97,6 @@ def getConfiguration(confFilePath, userName, outputDir, verboselvl, ctsmap, scal
output:
outdir: %s
filenameprefix: wavelet_product
- logfilenameprefix: eng_log
username: %s
sourcename: wavelet
verboselvl: %d
diff --git a/agilepy/api/AGBayesianBlocks.py b/agilepy/api/AGBayesianBlocks.py
index 2eb0195d..05484b79 100644
--- a/agilepy/api/AGBayesianBlocks.py
+++ b/agilepy/api/AGBayesianBlocks.py
@@ -97,7 +97,6 @@ def getConfiguration(confFilePath, outputDir, filePath,
output:
outdir: {outputDir}
filenameprefix: analysis_product
- logfilenameprefix: analysis_log
sourcename: {sourceName}
username: {userName}
verboselvl: {verboselvl}
diff --git a/agilepy/api/AGEngAgileFermiOffAxisVisibilityComparison.py b/agilepy/api/AGEngAgileFermiOffAxisVisibilityComparison.py
index 2e061d2f..03b3c848 100644
--- a/agilepy/api/AGEngAgileFermiOffAxisVisibilityComparison.py
+++ b/agilepy/api/AGEngAgileFermiOffAxisVisibilityComparison.py
@@ -139,7 +139,6 @@ def getConfiguration(confFilePath, userName, outputDir, verboselvl):
output:
outdir: %s
filenameprefix: eng_product
- logfilenameprefix: eng_log
username: %s
sourcename: agilefermioffaxis
verboselvl: %d
diff --git a/agilepy/api/AGEngAgileOffaxisVisibility.py b/agilepy/api/AGEngAgileOffaxisVisibility.py
index 8aee4fed..61eeeaf6 100644
--- a/agilepy/api/AGEngAgileOffaxisVisibility.py
+++ b/agilepy/api/AGEngAgileOffaxisVisibility.py
@@ -88,7 +88,6 @@ def getConfiguration(confFilePath, userName, outputDir, verboselvl):
output:
outdir: %s
filenameprefix: eng_product
- logfilenameprefix: eng_log
username: %s
sourcename: offaxis
verboselvl: %d
diff --git a/agilepy/api/AGRatemeters.py b/agilepy/api/AGRatemeters.py
index d36db868..9ebc2ab4 100644
--- a/agilepy/api/AGRatemeters.py
+++ b/agilepy/api/AGRatemeters.py
@@ -80,7 +80,6 @@ def getConfiguration(confFilePath, outputDir, filePath, timetype, T0,
output:
outdir: {outputDir}
filenameprefix: ratemeters_product
- logfilenameprefix: ratemeters_log
sourcename: {sourceName}
username: {userName}
verboselvl: {verboselvl}
diff --git a/agilepy/config/AGAnalysisConfig.py b/agilepy/config/AGAnalysisConfig.py
index 600253b3..56c64d56 100644
--- a/agilepy/config/AGAnalysisConfig.py
+++ b/agilepy/config/AGAnalysisConfig.py
@@ -135,7 +135,7 @@ def checkOptionsType(self, **kwargs):
# String
- elif optionName in ["evtfile", "logfile", "outdir", "filenameprefix", "logfilenameprefix", \
+ elif optionName in ["evtfile", "logfile", "outdir", "filenameprefix", \
"timetype", "timelist", "projtype", "proj", "modelfile", "minimizertype", \
"minimizeralg", "maplistgen", "irf"]:
diff --git a/agilepy/config/AGBayesianBlocksConfig.py b/agilepy/config/AGBayesianBlocksConfig.py
index 59fd4c47..08c36ed9 100644
--- a/agilepy/config/AGBayesianBlocksConfig.py
+++ b/agilepy/config/AGBayesianBlocksConfig.py
@@ -94,7 +94,7 @@ def checkOptionsType(self, **kwargs):
elif optionName in ["ratecorrection", "tstart", "tstop", "p0", "gamma"]:
validType = (Number, 0)
# String
- elif optionName in ["logfile", "filenameprefix", "logfilenameprefix", "sourcename", "username",
+ elif optionName in ["logfile", "filenameprefix", "sourcename", "username",
"file_path", "file_mode", "fitness",
]:
validType = (str, 0)
diff --git a/agilepy/config/AGEngAgileFermiOffAxisVisibilityComparisonConfig.py b/agilepy/config/AGEngAgileFermiOffAxisVisibilityComparisonConfig.py
index 127defcb..b6ed0d65 100644
--- a/agilepy/config/AGEngAgileFermiOffAxisVisibilityComparisonConfig.py
+++ b/agilepy/config/AGEngAgileFermiOffAxisVisibilityComparisonConfig.py
@@ -24,7 +24,7 @@ def checkOptionsType(self, **kwargs):
validType = ()
# String
- if optionName in ["logfile", "outdir", "filenameprefix", "logfilenameprefix"]:
+ if optionName in ["logfile", "outdir", "filenameprefix"]:
validType = (str, 0)
diff --git a/agilepy/config/AGEngAgileOffaxisVisibilityConfig.py b/agilepy/config/AGEngAgileOffaxisVisibilityConfig.py
index 5f787a92..fe0f488f 100644
--- a/agilepy/config/AGEngAgileOffaxisVisibilityConfig.py
+++ b/agilepy/config/AGEngAgileOffaxisVisibilityConfig.py
@@ -24,7 +24,7 @@ def checkOptionsType(self, **kwargs):
validType = ()
# String
- if optionName in ["logfile", "outdir", "filenameprefix", "logfilenameprefix"]:
+ if optionName in ["logfile", "outdir", "filenameprefix"]:
validType = (str, 0)
diff --git a/agilepy/config/AGRatemetersConfig.py b/agilepy/config/AGRatemetersConfig.py
index 62d558cc..3c4a0cf0 100644
--- a/agilepy/config/AGRatemetersConfig.py
+++ b/agilepy/config/AGRatemetersConfig.py
@@ -150,7 +150,7 @@ def checkOptionsType(self, **kwargs):
elif optionName in ["background_tmin", "background_tmax", "signal_tmin", "signal_tmax", "T0"]:
validType = (Number, 0)
# String
- elif optionName in ["logfile", "filenameprefix", "logfilenameprefix", "sourcename", "username", "file_path", "timetype"]:
+ elif optionName in ["logfile", "filenameprefix", "sourcename", "username", "file_path", "timetype"]:
validType = (str, 0)
# Path
elif optionName in ["outdir"]:
diff --git a/agilepy/config/AgilepyConfig.py b/agilepy/config/AgilepyConfig.py
index 7e31cfd0..043b3eaf 100644
--- a/agilepy/config/AgilepyConfig.py
+++ b/agilepy/config/AgilepyConfig.py
@@ -83,9 +83,6 @@ def loadBaseConfigurations(self, configurationFilePath):
if user_conf["output"]["filenameprefix"] is None:
errors.append("Please, set output/filenameprefix")
- if user_conf["output"]["logfilenameprefix"] is None:
- errors.append("Please, set output/logfilenameprefix")
-
if user_conf["output"]["sourcename"] is None:
errors.append("Please, set output/sourcename")
@@ -250,7 +247,7 @@ def getConf(self, key=None, subkey=None):
@staticmethod
def _notUpdatable(optionName):
- if optionName in ["userestapi", "datapath", "logfilenameprefix", "verboselvl"]:
+ if optionName in ["userestapi", "datapath", "verboselvl"]:
return True
return False
diff --git a/agilepy/scripts/download_test_dataset.sh b/agilepy/scripts/download_test_dataset.sh
index cb0d8f4d..d5d22ffb 100755
--- a/agilepy/scripts/download_test_dataset.sh
+++ b/agilepy/scripts/download_test_dataset.sh
@@ -1,21 +1,11 @@
#!/bin/bash
-set -e
+set -euo pipefail
# Set the directory path (change this to your target directory)
DIR="$AGILE/agilepy-test-data/"
-# # Check if the directory exists
-# if [ -d "$DIR" ]; then
-# echo "Directory $DIR exists. Removing it..."
-# rm -rf "$DIR"
-# echo "Directory removed."
-# else
-# echo "Directory $DIR does not exist."
-# fi
-#
-# # Create the directory
-# mkdir -p "$DIR"
-# echo "Directory $DIR created."
+# Ensure directory exists
+mkdir -p "$DIR"
# Move into the directory
cd "$DIR" || { echo "Failed to enter directory $DIR"; exit 1; }
@@ -24,22 +14,30 @@ echo "Now inside $DIR"
# Download test dataset
echo "Download test dataset..."
-# These are downloaded in the base image
-# wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1B31SCrHoOU0KnZoaZ7NTq6nY_PTD-ner' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1B31SCrHoOU0KnZoaZ7NTq6nY_PTD-ner" -O test_dataset_6.0.tar.gz && rm -rf /tmp/cookies.txt && \
-# tar -xzf test_dataset_6.0.tar.gz && \
-# rm test_dataset_6.0.tar.gz
-
-# wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1B3Tp-01-X7Cwh6lq11BUCiaHuctj0iDW' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1B3Tp-01-X7Cwh6lq11BUCiaHuctj0iDW" -O test_dataset_agn.tar.gz && rm -rf /tmp/cookies.txt && \
-# tar -xzf test_dataset_agn.tar.gz && \
-# rm test_dataset_agn.tar.gz
-
-wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1dRfBltxWvijKjxgU9lHTJRm--l8tbgGZ' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1dRfBltxWvijKjxgU9lHTJRm--l8tbgGZ" -O bayesian_blocks.tar.gz && rm -rf /tmp/cookies.txt && \
-tar -xzf bayesian_blocks.tar.gz && \
-rm bayesian_blocks.tar.gz
-
-wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1m7DhHHxiU3Q81biNvTGRAhFjP0j5IJfL' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1m7DhHHxiU3Q81biNvTGRAhFjP0j5IJfL" -O ratemeters.tar.gz && rm -rf /tmp/cookies.txt && \
-tar -xzf ratemeters.tar.gz && \
-rm ratemeters.tar.gz
+# Function to download and extract only if missing
+download_and_extract() {
+ local id="$1"
+ local tar_name="$2"
+ local extract_dir="$3"
+
+ if [ -d "$extract_dir" ]; then
+ echo " $extract_dir already exists, skipping download."
+ else
+ echo " Downloading $tar_name ..."
+ wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate "https://docs.google.com/uc?export=download&id=$id" -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1/p')&id=$id" -O "$tar_name" && \
+ rm -f /tmp/cookies.txt && \
+ tar -xzf "$tar_name" && \
+ rm "$tar_name"
+
+ echo " Extracted $extract_dir"
+ fi
+}
+
+# Datasets
+download_and_extract "1B31SCrHoOU0KnZoaZ7NTq6nY_PTD-ner" "test_dataset_6.0.tar.gz" "test_dataset_6.0"
+download_and_extract "1B3Tp-01-X7Cwh6lq11BUCiaHuctj0iDW" "test_dataset_agn.tar.gz" "test_dataset_agn"
+download_and_extract "1dRfBltxWvijKjxgU9lHTJRm--l8tbgGZ" "bayesian_blocks.tar.gz" "bayesian_blocks"
+download_and_extract "1m7DhHHxiU3Q81biNvTGRAhFjP0j5IJfL" "ratemeters.tar.gz" "ratemeters"
# End
echo "Download completed!"
diff --git a/agilepy/testing/unittesting/api/conf/agilepyconf.yaml b/agilepy/testing/unittesting/api/conf/agilepyconf.yaml
index f3ea4a80..1a3cdd1f 100644
--- a/agilepy/testing/unittesting/api/conf/agilepyconf.yaml
+++ b/agilepy/testing/unittesting/api/conf/agilepyconf.yaml
@@ -7,7 +7,6 @@ input:
output:
outdir: $TEST_LOGS_DIR
filenameprefix: testcase
- logfilenameprefix: logtestcase
sourcename: vela
username: unittesting
verboselvl: 0
diff --git a/agilepy/testing/unittesting/api/conf/agilepyconfREST.yaml b/agilepy/testing/unittesting/api/conf/agilepyconfREST.yaml
index a6d3d304..59bd0232 100644
--- a/agilepy/testing/unittesting/api/conf/agilepyconfREST.yaml
+++ b/agilepy/testing/unittesting/api/conf/agilepyconfREST.yaml
@@ -7,7 +7,6 @@ input:
output:
outdir: $TEST_LOGS_DIR
filenameprefix: testcase
- logfilenameprefix: logtestcase
sourcename: vela
username: unittesting
verboselvl: 0
diff --git a/agilepy/testing/unittesting/api/conf/agilepyconf_ageng.yaml b/agilepy/testing/unittesting/api/conf/agilepyconf_ageng.yaml
index 37715adb..e18c0fdb 100644
--- a/agilepy/testing/unittesting/api/conf/agilepyconf_ageng.yaml
+++ b/agilepy/testing/unittesting/api/conf/agilepyconf_ageng.yaml
@@ -1,7 +1,6 @@
output:
outdir: $TEST_LOGS_DIR
filenameprefix: testcase
- logfilenameprefix: logtestcase
sourcename: eng
username: user-test
verboselvl: 0
\ No newline at end of file
diff --git a/agilepy/testing/unittesting/api/conf/agilepyconf_ratemeters.yaml b/agilepy/testing/unittesting/api/conf/agilepyconf_ratemeters.yaml
index eaa90f8b..f3eb06b3 100644
--- a/agilepy/testing/unittesting/api/conf/agilepyconf_ratemeters.yaml
+++ b/agilepy/testing/unittesting/api/conf/agilepyconf_ratemeters.yaml
@@ -1,7 +1,6 @@
output:
outdir: $TEST_LOGS_DIR
filenameprefix: test_rm
- logfilenameprefix: test_rm
sourcename: src-rm-test
username: user-test
verboselvl: 2
diff --git a/agilepy/testing/unittesting/api/conf/agilepyconfbkg.yaml b/agilepy/testing/unittesting/api/conf/agilepyconfbkg.yaml
index cde034c7..326a5e28 100644
--- a/agilepy/testing/unittesting/api/conf/agilepyconfbkg.yaml
+++ b/agilepy/testing/unittesting/api/conf/agilepyconfbkg.yaml
@@ -7,7 +7,6 @@ input:
output:
outdir: $TEST_LOGS_DIR
filenameprefix: testcase
- logfilenameprefix: logtestcase
sourcename: vela
username: unittesting
verboselvl: 2
diff --git a/agilepy/testing/unittesting/api/conf/conf_bb_agile_ph.yaml b/agilepy/testing/unittesting/api/conf/conf_bb_agile_ph.yaml
index 30b4a061..52c1f6c5 100644
--- a/agilepy/testing/unittesting/api/conf/conf_bb_agile_ph.yaml
+++ b/agilepy/testing/unittesting/api/conf/conf_bb_agile_ph.yaml
@@ -1,7 +1,6 @@
output:
outdir: $TEST_LOGS_DIR
filenameprefix: testcase
- logfilenameprefix: testcase
sourcename: source-test
username: user-test
verboselvl: 2
diff --git a/agilepy/testing/unittesting/api/conf/conf_rm_GRB231129C.yaml b/agilepy/testing/unittesting/api/conf/conf_rm_GRB231129C.yaml
index 285494a9..4c1fa139 100644
--- a/agilepy/testing/unittesting/api/conf/conf_rm_GRB231129C.yaml
+++ b/agilepy/testing/unittesting/api/conf/conf_rm_GRB231129C.yaml
@@ -1,7 +1,6 @@
output:
outdir: $TEST_LOGS_DIR
filenameprefix: test_rm
- logfilenameprefix: test_rm
sourcename: src-rm-test
username: user-test
verboselvl: 2
diff --git a/agilepy/testing/unittesting/api/test_ag_analysis.py b/agilepy/testing/unittesting/api/test_ag_analysis.py
index 4b339908..d8c1d7a9 100644
--- a/agilepy/testing/unittesting/api/test_ag_analysis.py
+++ b/agilepy/testing/unittesting/api/test_ag_analysis.py
@@ -559,7 +559,6 @@ def test_fix_exponent(self, environ_test_logs_dir, config, testdatafiles):
ag.destroy()
- #@pytest.mark.skip("Fails on MACOS")
@pytest.mark.testlogsdir("api/test_logs/test_aperture_photometry")
@pytest.mark.testconfig("api/conf/agilepyconf.yaml")
@pytest.mark.testdatafiles(["api/conf/sourcesconf_1.txt"])
diff --git a/agilepy/testing/unittesting/api/test_ag_bayesianblocks.py b/agilepy/testing/unittesting/api/test_ag_bayesianblocks.py
index bdce5d39..3afa86e2 100644
--- a/agilepy/testing/unittesting/api/test_ag_bayesianblocks.py
+++ b/agilepy/testing/unittesting/api/test_ag_bayesianblocks.py
@@ -347,7 +347,6 @@ def test_get_configuration(self, environ_test_logs_dir, testdata):
assert ag_bb.getOption("username") == "my_name"
assert ag_bb.getOption("sourcename") == "bb-source"
assert ag_bb.getOption("filenameprefix") == "analysis_product"
- assert ag_bb.getOption("logfilenameprefix") =="analysis_log"
assert ag_bb.getOption("verboselvl") == 0
assert ag_bb.getOption('file_path') == testdata
diff --git a/agilepy/testing/unittesting/api/test_ag_eng_agile_offaxis_visibility.py b/agilepy/testing/unittesting/api/test_ag_eng_agile_offaxis_visibility.py
index 750f54be..26416016 100644
--- a/agilepy/testing/unittesting/api/test_ag_eng_agile_offaxis_visibility.py
+++ b/agilepy/testing/unittesting/api/test_ag_eng_agile_offaxis_visibility.py
@@ -25,8 +25,6 @@
#You should have received a copy of the GNU General Public License
#along with this program. If not, see
/root/agilepy_analysis/username_3C454_3_20221022-165046/maps/0/analysis_product_TN216691200.0_TX217382400.0_EN00100_EX50000_ID01.cts.gz /root/agilepy_analysis/username_3C454_3_20221022-165046/maps/0/analysis_product_TN216691200.0_TX217382400.0_EN00100_EX50000_ID01.exp.gz /root/agilepy_analysis/username_3C454_3_20221022-165046/maps/0/analysis_product_TN216691200.0_TX217382400.0_EN00100_EX50000_ID01.gas.gz 30 -1 -1 +/root/agilepy_analysis/username_3C454_3_20221022-165046/maps/0/analysis_product_TN216691200.0_TX217382400.0_EN00100_EX50000_ID01.cts.gz /root/agilepy_analysis/username_3C454_3_20221022-165046/maps/0/analysis_product_TN216691200.0_TX217382400.0_EN00100_EX50000_ID01.exp.gz /root/agilepy_analysis/username_3C454_3_20221022-165046/maps/0/analysis_product_TN216691200.0_TX217382400.0_EN00100_EX50000_ID01.gas.gz 30 -1 -1@@ -16239,15 +16238,15 @@Light curve with default tmin an
-@@ -17350,11 +17349,11 @@time_start_mjd time_end_mjd sqrt(ts) flux flux_err flux_ul gal gal_error iso iso_error l_peak b_peak dist_peak l b r ell_dist a b phi exposure ExpRatio counts counts_err Index Index_Err Par2 Par2_Err Par3 Par3_Err Erglog Erglog_Err Erglog_UL time_start_utc time_end_utc time_start_tt time_end_tt Fix index ULConfidenceLevel SrcLocConfLevel start_l start_b start_flux typefun par2 par3 galmode2 galmode2fit isomode2 isomode2fit edpcor fluxcor integratortype expratioEval expratio_minthr expratio_maxthr expratio_size Emin emax fovmin fovmax albedo binsize expstep phasecode fit_cts fit_fitstatus0 fit_fcn0 fit_edm0 fit_nvpar0 fit_nparx0 fit_iter0 fit_fitstatus1 fit_fcn1 fit_edm1 fit_nvpar1 fit_nparx1 fit_iter1 fit_Likelihood1 -55513.0 55514.0 5.547 628.598e-08 188.701e-08 1059.69e-08 0.7 0 9.39942 0 86.1236 -38.1824 0 -1 -1 -1 -1 -1 -1 -1 3438060.0 0 21.6116 6.48764 2.20942 0 0 0 0 0 1.00777e-09 3.02526e-10 1.69891e-09 2010-11-13T00:00:00.000 2010-11-14T00:00:00.000 216691200.0 216777600.0 1 2.20942 2 5.99147 86.1236 -38.1824 7.50937e-07 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 58 -1 189.845 0.5 0 8 3 0 174.46 3.01283e-16 1 8 3 228.301 -55514.0 55515.0 5.14501 550.725e-08 169.57e-08 940.41e-08 0.7 0 9.39942 0 86.1236 -38.1824 0 -1 -1 -1 -1 -1 -1 -1 3493990.0 0 19.2422 5.92475 2.20942 0 0 0 0 0 8.82926e-10 2.71855e-10 1.50767e-09 2010-11-14T00:00:00.000 2010-11-15T00:00:00.000 216777600.0 216864000.0 1 2.20942 2 5.99147 86.1236 -38.1824 7.50937e-07 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 47 -1 156.687 0.5 0 8 3 0 143.451 4.77833e-15 1 8 3 190.451 -55515.0 55516.0 7.70264 994.831e-08 226.083e-08 1498.17e-08 0.7 0 9.39942 0 86.1236 -38.1824 0 -1 -1 -1 -1 -1 -1 -1 3447230.0 0 34.2941 7.79361 2.20942 0 0 0 0 0 1.59492e-09 3.62458e-10 2.40187e-09 2010-11-15T00:00:00.000 2010-11-16T00:00:00.000 216864000.0 216950400.0 1 2.20942 2 5.99147 86.1236 -38.1824 7.50937e-07 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 73 -1 230.912 0.5 0 8 3 0 201.247 6.02423e-18 1 8 3 268.702 -55516.0 55517.0 8.03516 1118.38e-08 233.93e-08 1634.34e-08 0.7 0 9.39942 0 86.1236 -38.1824 0 -1 -1 -1 -1 -1 -1 -1 3579240.0 0 40.0296 8.37292 2.20942 0 0 0 0 0 1.793e-09 3.75038e-10 2.62018e-09 2010-11-16T00:00:00.000 2010-11-17T00:00:00.000 216950400.0 217036800.0 1 2.20942 2 5.99147 86.1236 -38.1824 7.50937e-07 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 80 -1 248.717 0.5 0 8 3 0 216.435 1.60478e-14 1 8 3 289.504 -55517.0 55518.0 17.1096 3660.72e-08 467.179e-08 4666.91e-08 0.7 0 9.39942 0 86.1236 -38.1824 0 -1 -1 -1 -1 -1 -1 -1 2153790.0 0 78.8444 10.0621 2.20942 0 0 0 0 0 5.86889e-09 7.48985e-10 7.48202e-09 2010-11-17T00:00:00.000 2010-11-18T00:00:00.000 217036800.0 217123200.0 1 2.20942 2 5.99147 86.1236 -38.1824 7.50937e-07 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 90 -1 329.08 0.5 0 8 3 0 182.71 9.69287e-17 1 8 3 242.57 -55518.0 55519.0 11.1229 75.0937e-08 0 75.0937e-08 0.7 6.8984e-310 9.39942 6.8984e-310 86.1236 -38.1824 0 -1 -1 -1 -1 -1 -1 -1 3789410.0 0 2.84561 0 2.20942 0 0 0 0 0 1.20391e-10 0 1.20391e-10 2010-11-18T00:00:00.000 2010-11-19T00:00:00.000 217123200.0 217209600.0 1 2.20942 2 5.99147 86.1236 -38.1824 7.50937e-07 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 191 -1 612.63 0.5 0 8 3 4 550.77 12971400000.0 1 8 3 647.929 -55519.0 55520.0 27.1698 5115.12e-08 420.66e-08 5998.11e-08 0.7 0 9.39942 0 86.1236 -38.1824 0 -1 -1 -1 -1 -1 -1 -1 3687280.0 0 188.609 15.5109 2.20942 0 0 0 0 0 8.2006e-09 6.74405e-10 9.61621e-09 2010-11-19T00:00:00.000 2010-11-20T00:00:00.000 217209600.0 217296000.0 1 2.20942 2 5.99147 86.1236 -38.1824 7.50937e-07 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 213 -1 680.524 0.5 0 8 3 0 311.426 1.41401e-16 1 8 3 421.382 -55520.0 55521.0 25.883 4665.29e-08 409.236e-08 5527.82e-08 0.7 0 9.39942 0 86.1236 -38.1824 0 -1 -1 -1 -1 -1 -1 -1 3475880.0 0 162.16 14.2246 2.20942 0 0 0 0 0 7.47943e-09 6.5609e-10 8.86224e-09 2010-11-20T00:00:00.000 2010-11-21T00:00:00.000 217296000.0 217382400.0 1 2.20942 2 5.99147 86.1236 -38.1824 7.50937e-07 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 179 -1 600.212 0.5 0 8 3 0 265.249 8.1209e-17 1 8 3 344.357 +time_start_mjd time_end_mjd sqrt(ts) flux flux_err flux_ul gal gal_error iso iso_error l_peak b_peak dist_peak l b r ell_dist a b phi exposure ExpRatio counts counts_err Index Index_Err Par2 Par2_Err Par3 Par3_Err Erglog Erglog_Err Erglog_UL time_start_utc time_end_utc time_start_tt time_end_tt Fix index ULConfidenceLevel SrcLocConfLevel start_l start_b start_flux typefun par2 par3 galmode2 galmode2fit isomode2 isomode2fit edpcor fluxcor integratortype expratioEval expratio_minthr expratio_maxthr expratio_size Emin emax fovmin fovmax albedo binsize expstep phasecode fit_cts fit_fitstatus0 fit_fcn0 fit_edm0 fit_nvpar0 fit_nparx0 fit_iter0 fit_fitstatus1 fit_fcn1 fit_edm1 fit_nvpar1 fit_nparx1 fit_iter1 fit_Likelihood1 +55513.0 55514.0 5.547 628.598e-08 188.701e-08 1059.69e-08 0.7 0 9.39942 0 86.1236 -38.1824 0 -1 -1 -1 -1 -1 -1 -1 3438060.0 0 21.6116 6.48764 2.20942 0 0 0 0 0 1.00777e-09 3.02526e-10 1.69891e-09 2010-11-13T00:00:00.000 2010-11-14T00:00:00.000 216691200.0 216777600.0 1 2.20942 2 5.99147 86.1236 -38.1824 7.50937e-07 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 58 -1 189.845 0.5 0 8 3 0 174.46 3.01283e-16 1 8 3 228.301 +55514.0 55515.0 5.14501 550.725e-08 169.57e-08 940.41e-08 0.7 0 9.39942 0 86.1236 -38.1824 0 -1 -1 -1 -1 -1 -1 -1 3493990.0 0 19.2422 5.92475 2.20942 0 0 0 0 0 8.82926e-10 2.71855e-10 1.50767e-09 2010-11-14T00:00:00.000 2010-11-15T00:00:00.000 216777600.0 216864000.0 1 2.20942 2 5.99147 86.1236 -38.1824 7.50937e-07 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 47 -1 156.687 0.5 0 8 3 0 143.451 4.77833e-15 1 8 3 190.451 +55515.0 55516.0 7.70264 994.831e-08 226.083e-08 1498.17e-08 0.7 0 9.39942 0 86.1236 -38.1824 0 -1 -1 -1 -1 -1 -1 -1 3447230.0 0 34.2941 7.79361 2.20942 0 0 0 0 0 1.59492e-09 3.62458e-10 2.40187e-09 2010-11-15T00:00:00.000 2010-11-16T00:00:00.000 216864000.0 216950400.0 1 2.20942 2 5.99147 86.1236 -38.1824 7.50937e-07 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 73 -1 230.912 0.5 0 8 3 0 201.247 6.02423e-18 1 8 3 268.702 +55516.0 55517.0 8.03516 1118.38e-08 233.93e-08 1634.34e-08 0.7 0 9.39942 0 86.1236 -38.1824 0 -1 -1 -1 -1 -1 -1 -1 3579240.0 0 40.0296 8.37292 2.20942 0 0 0 0 0 1.793e-09 3.75038e-10 2.62018e-09 2010-11-16T00:00:00.000 2010-11-17T00:00:00.000 216950400.0 217036800.0 1 2.20942 2 5.99147 86.1236 -38.1824 7.50937e-07 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 80 -1 248.717 0.5 0 8 3 0 216.435 1.60478e-14 1 8 3 289.504 +55517.0 55518.0 17.1096 3660.72e-08 467.179e-08 4666.91e-08 0.7 0 9.39942 0 86.1236 -38.1824 0 -1 -1 -1 -1 -1 -1 -1 2153790.0 0 78.8444 10.0621 2.20942 0 0 0 0 0 5.86889e-09 7.48985e-10 7.48202e-09 2010-11-17T00:00:00.000 2010-11-18T00:00:00.000 217036800.0 217123200.0 1 2.20942 2 5.99147 86.1236 -38.1824 7.50937e-07 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 90 -1 329.08 0.5 0 8 3 0 182.71 9.69287e-17 1 8 3 242.57 +55518.0 55519.0 11.1229 75.0937e-08 0 75.0937e-08 0.7 6.8984e-310 9.39942 6.8984e-310 86.1236 -38.1824 0 -1 -1 -1 -1 -1 -1 -1 3789410.0 0 2.84561 0 2.20942 0 0 0 0 0 1.20391e-10 0 1.20391e-10 2010-11-18T00:00:00.000 2010-11-19T00:00:00.000 217123200.0 217209600.0 1 2.20942 2 5.99147 86.1236 -38.1824 7.50937e-07 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 191 -1 612.63 0.5 0 8 3 4 550.77 12971400000.0 1 8 3 647.929 +55519.0 55520.0 27.1698 5115.12e-08 420.66e-08 5998.11e-08 0.7 0 9.39942 0 86.1236 -38.1824 0 -1 -1 -1 -1 -1 -1 -1 3687280.0 0 188.609 15.5109 2.20942 0 0 0 0 0 8.2006e-09 6.74405e-10 9.61621e-09 2010-11-19T00:00:00.000 2010-11-20T00:00:00.000 217209600.0 217296000.0 1 2.20942 2 5.99147 86.1236 -38.1824 7.50937e-07 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 213 -1 680.524 0.5 0 8 3 0 311.426 1.41401e-16 1 8 3 421.382 +55520.0 55521.0 25.883 4665.29e-08 409.236e-08 5527.82e-08 0.7 0 9.39942 0 86.1236 -38.1824 0 -1 -1 -1 -1 -1 -1 -1 3475880.0 0 162.16 14.2246 2.20942 0 0 0 0 0 7.47943e-09 6.5609e-10 8.86224e-09 2010-11-20T00:00:00.000 2010-11-21T00:00:00.000 217296000.0 217382400.0 1 2.20942 2 5.99147 86.1236 -38.1824 7.50937e-07 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 179 -1 600.212 0.5 0 8 3 0 265.249 8.1209e-17 1 8 3 344.357Eval
-@@ -17997,15 +17996,15 @@time_start_mjd time_end_mjd sqrt(ts) flux flux_err flux_ul gal gal_error iso iso_error l_peak b_peak dist_peak l b r ell_dist a b phi exposure ExpRatio counts counts_err Index Index_Err Par2 Par2_Err Par3 Par3_Err Erglog Erglog_Err Erglog_UL time_start_utc time_end_utc time_start_tt time_end_tt Fix index ULConfidenceLevel SrcLocConfLevel start_l start_b start_flux typefun par2 par3 galmode2 galmode2fit isomode2 isomode2fit edpcor fluxcor integratortype expratioEval expratio_minthr expratio_maxthr expratio_size Emin emax fovmin fovmax albedo binsize expstep phasecode fit_cts fit_fitstatus0 fit_fcn0 fit_edm0 fit_nvpar0 fit_nparx0 fit_iter0 fit_fitstatus1 fit_fcn1 fit_edm1 fit_nvpar1 fit_nparx1 fit_iter1 fit_Likelihood1 -55513.0 55514.0 4.32035 642.979e-08 232.549e-08 1180.75e-08 0.7 0 10.991 0.508972 85.9102 -37.9369 0.297486 86.2013 1.1427 1.08087 0.0702603 0.887659 1.1427 28.6357 3364190.0 0 21.631 7.82338 2.51349 0 0 0 0 0 1.03083e-09 3.72824e-10 1.89299e-09 2010-11-13T00:00:00.000 2010-11-14T00:00:00.000 216691200.0 216777600.0 3 2.51349 2 5.99147 86.1236 -38.1824 8.75337e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 58 0 182.447 1.18453e-09 1 8 25 0 173.114 6.88593e-07 2 8 25 226.956 -55514.0 55515.0 5.36336 786.759e-08 225.657e-08 1298.53e-08 0.7 0 5.54233 0.524937 85.5303 -37.8277 0.586852 85.2635 0.941887 1.19558 0.775158 1.35608 0.941887 14.6594 3535790.0 0 27.8182 7.97875 2.51349 0 0 0 0 0 1.26134e-09 3.61775e-10 2.08181e-09 2010-11-14T00:00:00.000 2010-11-15T00:00:00.000 216777600.0 216864000.0 3 2.51349 2 5.99147 86.1236 -38.1824 8.75337e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 46 0 152.285 2.30385e-10 1 8 30 0 137.902 1.83574e-09 2 8 30 183.902 -55515.0 55516.0 5.3458 944.251e-08 270.486e-08 1553.45e-08 0.7 0 12.6982 0.516907 86.0458 -38.325 0.155178 86.3895 1.03513 1.02488 0.458338 0.896505 1.03513 63.9542 3417240.0 0 32.2673 9.24315 2.51349 0 0 0 0 0 1.51383e-09 4.33645e-10 2.4905e-09 2010-11-15T00:00:00.000 2010-11-16T00:00:00.000 216864000.0 216950400.0 3 2.51349 2 5.99147 86.1236 -38.1824 8.75337e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 73 0 213.424 2.14724e-08 1 8 25 0 199.135 2.1518e-09 2 8 25 266.59 -55516.0 55517.0 5.46583 1003.54e-08 277.996e-08 1622.63e-08 0.7 0 13.2396 0.538427 86.4269 -37.9295 0.347829 86.2991 0.673445 0.842059 0.375079 0.941951 0.673445 74.8598 3559640.0 0 35.7224 9.89566 2.51349 0 0 0 0 0 1.60888e-09 4.45685e-10 2.60142e-09 2010-11-16T00:00:00.000 2010-11-17T00:00:00.000 216950400.0 217036800.0 3 2.51349 2 5.99147 86.1236 -38.1824 8.75337e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 80 0 227.167 2.47288e-07 1 8 25 0 212.229 5.3908e-09 2 8 25 285.297 +time_start_mjd time_end_mjd sqrt(ts) flux flux_err flux_ul gal gal_error iso iso_error l_peak b_peak dist_peak l b r ell_dist a b phi exposure ExpRatio counts counts_err Index Index_Err Par2 Par2_Err Par3 Par3_Err Erglog Erglog_Err Erglog_UL time_start_utc time_end_utc time_start_tt time_end_tt Fix index ULConfidenceLevel SrcLocConfLevel start_l start_b start_flux typefun par2 par3 galmode2 galmode2fit isomode2 isomode2fit edpcor fluxcor integratortype expratioEval expratio_minthr expratio_maxthr expratio_size Emin emax fovmin fovmax albedo binsize expstep phasecode fit_cts fit_fitstatus0 fit_fcn0 fit_edm0 fit_nvpar0 fit_nparx0 fit_iter0 fit_fitstatus1 fit_fcn1 fit_edm1 fit_nvpar1 fit_nparx1 fit_iter1 fit_Likelihood1 +55513.0 55514.0 4.32035 642.979e-08 232.549e-08 1180.75e-08 0.7 0 10.991 0.508972 85.9102 -37.9369 0.297486 86.2013 1.1427 1.08087 0.0702603 0.887659 1.1427 28.6357 3364190.0 0 21.631 7.82338 2.51349 0 0 0 0 0 1.03083e-09 3.72824e-10 1.89299e-09 2010-11-13T00:00:00.000 2010-11-14T00:00:00.000 216691200.0 216777600.0 3 2.51349 2 5.99147 86.1236 -38.1824 8.75337e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 58 0 182.447 1.18453e-09 1 8 25 0 173.114 6.88593e-07 2 8 25 226.956 +55514.0 55515.0 5.36336 786.759e-08 225.657e-08 1298.53e-08 0.7 0 5.54233 0.524937 85.5303 -37.8277 0.586852 85.2635 0.941887 1.19558 0.775158 1.35608 0.941887 14.6594 3535790.0 0 27.8182 7.97875 2.51349 0 0 0 0 0 1.26134e-09 3.61775e-10 2.08181e-09 2010-11-14T00:00:00.000 2010-11-15T00:00:00.000 216777600.0 216864000.0 3 2.51349 2 5.99147 86.1236 -38.1824 8.75337e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 46 0 152.285 2.30385e-10 1 8 30 0 137.902 1.83574e-09 2 8 30 183.902 +55515.0 55516.0 5.3458 944.251e-08 270.486e-08 1553.45e-08 0.7 0 12.6982 0.516907 86.0458 -38.325 0.155178 86.3895 1.03513 1.02488 0.458338 0.896505 1.03513 63.9542 3417240.0 0 32.2673 9.24315 2.51349 0 0 0 0 0 1.51383e-09 4.33645e-10 2.4905e-09 2010-11-15T00:00:00.000 2010-11-16T00:00:00.000 216864000.0 216950400.0 3 2.51349 2 5.99147 86.1236 -38.1824 8.75337e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 73 0 213.424 2.14724e-08 1 8 25 0 199.135 2.1518e-09 2 8 25 266.59 +55516.0 55517.0 5.46583 1003.54e-08 277.996e-08 1622.63e-08 0.7 0 13.2396 0.538427 86.4269 -37.9295 0.347829 86.2991 0.673445 0.842059 0.375079 0.941951 0.673445 74.8598 3559640.0 0 35.7224 9.89566 2.51349 0 0 0 0 0 1.60888e-09 4.45685e-10 2.60142e-09 2010-11-16T00:00:00.000 2010-11-17T00:00:00.000 216950400.0 217036800.0 3 2.51349 2 5.99147 86.1236 -38.1824 8.75337e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 80 0 227.167 2.47288e-07 1 8 25 0 212.229 5.3908e-09 2 8 25 285.297Merge light curves -
time_start_mjd time_end_mjd sqrt(ts) flux flux_err flux_ul gal gal_error iso iso_error l_peak b_peak dist_peak l b r ell_dist a b phi exposure ExpRatio counts counts_err Index Index_Err Par2 Par2_Err Par3 Par3_Err Erglog Erglog_Err Erglog_UL time_start_utc time_end_utc time_start_tt time_end_tt Fix index ULConfidenceLevel SrcLocConfLevel start_l start_b start_flux typefun par2 par3 galmode2 galmode2fit isomode2 isomode2fit edpcor fluxcor integratortype expratioEval expratio_minthr expratio_maxthr expratio_size Emin emax fovmin fovmax albedo binsize expstep phasecode fit_cts fit_fitstatus0 fit_fcn0 fit_edm0 fit_nvpar0 fit_nparx0 fit_iter0 fit_fitstatus1 fit_fcn1 fit_edm1 fit_nvpar1 fit_nparx1 fit_iter1 fit_Likelihood1 -55513.0 55514.0 4.32035 642.979e-08 232.549e-08 1180.75e-08 0.7 0 10.991 0.508972 85.9102 -37.9369 0.297486 86.2013 1.1427 1.08087 0.0702603 0.887659 1.1427 28.6357 3364190.0 0 21.631 7.82338 2.51349 0 0 0 0 0 1.03083e-09 3.72824e-10 1.89299e-09 2010-11-13T00:00:00.000 2010-11-14T00:00:00.000 216691200.0 216777600.0 3 2.51349 2 5.99147 86.1236 -38.1824 8.75337e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 58 0 182.447 1.18453e-09 1 8 25 0 173.114 6.88593e-07 2 8 25 226.956 -55514.0 55515.0 5.36336 786.759e-08 225.657e-08 1298.53e-08 0.7 0 5.54233 0.524937 85.5303 -37.8277 0.586852 85.2635 0.941887 1.19558 0.775158 1.35608 0.941887 14.6594 3535790.0 0 27.8182 7.97875 2.51349 0 0 0 0 0 1.26134e-09 3.61775e-10 2.08181e-09 2010-11-14T00:00:00.000 2010-11-15T00:00:00.000 216777600.0 216864000.0 3 2.51349 2 5.99147 86.1236 -38.1824 8.75337e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 46 0 152.285 2.30385e-10 1 8 30 0 137.902 1.83574e-09 2 8 30 183.902 -55515.0 55516.0 5.3458 944.251e-08 270.486e-08 1553.45e-08 0.7 0 12.6982 0.516907 86.0458 -38.325 0.155178 86.3895 1.03513 1.02488 0.458338 0.896505 1.03513 63.9542 3417240.0 0 32.2673 9.24315 2.51349 0 0 0 0 0 1.51383e-09 4.33645e-10 2.4905e-09 2010-11-15T00:00:00.000 2010-11-16T00:00:00.000 216864000.0 216950400.0 3 2.51349 2 5.99147 86.1236 -38.1824 8.75337e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 73 0 213.424 2.14724e-08 1 8 25 0 199.135 2.1518e-09 2 8 25 266.59 -55516.0 55517.0 5.46583 1003.54e-08 277.996e-08 1622.63e-08 0.7 0 13.2396 0.538427 86.4269 -37.9295 0.347829 86.2991 0.673445 0.842059 0.375079 0.941951 0.673445 74.8598 3559640.0 0 35.7224 9.89566 2.51349 0 0 0 0 0 1.60888e-09 4.45685e-10 2.60142e-09 2010-11-16T00:00:00.000 2010-11-17T00:00:00.000 216950400.0 217036800.0 3 2.51349 2 5.99147 86.1236 -38.1824 8.75337e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 80 0 227.167 2.47288e-07 1 8 25 0 212.229 5.3908e-09 2 8 25 285.297 -55517.0 55518.0 13.1053 3734.65e-08 531.808e-08 4880.65e-08 0.7 0 6.1927 0.499738 86.2441 -38.083 0.161214 86.2403 0.315681 0.353646 0.168543 0.341006 0.315681 -0.192557 2163990.0 0 80.8174 11.5082 2.07417 0 0 0 0 0 5.98742e-09 8.52597e-10 7.82469e-09 2010-11-17T00:00:00.000 2010-11-18T00:00:00.000 217036800.0 217123200.0 3 2.07417 2 5.99147 86.0861 -38.1857 4.31859e-05 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 89 0 264.492 4.85487e-10 1 8 32 0 178.617 8.39699e-07 2 8 32 237.476 -55518.0 55519.0 19.1765 4671.39e-08 427.706e-08 5570.3e-08 0.7 0 6.39072 0.437794 86.0691 -38.2228 0.0394434 86.0549 0.287045 0.263238 0.0898637 0.204302 0.287045 11.199 3811480.0 0 178.049 16.3019 2.07417 0 0 0 0 0 7.4892e-09 6.85702e-10 8.93033e-09 2010-11-18T00:00:00.000 2010-11-19T00:00:00.000 217123200.0 217209600.0 3 2.07417 2 5.99147 86.0861 -38.1857 4.31859e-05 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 190 0 451.806 3.6681e-10 1 8 27 0 267.937 4.56625e-12 2 8 27 364.096 -55519.0 55520.0 18.5179 4495.2e-08 443.196e-08 5429.8e-08 0.7 0 15.9092 0.433659 85.9694 -38.2509 0.112471 85.9189 0.281349 0.250222 0.151572 0.190268 0.281349 83.4971 3713430.0 0 166.926 16.4578 2.07417 0 0 0 0 0 7.20673e-09 7.10535e-10 8.7051e-09 2010-11-19T00:00:00.000 2010-11-20T00:00:00.000 217209600.0 217296000.0 3 2.07417 2 5.99147 86.0861 -38.1857 4.31859e-05 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 214 0 482.082 8.05123e-10 1 8 30 0 310.627 1.64936e-09 2 8 30 421.583 -55520.0 55521.0 19.3112 4666.43e-08 448.328e-08 5612.13e-08 0.7 0 7.78736 0.425641 86.1123 -38.1832 0.0207589 -1 -1 -1 -1 -1 -1 -1 3475880.0 0 162.199 15.5833 2.07417 0 0 0 0 0 7.48125e-09 7.18763e-10 8.9974e-09 2010-11-20T00:00:00.000 2010-11-21T00:00:00.000 217296000.0 217382400.0 3 2.07417 2 5.99147 86.0861 -38.1857 4.31859e-05 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 178 0 448.111 2.02693e-09 1 8 27 0 261.65 5.33366e-07 2 8 27 339.758 +time_start_mjd time_end_mjd sqrt(ts) flux flux_err flux_ul gal gal_error iso iso_error l_peak b_peak dist_peak l b r ell_dist a b phi exposure ExpRatio counts counts_err Index Index_Err Par2 Par2_Err Par3 Par3_Err Erglog Erglog_Err Erglog_UL time_start_utc time_end_utc time_start_tt time_end_tt Fix index ULConfidenceLevel SrcLocConfLevel start_l start_b start_flux typefun par2 par3 galmode2 galmode2fit isomode2 isomode2fit edpcor fluxcor integratortype expratioEval expratio_minthr expratio_maxthr expratio_size Emin emax fovmin fovmax albedo binsize expstep phasecode fit_cts fit_fitstatus0 fit_fcn0 fit_edm0 fit_nvpar0 fit_nparx0 fit_iter0 fit_fitstatus1 fit_fcn1 fit_edm1 fit_nvpar1 fit_nparx1 fit_iter1 fit_Likelihood1 +55513.0 55514.0 4.32035 642.979e-08 232.549e-08 1180.75e-08 0.7 0 10.991 0.508972 85.9102 -37.9369 0.297486 86.2013 1.1427 1.08087 0.0702603 0.887659 1.1427 28.6357 3364190.0 0 21.631 7.82338 2.51349 0 0 0 0 0 1.03083e-09 3.72824e-10 1.89299e-09 2010-11-13T00:00:00.000 2010-11-14T00:00:00.000 216691200.0 216777600.0 3 2.51349 2 5.99147 86.1236 -38.1824 8.75337e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 58 0 182.447 1.18453e-09 1 8 25 0 173.114 6.88593e-07 2 8 25 226.956 +55514.0 55515.0 5.36336 786.759e-08 225.657e-08 1298.53e-08 0.7 0 5.54233 0.524937 85.5303 -37.8277 0.586852 85.2635 0.941887 1.19558 0.775158 1.35608 0.941887 14.6594 3535790.0 0 27.8182 7.97875 2.51349 0 0 0 0 0 1.26134e-09 3.61775e-10 2.08181e-09 2010-11-14T00:00:00.000 2010-11-15T00:00:00.000 216777600.0 216864000.0 3 2.51349 2 5.99147 86.1236 -38.1824 8.75337e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 46 0 152.285 2.30385e-10 1 8 30 0 137.902 1.83574e-09 2 8 30 183.902 +55515.0 55516.0 5.3458 944.251e-08 270.486e-08 1553.45e-08 0.7 0 12.6982 0.516907 86.0458 -38.325 0.155178 86.3895 1.03513 1.02488 0.458338 0.896505 1.03513 63.9542 3417240.0 0 32.2673 9.24315 2.51349 0 0 0 0 0 1.51383e-09 4.33645e-10 2.4905e-09 2010-11-15T00:00:00.000 2010-11-16T00:00:00.000 216864000.0 216950400.0 3 2.51349 2 5.99147 86.1236 -38.1824 8.75337e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 73 0 213.424 2.14724e-08 1 8 25 0 199.135 2.1518e-09 2 8 25 266.59 +55516.0 55517.0 5.46583 1003.54e-08 277.996e-08 1622.63e-08 0.7 0 13.2396 0.538427 86.4269 -37.9295 0.347829 86.2991 0.673445 0.842059 0.375079 0.941951 0.673445 74.8598 3559640.0 0 35.7224 9.89566 2.51349 0 0 0 0 0 1.60888e-09 4.45685e-10 2.60142e-09 2010-11-16T00:00:00.000 2010-11-17T00:00:00.000 216950400.0 217036800.0 3 2.51349 2 5.99147 86.1236 -38.1824 8.75337e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 80 0 227.167 2.47288e-07 1 8 25 0 212.229 5.3908e-09 2 8 25 285.297 +55517.0 55518.0 13.1053 3734.65e-08 531.808e-08 4880.65e-08 0.7 0 6.1927 0.499738 86.2441 -38.083 0.161214 86.2403 0.315681 0.353646 0.168543 0.341006 0.315681 -0.192557 2163990.0 0 80.8174 11.5082 2.07417 0 0 0 0 0 5.98742e-09 8.52597e-10 7.82469e-09 2010-11-17T00:00:00.000 2010-11-18T00:00:00.000 217036800.0 217123200.0 3 2.07417 2 5.99147 86.0861 -38.1857 4.31859e-05 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 89 0 264.492 4.85487e-10 1 8 32 0 178.617 8.39699e-07 2 8 32 237.476 +55518.0 55519.0 19.1765 4671.39e-08 427.706e-08 5570.3e-08 0.7 0 6.39072 0.437794 86.0691 -38.2228 0.0394434 86.0549 0.287045 0.263238 0.0898637 0.204302 0.287045 11.199 3811480.0 0 178.049 16.3019 2.07417 0 0 0 0 0 7.4892e-09 6.85702e-10 8.93033e-09 2010-11-18T00:00:00.000 2010-11-19T00:00:00.000 217123200.0 217209600.0 3 2.07417 2 5.99147 86.0861 -38.1857 4.31859e-05 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 190 0 451.806 3.6681e-10 1 8 27 0 267.937 4.56625e-12 2 8 27 364.096 +55519.0 55520.0 18.5179 4495.2e-08 443.196e-08 5429.8e-08 0.7 0 15.9092 0.433659 85.9694 -38.2509 0.112471 85.9189 0.281349 0.250222 0.151572 0.190268 0.281349 83.4971 3713430.0 0 166.926 16.4578 2.07417 0 0 0 0 0 7.20673e-09 7.10535e-10 8.7051e-09 2010-11-19T00:00:00.000 2010-11-20T00:00:00.000 217209600.0 217296000.0 3 2.07417 2 5.99147 86.0861 -38.1857 4.31859e-05 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 214 0 482.082 8.05123e-10 1 8 30 0 310.627 1.64936e-09 2 8 30 421.583 +55520.0 55521.0 19.3112 4666.43e-08 448.328e-08 5612.13e-08 0.7 0 7.78736 0.425641 86.1123 -38.1832 0.0207589 -1 -1 -1 -1 -1 -1 -1 3475880.0 0 162.199 15.5833 2.07417 0 0 0 0 0 7.48125e-09 7.18763e-10 8.9974e-09 2010-11-20T00:00:00.000 2010-11-21T00:00:00.000 217296000.0 217382400.0 3 2.07417 2 5.99147 86.0861 -38.1857 4.31859e-05 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 50000 0 60 80 0.5 0 6 178 0 448.111 2.02693e-09 1 8 27 0 261.65 5.33366e-07 2 8 27 339.758diff --git a/docs/source/_static/notebooks/BayesianBlocks_tutorial.html b/docs/source/_static/notebooks/BayesianBlocks_tutorial.html new file mode 100644 index 00000000..3b69cc7c --- /dev/null +++ b/docs/source/_static/notebooks/BayesianBlocks_tutorial.html @@ -0,0 +1,16460 @@ + + + + + +BayesianBlocks_tutorial + + + + + + + + + + + + + + + + + + + + + + +++++++++++Bayesian Blocks Analysis on a Light Curve¶
+++++++++++Bayesian Blocks, provide an adaptive, data-driven method for optimal segmentation of time series or event data. +Instead of relying on fixed bin sizes, Bayesian Blocks dynamically determine change points in the data, dividing it into piecewise constant segments (blocks) that best represent the structure of the signal. +We follow the formalization of Scargle et al. (2013).
+Key features of the Bayesian Blocks algorithm include:
++
+ +- Model selection via Bayesian inference: The algorithm selects the most probable segmentation under a Bayesian framework, balancing goodness-of-fit with model complexity.
+- Applicability to different data modes: It works with event data (e.g., photon arrival times), regularly sampled time series, and point measurements with errors.
+- Non-parametric nature: The method does not assume a particular functional form for the signal, making it robust and flexible.
+++++++++++
Agilepyimplements aAGBayesianBlocksclass that works with:+
+- Binned data, i.e. Light Curves. Input data can be provided in 3 different formats: the agile Aperture Photometry Light Curve format, the agile Maximum Likelihood Light Curve format, a custom light curve format.
+- Unbinned data, i.e. a list of arrival times of detected photons.
+The Bayesian Blocks algorithm has the following steps:
++
+- Prepare a
+YAMLconfiguration file forAGBayesianBlocks. You can do it manually or by usingAGBayesianBlocks.getConfiguration().- Define a
+AGBayesianBlocksobject, and load the data withAGBayesianBlocks.selectEvents().- Compute the Bayesian blocks with
+AGBayesianBlocks.bayesianBlocks().Note: the custom light curve format is a text file with three columns: bin start time, bin stop times, flux. +Columns do not need an header and must be separated by white spaces.
+ +++++ +++++In [44]:++++++ +# Import the relevant classes +import agilepy + +from agilepy.api.AGBayesianBlocks import AGBayesianBlocks ++++++++++Bayesian Blocks on Aperture Photometry Light Curves¶
Aperture Photometry Light Curves can be obtained with
+AGAnalysis.aperturePhotometry().They are text files with no header and 4 columns separated by white spaces: bin start time, bin stop time, on-source exposure, on-source counts.
+ +++++ +++++In [45]:++++++ +# Prepare the Configuration File. +# You can create it manually or use AGBayesianBlocks.getConfiguration + +outputDir_ap = "/home/flareadvocate/workspace/shared_dir/" +confFilePath_ap = "/home/flareadvocate/workspace/shared_dir/tutorial_bb_ap.yaml" + +AGBayesianBlocks.getConfiguration(confFilePath=confFilePath_ap, + outputDir=outputDir_ap, + userName="my-name", + sourceName="bb-source", + verboselvl=0, + filePath="$AGILE/agilepy-test-data/bayesian_blocks/3C454.3_2010flare_86400s.ap", + fileMode="AGILE_AP", + tstart="null", + tstop="null", + rateCorrection=0, + fitness="events", + gamma=0.35, + p0="null", + useerror="true" + ) ++++++++++The
+YAMLfile has the following sections and field:+
+ +- +
output: common to allagilepyclasses, sets the output fields- +
selection: include arguments used byAGBayesianBlocks.selectEvents()used to prepare the data:+
+- +
filePath: path to the input file- +
fileMode: defines the input file format:AGILE_AP,AGILE_MLE,CUSTOM_LC(binned) orAGILE_PH(unbinned).- +
tstart,tstop: start and stop times for data selection within the input file. ForAGILE_APandAGILE_MLEmust be inMJDformat, forCUSTOM_LC,AGILE_PHin the same time format of the times provided.- +
ratecorrection: the Bayesian Blocks algorithm works with integers, so fluxes need a correction factor for a correct statistical treatment. If 0 (default), the correction factor is the mean exposure. If a float is provided it will be applied as a correction factor for the flux. If -1, the algorithm will work with counts instead of fluxes.- +
bayesianblocks: arguments used byAGBayesianBlocks.bayesianBlocks()to compute the blocks:+
+- +
fitness: set the type of algorithm. Possible values areevents(binned light curve or unbinned event data),measures(sequence of flux measurements with Gaussian errors),regular_events(0/1 data measured regularly).- +
useerror: boolean to include errors in the computation of the blocks.- +
gamma,p0: arguments on the prior.p0, suggested for unbinned data, gives the false alarm probability to compute the prior.gamma, suggested for binned data, gives the slope of the prior on the number of bins.+++ +++++In [46]:++++++ +# Create the AGBayesianBlocks object +ag_bb_ap = AGBayesianBlocks(confFilePath_ap) +++ +++ + +++ ++ + + + ++ +++Log level set to WARNING and output to /home/flareadvocate/workspace/shared_dir/my-name_bb-source_20250622-124548/logs +++++ +++++In [47]:++++++ +# You can Use the setOptions() method to change the configuration, e.g.: +ag_bb_ap.setOptions(gamma=0.35) + +# Check configuration. +ag_bb_ap.printOptions() +++ +++ + +++ ++ + + + ++ +++{ 'bayesianblocks': { 'fitness': 'events', + 'gamma': 0.35, + 'p0': None, + 'useerror': True}, + 'output': { 'filenameprefix': 'analysis_product', + 'outdir': PosixPath('/home/flareadvocate/workspace/shared_dir/my-name_bb-source_20250622-124548'), + 'sourcename': 'bb-source', + 'username': 'my-name', + 'verboselvl': 0}, + 'selection': { 'file_mode': 'AGILE_AP', + 'file_path': '/home/flareadvocate/agiletools/agilepy-test-data/bayesian_blocks/3C454.3_2010flare_86400s.ap', + 'ratecorrection': 0, + 'tstart': None, + 'tstop': None}} +++++ +++++In [48]:++++++ +# Select Events +# If no argument is provided, they are read from the configuration file. +ag_bb_ap.selectEvents() +++ +++ + +++ ++ + + + ++ +++Select Events. FileMode=AGILE_AP, DataMode=BINNED +Read input file /home/flareadvocate/agiletools/agilepy-test-data/bayesian_blocks/3C454.3_2010flare_86400s.ap +Time Range selected (MJD): 55497.0-55562.0 +Total number of rows selected (no zero-exposure): 65 +Total number of counts selected (no zero-exposure): 1889 +Apply Bayesian Blocks on AP FLUX (= CTS/EXP) scaled to integers with a mean exposure factor=4.54e+06 +++++ +++++In [49]:++++++ +# You can Inspect the selected data with getDataIn() +selected_events_ap = ag_bb_ap.getDataIn() ++++ +++++In [50]:++++++ +# Print +display(selected_events_ap) + +# Plot the Data +ag_bb_ap.plotBayesianBlocks() +++ +++ + +++ ++ + + + + + ++++ +{'x': array([ 10, 15, 13, 10, 10, 18, 13, 16, 14, 19, 16, 21, 11, + 14, 8, 13, 11, 17, 17, 22, 82, 107, 104, 102, 52, 26, + 43, 32, 30, 36, 44, 43, 40, 35, 33, 30, 29, 25, 18, + 18, 16, 23, 17, 21, 23, 26, 32, 28, 16, 32, 40, 26, + 34, 46, 34, 29, 31, 25, 27, 12, 20, 15, 15, 15, 13]), + 't': array([2.153520e+08, 2.154384e+08, 2.155248e+08, 2.156112e+08, + 2.156976e+08, 2.157840e+08, 2.158704e+08, 2.159568e+08, + 2.160432e+08, 2.161296e+08, 2.162160e+08, 2.163024e+08, + 2.163888e+08, 2.164752e+08, 2.165616e+08, 2.166480e+08, + 2.167344e+08, 2.168208e+08, 2.169072e+08, 2.169936e+08, + 2.170800e+08, 2.171664e+08, 2.172528e+08, 2.173392e+08, + 2.174256e+08, 2.175120e+08, 2.175984e+08, 2.176848e+08, + 2.177712e+08, 2.178576e+08, 2.179440e+08, 2.180304e+08, + 2.181168e+08, 2.182032e+08, 2.182896e+08, 2.183760e+08, + 2.184624e+08, 2.185488e+08, 2.186352e+08, 2.187216e+08, + 2.188080e+08, 2.188944e+08, 2.189808e+08, 2.190672e+08, + 2.191536e+08, 2.192400e+08, 2.193264e+08, 2.194128e+08, + 2.194992e+08, 2.195856e+08, 2.196720e+08, 2.197584e+08, + 2.198448e+08, 2.199312e+08, 2.200176e+08, 2.201040e+08, + 2.201904e+08, 2.202768e+08, 2.203632e+08, 2.204496e+08, + 2.205360e+08, 2.206224e+08, 2.207088e+08, 2.207952e+08, + 2.208816e+08]), + 'sigma': array([ 3.16227766, 3.87298335, 3.60555128, 3.16227766, 3.16227766, + 4.24264069, 3.60555128, 4. , 3.74165739, 4.35889894, + 4. , 4.58257569, 3.31662479, 3.74165739, 2.82842712, + 3.60555128, 3.31662479, 4.12310563, 4.12310563, 4.69041576, + 9.05538514, 10.34408043, 10.19803903, 10.09950494, 7.21110255, + 5.09901951, 6.55743852, 5.65685425, 5.47722558, 6. , + 6.63324958, 6.55743852, 6.32455532, 5.91607978, 5.74456265, + 5.47722558, 5.38516481, 5. , 4.24264069, 4.24264069, + 4. , 4.79583152, 4.12310563, 4.58257569, 4.79583152, + 5.09901951, 5.65685425, 5.29150262, 4. , 5.65685425, + 6.32455532, 5.09901951, 5.83095189, 6.78232998, 5.83095189, + 5.38516481, 5.56776436, 5. , 5.19615242, 3.46410162, + 4.47213595, 3.87298335, 3.87298335, 3.87298335, 3.60555128]), + 'dt': 86400.0, + 'datamode': 2, + 't_delta': array([86400., 86400., 86400., 86400., 86400., 86400., 86400., 86400., + 86400., 86400., 86400., 86400., 86400., 86400., 86400., 86400., + 86400., 86400., 86400., 86400., 86400., 86400., 86400., 86400., + 86400., 86400., 86400., 86400., 86400., 86400., 86400., 86400., + 86400., 86400., 86400., 86400., 86400., 86400., 86400., 86400., + 86400., 86400., 86400., 86400., 86400., 86400., 86400., 86400., + 86400., 86400., 86400., 86400., 86400., 86400., 86400., 86400., + 86400., 86400., 86400., 86400., 86400., 86400., 86400., 86400., + 86400.]), + 'cts': array([ 5, 9, 9, 7, 7, 13, 10, 13, 12, 16, 14, 19, 10, + 13, 8, 13, 11, 17, 16, 22, 48, 110, 104, 96, 53, 17, + 47, 33, 32, 27, 48, 49, 44, 38, 36, 33, 35, 30, 21, + 21, 19, 28, 20, 25, 27, 30, 38, 36, 20, 38, 50, 31, + 44, 49, 42, 35, 29, 29, 31, 15, 23, 15, 16, 17, 16]), + 'exp': array([2101588.49, 2597493.05, 2979020.64, 3084947.99, 3148670.51, + 3225841.22, 3401596.4 , 3526623.34, 3695355.99, 3799344.2 , + 3877861.81, 3926297.66, 4041705.14, 4034194.55, 4409486.21, + 4475049.98, 4239884.88, 4304468.34, 4236756.37, 4399808.92, + 2626440.97, 4631478.27, 4526426.58, 4256707.12, 4573918.01, + 2888742.28, 4924013.38, 4633562.25, 4745339.52, 3350976.14, + 4941008.25, 5093324.51, 4909419.86, 4808191.84, 4888839.72, + 4951293.57, 5308416.34, 5327580.8 , 5069708.45, 5204493.75, + 5320259.72, 5351863.22, 5100026.2 , 5228994.2 , 5198898.16, + 5234436.05, 5391584.13, 5681692.15, 5498660.5 , 5301896.47, + 5544937.71, 5215427.53, 5715002.58, 4812586.15, 5595445.37, + 5430229.6 , 4226018.21, 5221943.42, 5160905.07, 5286271.63, + 5198024.96, 4439673.36, 4555862.44, 4863760.09, 5404708.57]), + 'data_cells': array([2.153088e+08, 2.153952e+08, 2.154816e+08, 2.155680e+08, + 2.156544e+08, 2.157408e+08, 2.158272e+08, 2.159136e+08, + 2.160000e+08, 2.160864e+08, 2.161728e+08, 2.162592e+08, + 2.163456e+08, 2.164320e+08, 2.165184e+08, 2.166048e+08, + 2.166912e+08, 2.167776e+08, 2.168640e+08, 2.169504e+08, + 2.170368e+08, 2.171232e+08, 2.172096e+08, 2.172960e+08, + 2.173824e+08, 2.174688e+08, 2.175552e+08, 2.176416e+08, + 2.177280e+08, 2.178144e+08, 2.179008e+08, 2.179872e+08, + 2.180736e+08, 2.181600e+08, 2.182464e+08, 2.183328e+08, + 2.184192e+08, 2.185056e+08, 2.185920e+08, 2.186784e+08, + 2.187648e+08, 2.188512e+08, 2.189376e+08, 2.190240e+08, + 2.191104e+08, 2.191968e+08, 2.192832e+08, 2.193696e+08, + 2.194560e+08, 2.195424e+08, 2.196288e+08, 2.197152e+08, + 2.198016e+08, 2.198880e+08, 2.199744e+08, 2.200608e+08, + 2.201472e+08, 2.202336e+08, 2.203200e+08, 2.204064e+08, + 2.204928e+08, 2.205792e+08, 2.206656e+08, 2.207520e+08, + 2.208384e+08, 2.209248e+08]), + 'rate': array([2.37915273e-06, 3.46487934e-06, 3.02112710e-06, 2.26908201e-06, + 2.22316053e-06, 4.02995656e-06, 2.93979615e-06, 3.68624567e-06, + 3.24731908e-06, 4.21125309e-06, 3.61023695e-06, 4.83916444e-06, + 2.47420325e-06, 3.22245242e-06, 1.81427033e-06, 2.90499549e-06, + 2.59441006e-06, 3.94938437e-06, 3.77647393e-06, 5.00021715e-06, + 1.82756820e-05, 2.37505163e-05, 2.29761818e-05, 2.25526439e-05, + 1.15874399e-05, 5.88491404e-06, 9.54505936e-06, 7.12195029e-06, + 6.74345847e-06, 8.05735370e-06, 9.71461644e-06, 9.62043551e-06, + 8.96236241e-06, 7.90317884e-06, 7.36371042e-06, 6.66492494e-06, + 6.59330349e-06, 5.63107368e-06, 4.14225003e-06, 4.03497458e-06, + 3.57125422e-06, 5.23182280e-06, 3.92154848e-06, 4.78103418e-06, + 5.19340814e-06, 5.73127644e-06, 7.04802134e-06, 6.33614055e-06, + 3.63724947e-06, 7.16724670e-06, 9.01723385e-06, 5.94390389e-06, + 7.69903414e-06, 1.01816359e-05, 7.50610492e-06, 6.44539966e-06, + 6.86225155e-06, 5.55348798e-06, 6.00669836e-06, 2.83753864e-06, + 4.42475751e-06, 3.37862694e-06, 3.51195854e-06, 3.49523819e-06, + 2.96038164e-06])}++ + + + ++++2025-06-22 12:45:48 | WARNING | agilepy.api.AGBayesianBlocks.AGBayesianBlocks | Bayesian Blocks not computed yet. Plotting only data... | (AGBayesianBlocks.py:255) +++ + + + + ++ +++ +++++ +++++In [51]:++++++ +# Compute Bayesian Blocks +ag_bb_ap.bayesianBlocks() +++ +++ + +++ ++ + + + ++ +++/home/flareadvocate/Agilepy/agilepy/external_packages/BBrta/python_code/bayesian_blocks.py:756: RuntimeWarning: + +divide by zero encountered in scalar divide + +++++ +++++In [52]:++++++ +# You can Inspect the results with getDataout() +blocks_computed_ap = ag_bb_ap.getDataOut() ++++ +++++In [53]:++++++ +# Print +display(blocks_computed_ap.keys()) +display(len(blocks_computed_ap['data_cells'])) +display(len(blocks_computed_ap['blockrate'])) +display(blocks_computed_ap['N_change_points']) + +display(blocks_computed_ap) +++ +++ + +++ ++ + + + + + ++++ +dict_keys(['data_cells', 'ncp_prior', 'N', 'change_points', 'edge_points', 'N_data_cells', 'N_change_points', 'edge_vec', 'sum_blocks', 'mean_blocks', 'dt_event_vec', 'dt_block_vec', 'blockrate', 'blockrate2', 'eventrate'])++ + + + + + ++++ +66++ + + + + + ++++ +17++ + + + + + ++++ +16++ + + + + + ++ +++ +{'data_cells': array([2.153088e+08, 2.153952e+08, 2.154816e+08, 2.155680e+08, + 2.156544e+08, 2.157408e+08, 2.158272e+08, 2.159136e+08, + 2.160000e+08, 2.160864e+08, 2.161728e+08, 2.162592e+08, + 2.163456e+08, 2.164320e+08, 2.165184e+08, 2.166048e+08, + 2.166912e+08, 2.167776e+08, 2.168640e+08, 2.169504e+08, + 2.170368e+08, 2.171232e+08, 2.172096e+08, 2.172960e+08, + 2.173824e+08, 2.174688e+08, 2.175552e+08, 2.176416e+08, + 2.177280e+08, 2.178144e+08, 2.179008e+08, 2.179872e+08, + 2.180736e+08, 2.181600e+08, 2.182464e+08, 2.183328e+08, + 2.184192e+08, 2.185056e+08, 2.185920e+08, 2.186784e+08, + 2.187648e+08, 2.188512e+08, 2.189376e+08, 2.190240e+08, + 2.191104e+08, 2.191968e+08, 2.192832e+08, 2.193696e+08, + 2.194560e+08, 2.195424e+08, 2.196288e+08, 2.197152e+08, + 2.198016e+08, 2.198880e+08, 2.199744e+08, 2.200608e+08, + 2.201472e+08, 2.202336e+08, 2.203200e+08, 2.204064e+08, + 2.204928e+08, 2.205792e+08, 2.206656e+08, 2.207520e+08, + 2.208384e+08, 2.209248e+08]), + 'ncp_prior': 1.0498221244986778, + 'N': 65, + 'change_points': [5, + 12, + 17, + 20, + 21, + 24, + 25, + 26, + 35, + 38, + 45, + 48, + 49, + 53, + 54, + 59], + 'edge_points': array([2.157408e+08, 2.163456e+08, 2.167776e+08, 2.170368e+08, + 2.171232e+08, 2.173824e+08, 2.174688e+08, 2.175552e+08, + 2.183328e+08, 2.185920e+08, 2.191968e+08, 2.194560e+08, + 2.195424e+08, 2.198880e+08, 2.199744e+08, 2.204064e+08]), + 'N_data_cells': 65, + 'N_change_points': 16, + 'edge_vec': array([2.204064e+08, 2.204928e+08, 2.205792e+08, 2.206656e+08, + 2.207520e+08, 2.208384e+08, 2.209248e+08]), + 'sum_blocks': array([ 58., 117., 57., 56., 82., 313., 52., 26., 336., 84., 136., + 86., 16., 132., 46., 146., 90.]), + 'mean_blocks': array([ 11.6 , 16.71428571, 11.4 , 18.66666667, + 82. , 104.33333333, 52. , 26. , + 37.33333333, 28. , 19.42857143, 28.66666667, + 16. , 33. , 46. , 29.2 , + 15. ]), + 'dt_event_vec': array([345600., 518400., 345600., 172800., 0., 172800., 0., + 0., 691200., 172800., 518400., 172800., 0., 259200., + 0., 345600., 432000.]), + 'dt_block_vec': array([432000., 604800., 432000., 259200., 86400., 259200., 86400., + 86400., 777600., 259200., 604800., 259200., 86400., 345600., + 86400., 432000., 518400.]), + 'blockrate': array([0.00013426, 0.00019345, 0.00013194, 0.00021605, 0.00094907, + 0.00120756, 0.00060185, 0.00030093, 0.0004321 , 0.00032407, + 0.00022487, 0.00033179, 0.00018519, 0.00038194, 0.00053241, + 0.00033796, 0.00017361]), + 'blockrate2': array([2.67148034e-06, 3.79485313e-06, 2.60206631e-06, 4.24202515e-06, + 1.82756820e-05, 2.30931140e-05, 1.15874399e-05, 5.88491404e-06, + 8.33690283e-06, 6.29643404e-06, 4.41089892e-06, 6.37181277e-06, + 3.63724947e-06, 7.45685465e-06, 1.01816359e-05, 6.47478849e-06, + 3.43475024e-06]), + 'eventrate': array([0.00016782, 0.00022569, 0.00016493, 0.00032407, inf, + 0.00181134, inf, inf, 0.00048611, 0.00048611, + 0.00026235, 0.00049769, inf, 0.00050926, inf, + 0.00042245, 0.00020833])}+++++ +++++In [54]:++++++ +# Plot +ag_bb_ap.plotBayesianBlocks(saveImage=False, plotRate=True, plotDataCells=True) +++ +++ + +++ ++ + + + + ++ +++ +++++++++++Bayesian Blocks on Maximum Likelihood Light Curves¶
Maximum Likelihood Light Curves can be obtained with
+AGAnalysis.lightCurve().They are text files with header and multiple columns separated by white spaces.
+ ++++ +++++In [55]:++++++ +# Prepare the Configuration File. +# You can create it manually or use AGBayesianBlocks.getConfiguration + +outputDir_mle = "/home/flareadvocate/workspace/shared_dir/" +confFilePath_mle = "/home/flareadvocate/workspace/shared_dir/tutorial_bb_mle.yaml" + +AGBayesianBlocks.getConfiguration(confFilePath=confFilePath_mle, + outputDir=outputDir_mle, + userName="my-name", + sourceName="bb-source", + verboselvl=0, + filePath="$AGILE/agilepy-test-data/bayesian_blocks/3C454.3_2010flare_86400s_lc_mle.txt", + fileMode="AGILE_MLE", + tstart="null", + tstop="null", + rateCorrection=0, + fitness="events", + gamma=0.35, + p0="null", + useerror="true" + ) ++++ +++++In [56]:++++++ +# Create the AGBayesianBlocks object +ag_bb_mle = AGBayesianBlocks(confFilePath_mle) + +# You can Use the setOptions() method to change the configuration, e.g.: +# ag_bb_mle.setOptions(gamma=0.35) + +# Check configuration. +ag_bb_mle.printOptions() +++ +++ + +++ ++ + + + ++ +++Log level set to WARNING and output to /home/flareadvocate/workspace/shared_dir/my-name_bb-source_20250622-124552/logs +{ 'bayesianblocks': { 'fitness': 'events', + 'gamma': 0.35, + 'p0': None, + 'useerror': True}, + 'output': { 'filenameprefix': 'analysis_product', + 'outdir': PosixPath('/home/flareadvocate/workspace/shared_dir/my-name_bb-source_20250622-124552'), + 'sourcename': 'bb-source', + 'username': 'my-name', + 'verboselvl': 0}, + 'selection': { 'file_mode': 'AGILE_MLE', + 'file_path': '/home/flareadvocate/agiletools/agilepy-test-data/bayesian_blocks/3C454.3_2010flare_86400s_lc_mle.txt', + 'ratecorrection': 0, + 'tstart': None, + 'tstop': None}} +++++ +++++In [57]:++++++ +# Select Events +ag_bb_mle.selectEvents() +# Inspect +selected_events_mle = ag_bb_mle.getDataIn() +++ +++ + +++ ++ + + + ++ +++Select Events. FileMode=AGILE_MLE, DataMode=BINNED +Read input file /home/flareadvocate/agiletools/agilepy-test-data/bayesian_blocks/3C454.3_2010flare_86400s_lc_mle.txt +Time Range selected (MJD): 55510.0-55530.0 +Total number of rows selected (no zero-exposure, 3sigma): 20 +Total number of source photons selected (no zero-exposure, sqrt(ts)>3): 1208.8043 +Apply Bayesian Blocks on MLE FLUX scaled to integers with a mean exposure factor=3.54e+06 +++++ +++++In [58]:++++++ +# Compute Bayesian Blocks +ag_bb_mle.bayesianBlocks() +# Inspect +blocks_computed_mle = ag_bb_mle.getDataOut() +++ +++ + +++ ++ + + + ++ +++/home/flareadvocate/Agilepy/agilepy/external_packages/BBrta/python_code/bayesian_blocks.py:756: RuntimeWarning: + +divide by zero encountered in scalar divide + ++++++ +++++In [59]:++++++ +# Print +display(blocks_computed_mle['N_change_points']) + +# Plot +ag_bb_mle.plotBayesianBlocks(saveImage=False, plotRate=True, plotDataCells=True) +++ +++ + +++ ++ + + + + + ++++ +8++ + + + + ++ +++ +++++++++++Bayesian Blocks on Photon Lists¶
Photon list files are text files separated by whitespaces where the first column is the photon arrival times. +Please perform any other selection (e.g. position, energy, data quality) beforehand.
+ ++++ +++++In [60]:++++++ +# Prepare the Configuration File. +# You can create it manually or use AGBayesianBlocks.getConfiguration + +outputDir_ph = "/home/flareadvocate/workspace/shared_dir/" +confFilePath_ph = "/home/flareadvocate/workspace/shared_dir/tutorial_bb_ph.yaml" +filePath_ph = agilepy.__path__[0]+"/testing/unittesting/api/data/test_data.ph" + +AGBayesianBlocks.getConfiguration(confFilePath=confFilePath_ph, + outputDir=outputDir_ph, + userName="my-name", + sourceName="bb-source", + verboselvl=0, + filePath=filePath_ph, + fileMode="AGILE_PH", + tstart="null", + tstop="null", + rateCorrection=0, + fitness="events", + gamma="null", + p0=0.5, + useerror="true" + ) ++++ +++++In [61]:++++++ +# Create the AGBayesianBlocks object +ag_bb_ph = AGBayesianBlocks(confFilePath_ph) + +# Check configuration. +ag_bb_ph.printOptions() +++ +++ + +++ ++ + + + ++ +++Log level set to WARNING and output to /home/flareadvocate/workspace/shared_dir/my-name_bb-source_20250622-124553/logs +{ 'bayesianblocks': { 'fitness': 'events', + 'gamma': None, + 'p0': 0.5, + 'useerror': True}, + 'output': { 'filenameprefix': 'analysis_product', + 'outdir': PosixPath('/home/flareadvocate/workspace/shared_dir/my-name_bb-source_20250622-124553'), + 'sourcename': 'bb-source', + 'username': 'my-name', + 'verboselvl': 0}, + 'selection': { 'file_mode': 'AGILE_PH', + 'file_path': '/home/flareadvocate/Agilepy/agilepy/testing/unittesting/api/data/test_data.ph', + 'ratecorrection': 0, + 'tstart': None, + 'tstop': None}} +++++ +++++In [62]:++++++ +# Select Events +ag_bb_ph.selectEvents() + +# Inspect +selected_events_ph = ag_bb_ph.getDataIn() +++ +++ + +++ ++ + + + ++ +++Select Events. FileMode=AGILE_PH, DataMode=UNBINNED +Read input file /home/flareadvocate/Agilepy/agilepy/testing/unittesting/api/data/test_data.ph +Number of photons selected: 1285 +++++ +++++In [63]:++++++ +# Compute Bayesian Blocks +ag_bb_ph.bayesianBlocks() + +# Inspect +blocks_computed_ph = ag_bb_ph.getDataOut() ++++ +++++In [64]:++++++ +# Print +display(blocks_computed_ph['N_change_points']) + +# Plot +ag_bb_ph.plotBayesianBlocks(saveImage=False, plotRate=True) +++ +++ + +++ ++ + + + + + ++++ +2++ + + + + ++ +++ ++++ + + + + + + + + diff --git a/docs/source/_static/notebooks/PKS1510-089_2009.html b/docs/source/_static/notebooks/PKS1510-089_2009.html index 88210479..a02c65bf 100644 --- a/docs/source/_static/notebooks/PKS1510-089_2009.html +++ b/docs/source/_static/notebooks/PKS1510-089_2009.html @@ -14886,7 +14886,6 @@++ +++++In [ ]:++++++ ++Obtaining the AGAnalysis objectLight curve with default tmin an
-diff --git a/docs/source/_static/notebooks/Ratemeters_tutorial.html b/docs/source/_static/notebooks/Ratemeters_tutorial.html new file mode 100644 index 00000000..5d47d1b1 --- /dev/null +++ b/docs/source/_static/notebooks/Ratemeters_tutorial.html @@ -0,0 +1,16344 @@ + + + + + +time_start_mjd time_end_mjd sqrt(ts) flux flux_err flux_ul gal gal_error iso iso_error l_peak b_peak dist_peak l b r ell_dist a b phi exposure ExpRatio counts counts_err Index Index_Err Par2 Par2_Err Par3 Par3_Err Erglog Erglog_Err Erglog_UL time_start_utc time_end_utc time_start_tt time_end_tt Fix index ULConfidenceLevel SrcLocConfLevel start_l start_b start_flux typefun par2 par3 galmode2 galmode2fit isomode2 isomode2fit edpcor fluxcor integratortype expratioEval expratio_minthr expratio_maxthr expratio_size Emin emax fovmin fovmax albedo binsize expstep phasecode fit_cts fit_fitstatus0 fit_fcn0 fit_edm0 fit_nvpar0 fit_nparx0 fit_iter0 fit_fitstatus1 fit_fcn1 fit_edm1 fit_nvpar1 fit_nparx1 fit_iter1 fit_Likelihood1 -54891.0 54892.0 0 0 28.7323e-08 64.2527e-08 0.7 0 10.579 0.000710945 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 15327000.0 0 0 4.40381 2.07581 0 0 0 0 0 0 4.6436e-11 1.03843e-10 2009-03-01T00:00:00.000 2009-03-02T00:00:00.000 162950400.0 163036800.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 171 0 358.338 1.4748e-15 1 8 29 0 358.338 3.68435e-10 2 8 29 514.089 -54901.0 54902.0 4.05475 199.692e-08 71.3328e-08 363.143e-08 0.7 0 9.55789 0.38845 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 11588200.0 0 23.1407 8.26618 2.07581 0 0 0 0 0 3.22735e-10 1.15285e-10 5.86897e-10 2009-03-11T00:00:00.000 2009-03-12T00:00:00.000 163814400.0 163900800.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 138 0 321.762 2.56683e-17 1 8 33 0 313.542 4.09373e-09 2 8 33 434.383 -54902.0 54903.0 8.05892 418.403e-08 82.3936e-08 598.618e-08 0.7 0 10.5869 0.382312 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 14133400.0 0 59.1346 11.645 2.07581 0 0 0 0 0 6.76207e-10 1.33161e-10 9.67464e-10 2009-03-12T00:00:00.000 2009-03-13T00:00:00.000 163900800.0 163987200.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 212 0 409.112 5.83254e-16 1 8 31 0 376.638 6.19148e-09 2 8 31 553.274 -54903.0 54904.0 7.79947 392.171e-08 81.0723e-08 570.322e-08 0.7 0 12.0593 0.358571 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 13751600.0 0 53.9297 11.1487 2.07581 0 0 0 0 0 6.33812e-10 1.31026e-10 9.21733e-10 2009-03-13T00:00:00.000 2009-03-14T00:00:00.000 163987200.0 164073600.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 223 0 426.687 3.13691e-15 1 8 31 0 396.272 1.90977e-09 2 8 31 577.499 -54904.0 54905.0 3.53833 142.073e-08 56.3876e-08 272.802e-08 0.7 0 9.8424 0.341388 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 13502200.0 0 19.1829 7.61356 2.07581 0 0 0 0 0 2.29613e-10 9.11315e-11 4.40893e-10 2009-03-14T00:00:00.000 2009-03-15T00:00:00.000 164073600.0 164160000.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 159 0 333.967 2.42382e-15 1 8 31 0 327.707 1.2984e-06 2 8 31 481.161 -54905.0 54906.0 3.56163 171.527e-08 65.8813e-08 322.337e-08 0.7 0 13.0983 0.354841 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 12904700.0 0 22.135 8.50177 2.07581 0 0 0 0 0 2.77216e-10 1.06475e-10 5.20949e-10 2009-03-15T00:00:00.000 2009-03-16T00:00:00.000 164160000.0 164246400.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 196 0 383.827 1.56898e-14 1 8 43 0 377.484 5.15399e-10 2 8 43 555.802 -54906.0 54907.0 2.62596 105.855e-08 55.3878e-08 238.8e-08 0.7 0 13.6628 0.312759 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 12575300.0 0 13.3116 6.96517 2.07581 0 0 0 0 0 1.71079e-10 8.95156e-11 3.85939e-10 2009-03-16T00:00:00.000 2009-03-17T00:00:00.000 164246400.0 164332800.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 190 0 388.281 6.14462e-16 1 8 31 0 384.833 1.47379e-07 2 8 31 546.584 -54907.0 54908.0 3.53062 141.11e-08 58.832e-08 280.348e-08 0.7 0 9.74173 0.335196 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 12076400.0 0 17.041 7.10479 2.07581 0 0 0 0 0 2.28057e-10 9.50819e-11 4.53087e-10 2009-03-17T00:00:00.000 2009-03-18T00:00:00.000 164332800.0 164419200.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 141 0 319.023 6.71121e-16 1 8 31 0 312.79 1.19586e-06 2 8 31 444.086 -54908.0 54909.0 5.21521 272.509e-08 76.7815e-08 444.481e-08 0.7 0 10.8178 0.371848 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 12029000.0 0 32.7799 9.23601 2.07581 0 0 0 0 0 4.40418e-10 1.24091e-10 7.18353e-10 2009-03-18T00:00:00.000 2009-03-19T00:00:00.000 164419200.0 164505600.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 165 0 362.353 6.56599e-17 1 8 31 0 348.754 1.71679e-09 2 8 31 489.664 -54909.0 54910.0 6.78882 420.475e-08 96.1237e-08 632.567e-08 0.7 0 11.7296 0.421565 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 11751700.0 0 49.413 11.2962 2.07581 0 0 0 0 0 6.79555e-10 1.55352e-10 1.02233e-09 2009-03-19T00:00:00.000 2009-03-20T00:00:00.000 164505600.0 164592000.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 187 0 389.913 1.23565e-15 1 8 31 0 366.869 5.42187e-08 2 8 31 524.233 -54910.0 54911.0 5.45734 277.593e-08 78.1827e-08 453.512e-08 0.7 0 7.7002 0.389604 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 10991400.0 0 30.5114 8.5934 2.07581 0 0 0 0 0 4.48635e-10 1.26356e-10 7.32949e-10 2009-03-20T00:00:00.000 2009-03-21T00:00:00.000 164592000.0 164678400.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 119 0 294.622 3.78945e-16 1 8 31 0 279.731 8.51812e-09 2 8 31 384.345 -54892.0 54893.0 0.118113 3.84498e-08 70.6507e-08 87.39e-08 0.7 0 10.1439 0.32329 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 14312700.0 0 0.550319 10.112 2.07581 0 0 0 0 0 6.21411e-12 1.14183e-10 1.41236e-10 2009-03-02T00:00:00.000 2009-03-03T00:00:00.000 163036800.0 163123200.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 154 0 338.839 1.75516e-17 1 8 31 0 338.832 9.00311e-08 2 8 31 478.446 -54911.0 54912.0 1.73495 98.8951e-08 68.2961e-08 260.975e-08 0.7 0 13.5204 0.399269 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 11005500.0 0 10.8839 7.51635 2.07581 0 0 0 0 0 1.59831e-10 1.10378e-10 4.21778e-10 2009-03-21T00:00:00.000 2009-03-22T00:00:00.000 164678400.0 164764800.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 160 0 343.754 3.76766e-16 1 8 31 0 342.249 7.00372e-07 2 8 31 491.159 -54912.0 54913.0 3.95151 208.503e-08 77.093e-08 386.305e-08 0.7 0 11.8088 0.36921 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 10417300.0 0 21.7204 8.03099 2.07581 0 0 0 0 0 3.36975e-10 1.24595e-10 6.24331e-10 2009-03-22T00:00:00.000 2009-03-23T00:00:00.000 164764800.0 164851200.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 147 0 329.361 9.64027e-16 1 8 33 0 321.554 1.91375e-09 2 8 33 456.077 -54913.0 54914.0 2.71851 153.634e-08 74.8933e-08 329.501e-08 0.7 0 11.8345 0.382471 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 9797000.0 0 15.0516 7.3373 2.07581 0 0 0 0 0 2.48298e-10 1.2104e-10 5.32527e-10 2009-03-23T00:00:00.000 2009-03-24T00:00:00.000 164851200.0 164937600.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 134 0 306.537 3.64352e-16 1 8 31 0 302.842 1.37689e-06 2 8 31 429.911 -54914.0 54915.0 4.25687 291.499e-08 98.7378e-08 516.107e-08 0.7 0 12.911 0.379494 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 8249200.0 0.416419 24.0463 8.14508 2.07581 0 0 0 0 0 4.71109e-10 1.59576e-10 8.34113e-10 2009-03-24T00:00:00.000 2009-03-25T00:00:00.000 164937600.0 165024000.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 132 0 307.296 6.21232e-16 1 8 31 0 298.236 1.56305e-09 2 8 31 420.532 -54915.0 54916.0 7.08957 542.765e-08 119.967e-08 807.787e-08 0.7 0 14.2141 0.377602 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 8602120.0 1.36823 46.6893 10.3197 2.07581 0 0 0 0 0 8.77195e-10 1.93886e-10 1.30551e-09 2009-03-25T00:00:00.000 2009-03-26T00:00:00.000 165024000.0 165110400.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 170 0 365.063 1.6272e-15 1 8 33 0 339.932 1.15734e-09 2 8 33 480.296 -54916.0 54917.0 3.29673 250.002e-08 102.731e-08 486.709e-08 0.7 0 14.2527 0.392233 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 7576590.0 3.15289 18.9416 7.78352 2.07581 0 0 0 0 0 4.04043e-10 1.6603e-10 7.866e-10 2009-03-26T00:00:00.000 2009-03-27T00:00:00.000 165110400.0 165196800.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 129 0 306.064 1.81549e-15 1 8 31 0 300.63 2.03001e-09 2 8 31 418.88 -54917.0 54918.0 5.56527 353.984e-08 104.723e-08 593.889e-08 0.7 0 11.7234 0.357934 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 7598640.0 5.71089 26.898 7.95752 2.07581 0 0 0 0 0 5.72095e-10 1.69249e-10 9.5982e-10 2009-03-27T00:00:00.000 2009-03-28T00:00:00.000 165196800.0 165283200.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 118 0 281.796 9.37738e-18 1 8 31 0 266.31 5.19027e-09 2 8 31 372.173 -54918.0 54919.0 2.48055 178.839e-08 95.1463e-08 403.591e-08 0.7 0 12.6568 0.39534 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 7073150.0 9.04224 12.6496 6.72984 2.07581 0 0 0 0 0 2.89033e-10 1.53772e-10 6.52269e-10 2009-03-28T00:00:00.000 2009-03-29T00:00:00.000 165283200.0 165369600.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 105 0 255.621 9.33425e-17 1 8 31 0 252.544 1.81754e-06 2 8 31 351.999 -54919.0 54920.0 2.84601 207.07e-08 103.984e-08 456.135e-08 0.7 0 13.5054 0.396636 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 6560830.0 13.4444 13.5855 6.82224 2.07581 0 0 0 0 0 3.34659e-10 1.68056e-10 7.37188e-10 2009-03-29T00:00:00.000 2009-03-30T00:00:00.000 165369600.0 165456000.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 103 0 257.922 6.0254e-13 1 8 41 0 253.872 3.85517e-09 2 8 41 348.554 -54920.0 54921.0 3.29772 296.591e-08 119.671e-08 569.535e-08 0.7 0 10.9698 0.420335 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 5944460.0 18.4414 17.6308 7.11382 2.07581 0 0 0 0 0 4.79339e-10 1.93408e-10 9.20461e-10 2009-03-30T00:00:00.000 2009-03-31T00:00:00.000 165456000.0 165542400.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 84 0 218.914 1.0323e-15 1 8 31 0 213.476 1.5114e-09 2 8 31 290.545 -54893.0 54894.0 0 2164930.0e-08 12.1116e-08 41.7098e-08 0.7 0 9.49691 0.000335465 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 15551300.0 0 3.36676e-07 1.88351 2.07581 0 0 0 0 0 3.49888e-18 1.95742e-11 6.74098e-11 2009-03-03T00:00:00.000 2009-03-04T00:00:00.000 163123200.0 163209600.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 157 0 341.689 1.8718e-15 1 8 29 0 341.689 2.1625e-07 2 8 29 483.44 -54894.0 54895.0 0 66613400.0e-08 11.6348e-08 41.1691e-08 0.7 0 10.3525 0.000274007 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 15420500.0 0 1.02721e-07 1.79414 2.07581 0 0 0 0 0 1.07658e-18 1.88037e-11 6.65359e-11 2009-03-04T00:00:00.000 2009-03-05T00:00:00.000 163209600.0 163296000.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 169 0 356.894 1.81457e-16 1 8 29 0 356.894 7.79199e-08 2 8 29 507.349 -54895.0 54896.0 0 0 9.50689e-08 36.1909e-08 0.7 0 11.4341 0.000168804 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 15443200.0 0 0 1.46817 2.07581 0 0 0 0 0 0 1.53647e-11 5.84904e-11 2009-03-05T00:00:00.000 2009-03-06T00:00:00.000 163296000.0 163382400.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 183 0 366.795 1.65408e-13 1 8 34 0 366.795 6.42006e-10 2 8 34 535.932 -54896.0 54897.0 3.33681 121.106e-08 50.3652e-08 238.029e-08 0.7 0 9.34004 0.344954 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 15304200.0 0 18.5344 7.70802 2.07581 0 0 0 0 0 1.95727e-10 8.13984e-11 3.84693e-10 2009-03-06T00:00:00.000 2009-03-07T00:00:00.000 163382400.0 163468800.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 168 0 355.777 7.42986e-18 1 8 31 0 350.21 7.99511e-07 2 8 31 501.914 -54897.0 54898.0 2.55625 103.173e-08 51.5861e-08 222.84e-08 0.7 0 9.29838 0.374695 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 14884700.0 0 15.357 7.67845 2.07581 0 0 0 0 0 1.66744e-10 8.33715e-11 3.60145e-10 2009-03-07T00:00:00.000 2009-03-08T00:00:00.000 163468800.0 163555200.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 161 0 347.877 2.29795e-16 1 8 31 0 344.61 4.66805e-07 2 8 31 488.975 -54898.0 54899.0 3.25476 133.796e-08 56.0206e-08 263.023e-08 0.7 0 8.99849 0.389475 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 14806500.0 0 19.8105 8.29469 2.07581 0 0 0 0 0 2.16236e-10 9.05384e-11 4.25087e-10 2009-03-08T00:00:00.000 2009-03-09T00:00:00.000 163555200.0 163641600.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 160 0 338.051 1.25094e-16 1 8 31 0 332.754 1.8652e-06 2 8 31 484.437 -54899.0 54900.0 4.08314 197.254e-08 67.691e-08 349.57e-08 0.7 0 10.5119 0.420623 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 14619600.0 0 28.8378 9.89618 2.07581 0 0 0 0 0 3.18794e-10 1.094e-10 5.64962e-10 2009-03-09T00:00:00.000 2009-03-10T00:00:00.000 163641600.0 163728000.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 187 0 378.461 4.03457e-15 1 8 33 0 370.125 1.20358e-08 2 8 33 534.944 -54900.0 54901.0 4.00797 169.194e-08 60.0694e-08 306.391e-08 0.7 0 10.2938 0.368614 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 14455400.0 0 24.4576 8.68328 2.07581 0 0 0 0 0 2.73444e-10 9.70818e-11 4.95177e-10 2009-03-10T00:00:00.000 2009-03-11T00:00:00.000 163728000.0 163814400.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 178 0 375.542 8.79846e-19 1 8 40 0 367.51 1.42583e-09 2 8 40 520.557 +time_start_mjd time_end_mjd sqrt(ts) flux flux_err flux_ul gal gal_error iso iso_error l_peak b_peak dist_peak l b r ell_dist a b phi exposure ExpRatio counts counts_err Index Index_Err Par2 Par2_Err Par3 Par3_Err Erglog Erglog_Err Erglog_UL time_start_utc time_end_utc time_start_tt time_end_tt Fix index ULConfidenceLevel SrcLocConfLevel start_l start_b start_flux typefun par2 par3 galmode2 galmode2fit isomode2 isomode2fit edpcor fluxcor integratortype expratioEval expratio_minthr expratio_maxthr expratio_size Emin emax fovmin fovmax albedo binsize expstep phasecode fit_cts fit_fitstatus0 fit_fcn0 fit_edm0 fit_nvpar0 fit_nparx0 fit_iter0 fit_fitstatus1 fit_fcn1 fit_edm1 fit_nvpar1 fit_nparx1 fit_iter1 fit_Likelihood1 +54891.0 54892.0 0 0 28.7323e-08 64.2527e-08 0.7 0 10.579 0.000710945 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 15327000.0 0 0 4.40381 2.07581 0 0 0 0 0 0 4.6436e-11 1.03843e-10 2009-03-01T00:00:00.000 2009-03-02T00:00:00.000 162950400.0 163036800.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 171 0 358.338 1.4748e-15 1 8 29 0 358.338 3.68435e-10 2 8 29 514.089 +54901.0 54902.0 4.05475 199.692e-08 71.3328e-08 363.143e-08 0.7 0 9.55789 0.38845 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 11588200.0 0 23.1407 8.26618 2.07581 0 0 0 0 0 3.22735e-10 1.15285e-10 5.86897e-10 2009-03-11T00:00:00.000 2009-03-12T00:00:00.000 163814400.0 163900800.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 138 0 321.762 2.56683e-17 1 8 33 0 313.542 4.09373e-09 2 8 33 434.383 +54902.0 54903.0 8.05892 418.403e-08 82.3936e-08 598.618e-08 0.7 0 10.5869 0.382312 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 14133400.0 0 59.1346 11.645 2.07581 0 0 0 0 0 6.76207e-10 1.33161e-10 9.67464e-10 2009-03-12T00:00:00.000 2009-03-13T00:00:00.000 163900800.0 163987200.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 212 0 409.112 5.83254e-16 1 8 31 0 376.638 6.19148e-09 2 8 31 553.274 +54903.0 54904.0 7.79947 392.171e-08 81.0723e-08 570.322e-08 0.7 0 12.0593 0.358571 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 13751600.0 0 53.9297 11.1487 2.07581 0 0 0 0 0 6.33812e-10 1.31026e-10 9.21733e-10 2009-03-13T00:00:00.000 2009-03-14T00:00:00.000 163987200.0 164073600.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 223 0 426.687 3.13691e-15 1 8 31 0 396.272 1.90977e-09 2 8 31 577.499 +54904.0 54905.0 3.53833 142.073e-08 56.3876e-08 272.802e-08 0.7 0 9.8424 0.341388 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 13502200.0 0 19.1829 7.61356 2.07581 0 0 0 0 0 2.29613e-10 9.11315e-11 4.40893e-10 2009-03-14T00:00:00.000 2009-03-15T00:00:00.000 164073600.0 164160000.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 159 0 333.967 2.42382e-15 1 8 31 0 327.707 1.2984e-06 2 8 31 481.161 +54905.0 54906.0 3.56163 171.527e-08 65.8813e-08 322.337e-08 0.7 0 13.0983 0.354841 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 12904700.0 0 22.135 8.50177 2.07581 0 0 0 0 0 2.77216e-10 1.06475e-10 5.20949e-10 2009-03-15T00:00:00.000 2009-03-16T00:00:00.000 164160000.0 164246400.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 196 0 383.827 1.56898e-14 1 8 43 0 377.484 5.15399e-10 2 8 43 555.802 +54906.0 54907.0 2.62596 105.855e-08 55.3878e-08 238.8e-08 0.7 0 13.6628 0.312759 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 12575300.0 0 13.3116 6.96517 2.07581 0 0 0 0 0 1.71079e-10 8.95156e-11 3.85939e-10 2009-03-16T00:00:00.000 2009-03-17T00:00:00.000 164246400.0 164332800.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 190 0 388.281 6.14462e-16 1 8 31 0 384.833 1.47379e-07 2 8 31 546.584 +54907.0 54908.0 3.53062 141.11e-08 58.832e-08 280.348e-08 0.7 0 9.74173 0.335196 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 12076400.0 0 17.041 7.10479 2.07581 0 0 0 0 0 2.28057e-10 9.50819e-11 4.53087e-10 2009-03-17T00:00:00.000 2009-03-18T00:00:00.000 164332800.0 164419200.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 141 0 319.023 6.71121e-16 1 8 31 0 312.79 1.19586e-06 2 8 31 444.086 +54908.0 54909.0 5.21521 272.509e-08 76.7815e-08 444.481e-08 0.7 0 10.8178 0.371848 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 12029000.0 0 32.7799 9.23601 2.07581 0 0 0 0 0 4.40418e-10 1.24091e-10 7.18353e-10 2009-03-18T00:00:00.000 2009-03-19T00:00:00.000 164419200.0 164505600.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 165 0 362.353 6.56599e-17 1 8 31 0 348.754 1.71679e-09 2 8 31 489.664 +54909.0 54910.0 6.78882 420.475e-08 96.1237e-08 632.567e-08 0.7 0 11.7296 0.421565 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 11751700.0 0 49.413 11.2962 2.07581 0 0 0 0 0 6.79555e-10 1.55352e-10 1.02233e-09 2009-03-19T00:00:00.000 2009-03-20T00:00:00.000 164505600.0 164592000.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 187 0 389.913 1.23565e-15 1 8 31 0 366.869 5.42187e-08 2 8 31 524.233 +54910.0 54911.0 5.45734 277.593e-08 78.1827e-08 453.512e-08 0.7 0 7.7002 0.389604 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 10991400.0 0 30.5114 8.5934 2.07581 0 0 0 0 0 4.48635e-10 1.26356e-10 7.32949e-10 2009-03-20T00:00:00.000 2009-03-21T00:00:00.000 164592000.0 164678400.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 119 0 294.622 3.78945e-16 1 8 31 0 279.731 8.51812e-09 2 8 31 384.345 +54892.0 54893.0 0.118113 3.84498e-08 70.6507e-08 87.39e-08 0.7 0 10.1439 0.32329 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 14312700.0 0 0.550319 10.112 2.07581 0 0 0 0 0 6.21411e-12 1.14183e-10 1.41236e-10 2009-03-02T00:00:00.000 2009-03-03T00:00:00.000 163036800.0 163123200.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 154 0 338.839 1.75516e-17 1 8 31 0 338.832 9.00311e-08 2 8 31 478.446 +54911.0 54912.0 1.73495 98.8951e-08 68.2961e-08 260.975e-08 0.7 0 13.5204 0.399269 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 11005500.0 0 10.8839 7.51635 2.07581 0 0 0 0 0 1.59831e-10 1.10378e-10 4.21778e-10 2009-03-21T00:00:00.000 2009-03-22T00:00:00.000 164678400.0 164764800.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 160 0 343.754 3.76766e-16 1 8 31 0 342.249 7.00372e-07 2 8 31 491.159 +54912.0 54913.0 3.95151 208.503e-08 77.093e-08 386.305e-08 0.7 0 11.8088 0.36921 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 10417300.0 0 21.7204 8.03099 2.07581 0 0 0 0 0 3.36975e-10 1.24595e-10 6.24331e-10 2009-03-22T00:00:00.000 2009-03-23T00:00:00.000 164764800.0 164851200.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 147 0 329.361 9.64027e-16 1 8 33 0 321.554 1.91375e-09 2 8 33 456.077 +54913.0 54914.0 2.71851 153.634e-08 74.8933e-08 329.501e-08 0.7 0 11.8345 0.382471 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 9797000.0 0 15.0516 7.3373 2.07581 0 0 0 0 0 2.48298e-10 1.2104e-10 5.32527e-10 2009-03-23T00:00:00.000 2009-03-24T00:00:00.000 164851200.0 164937600.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 134 0 306.537 3.64352e-16 1 8 31 0 302.842 1.37689e-06 2 8 31 429.911 +54914.0 54915.0 4.25687 291.499e-08 98.7378e-08 516.107e-08 0.7 0 12.911 0.379494 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 8249200.0 0.416419 24.0463 8.14508 2.07581 0 0 0 0 0 4.71109e-10 1.59576e-10 8.34113e-10 2009-03-24T00:00:00.000 2009-03-25T00:00:00.000 164937600.0 165024000.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 132 0 307.296 6.21232e-16 1 8 31 0 298.236 1.56305e-09 2 8 31 420.532 +54915.0 54916.0 7.08957 542.765e-08 119.967e-08 807.787e-08 0.7 0 14.2141 0.377602 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 8602120.0 1.36823 46.6893 10.3197 2.07581 0 0 0 0 0 8.77195e-10 1.93886e-10 1.30551e-09 2009-03-25T00:00:00.000 2009-03-26T00:00:00.000 165024000.0 165110400.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 170 0 365.063 1.6272e-15 1 8 33 0 339.932 1.15734e-09 2 8 33 480.296 +54916.0 54917.0 3.29673 250.002e-08 102.731e-08 486.709e-08 0.7 0 14.2527 0.392233 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 7576590.0 3.15289 18.9416 7.78352 2.07581 0 0 0 0 0 4.04043e-10 1.6603e-10 7.866e-10 2009-03-26T00:00:00.000 2009-03-27T00:00:00.000 165110400.0 165196800.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 129 0 306.064 1.81549e-15 1 8 31 0 300.63 2.03001e-09 2 8 31 418.88 +54917.0 54918.0 5.56527 353.984e-08 104.723e-08 593.889e-08 0.7 0 11.7234 0.357934 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 7598640.0 5.71089 26.898 7.95752 2.07581 0 0 0 0 0 5.72095e-10 1.69249e-10 9.5982e-10 2009-03-27T00:00:00.000 2009-03-28T00:00:00.000 165196800.0 165283200.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 118 0 281.796 9.37738e-18 1 8 31 0 266.31 5.19027e-09 2 8 31 372.173 +54918.0 54919.0 2.48055 178.839e-08 95.1463e-08 403.591e-08 0.7 0 12.6568 0.39534 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 7073150.0 9.04224 12.6496 6.72984 2.07581 0 0 0 0 0 2.89033e-10 1.53772e-10 6.52269e-10 2009-03-28T00:00:00.000 2009-03-29T00:00:00.000 165283200.0 165369600.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 105 0 255.621 9.33425e-17 1 8 31 0 252.544 1.81754e-06 2 8 31 351.999 +54919.0 54920.0 2.84601 207.07e-08 103.984e-08 456.135e-08 0.7 0 13.5054 0.396636 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 6560830.0 13.4444 13.5855 6.82224 2.07581 0 0 0 0 0 3.34659e-10 1.68056e-10 7.37188e-10 2009-03-29T00:00:00.000 2009-03-30T00:00:00.000 165369600.0 165456000.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 103 0 257.922 6.0254e-13 1 8 41 0 253.872 3.85517e-09 2 8 41 348.554 +54920.0 54921.0 3.29772 296.591e-08 119.671e-08 569.535e-08 0.7 0 10.9698 0.420335 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 5944460.0 18.4414 17.6308 7.11382 2.07581 0 0 0 0 0 4.79339e-10 1.93408e-10 9.20461e-10 2009-03-30T00:00:00.000 2009-03-31T00:00:00.000 165456000.0 165542400.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 84 0 218.914 1.0323e-15 1 8 31 0 213.476 1.5114e-09 2 8 31 290.545 +54893.0 54894.0 0 2164930.0e-08 12.1116e-08 41.7098e-08 0.7 0 9.49691 0.000335465 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 15551300.0 0 3.36676e-07 1.88351 2.07581 0 0 0 0 0 3.49888e-18 1.95742e-11 6.74098e-11 2009-03-03T00:00:00.000 2009-03-04T00:00:00.000 163123200.0 163209600.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 157 0 341.689 1.8718e-15 1 8 29 0 341.689 2.1625e-07 2 8 29 483.44 +54894.0 54895.0 0 66613400.0e-08 11.6348e-08 41.1691e-08 0.7 0 10.3525 0.000274007 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 15420500.0 0 1.02721e-07 1.79414 2.07581 0 0 0 0 0 1.07658e-18 1.88037e-11 6.65359e-11 2009-03-04T00:00:00.000 2009-03-05T00:00:00.000 163209600.0 163296000.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 169 0 356.894 1.81457e-16 1 8 29 0 356.894 7.79199e-08 2 8 29 507.349 +54895.0 54896.0 0 0 9.50689e-08 36.1909e-08 0.7 0 11.4341 0.000168804 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 15443200.0 0 0 1.46817 2.07581 0 0 0 0 0 0 1.53647e-11 5.84904e-11 2009-03-05T00:00:00.000 2009-03-06T00:00:00.000 163296000.0 163382400.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 183 0 366.795 1.65408e-13 1 8 34 0 366.795 6.42006e-10 2 8 34 535.932 +54896.0 54897.0 3.33681 121.106e-08 50.3652e-08 238.029e-08 0.7 0 9.34004 0.344954 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 15304200.0 0 18.5344 7.70802 2.07581 0 0 0 0 0 1.95727e-10 8.13984e-11 3.84693e-10 2009-03-06T00:00:00.000 2009-03-07T00:00:00.000 163382400.0 163468800.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 168 0 355.777 7.42986e-18 1 8 31 0 350.21 7.99511e-07 2 8 31 501.914 +54897.0 54898.0 2.55625 103.173e-08 51.5861e-08 222.84e-08 0.7 0 9.29838 0.374695 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 14884700.0 0 15.357 7.67845 2.07581 0 0 0 0 0 1.66744e-10 8.33715e-11 3.60145e-10 2009-03-07T00:00:00.000 2009-03-08T00:00:00.000 163468800.0 163555200.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 161 0 347.877 2.29795e-16 1 8 31 0 344.61 4.66805e-07 2 8 31 488.975 +54898.0 54899.0 3.25476 133.796e-08 56.0206e-08 263.023e-08 0.7 0 8.99849 0.389475 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 14806500.0 0 19.8105 8.29469 2.07581 0 0 0 0 0 2.16236e-10 9.05384e-11 4.25087e-10 2009-03-08T00:00:00.000 2009-03-09T00:00:00.000 163555200.0 163641600.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 160 0 338.051 1.25094e-16 1 8 31 0 332.754 1.8652e-06 2 8 31 484.437 +54899.0 54900.0 4.08314 197.254e-08 67.691e-08 349.57e-08 0.7 0 10.5119 0.420623 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 14619600.0 0 28.8378 9.89618 2.07581 0 0 0 0 0 3.18794e-10 1.094e-10 5.64962e-10 2009-03-09T00:00:00.000 2009-03-10T00:00:00.000 163641600.0 163728000.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 187 0 378.461 4.03457e-15 1 8 33 0 370.125 1.20358e-08 2 8 33 534.944 +54900.0 54901.0 4.00797 169.194e-08 60.0694e-08 306.391e-08 0.7 0 10.2938 0.368614 351.29 40.13 0 -1 -1 -1 -1 -1 -1 -1 14455400.0 0 24.4576 8.68328 2.07581 0 0 0 0 0 2.73444e-10 9.70818e-11 4.95177e-10 2009-03-10T00:00:00.000 2009-03-11T00:00:00.000 163728000.0 163814400.0 1 2.07581 2 5.99147 351.29 40.13 1.5715e-06 0 0 0 0 0 0 0 1 0 1 1 0 15 10 100 10000 0 60 80 0.5 0 18 178 0 375.542 8.79846e-19 1 8 40 0 367.51 1.42583e-09 2 8 40 520.557Ratemeters_tutorial + + + + + + + + + + + + + + + + + + + + + + ++++++++++Analysis of the AGILE Scientific Ratemeters¶
The AGILE Scientific Ratemeter files contain the photon counts recorded by every AGILE instrument:
++
+- The Gamma-Ray Imaging Detector (GRID), with photon energy >50 MeV.
+- The Mini-Calorimeter (MCAL), energy band [0.4 - 100] MeV.
+- The SuperAGILE (SA), energy band [18 - 60] keV.
+- The 5 panels of the Anti-Coincidence System:
++
+- The Top panel (AC0), energy band [50 - 200] keV.
+- The 4 lateral panels (AC1, AC2, AC3, AC4), energy band [80 - 200] keV.
+The counts recorded are integrated in the energy range of the detector and in time bins of fixed width of 1.024 s, with the exception of the SuperAGILE ratemeters which use bins of 0.512 s.
+The ratemeter files (the so-called "3913" files) are provided in a compressed FITS Format optimized for data download from the satellite. +One file was produced for every satellite contact.
++
Agilepyimplements aAGRatemetersclass that reads the ratemeters files and extract the Ratemeters Light Curves. +The Light Curves can be used to check for transient phenomena, and if the Burst Onest Time (T0) of a Burst is provided, the significance and duration of the Burst can be estimated.The Analysis of the Scientific Ratemeters follows these general steps:
++
+- Prepare a
+YAMLconfiguration file forAGRatemeters. You can do it manually or by usingAGRatemeters.getConfiguration().- Define a
+AGRatemetersobject, and read the 3913 file withAGRatemeters.readRatemeters().- You can plot the Light Curve with the
+AGRatemeters.plotRatemeters()function, perform a simple Aperture Photometry analysis withAGRatemeters.analyseSignal(), perform a basic estimation of the burst duration withAGRatemeters.estimateDuration().In this notebook, we show examples for two GRBs.
+Note: each instrument is pointed in a different direction. +In particular, AC4 is always pointed towards the Sun.
+ +++++ +++++In [1]:++++++ +# Import the relevant classes +import agilepy + +from agilepy.api.AGRatemeters import AGRatemeters ++++++++++Example 1: GRB 221028A¶
+++++ +++++In [2]:++++++ +# Prepare the YAML Configuration File. +# You can create it manually or use AGRatemeters.getConfiguration() + +outputDir1 = "/home/flareadvocate/workspace/shared_dir/" +confFilePath1 = "/home/flareadvocate/workspace/shared_dir/tutorial_rm_GRB221018A.yaml" + +AGRatemeters.getConfiguration( + confFilePath=confFilePath1, + outputDir=outputDir1, + userName="my-name", + sourceName="rm-source", + verboselvl=0, + filePath="$AGILE/agilepy-test-data/ratemeters/PKP080686_1_3913_000.lv1.cor.gz", + timetype="isot", + T0="2022-10-28T13:16:27", + background_tmin=-50.0, + background_tmax=-20.0, + signal_tmin=-1.0, + signal_tmax=3.0 + ) ++++++++++The
+YAMLfile has the following sections and field:+
+ +- +
output: common to allagilepyclasses, sets the output fields.- +
selection: includes one argument used to read the data:+
+- +
filePath: path to the input file.- +
analysis: includes arguments for plots and further analyses:+
+- +
timetypeandT0: Format and value of the Burst Oneset Time. It can beTTorOBTfor AGILE seconds (TT seconds since2004-01-01 00:00:00.000), or a format acknowledged by theastropy.time.Timeclass.T0will be converted in AGILE seconds and used as reference time for plots and analyses.- +
background_tminandbackground_tmax: time range used for evaluation of the background, in seconds with respect toT0.- +
signal_tminandsignal_tmax: time range used for evaluation of the signal, in seconds with respect toT0.+++ +++++In [3]:++++++ +# Create the AGRatemeters object +ag_rm1 = AGRatemeters(confFilePath1) +++ +++ + +++ ++ + + + ++ +++Log level set to WARNING and output to /home/flareadvocate/workspace/shared_dir/my-name_rm-source_20250811-211100/logs ++++++ +++++In [4]:++++++ +# You can Use the setOptions() method to change the configuration, e.g.: +ag_rm1.setOptions(background_tmin=-50.0, background_tmax=-10.0) + +# Check configuration. +ag_rm1.printOptions() +++ +++ + +++ ++ + + + ++ +++{ 'analysis': { 'T0': 594047787.0, + 'background_tmax': -10.0, + 'background_tmin': -50.0, + 'signal_tmax': 3.0, + 'signal_tmin': -1.0, + 'timetype': 'TT'}, + 'output': { 'filenameprefix': 'ratemeters_product', + 'outdir': PosixPath('/home/flareadvocate/workspace/shared_dir/my-name_rm-source_20250811-211100'), + 'sourcename': 'rm-source', + 'username': 'my-name', + 'verboselvl': 0}, + 'selection': { 'file_path': '/home/flareadvocate/agiletools/agilepy-test-data/ratemeters/PKP080686_1_3913_000.lv1.cor.gz'}} +++++++++++Read the Ratemeters with
+AGRatemeters.readRatemeters(writeFiles). +Optional aguments are:+
+- +
filePath: ifNone(default), it will be read from the configuration. Otherwise, the function will read the file from the path provided explicitly.- +
writeFiles: ifTrue(default), write the Light Curves as.txtfiles.The method will return a dictionary of tables, one per instrument, with the ratemeter Light Curve. +They can be accessed using the instrument name as a key. +The tables can also be accessed via the
+AGRatemeters.ratemetersTablesproperty.Each Table has 3 columns:
++
+ +- +
OBT: detection time in AGILE seconds- +
COUNTS: counts measured- +
COUNTS_D: counts de-trended with a FFT algorithm to remove background modulation due to the orbital motion and spinning of the satellite.+++ +++++In [5]:++++++ +# Read the ratemeter file +ratemeters_tables = ag_rm1.readRatemeters() +++ +++ + +++ ++ + + + ++ +++/home/flareadvocate/Agilepy/agilepy/api/AGRatemeters.py:130: RuntimeWarning: divide by zero encountered in scalar divide + data_yf = (2 / np.sum(values)) * abs(scipy.fftpack.fft(values))**2 #* scipy.fftpack.rfft(y) +/home/flareadvocate/Agilepy/agilepy/api/AGRatemeters.py:130: RuntimeWarning: invalid value encountered in multiply + data_yf = (2 / np.sum(values)) * abs(scipy.fftpack.fft(values))**2 #* scipy.fftpack.rfft(y) ++++++ +++++In [6]:++++++ +# The Light Curves are stored in Tables, and can be accessed via Dictionary +print(ratemeters_tables.keys()) + +# E.g. access the AC Top table +display(ratemeters_tables['AC0']) + +# The Dictionary can be accessed also via property +display(ag_rm1.ratemetersTables['MCAL']) +++ +++ + +++ ++ + + + ++++dict_keys(['GRID', 'MCAL', 'SA', 'AC0', 'AC1', 'AC2', 'AC3', 'AC4']) +++ + + + + ++++ +Table length=4528 +++
+ OBT COUNTS COUNTS_D + float64 int32 float64 + 594047441.602208 2926 3156.8248533042997 + 594047442.6262081 2887 3124.333154382883 + 594047443.650208 3008 3251.9585105203537 + 594047444.674208 3116 3366.699623659409 + 594047445.698208 3177 3434.5546431971634 + 594047446.722208 2848 3112.521122809405 + 594047447.7462081 3130 3401.5959827584365 + 594047448.770208 3109 3387.775478156238 + ... ... ... + 594053444.714912 3154 3336.9875599624684 + 594053445.7389121 3225 3413.561361842546 + 594053446.762912 3422 3616.249256148664 + 594053447.7869121 3388 3588.0523412390567 + 594053448.810912 3342 3547.9716359251147 + 594053449.8349121 3085 3297.0080139731317 + 594053450.8589121 3306 3524.1621390686196 + 594053451.882912 3220 3444.434400936505 + + + + + ++ +++ +Table length=4528 +++
+ OBT COUNTS COUNTS_D + float64 int64 float64 + 594047441.602208 1218 1180.354681306513 + 594047442.6262081 1262 1224.5227916500485 + 594047443.650208 1274 1236.7284040401562 + 594047444.674208 1248 1210.9728004749263 + 594047445.698208 1257 1220.2571625405335 + 594047446.722208 1194 1157.582555424022 + 594047447.7462081 1168 1131.949912832763 + 594047448.770208 1186 1150.3600229896524 + ... ... ... + 594053444.714912 1278 1240.1864978404471 + 594053445.7389121 1246 1208.1071081434036 + 594053446.762912 1196 1158.053424459286 + 594053447.7869121 1178 1140.0269074512476 + 594053448.810912 1231 1193.0290561221693 + 594053449.8349121 1230 1192.0613911318853 + 594053450.8589121 1166 1128.1254375638737 + 594053451.882912 1234 1196.2227073174276 +++++++++Plot the Ratemeters with
+AGRatemeters.plotRatemeters(). +The function has the following arguments:+
+ +- +
plotRange: time limits of the plot in seconds with respect toT0.- +
useDetrendedData: ifTrue, use the De-trended counts, ifFalsethe raw counts.- +
plotInstruments: list of instruments to plot in asingle plot. Possible values are "AC0","AC1","AC2","AC3","AC4","MCAL","GRID","SA".+
+- Additionally, including "2RM" in the list will make a separate plot with AC0 and MCAL. "3RM" will make a separate plot with AC0, MCAL, SA. "8RM" will make a separate plot with all the ratemeters.
++++ +++++In [7]:++++++ +# Plot the Ratemeters +plots = ag_rm1.plotRatemeters(plotRange=(-100,100), useDetrendedData=True, plotInstruments=["3RM","GRID","AC4"]) +# This combination will produce two plots: +# the "3RM" (SA, AC0, MCAL) + one with the instruments lsited explicitly (AC0, MCAL) + +# It returns the List of Plots saved. +print(plots) +++ +++ + +++ ++ + + + + +++ + ++ ++ + + + + ++++ +++ + + + + ++++ +++ + + + ++ +++[PosixPath('/home/flareadvocate/workspace/shared_dir/my-name_rm-source_20250811-211100/plots/ratemeters_D_3RM.png'), PosixPath('/home/flareadvocate/workspace/shared_dir/my-name_rm-source_20250811-211100/plots/ratemeters_D_GRID_AC4.png')] ++++++ +++++In [8]:++++++ +# The Raw Data can show the Orbital Modulation of the Background of each detector +# Due to the satellite motion and spinning +plots = ag_rm1.plotRatemeters(plotRange=(-200,200), useDetrendedData=False, plotInstruments=["2RM"]) + +# List of Plots +print(plots) +++ +++ + +++ ++ + + + + ++++ +++ + + + ++ +++[PosixPath('/home/flareadvocate/workspace/shared_dir/my-name_rm-source_20250811-211100/plots/ratemeters_ND_2RM.png')] +++++++++++A simple Aperture photometry analysis can be performed with
+AGRatemeters.analyseSignal()+Optional arguments (with default values shown) are:+
+- +
backgroundRange=(None,None): Time Range for Background Estimation. IfNone, they are read from the configuration.- +
signalRange=(None,None): Time Range for Signal Estimation. IfNone, they are read from the configuration.- +
useDetrendedData=True: boolean flag for the de-trended data.The method returns a table with the number of counts recorded in the Signal and Background intervals (ON and OFF), the duration of the intervals (which are always multiples of 0.512s for SuperAGILE and 1.024s for the other detectors), the estimation of the Background Rate in cts/s and the Li&Ma Significance.
+ +++++ +++++In [9]:++++++ +results = ag_rm1.analyseSignal(backgroundRange=(-20,-15), signalRange=(-1,3), useDetrendedData=True) +display(results) +++ +++ + +++ ++ + + + + ++ +++ +Table length=8 +++
+ instrument t_ON N_ON t_OFF N_OFF R_BKG lima + str4 float64 int64 float64 int64 float64 float64 + GRID 3.072 47584 4.201 65508 15593.43 1.11 + MCAL 3.072 5519 4.201 5830 1387.765 13.712 + SA 3.584 0 4.713 0 0.0 0.0 + AC0 3.072 14263 4.201 16772 3992.383 13.22 + AC1 3.072 12468 4.201 14461 3442.276 13.442 + AC2 3.072 12592 4.201 14329 3410.855 15.005 + AC3 3.072 10043 4.201 12016 2860.271 9.861 + AC4 3.072 12183 4.201 14944 3557.248 8.889 +++++++++A simple estimation of the Duration of the Burst can be performed with
+AGRatemeters.estimateDuration(). +Its arguments are (with default values shown) are:+
+- +
dataRange: Time Range for the Plot. Must include Background and Signal.- +
backgroundRange=(None,None): Time Range for Background Estimation. IfNone, they are read from the configuration.- +
signalRange=(None,None): Time Range for Signal Estimation. IfNone, they are read from the configuration.- +
useDetrendedData=True: boolean flag for the de-trended data.- +
plotDuration: IfTrue, plot the Differential and Cumulative, Background-subtracted Light Curves.The plot include the Background-subtracted, differential and Cumulative Light Curves of SA, MCAL, AC0 (if activated). +The red (blue) bands identify the background (signal) range, and the green lines the region where the signal is significantly rising.
+ +++++ +++++In [10]:++++++ +results, plot = ag_rm1.estimateDuration(dataRange=(-50,50),backgroundRange=(-50,-10),signalRange=(-1,3),useDetrendedData=False) + +# The result is a dictionary for every instrument. +# For every instrument, the arrays of counts are recorded, and also an estimate of the duration +results_mcal = results['MCAL'] +print(results_mcal.keys()) +print(f"Burst duration estimated from MCAL: {results_mcal['duration']:.4g}s") +results_ac0 = results['AC0'] +print(f"Burst duration estimated from AC0: {results_ac0['duration']:.4g}s") + +# Path of the saved Image +print(plot) +++ +++ + +++ ++ + + + ++++2025-08-11 21:11:11 | WARNING | agilepy.api.AGRatemeters.AGRatemeters | Detector SA not active. | (AGRatemeters.py:1321) +++ + + + + ++++ +++ + + + ++ +++dict_keys(['time', 'counts', 'counts_bkgsub', 'integral_counts', 'sigrise_time', 'duration']) +Burst duration estimated from MCAL: 3.072s +Burst duration estimated from AC0: 1.024s +/home/flareadvocate/workspace/shared_dir/my-name_rm-source_20250811-211100/plots/ratemeters_duration_ND.png +++++++++++Example: GRB 231129C¶
++++ +++++In [11]:++++++ +# Configuration +outputDir2 = "/home/flareadvocate/workspace/shared_dir/" +confFilePath2 = "/home/flareadvocate/workspace/shared_dir/tutorial_rm_GRB231129C.yaml" + +AGRatemeters.getConfiguration( + confFilePath=confFilePath2, + outputDir=outputDir2, + userName="my-name", + sourceName="rm-source", + verboselvl=0, + filePath="$AGILE/agilepy-test-data/ratemeters/PKP086465_1_3913_000.lv1.cor.gz", + timetype="isot", + T0="2023-11-29T19:10:18", + background_tmin=-50.0, + background_tmax=-25.0, + signal_tmin=-2.0, + signal_tmax=10.0 + ) ++++ +++++In [12]:++++++ +# Create the AGRatemeters object +ag_rm2 = AGRatemeters(confFilePath2) + +# Check Options +ag_rm2.printOptions() +++ +++ + +++ ++ + + + ++ +++Log level set to WARNING and output to /home/flareadvocate/workspace/shared_dir/my-name_rm-source_20250811-211111/logs +{ 'analysis': { 'T0': 628369818.0, + 'background_tmax': -25.0, + 'background_tmin': -50.0, + 'signal_tmax': 10.0, + 'signal_tmin': -2.0, + 'timetype': 'TT'}, + 'output': { 'filenameprefix': 'ratemeters_product', + 'outdir': PosixPath('/home/flareadvocate/workspace/shared_dir/my-name_rm-source_20250811-211111'), + 'sourcename': 'rm-source', + 'username': 'my-name', + 'verboselvl': 0}, + 'selection': { 'file_path': '/home/flareadvocate/agiletools/agilepy-test-data/ratemeters/PKP086465_1_3913_000.lv1.cor.gz'}} +++++ +++++In [13]:++++++ +# Read ratemeters +ratemeters = ag_rm2.readRatemeters() +++ +++ + +++ ++ + + + ++ +++/home/flareadvocate/Agilepy/agilepy/api/AGRatemeters.py:130: RuntimeWarning: + +divide by zero encountered in scalar divide + +/home/flareadvocate/Agilepy/agilepy/api/AGRatemeters.py:130: RuntimeWarning: + +invalid value encountered in multiply + +++++ +++++In [14]:++++++ +# Plot Light Curves +plots = ag_rm2.plotRatemeters(plotRange=(-60,60), useDetrendedData=True, plotInstruments=["2RM"]) +print(plots) +++ +++ + +++ ++ + + + + ++++ +++ + + + ++ +++[PosixPath('/home/flareadvocate/workspace/shared_dir/my-name_rm-source_20250811-211111/plots/ratemeters_D_2RM.png')] +++++ +++++In [15]:++++++ +# Aperture Photometry +results = ag_rm2.analyseSignal(useDetrendedData=True) +display(results) +++ +++ + +++ ++ + + + + ++ +++ +Table length=8 +++
+ instrument t_ON N_ON t_OFF N_OFF R_BKG lima + str4 float64 int64 float64 int64 float64 float64 + GRID 10.245 170722 23.566 340199 14436.01 47.991 + MCAL 10.245 15069 23.566 27578 1170.245 22.299 + SA 11.269 0 24.59 0 0.0 0.0 + AC0 10.245 46433 23.566 72709 3085.335 63.654 + AC1 10.245 36319 23.566 67797 2876.899 31.756 + AC2 10.245 34234 23.566 64251 2726.428 30.069 + AC3 10.245 31118 23.566 53603 2274.591 40.004 + AC4 10.245 42417 23.566 69896 2965.968 53.355 +++ +++++In [16]:++++++ +# Estimate Duration +result_dict, plot = ag_rm2.estimateDuration(dataRange=(-60,60), useDetrendedData=False) + +print(f"Burst duration estimated from MCAL: {result_dict['MCAL']['duration']:.4g}s") +++ +++ + +++ ++ + + + ++++2025-08-11 21:11:25 | WARNING | agilepy.api.AGRatemeters.AGRatemeters | Detector SA not active. | (AGRatemeters.py:1321) +++ + + + + ++++ +++ + + + ++ +++Burst duration estimated from MCAL: 9.221s ++++ + + + + + + + + diff --git a/docs/source/_static/notebooks/VELA.html b/docs/source/_static/notebooks/VELA.html index 4ff27462..a42f05a3 100644 --- a/docs/source/_static/notebooks/VELA.html +++ b/docs/source/_static/notebooks/VELA.html @@ -14891,7 +14891,6 @@++ +++++In [ ]:++++++ ++API: configuration fileLight curve¶
-@@ -18465,126 +18464,126 @@time_start_mjd time_end_mjd sqrt(ts) flux flux_err flux_ul gal gal_error iso iso_error l_peak b_peak dist_peak l b r ell_dist a b phi exposure ExpRatio counts counts_err Index Index_Err Par2 Par2_Err Par3 Par3_Err Erglog Erglog_Err Erglog_UL time_start_utc time_end_utc time_start_tt time_end_tt Fix index ULConfidenceLevel SrcLocConfLevel start_l start_b start_flux typefun par2 par3 galmode2 galmode2fit isomode2 isomode2fit edpcor fluxcor integratortype expratioEval expratio_minthr expratio_maxthr expratio_size Emin emax fovmin fovmax albedo binsize expstep phasecode fit_cts fit_fitstatus0 fit_fcn0 fit_edm0 fit_nvpar0 fit_nparx0 fit_iter0 fit_fitstatus1 fit_fcn1 fit_edm1 fit_nvpar1 fit_nparx1 fit_iter1 fit_Likelihood1 -58026.49921296296 58027.49921296296 7.34802 944.077e-08 213.085e-08 1418.53e-08 0.7,0.7 0,0 4.08416,3.84041 0,0 263.647 -2.8547 0 -1 -1 -1 -1 -1 -1 -1 3718660.0 0.153787 35.107 7.92393 1.71345 0 3913.06 0 1.34774 0 1.67836e-09 3.78819e-10 2.52182e-09 2017-09-30T11:58:52.000 2017-10-01T11:58:52.000 433857532.0 433943932.0 1 1.71345 2 5.99147 263.647 -2.8547 8.98066e-06 2 3913.06 1.34774 0 0 0 0 1 0 1 1 0 15 10 100,300 300,1000 0,0 60,60 80 0.4 0 6 92 -1 344.763 0.5 0 52 3 0 317.767 7.08173e-17 1 52 3 404.222 -58027.49921296296 58028.49921296296 8.88107 1054.87e-08 211.633e-08 1523.64e-08 0.7,0.7 0,0 4.08416,3.84041 0,0 263.647 -2.8547 0 -1 -1 -1 -1 -1 -1 -1 3843970.0 0.422914 40.5489 8.1351 1.71345 0 3913.06 0 1.34774 0 1.87533e-09 3.76236e-10 2.7087e-09 2017-10-01T11:58:52.000 2017-10-02T11:58:52.000 433943932.0 434030332.0 1 1.71345 2 5.99147 263.647 -2.8547 8.98066e-06 2 3913.06 1.34774 0 0 0 0 1 0 1 1 0 15 10 100,300 300,1000 0,0 60,60 80 0.4 0 6 91 -1 341.2 0.5 0 52 3 0 301.763 5.3014e-17 1 52 3 391.377 -58028.49921296296 58029.49921296296 7.31826 820.89e-08 198.193e-08 1266.73e-08 0.7,0.7 0,0 4.08416,3.84041 0,0 263.647 -2.8547 0 -1 -1 -1 -1 -1 -1 -1 3788250.0 0.0768935 31.0974 7.50807 1.71345 0 3913.06 0 1.34774 0 1.45936e-09 3.52344e-10 2.25196e-09 2017-10-02T11:58:52.000 2017-10-03T11:58:52.000 434030332.0 434116732.0 1 1.71345 2 5.99147 263.647 -2.8547 8.98066e-06 2 3913.06 1.34774 0 0 0 0 1 0 1 1 0 15 10 100,300 300,1000 0,0 60,60 80 0.4 0 6 96 -1 357.846 0.5 0 52 3 0 331.067 1.29616e-16 1 52 3 422.908 -58029.49921296296 58030.49921296296 6.7938 840.137e-08 208.073e-08 1306.49e-08 0.7,0.7 0,0 4.08416,3.84041 0,0 263.647 -2.8547 0 -1 -1 -1 -1 -1 -1 -1 3806190.0 0.346021 31.9772 7.91965 1.71345 0 3913.06 0 1.34774 0 1.49358e-09 3.69907e-10 2.32265e-09 2017-10-03T11:58:52.000 2017-10-04T11:58:52.000 434116732.0 434203132.0 1 1.71345 2 5.99147 263.647 -2.8547 8.98066e-06 2 3913.06 1.34774 0 0 0 0 1 0 1 1 0 15 10 100,300 300,1000 0,0 60,60 80 0.4 0 6 110 -1 404.732 0.5 0 52 3 0 381.654 1.38412e-15 1 52 3 486.109 -58030.49921296296 58031.49921296296 7.62835 820.045e-08 190.836e-08 1249.26e-08 0.7,0.7 0,0 4.08416,3.84041 0,0 263.647 -2.8547 0 -1 -1 -1 -1 -1 -1 -1 3793810.0 0.11534 31.111 7.23995 1.71345 0 3913.06 0 1.34774 0 1.45786e-09 3.39264e-10 2.2209e-09 2017-10-04T11:58:52.000 2017-10-05T11:58:52.000 434203132.0 434289532.0 1 1.71345 2 5.99147 263.647 -2.8547 8.98066e-06 2 3913.06 1.34774 0 0 0 0 1 0 1 1 0 15 10 100,300 300,1000 0,0 60,60 80 0.4 0 6 97 -1 365.175 0.5 0 52 3 0 336.08 8.18392e-17 1 52 3 426.148 +time_start_mjd time_end_mjd sqrt(ts) flux flux_err flux_ul gal gal_error iso iso_error l_peak b_peak dist_peak l b r ell_dist a b phi exposure ExpRatio counts counts_err Index Index_Err Par2 Par2_Err Par3 Par3_Err Erglog Erglog_Err Erglog_UL time_start_utc time_end_utc time_start_tt time_end_tt Fix index ULConfidenceLevel SrcLocConfLevel start_l start_b start_flux typefun par2 par3 galmode2 galmode2fit isomode2 isomode2fit edpcor fluxcor integratortype expratioEval expratio_minthr expratio_maxthr expratio_size Emin emax fovmin fovmax albedo binsize expstep phasecode fit_cts fit_fitstatus0 fit_fcn0 fit_edm0 fit_nvpar0 fit_nparx0 fit_iter0 fit_fitstatus1 fit_fcn1 fit_edm1 fit_nvpar1 fit_nparx1 fit_iter1 fit_Likelihood1 +58026.49921296296 58027.49921296296 7.34802 944.077e-08 213.085e-08 1418.53e-08 0.7,0.7 0,0 4.08416,3.84041 0,0 263.647 -2.8547 0 -1 -1 -1 -1 -1 -1 -1 3718660.0 0.153787 35.107 7.92393 1.71345 0 3913.06 0 1.34774 0 1.67836e-09 3.78819e-10 2.52182e-09 2017-09-30T11:58:52.000 2017-10-01T11:58:52.000 433857532.0 433943932.0 1 1.71345 2 5.99147 263.647 -2.8547 8.98066e-06 2 3913.06 1.34774 0 0 0 0 1 0 1 1 0 15 10 100,300 300,1000 0,0 60,60 80 0.4 0 6 92 -1 344.763 0.5 0 52 3 0 317.767 7.08173e-17 1 52 3 404.222 +58027.49921296296 58028.49921296296 8.88107 1054.87e-08 211.633e-08 1523.64e-08 0.7,0.7 0,0 4.08416,3.84041 0,0 263.647 -2.8547 0 -1 -1 -1 -1 -1 -1 -1 3843970.0 0.422914 40.5489 8.1351 1.71345 0 3913.06 0 1.34774 0 1.87533e-09 3.76236e-10 2.7087e-09 2017-10-01T11:58:52.000 2017-10-02T11:58:52.000 433943932.0 434030332.0 1 1.71345 2 5.99147 263.647 -2.8547 8.98066e-06 2 3913.06 1.34774 0 0 0 0 1 0 1 1 0 15 10 100,300 300,1000 0,0 60,60 80 0.4 0 6 91 -1 341.2 0.5 0 52 3 0 301.763 5.3014e-17 1 52 3 391.377 +58028.49921296296 58029.49921296296 7.31826 820.89e-08 198.193e-08 1266.73e-08 0.7,0.7 0,0 4.08416,3.84041 0,0 263.647 -2.8547 0 -1 -1 -1 -1 -1 -1 -1 3788250.0 0.0768935 31.0974 7.50807 1.71345 0 3913.06 0 1.34774 0 1.45936e-09 3.52344e-10 2.25196e-09 2017-10-02T11:58:52.000 2017-10-03T11:58:52.000 434030332.0 434116732.0 1 1.71345 2 5.99147 263.647 -2.8547 8.98066e-06 2 3913.06 1.34774 0 0 0 0 1 0 1 1 0 15 10 100,300 300,1000 0,0 60,60 80 0.4 0 6 96 -1 357.846 0.5 0 52 3 0 331.067 1.29616e-16 1 52 3 422.908 +58029.49921296296 58030.49921296296 6.7938 840.137e-08 208.073e-08 1306.49e-08 0.7,0.7 0,0 4.08416,3.84041 0,0 263.647 -2.8547 0 -1 -1 -1 -1 -1 -1 -1 3806190.0 0.346021 31.9772 7.91965 1.71345 0 3913.06 0 1.34774 0 1.49358e-09 3.69907e-10 2.32265e-09 2017-10-03T11:58:52.000 2017-10-04T11:58:52.000 434116732.0 434203132.0 1 1.71345 2 5.99147 263.647 -2.8547 8.98066e-06 2 3913.06 1.34774 0 0 0 0 1 0 1 1 0 15 10 100,300 300,1000 0,0 60,60 80 0.4 0 6 110 -1 404.732 0.5 0 52 3 0 381.654 1.38412e-15 1 52 3 486.109 +58030.49921296296 58031.49921296296 7.62835 820.045e-08 190.836e-08 1249.26e-08 0.7,0.7 0,0 4.08416,3.84041 0,0 263.647 -2.8547 0 -1 -1 -1 -1 -1 -1 -1 3793810.0 0.11534 31.111 7.23995 1.71345 0 3913.06 0 1.34774 0 1.45786e-09 3.39264e-10 2.2209e-09 2017-10-04T11:58:52.000 2017-10-05T11:58:52.000 434203132.0 434289532.0 1 1.71345 2 5.99147 263.647 -2.8547 8.98066e-06 2 3913.06 1.34774 0 0 0 0 1 0 1 1 0 15 10 100,300 300,1000 0,0 60,60 80 0.4 0 6 97 -1 365.175 0.5 0 52 3 0 336.08 8.18392e-17 1 52 3 426.148Aperture Photometry -
433857532.0 433861132.0 163966.55 0 -433861132.0 433864732.0 79051.27 0 -433864732.0 433868332.0 222291.92 3 -433868332.0 433871932.0 124952.15 1 -433871932.0 433875532.0 82674.74 1 -433875532.0 433879132.0 248922.49 3 -433879132.0 433882732.0 72540.14 2 -433882732.0 433886332.0 205541.84 1 -433886332.0 433889932.0 224762.32 1 -433889932.0 433893532.0 92971.98 1 -433893532.0 433897132.0 282159.50 2 -433897132.0 433900732.0 161665.02 2 -433900732.0 433904332.0 117541.07 1 -433904332.0 433907932.0 322960.54 2 -433907932.0 433911532.0 131259.96 2 -433911532.0 433915132.0 169328.03 0 -433915132.0 433918732.0 256623.00 3 -433918732.0 433922332.0 34305.35 0 -433922332.0 433925932.0 215591.35 0 -433925932.0 433929532.0 179317.12 3 -433929532.0 433933132.0 136096.58 1 -433933132.0 433936732.0 204434.05 1 -433936732.0 433940332.0 122829.65 1 -433940332.0 433943932.0 114408.54 3 -433943932.0 433947532.0 237292.69 2 -433947532.0 433951132.0 142309.75 0 -433951132.0 433954732.0 74501.66 1 -433954732.0 433958332.0 212654.44 0 -433958332.0 433961932.0 97756.11 2 -433961932.0 433965532.0 151709.36 1 -433965532.0 433969132.0 213108.45 3 -433969132.0 433972732.0 83285.72 0 -433972732.0 433976332.0 253470.58 1 -433976332.0 433979932.0 211059.30 3 -433979932.0 433983532.0 130823.15 1 -433983532.0 433987132.0 271935.90 3 -433987132.0 433990732.0 122762.61 0 -433990732.0 433994332.0 174535.06 0 -433994332.0 433997932.0 298343.85 3 -433997932.0 434001532.0 88410.96 0 -434001532.0 434005132.0 218154.64 0 -434005132.0 434008732.0 212744.04 2 -434008732.0 434012332.0 83927.18 0 -434012332.0 434015932.0 223713.87 6 -434015932.0 434019532.0 168459.43 0 -434019532.0 434023132.0 125221.63 1 -434023132.0 434026732.0 211054.85 5 -434026732.0 434030332.0 117049.45 1 -434030332.0 434033932.0 88600.91 0 -434033932.0 434037532.0 251330.89 3 -434037532.0 434041132.0 120564.22 0 -434041132.0 434044732.0 86891.09 1 -434044732.0 434048332.0 226131.35 0 -434048332.0 434051932.0 74688.92 1 -434051932.0 434055532.0 194368.68 2 -434055532.0 434059132.0 197891.42 3 -434059132.0 434062732.0 145465.76 2 -434062732.0 434066332.0 268694.53 2 -434066332.0 434069932.0 173918.55 2 -434069932.0 434073532.0 139096.50 1 -434073532.0 434077132.0 301584.55 5 -434077132.0 434080732.0 119217.12 0 -434080732.0 434084332.0 165177.16 1 -434084332.0 434087932.0 237725.83 0 -434087932.0 434091532.0 73409.52 1 -434091532.0 434095132.0 216167.58 1 -434095132.0 434098732.0 148920.65 2 -434098732.0 434102332.0 99830.56 1 -434102332.0 434105932.0 181063.02 0 -434105932.0 434109532.0 109685.66 2 -434109532.0 434113132.0 131412.51 0 -434113132.0 434116732.0 272096.25 4 -434116732.0 434120332.0 121806.07 1 -434120332.0 434123932.0 63449.82 1 -434123932.0 434127532.0 219525.52 2 -434127532.0 434131132.0 122860.73 0 -434131132.0 434134732.0 131316.13 2 -434134732.0 434138332.0 230452.92 0 -434138332.0 434141932.0 84767.49 2 -434141932.0 434145532.0 260401.16 2 -434145532.0 434149132.0 212796.68 0 -434149132.0 434152732.0 103917.15 1 -434152732.0 434156332.0 303023.52 3 -434156332.0 434159932.0 156435.40 2 -434159932.0 434163532.0 143513.99 1 -434163532.0 434167132.0 302959.27 2 -434167132.0 434170732.0 115152.67 0 -434170732.0 434174332.0 202823.59 3 -434174332.0 434177932.0 220312.36 2 -434177932.0 434181532.0 44688.74 1 -434181532.0 434185132.0 225093.94 1 -434185132.0 434188732.0 184473.83 1 -434188732.0 434192332.0 121110.93 0 -434192332.0 434195932.0 244250.17 4 -434195932.0 434199532.0 132818.39 2 -434199532.0 434203132.0 112874.57 1 -434203132.0 434206732.0 212542.28 0 -434206732.0 434210332.0 126377.13 2 -434210332.0 434213932.0 79615.04 0 -434213932.0 434217532.0 229896.45 3 -434217532.0 434221132.0 84485.46 0 -434221132.0 434224732.0 186302.08 1 -434224732.0 434228332.0 208854.94 3 -434228332.0 434231932.0 124951.56 1 -434231932.0 434235532.0 264953.76 1 -434235532.0 434239132.0 168294.21 1 -434239132.0 434242732.0 119351.54 0 -434242732.0 434246332.0 338835.79 1 -434246332.0 434249932.0 108649.67 1 -434249932.0 434253532.0 183795.17 1 -434253532.0 434257132.0 233491.18 5 -434257132.0 434260732.0 87483.43 1 -434260732.0 434264332.0 224055.59 2 -434264332.0 434267932.0 82713.39 0 -434267932.0 434271532.0 137192.32 1 -434271532.0 434275132.0 200398.88 0 -434275132.0 434278732.0 126903.48 2 -434278732.0 434282332.0 120940.45 1 -434282332.0 434285932.0 243282.00 4 -434285932.0 434289532.0 149989.82 1 +433857532.0 433861132.0 163966.55 0 +433861132.0 433864732.0 79051.27 0 +433864732.0 433868332.0 222291.92 3 +433868332.0 433871932.0 124952.15 1 +433871932.0 433875532.0 82674.74 1 +433875532.0 433879132.0 248922.49 3 +433879132.0 433882732.0 72540.14 2 +433882732.0 433886332.0 205541.84 1 +433886332.0 433889932.0 224762.32 1 +433889932.0 433893532.0 92971.98 1 +433893532.0 433897132.0 282159.50 2 +433897132.0 433900732.0 161665.02 2 +433900732.0 433904332.0 117541.07 1 +433904332.0 433907932.0 322960.54 2 +433907932.0 433911532.0 131259.96 2 +433911532.0 433915132.0 169328.03 0 +433915132.0 433918732.0 256623.00 3 +433918732.0 433922332.0 34305.35 0 +433922332.0 433925932.0 215591.35 0 +433925932.0 433929532.0 179317.12 3 +433929532.0 433933132.0 136096.58 1 +433933132.0 433936732.0 204434.05 1 +433936732.0 433940332.0 122829.65 1 +433940332.0 433943932.0 114408.54 3 +433943932.0 433947532.0 237292.69 2 +433947532.0 433951132.0 142309.75 0 +433951132.0 433954732.0 74501.66 1 +433954732.0 433958332.0 212654.44 0 +433958332.0 433961932.0 97756.11 2 +433961932.0 433965532.0 151709.36 1 +433965532.0 433969132.0 213108.45 3 +433969132.0 433972732.0 83285.72 0 +433972732.0 433976332.0 253470.58 1 +433976332.0 433979932.0 211059.30 3 +433979932.0 433983532.0 130823.15 1 +433983532.0 433987132.0 271935.90 3 +433987132.0 433990732.0 122762.61 0 +433990732.0 433994332.0 174535.06 0 +433994332.0 433997932.0 298343.85 3 +433997932.0 434001532.0 88410.96 0 +434001532.0 434005132.0 218154.64 0 +434005132.0 434008732.0 212744.04 2 +434008732.0 434012332.0 83927.18 0 +434012332.0 434015932.0 223713.87 6 +434015932.0 434019532.0 168459.43 0 +434019532.0 434023132.0 125221.63 1 +434023132.0 434026732.0 211054.85 5 +434026732.0 434030332.0 117049.45 1 +434030332.0 434033932.0 88600.91 0 +434033932.0 434037532.0 251330.89 3 +434037532.0 434041132.0 120564.22 0 +434041132.0 434044732.0 86891.09 1 +434044732.0 434048332.0 226131.35 0 +434048332.0 434051932.0 74688.92 1 +434051932.0 434055532.0 194368.68 2 +434055532.0 434059132.0 197891.42 3 +434059132.0 434062732.0 145465.76 2 +434062732.0 434066332.0 268694.53 2 +434066332.0 434069932.0 173918.55 2 +434069932.0 434073532.0 139096.50 1 +434073532.0 434077132.0 301584.55 5 +434077132.0 434080732.0 119217.12 0 +434080732.0 434084332.0 165177.16 1 +434084332.0 434087932.0 237725.83 0 +434087932.0 434091532.0 73409.52 1 +434091532.0 434095132.0 216167.58 1 +434095132.0 434098732.0 148920.65 2 +434098732.0 434102332.0 99830.56 1 +434102332.0 434105932.0 181063.02 0 +434105932.0 434109532.0 109685.66 2 +434109532.0 434113132.0 131412.51 0 +434113132.0 434116732.0 272096.25 4 +434116732.0 434120332.0 121806.07 1 +434120332.0 434123932.0 63449.82 1 +434123932.0 434127532.0 219525.52 2 +434127532.0 434131132.0 122860.73 0 +434131132.0 434134732.0 131316.13 2 +434134732.0 434138332.0 230452.92 0 +434138332.0 434141932.0 84767.49 2 +434141932.0 434145532.0 260401.16 2 +434145532.0 434149132.0 212796.68 0 +434149132.0 434152732.0 103917.15 1 +434152732.0 434156332.0 303023.52 3 +434156332.0 434159932.0 156435.40 2 +434159932.0 434163532.0 143513.99 1 +434163532.0 434167132.0 302959.27 2 +434167132.0 434170732.0 115152.67 0 +434170732.0 434174332.0 202823.59 3 +434174332.0 434177932.0 220312.36 2 +434177932.0 434181532.0 44688.74 1 +434181532.0 434185132.0 225093.94 1 +434185132.0 434188732.0 184473.83 1 +434188732.0 434192332.0 121110.93 0 +434192332.0 434195932.0 244250.17 4 +434195932.0 434199532.0 132818.39 2 +434199532.0 434203132.0 112874.57 1 +434203132.0 434206732.0 212542.28 0 +434206732.0 434210332.0 126377.13 2 +434210332.0 434213932.0 79615.04 0 +434213932.0 434217532.0 229896.45 3 +434217532.0 434221132.0 84485.46 0 +434221132.0 434224732.0 186302.08 1 +434224732.0 434228332.0 208854.94 3 +434228332.0 434231932.0 124951.56 1 +434231932.0 434235532.0 264953.76 1 +434235532.0 434239132.0 168294.21 1 +434239132.0 434242732.0 119351.54 0 +434242732.0 434246332.0 338835.79 1 +434246332.0 434249932.0 108649.67 1 +434249932.0 434253532.0 183795.17 1 +434253532.0 434257132.0 233491.18 5 +434257132.0 434260732.0 87483.43 1 +434260732.0 434264332.0 224055.59 2 +434264332.0 434267932.0 82713.39 0 +434267932.0 434271532.0 137192.32 1 +434271532.0 434275132.0 200398.88 0 +434275132.0 434278732.0 126903.48 2 +434278732.0 434282332.0 120940.45 1 +434282332.0 434285932.0 243282.00 4 +434285932.0 434289532.0 149989.82 1diff --git a/docs/source/_static/notebooks/aitoff_maps.html b/docs/source/_static/notebooks/aitoff_maps.html index 96a3c2fc..5550035c 100644 --- a/docs/source/_static/notebooks/aitoff_maps.html +++ b/docs/source/_static/notebooks/aitoff_maps.html @@ -14866,7 +14866,6 @@Aitoff configurations and display`_: it shows how to use the Agilepy's wavelet analysis API. - engineering_api_tutorial: they show how to use the Agilepy's engineering analysis API. -- `Bayesian Blocks analysis <../_static/notebooks/BayesianBlocks_tutorial.ipynb>`_: run the Bayesian Blocks algorithm on AGILE light curves produced by Maximum Likelihood or Aperture Photometry algorithms, or on unbinnned data. -- `Ratemeters analysis <../_static/notebooks/Ratemeters_tutorial.ipynb>`_: Tutorial for the analysis of the Light Curves produced by the AGILE Scientific Ratemeters. +- `Bayesian Blocks analysis <../_static/notebooks/BayesianBlocks_tutorial.html>`_: run the Bayesian Blocks algorithm on AGILE light curves produced by Maximum Likelihood or Aperture Photometry algorithms, or on unbinnned data. +- `Ratemeters analysis <../_static/notebooks/Ratemeters_tutorial.html>`_: Tutorial for the analysis of the Light Curves produced by the AGILE Scientific Ratemeters. The following notebook is another useful example of the use of Agilepy that is runned downloading AGILE data from SSDC website: