/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

outfile=/lscratch/kocevski/35384807/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/35384807/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 8.84
user 8.18
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35384807/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384807/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35384807/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384807/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/35384807/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 71.22
user 66.40
sys 4.09

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2331.0-2147 @ 352.763 -21.7953

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35384807/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384807/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384807/cmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.01
user 0.27
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35384807/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384807/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384807/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.81
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35384807/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384807/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35384807/Model_4FGL_J2331.0-2147_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourcoutfile=/lscratch/kocevski/35384806/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/35384806/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 9.12
user 8.27
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35384806/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384806/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35384806/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384806/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/35384806/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 70.83
user 66.11
sys 3.94

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2331.0-2147 @ 352.763 -21.7953

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35384806/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384806/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384806/cmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.85
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35384806/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384806/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384806/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.88
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35384806/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384806/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35384806/Model_4FGL_J2331.0-2147_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourc/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)
number of points = 7651
number of fields = 31
RA_SUN column already exists. File will not be modified.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.


Performing analysis on: 4FGL_J2331.0-2147_daily_bin2196
RA = 352.763, Dec = -21.7953
tmin = 808531201, tmax = 808790401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='35384895', job_status='RUN', time_executed='2026-08-19 17:57:49.315586', time_epoch_executed='1787187469.32' WHERE source_name='4FGL J2331.0-2147' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35384895

Creating custom pfile directory:
/lscratch/kocevski/35384895/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35384895/ft1_4FGL_J2331.0-2147_daily_bin2196.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35384895/ft2_4FGL_J2331.0-2147_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35384895/ft1_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384895/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin2196.fits ra=352.763 dec=-21.7953 rad=12.0 tmin=808531201.0 tmax=808790401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.83
user 2.14
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35384895/ft2_4FGL_J2331.0-2147_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35384895/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/35384895/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35384895/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.76
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 398

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35384895/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35384895/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" number of points = 7651
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2331.0-2147_daily_bin2196
RA = 352.763, Dec = -21.7953
tmin = 808531201, tmax = 808790401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='35384918', job_status='RUN', time_executed='2026-08-19 17:57:49.770094', time_epoch_executed='1787187469.77' WHERE source_name='4FGL J2331.0-2147' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35384918

Creating custom pfile directory:
/lscratch/kocevski/35384918/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35384918/ft1_4FGL_J2331.0-2147_daily_bin2196.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35384918/ft2_4FGL_J2331.0-2147_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35384918/ft1_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384918/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin2196.fits ra=352.763 dec=-21.7953 rad=12.0 tmin=808531201.0 tmax=808790401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.84
user 2.24
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35384918/ft2_4FGL_J2331.0-2147_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35384918/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/35384918/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35384918/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.10
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 398

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35384918/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35384918/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35384878/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/35384878/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 9.13
user 8.56
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35384878/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384878/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35384878/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384878/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/35384878/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 67.66
user 63.07
sys 3.96

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2331.0-2147 @ 352.763 -21.7953

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35384878/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384878/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384878/cmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.70
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35384878/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384878/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384878/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.74
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35384878/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384878/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35384878/Model_4FGL_J2331.0-2147_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourcoutfile=/lscratch/kocevski/35384872/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/35384872/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 9.50
user 8.84
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35384872/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384872/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35384872/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384872/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/35384872/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 67.49
user 63.12
sys 3.73

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2331.0-2147 @ 352.763 -21.7953

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35384872/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384872/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384872/cmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.68
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35384872/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384872/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384872/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.73
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35384872/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384872/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35384872/Model_4FGL_J2331.0-2147_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourcoutfile=/lscratch/kocevski/35384871/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/35384871/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 9.50
user 8.78
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35384871/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384871/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35384871/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384871/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/35384871/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 67.39
user 63.05
sys 3.80

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2331.0-2147 @ 352.763 -21.7953

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35384871/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384871/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384871/cmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.72
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35384871/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384871/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384871/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.79
user 0.21
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35384871/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384871/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35384871/Model_4FGL_J2331.0-2147_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourcoutfile=/lscratch/kocevski/35384870/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/35384870/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 9.21
user 8.53
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35384870/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384870/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35384870/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384870/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/35384870/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 67.60
user 63.17
sys 3.77

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2331.0-2147 @ 352.763 -21.7953

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35384870/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384870/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384870/cmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.66
user 0.20
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35384870/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384870/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384870/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.84
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35384870/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384870/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35384870/Model_4FGL_J2331.0-2147_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourcoutfile=/lscratch/kocevski/35384854/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/35384854/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 8.58
user 7.91
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35384854/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384854/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35384854/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384854/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/35384854/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 70.08
user 64.98
sys 4.11

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2331.0-2147 @ 352.763 -21.7953

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35384854/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384854/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384854/cmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.78
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35384854/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384854/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384854/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.70
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35384854/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384854/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35384854/Model_4FGL_J2331.0-2147_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/35384807/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits.....................!
real 18.10
user 16.25
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35384807/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits', '/lscratch/kocevski/35384807/ft2_4FGL_J2331.0-2147_daily_bin2196.fits', expMap='/lscratch/kocevski/35384807/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', expCube='/lscratch/kocevski/35384807/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35384807/Model_4FGL_J2331.0-2147_daily_bin2196.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.0-2147'

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  2.017e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35384807/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35384807/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35384807/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35384807/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35384807/Model_4FGL_J2331.0-2147_daily_bin2196.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.22711433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2170158

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.455       1.0000          .0000       .10000E+07
     2 'norm      '    1.1167       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19684E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .42035E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46051E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .62055E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3682       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46364E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .51939E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89195E-01   1.0000          .0000       .10000E+07
    12 'norm      '    12.280       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11297E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1186       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89031E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92215       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4608.214     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1409 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.094        72.903       -.13704E-04    .70933E-02
   2  norm          1.1164        1.4829       -.12256E-05   -.42032E-02
   3  Prefactor     .11758E-04    10.347       -.26422E-05** at limit **
   4  norm          .11102E-09    3.8709        .55912E-06** at limit **
   5  Prefactor      .0000        6.0769       -.41353E-05** at limit **
   6  Prefactor      .0000        3.4860        .98419E-06** at limit **
   7  norm           .0000        .18770       -.25164E-05** at limit **
   8  Prefactor     6.4889        7.9573        .20290E-05    .22285E-02
   9  Prefactor      .0000        4.2910       -.14128E-05** at limit **
  10  Prefactor     .55511E-10    8.5582       -.19389E-06** at limit **
  11  Prefactor     .28521E-05    29.206        .51379E-05** at limit **
  12  norm          12.272        5.6970       -.99252E-06    .38026E-02
  13  Prefactor     .22488E-05    28.897        .44478E-06** at limit **
  14  norm           .0000        .28808       -.85409E-06** at limit **
  15  norm          2.1203        2.9005       -.20929E-05   -.92521E-03
  16  Prefactor     .28290E-05    28.545        .41615E-05** at limit **
  17  Prefactor     .41178E-05    21.736       -.65562E-05** at limit **
  18  Normalizat    1.1085        .24812        .34167E-05    .27502E-03
  19  Prefactor     .92200        .23874        .10786E-04    .26128E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 50.094
  norm       = 1.1164
  Prefactor  = 1.17584e-05
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.48886
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.85211e-06
  norm       = 12.2722
  Prefactor  = 2.24881e-06
  norm       = 0
  norm       = 2.12026
  Prefactor  = 2.82901e-06
  Prefactor  = 4.11782e-06
  Normalizat = 1.10853
  Prefactor  = 0.922003
e GAL_V02
Working on...
/lscratch/kocevski/35384806/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits.....................!
real 17.71
user 16.25
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35384806/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits', '/lscratch/kocevski/35384806/ft2_4FGL_J2331.0-2147_daily_bin2196.fits', expMap='/lscratch/kocevski/35384806/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', expCube='/lscratch/kocevski/35384806/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35384806/Model_4FGL_J2331.0-2147_daily_bin2196.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.0-2147'

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  2.017e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35384806/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35384806/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35384806/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35384806/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35384806/Model_4FGL_J2331.0-2147_daily_bin2196.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.22711433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2170158

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.455       1.0000          .0000       .10000E+07
     2 'norm      '    1.1167       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19684E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .42035E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46051E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .62055E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3682       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46364E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .51939E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89195E-01   1.0000          .0000       .10000E+07
    12 'norm      '    12.280       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11297E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1186       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89031E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92215       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4608.214     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1409 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.094        72.903       -.13704E-04    .70933E-02
   2  norm          1.1164        1.4829       -.12256E-05   -.42032E-02
   3  Prefactor     .11758E-04    10.347       -.26422E-05** at limit **
   4  norm          .11102E-09    3.8709        .55912E-06** at limit **
   5  Prefactor      .0000        6.0769       -.41353E-05** at limit **
   6  Prefactor      .0000        3.4860        .98419E-06** at limit **
   7  norm           .0000        .18770       -.25164E-05** at limit **
   8  Prefactor     6.4889        7.9573        .20290E-05    .22285E-02
   9  Prefactor      .0000        4.2910       -.14128E-05** at limit **
  10  Prefactor     .55511E-10    8.5582       -.19389E-06** at limit **
  11  Prefactor     .28521E-05    29.206        .51379E-05** at limit **
  12  norm          12.272        5.6970       -.99252E-06    .38026E-02
  13  Prefactor     .22488E-05    28.897        .44478E-06** at limit **
  14  norm           .0000        .28808       -.85409E-06** at limit **
  15  norm          2.1203        2.9005       -.20929E-05   -.92521E-03
  16  Prefactor     .28290E-05    28.545        .41615E-05** at limit **
  17  Prefactor     .41178E-05    21.736       -.65562E-05** at limit **
  18  Normalizat    1.1085        .24812        .34167E-05    .27502E-03
  19  Prefactor     .92200        .23874        .10786E-04    .26128E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 50.094
  norm       = 1.1164
  Prefactor  = 1.17584e-05
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.48886
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.85211e-06
  norm       = 12.2722
  Prefactor  = 2.24881e-06
  norm       = 0
  norm       = 2.12026
  Prefactor  = 2.82901e-06
  Prefactor  = 4.11782e-06
  Normalizat = 1.10853
  Prefactor  = 0.922003
number of points = 7651
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2331.0-2147_daily_bin2196
RA = 352.763, Dec = -21.7953
tmin = 808531201, tmax = 808790401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='35384948', job_status='RUN', time_executed='2026-08-19 17:58:49.932700', time_epoch_executed='1787187529.93' WHERE source_name='4FGL J2331.0-2147' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35384948

Creating custom pfile directory:
/lscratch/kocevski/35384948/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35384948/ft1_4FGL_J2331.0-2147_daily_bin2196.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35384948/ft2_4FGL_J2331.0-2147_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35384948/ft1_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384948/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin2196.fits ra=352.763 dec=-21.7953 rad=12.0 tmin=808531201.0 tmax=808790401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.99
user 2.22
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35384948/ft2_4FGL_J2331.0-2147_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35384948/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/35384948/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35384948/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.89
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 398

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35384948/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35384948/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" number of points = 7651
number of fields = 31
RA_SUN column already exists. File will not be modified.
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.214     FROM HESSE     STATUS=OK           298 CALLS     1707 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.094        73.211        .13942E-03   -1.5566    
   2  norm          1.1164        1.5171        .11133E-02   -1.5687    
   3  Prefactor     .11758E-04    29.474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11102E-09    3.8332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.0721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.4768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .18645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4889        7.9600        .39751E-03   -1.5657    
   9  Prefactor      .0000        4.2843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    8.5590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28521E-05    56.198        .14229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.272        5.6886        .28560E-03   -1.5638    
  13  Prefactor     .22488E-05    32.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .28378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1203        2.9228        .70832E-03   -1.5679    
  16  Prefactor     .28290E-05    56.911        .14234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41178E-05    28.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1085        .20615        .54398E-01   -.89478    
  19  Prefactor     .92200        .19894        .45287E-01   -.95376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16639e-07
Minuit parameter uncertainties:
  1  73.2128
  2  1.51715
  3  0.0372325
  4  4.10831e-05
  5  1.48953e-05
  6  1.73174e-05
  7  1.7704e-08
  8  7.96
  9  1.56054e-05
  10  3.31361e-05
  11  0.0253209
  12  5.68862
  13  0.0170469
  14  2.77044e-06
  15  2.92278
  16  0.0253775
  17  0.0216408
  18  0.206303
  19  0.199097
Done.


Performing analysis on: 4FGL_J2331.0-2147_daily_bin2196
RA = 352.763, Dec = -21.7953
tmin = 808531201, tmax = 808790401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='35384944', job_status='RUN', time_executed='2026-08-19 17:58:50.454470', time_epoch_executed='1787187530.45' WHERE source_name='4FGL J2331.0-2147' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35384944

Creating custom pfile directory:
/lscratch/kocevski/35384944/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35384944/ft1_4FGL_J2331.0-2147_daily_bin2196.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35384944/ft2_4FGL_J2331.0-2147_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35384944/ft1_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384944/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin2196.fits ra=352.763 dec=-21.7953 rad=12.0 tmin=808531201.0 tmax=808790401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.88
user 2.18
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35384944/ft2_4FGL_J2331.0-2147_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35384944/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/35384944/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35384944/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.74
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 398

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35384944/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35384944/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" number of points = 7651
number of fields = 31
RA_SUN column already exists. File will not be modified.
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.214     FROM HESSE     STATUS=OK           298 CALLS     1707 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.094        73.211        .13942E-03   -1.5566    
   2  norm          1.1164        1.5171        .11133E-02   -1.5687    
   3  Prefactor     .11758E-04    29.474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11102E-09    3.8332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.0721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.4768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .18645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4889        7.9600        .39751E-03   -1.5657    
   9  Prefactor      .0000        4.2843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    8.5590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28521E-05    56.198        .14229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.272        5.6886        .28560E-03   -1.5638    
  13  Prefactor     .22488E-05    32.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .28378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1203        2.9228        .70832E-03   -1.5679    
  16  Prefactor     .28290E-05    56.911        .14234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41178E-05    28.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1085        .20615        .54398E-01   -.89478    
  19  Prefactor     .92200        .19894        .45287E-01   -.95376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16639e-07
Minuit parameter uncertainties:
  1  73.2128
  2  1.51715
  3  0.0372325
  4  4.10831e-05
  5  1.48953e-05
  6  1.73174e-05
  7  1.7704e-08
  8  7.96
  9  1.56054e-05
  10  3.31361e-05
  11  0.0253209
  12  5.68862
  13  0.0170469
  14  2.77044e-06
  15  2.92278
  16  0.0253775
  17  0.0216408
  18  0.206303
  19  0.199097
Done.


Performing analysis on: 4FGL_J2331.0-2147_daily_bin2196
RA = 352.763, Dec = -21.7953
tmin = 808531201, tmax = 808790401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='35384942', job_status='RUN', time_executed='2026-08-19 17:58:50.460172', time_epoch_executed='1787187530.46' WHERE source_name='4FGL J2331.0-2147' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35384942

Creating custom pfile directory:
/lscratch/kocevski/35384942/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35384942/ft1_4FGL_J2331.0-2147_daily_bin2196.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35384942/ft2_4FGL_J2331.0-2147_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35384942/ft1_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384942/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin2196.fits ra=352.763 dec=-21.7953 rad=12.0 tmin=808531201.0 tmax=808790401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.00
user 2.20
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35384942/ft2_4FGL_J2331.0-2147_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35384942/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/35384942/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35384942/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.66
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 398

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35384942/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35384942/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2143039

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.227e+01  5.689e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.220e-01  1.991e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.109e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.45
Ra Dec: 352.763 -21.795
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 6.10e-08
Energy Flux (Fixed Index): 4.37e-05 +/- 2.03e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18363873
delta logL = 0.0306651729043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013958
delta logL = 0.03416432218

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.154       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4608.180     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.151        87.501        .29973E-03    .91992E-02
   2  alpha         2.5612        3.7800        .20483        .33308E-04
   3  Normalizat    1.0921        .13975        .38335E-01    .41135E-03
   4  Prefactor     .93353        .10656        .45432E-01    .37549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1512
  alpha      = 2.56118
  Normalizat = 1.09212
  Prefactor  = 0.93353
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.180     FROM HESSE     STATUS=OK            29 CALLS      286 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.151        7.1625        .96294E-05   -1.5641    
   2  alpha         2.5612        .51387        .82962E-02    .24474E-01
   3  Normalizat    1.0921        .25414        .24190E-03   -.90005    
   4  Prefactor     .93353        .24305        .25291E-03   -.94979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43676e-10
Minuit parameter uncertainties:
  1  7.16246
  2  0.517559
  3  0.254423
  4  0.24333
number of points = 7651
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2331.0-2147_daily_bin2196
RA = 352.763, Dec = -21.7953
tmin = 808531201, tmax = 808790401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='35384954', job_status='RUN', time_executed='2026-08-19 17:58:49.837872', time_epoch_executed='1787187529.84' WHERE source_name='4FGL J2331.0-2147' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35384954

Creating custom pfile directory:
/lscratch/kocevski/35384954/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35384954/ft1_4FGL_J2331.0-2147_daily_bin2196.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35384954/ft2_4FGL_J2331.0-2147_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35384954/ft1_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384954/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin2196.fits ra=352.763 dec=-21.7953 rad=12.0 tmin=808531201.0 tmax=808790401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.17
user 2.47
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35384954/ft2_4FGL_J2331.0-2147_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35384954/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/35384954/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35384954/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.81
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 398

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35384954/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35384954/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2143039

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.227e+01  5.689e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.220e-01  1.991e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.109e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.45
Ra Dec: 352.763 -21.795
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 6.10e-08
Energy Flux (Fixed Index): 4.37e-05 +/- 2.03e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18363873
delta logL = 0.0306651729043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013958
delta logL = 0.03416432218

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.154       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4608.180     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.151        87.501        .29973E-03    .91992E-02
   2  alpha         2.5612        3.7800        .20483        .33308E-04
   3  Normalizat    1.0921        .13975        .38335E-01    .41135E-03
   4  Prefactor     .93353        .10656        .45432E-01    .37549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1512
  alpha      = 2.56118
  Normalizat = 1.09212
  Prefactor  = 0.93353
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.180     FROM HESSE     STATUS=OK            29 CALLS      286 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.151        7.1625        .96294E-05   -1.5641    
   2  alpha         2.5612        .51387        .82962E-02    .24474E-01
   3  Normalizat    1.0921        .25414        .24190E-03   -.90005    
   4  Prefactor     .93353        .24305        .25291E-03   -.94979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43676e-10
Minuit parameter uncertainties:
  1  7.16246
  2  0.517559
  3  0.254423
  4  0.24333
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013848
delta logL = 0.0341654231206

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.115e+01  7.162e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.561e+00  5.176e-01  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.335e-01  2.433e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.092e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.50
Ra Dec: 352.763 -21.795
Photon Index (Free Index): 2.56 +/- 0.52
Photon Flux (Free Index): 1.44e-07 +/- 7.83e-08
Energy Flux (Free Index): 4.26e-05 +/- 2.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/35384807/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.26e-05', photon_flux_error='6.10e-08', dlogl='3.42e-02', energy_flux='4.37e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2026-08-19 18:01:52.758174', photon_index_error2='0.52', photon_index2='2.56', ts='8.45', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='1.11', time_epoch_completed='1787187712.76', return_code='0', job_id='35384807', GAL2='0.93', EG2='1.09', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='7.83e-08', ts2='8.50', photon_index='2.43' WHERE bin_id='2196' AND source_name='4FGL J2331.0-2147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:01:53 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013848
delta logL = 0.0341654231206

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.115e+01  7.162e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.561e+00  5.176e-01  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.335e-01  2.433e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.092e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.50
Ra Dec: 352.763 -21.795
Photon Index (Free Index): 2.56 +/- 0.52
Photon Flux (Free Index): 1.44e-07 +/- 7.83e-08
Energy Flux (Free Index): 4.26e-05 +/- 2.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/35384806/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.26e-05', photon_flux_error='6.10e-08', dlogl='3.42e-02', energy_flux='4.37e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2026-08-19 18:01:54.869296', photon_index_error2='0.52', photon_index2='2.56', ts='8.45', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='1.11', time_epoch_completed='1787187714.87', return_code='0', job_id='35384806', GAL2='0.93', EG2='1.09', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='7.83e-08', ts2='8.50', photon_index='2.43' WHERE bin_id='2196' AND source_name='4FGL J2331.0-2147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:01:55 PDT 2026

number of points = 7651
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2331.0-2147_daily_bin2196
RA = 352.763, Dec = -21.7953
tmin = 808531201, tmax = 808790401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='35384973', job_status='RUN', time_executed='2026-08-19 17:58:50.355200', time_epoch_executed='1787187530.36' WHERE source_name='4FGL J2331.0-2147' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35384973

Creating custom pfile directory:
/lscratch/kocevski/35384973/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35384973/ft1_4FGL_J2331.0-2147_daily_bin2196.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35384973/ft2_4FGL_J2331.0-2147_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35384973/ft1_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384973/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin2196.fits ra=352.763 dec=-21.7953 rad=12.0 tmin=808531201.0 tmax=808790401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.83
user 2.24
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35384973/ft2_4FGL_J2331.0-2147_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35384973/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/35384973/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35384973/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.72
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 398

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35384973/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35384973/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35384863/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/35384863/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 9.38
user 8.50
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35384863/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384863/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35384863/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384863/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/35384863/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 76.36
user 70.77
sys 4.47

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2331.0-2147 @ 352.763 -21.7953

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35384863/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384863/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384863/cmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.98
user 0.21
sys 0.19

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35384863/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384863/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384863/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.93
user 0.25
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35384863/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384863/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35384863/Model_4FGL_J2331.0-2147_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/35384878/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits.....................!
real 16.30
user 15.21
sys 0.61

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35384878/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits', '/lscratch/kocevski/35384878/ft2_4FGL_J2331.0-2147_daily_bin2196.fits', expMap='/lscratch/kocevski/35384878/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', expCube='/lscratch/kocevski/35384878/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35384878/Model_4FGL_J2331.0-2147_daily_bin2196.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.0-2147'

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  2.017e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35384878/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35384878/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35384878/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35384878/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35384878/Model_4FGL_J2331.0-2147_daily_bin2196.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.22711433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2170158

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.455       1.0000          .0000       .10000E+07
     2 'norm      '    1.1167       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19684E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .42035E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46051E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .62055E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3682       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46364E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .51939E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89195E-01   1.0000          .0000       .10000E+07
    12 'norm      '    12.280       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11297E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1186       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89031E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92215       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4608.214     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1409 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.094        72.903       -.13704E-04    .70933E-02
   2  norm          1.1164        1.4829       -.12256E-05   -.42032E-02
   3  Prefactor     .11758E-04    10.347       -.26422E-05** at limit **
   4  norm          .11102E-09    3.8709        .55912E-06** at limit **
   5  Prefactor      .0000        6.0769       -.41353E-05** at limit **
   6  Prefactor      .0000        3.4860        .98419E-06** at limit **
   7  norm           .0000        .18770       -.25164E-05** at limit **
   8  Prefactor     6.4889        7.9573        .20290E-05    .22285E-02
   9  Prefactor      .0000        4.2910       -.14128E-05** at limit **
  10  Prefactor     .55511E-10    8.5582       -.19389E-06** at limit **
  11  Prefactor     .28521E-05    29.206        .51379E-05** at limit **
  12  norm          12.272        5.6970       -.99252E-06    .38026E-02
  13  Prefactor     .22488E-05    28.897        .44478E-06** at limit **
  14  norm           .0000        .28808       -.85409E-06** at limit **
  15  norm          2.1203        2.9005       -.20929E-05   -.92521E-03
  16  Prefactor     .28290E-05    28.545        .41615E-05** at limit **
  17  Prefactor     .41178E-05    21.736       -.65562E-05** at limit **
  18  Normalizat    1.1085        .24812        .34167E-05    .27502E-03
  19  Prefactor     .92200        .23874        .10786E-04    .26128E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 50.094
  norm       = 1.1164
  Prefactor  = 1.17584e-05
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.48886
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.85211e-06
  norm       = 12.2722
  Prefactor  = 2.24881e-06
  norm       = 0
  norm       = 2.12026
  Prefactor  = 2.82901e-06
  Prefactor  = 4.11782e-06
  Normalizat = 1.10853
  Prefactor  = 0.922003
e GAL_V02
Working on...
/lscratch/kocevski/35384872/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits.....................!
real 16.42
user 15.27
sys 0.66

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35384872/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits', '/lscratch/kocevski/35384872/ft2_4FGL_J2331.0-2147_daily_bin2196.fits', expMap='/lscratch/kocevski/35384872/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', expCube='/lscratch/kocevski/35384872/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35384872/Model_4FGL_J2331.0-2147_daily_bin2196.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.0-2147'

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  2.017e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35384872/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35384872/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35384872/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35384872/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35384872/Model_4FGL_J2331.0-2147_daily_bin2196.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.22711433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2170158

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.455       1.0000          .0000       .10000E+07
     2 'norm      '    1.1167       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19684E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .42035E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46051E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .62055E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3682       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46364E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .51939E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89195E-01   1.0000          .0000       .10000E+07
    12 'norm      '    12.280       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11297E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1186       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89031E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92215       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4608.214     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1409 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.094        72.903       -.13704E-04    .70933E-02
   2  norm          1.1164        1.4829       -.12256E-05   -.42032E-02
   3  Prefactor     .11758E-04    10.347       -.26422E-05** at limit **
   4  norm          .11102E-09    3.8709        .55912E-06** at limit **
   5  Prefactor      .0000        6.0769       -.41353E-05** at limit **
   6  Prefactor      .0000        3.4860        .98419E-06** at limit **
   7  norm           .0000        .18770       -.25164E-05** at limit **
   8  Prefactor     6.4889        7.9573        .20290E-05    .22285E-02
   9  Prefactor      .0000        4.2910       -.14128E-05** at limit **
  10  Prefactor     .55511E-10    8.5582       -.19389E-06** at limit **
  11  Prefactor     .28521E-05    29.206        .51379E-05** at limit **
  12  norm          12.272        5.6970       -.99252E-06    .38026E-02
  13  Prefactor     .22488E-05    28.897        .44478E-06** at limit **
  14  norm           .0000        .28808       -.85409E-06** at limit **
  15  norm          2.1203        2.9005       -.20929E-05   -.92521E-03
  16  Prefactor     .28290E-05    28.545        .41615E-05** at limit **
  17  Prefactor     .41178E-05    21.736       -.65562E-05** at limit **
  18  Normalizat    1.1085        .24812        .34167E-05    .27502E-03
  19  Prefactor     .92200        .23874        .10786E-04    .26128E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 50.094
  norm       = 1.1164
  Prefactor  = 1.17584e-05
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.48886
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.85211e-06
  norm       = 12.2722
  Prefactor  = 2.24881e-06
  norm       = 0
  norm       = 2.12026
  Prefactor  = 2.82901e-06
  Prefactor  = 4.11782e-06
  Normalizat = 1.10853
  Prefactor  = 0.922003
e GAL_V02
Working on...
/lscratch/kocevski/35384871/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits.....................!
real 16.54
user 15.37
sys 0.69

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35384871/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits', '/lscratch/kocevski/35384871/ft2_4FGL_J2331.0-2147_daily_bin2196.fits', expMap='/lscratch/kocevski/35384871/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', expCube='/lscratch/kocevski/35384871/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35384871/Model_4FGL_J2331.0-2147_daily_bin2196.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.0-2147'

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  2.017e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35384871/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35384871/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35384871/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35384871/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35384871/Model_4FGL_J2331.0-2147_daily_bin2196.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.22711433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2170158

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.455       1.0000          .0000       .10000E+07
     2 'norm      '    1.1167       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19684E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .42035E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46051E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .62055E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3682       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46364E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .51939E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89195E-01   1.0000          .0000       .10000E+07
    12 'norm      '    12.280       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11297E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1186       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89031E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92215       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4608.214     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1409 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.094        72.903       -.13704E-04    .70933E-02
   2  norm          1.1164        1.4829       -.12256E-05   -.42032E-02
   3  Prefactor     .11758E-04    10.347       -.26422E-05** at limit **
   4  norm          .11102E-09    3.8709        .55912E-06** at limit **
   5  Prefactor      .0000        6.0769       -.41353E-05** at limit **
   6  Prefactor      .0000        3.4860        .98419E-06** at limit **
   7  norm           .0000        .18770       -.25164E-05** at limit **
   8  Prefactor     6.4889        7.9573        .20290E-05    .22285E-02
   9  Prefactor      .0000        4.2910       -.14128E-05** at limit **
  10  Prefactor     .55511E-10    8.5582       -.19389E-06** at limit **
  11  Prefactor     .28521E-05    29.206        .51379E-05** at limit **
  12  norm          12.272        5.6970       -.99252E-06    .38026E-02
  13  Prefactor     .22488E-05    28.897        .44478E-06** at limit **
  14  norm           .0000        .28808       -.85409E-06** at limit **
  15  norm          2.1203        2.9005       -.20929E-05   -.92521E-03
  16  Prefactor     .28290E-05    28.545        .41615E-05** at limit **
  17  Prefactor     .41178E-05    21.736       -.65562E-05** at limit **
  18  Normalizat    1.1085        .24812        .34167E-05    .27502E-03
  19  Prefactor     .92200        .23874        .10786E-04    .26128E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 50.094
  norm       = 1.1164
  Prefactor  = 1.17584e-05
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.48886
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.85211e-06
  norm       = 12.2722
  Prefactor  = 2.24881e-06
  norm       = 0
  norm       = 2.12026
  Prefactor  = 2.82901e-06
  Prefactor  = 4.11782e-06
  Normalizat = 1.10853
  Prefactor  = 0.922003
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.214     FROM HESSE     STATUS=OK           298 CALLS     1707 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.094        73.211        .13942E-03   -1.5566    
   2  norm          1.1164        1.5171        .11133E-02   -1.5687    
   3  Prefactor     .11758E-04    29.474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11102E-09    3.8332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.0721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.4768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .18645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4889        7.9600        .39751E-03   -1.5657    
   9  Prefactor      .0000        4.2843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    8.5590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28521E-05    56.198        .14229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.272        5.6886        .28560E-03   -1.5638    
  13  Prefactor     .22488E-05    32.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .28378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1203        2.9228        .70832E-03   -1.5679    
  16  Prefactor     .28290E-05    56.911        .14234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41178E-05    28.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1085        .20615        .54398E-01   -.89478    
  19  Prefactor     .92200        .19894        .45287E-01   -.95376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16639e-07
Minuit parameter uncertainties:
  1  73.2128
  2  1.51715
  3  0.0372325
  4  4.10831e-05
  5  1.48953e-05
  6  1.73174e-05
  7  1.7704e-08
  8  7.96
  9  1.56054e-05
  10  3.31361e-05
  11  0.0253209
  12  5.68862
  13  0.0170469
  14  2.77044e-06
  15  2.92278
  16  0.0253775
  17  0.0216408
  18  0.206303
  19  0.199097
e GAL_V02
Working on...
/lscratch/kocevski/35384870/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits.....................!
real 15.99
user 15.08
sys 0.59

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35384870/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits', '/lscratch/kocevski/35384870/ft2_4FGL_J2331.0-2147_daily_bin2196.fits', expMap='/lscratch/kocevski/35384870/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', expCube='/lscratch/kocevski/35384870/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35384870/Model_4FGL_J2331.0-2147_daily_bin2196.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.0-2147'

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  2.017e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35384870/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35384870/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35384870/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35384870/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35384870/Model_4FGL_J2331.0-2147_daily_bin2196.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.22711433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2170158

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.455       1.0000          .0000       .10000E+07
     2 'norm      '    1.1167       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19684E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .42035E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46051E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .62055E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3682       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46364E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .51939E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89195E-01   1.0000          .0000       .10000E+07
    12 'norm      '    12.280       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11297E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1186       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89031E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92215       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4608.214     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1409 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.094        72.903       -.13704E-04    .70933E-02
   2  norm          1.1164        1.4829       -.12256E-05   -.42032E-02
   3  Prefactor     .11758E-04    10.347       -.26422E-05** at limit **
   4  norm          .11102E-09    3.8709        .55912E-06** at limit **
   5  Prefactor      .0000        6.0769       -.41353E-05** at limit **
   6  Prefactor      .0000        3.4860        .98419E-06** at limit **
   7  norm           .0000        .18770       -.25164E-05** at limit **
   8  Prefactor     6.4889        7.9573        .20290E-05    .22285E-02
   9  Prefactor      .0000        4.2910       -.14128E-05** at limit **
  10  Prefactor     .55511E-10    8.5582       -.19389E-06** at limit **
  11  Prefactor     .28521E-05    29.206        .51379E-05** at limit **
  12  norm          12.272        5.6970       -.99252E-06    .38026E-02
  13  Prefactor     .22488E-05    28.897        .44478E-06** at limit **
  14  norm           .0000        .28808       -.85409E-06** at limit **
  15  norm          2.1203        2.9005       -.20929E-05   -.92521E-03
  16  Prefactor     .28290E-05    28.545        .41615E-05** at limit **
  17  Prefactor     .41178E-05    21.736       -.65562E-05** at limit **
  18  Normalizat    1.1085        .24812        .34167E-05    .27502E-03
  19  Prefactor     .92200        .23874        .10786E-04    .26128E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 50.094
  norm       = 1.1164
  Prefactor  = 1.17584e-05
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.48886
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.85211e-06
  norm       = 12.2722
  Prefactor  = 2.24881e-06
  norm       = 0
  norm       = 2.12026
  Prefactor  = 2.82901e-06
  Prefactor  = 4.11782e-06
  Normalizat = 1.10853
  Prefactor  = 0.922003
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.214     FROM HESSE     STATUS=OK           298 CALLS     1707 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.094        73.211        .13942E-03   -1.5566    
   2  norm          1.1164        1.5171        .11133E-02   -1.5687    
   3  Prefactor     .11758E-04    29.474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11102E-09    3.8332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.0721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.4768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .18645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4889        7.9600        .39751E-03   -1.5657    
   9  Prefactor      .0000        4.2843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    8.5590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28521E-05    56.198        .14229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.272        5.6886        .28560E-03   -1.5638    
  13  Prefactor     .22488E-05    32.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .28378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1203        2.9228        .70832E-03   -1.5679    
  16  Prefactor     .28290E-05    56.911        .14234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41178E-05    28.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1085        .20615        .54398E-01   -.89478    
  19  Prefactor     .92200        .19894        .45287E-01   -.95376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16639e-07
Minuit parameter uncertainties:
  1  73.2128
  2  1.51715
  3  0.0372325
  4  4.10831e-05
  5  1.48953e-05
  6  1.73174e-05
  7  1.7704e-08
  8  7.96
  9  1.56054e-05
  10  3.31361e-05
  11  0.0253209
  12  5.68862
  13  0.0170469
  14  2.77044e-06
  15  2.92278
  16  0.0253775
  17  0.0216408
  18  0.206303
  19  0.199097
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.214     FROM HESSE     STATUS=OK           298 CALLS     1707 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.094        73.211        .13942E-03   -1.5566    
   2  norm          1.1164        1.5171        .11133E-02   -1.5687    
   3  Prefactor     .11758E-04    29.474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11102E-09    3.8332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.0721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.4768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .18645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4889        7.9600        .39751E-03   -1.5657    
   9  Prefactor      .0000        4.2843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    8.5590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28521E-05    56.198        .14229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.272        5.6886        .28560E-03   -1.5638    
  13  Prefactor     .22488E-05    32.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .28378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1203        2.9228        .70832E-03   -1.5679    
  16  Prefactor     .28290E-05    56.911        .14234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41178E-05    28.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1085        .20615        .54398E-01   -.89478    
  19  Prefactor     .92200        .19894        .45287E-01   -.95376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16639e-07
Minuit parameter uncertainties:
  1  73.2128
  2  1.51715
  3  0.0372325
  4  4.10831e-05
  5  1.48953e-05
  6  1.73174e-05
  7  1.7704e-08
  8  7.96
  9  1.56054e-05
  10  3.31361e-05
  11  0.0253209
  12  5.68862
  13  0.0170469
  14  2.77044e-06
  15  2.92278
  16  0.0253775
  17  0.0216408
  18  0.206303
  19  0.199097
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2143039

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.227e+01  5.689e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.220e-01  1.991e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.109e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.45
Ra Dec: 352.763 -21.795
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 6.10e-08
Energy Flux (Fixed Index): 4.37e-05 +/- 2.03e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18363873
delta logL = 0.0306651729043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013958
delta logL = 0.03416432218

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.154       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4608.180     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.151        87.501        .29973E-03    .91992E-02
   2  alpha         2.5612        3.7800        .20483        .33308E-04
   3  Normalizat    1.0921        .13975        .38335E-01    .41135E-03
   4  Prefactor     .93353        .10656        .45432E-01    .37549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1512
  alpha      = 2.56118
  Normalizat = 1.09212
  Prefactor  = 0.93353
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.180     FROM HESSE     STATUS=OK            29 CALLS      286 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.151        7.1625        .96294E-05   -1.5641    
   2  alpha         2.5612        .51387        .82962E-02    .24474E-01
   3  Normalizat    1.0921        .25414        .24190E-03   -.90005    
   4  Prefactor     .93353        .24305        .25291E-03   -.94979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43676e-10
Minuit parameter uncertainties:
  1  7.16246
  2  0.517559
  3  0.254423
  4  0.24333
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.214     FROM HESSE     STATUS=OK           298 CALLS     1707 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.094        73.211        .13942E-03   -1.5566    
   2  norm          1.1164        1.5171        .11133E-02   -1.5687    
   3  Prefactor     .11758E-04    29.474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11102E-09    3.8332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.0721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.4768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .18645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4889        7.9600        .39751E-03   -1.5657    
   9  Prefactor      .0000        4.2843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    8.5590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28521E-05    56.198        .14229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.272        5.6886        .28560E-03   -1.5638    
  13  Prefactor     .22488E-05    32.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .28378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1203        2.9228        .70832E-03   -1.5679    
  16  Prefactor     .28290E-05    56.911        .14234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41178E-05    28.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1085        .20615        .54398E-01   -.89478    
  19  Prefactor     .92200        .19894        .45287E-01   -.95376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16639e-07
Minuit parameter uncertainties:
  1  73.2128
  2  1.51715
  3  0.0372325
  4  4.10831e-05
  5  1.48953e-05
  6  1.73174e-05
  7  1.7704e-08
  8  7.96
  9  1.56054e-05
  10  3.31361e-05
  11  0.0253209
  12  5.68862
  13  0.0170469
  14  2.77044e-06
  15  2.92278
  16  0.0253775
  17  0.0216408
  18  0.206303
  19  0.199097
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2143039

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.227e+01  5.689e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.220e-01  1.991e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.109e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.45
Ra Dec: 352.763 -21.795
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 6.10e-08
Energy Flux (Fixed Index): 4.37e-05 +/- 2.03e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18363873
delta logL = 0.0306651729043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013958
delta logL = 0.03416432218

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.154       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4608.180     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.151        87.501        .29973E-03    .91992E-02
   2  alpha         2.5612        3.7800        .20483        .33308E-04
   3  Normalizat    1.0921        .13975        .38335E-01    .41135E-03
   4  Prefactor     .93353        .10656        .45432E-01    .37549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1512
  alpha      = 2.56118
  Normalizat = 1.09212
  Prefactor  = 0.93353
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013848
delta logL = 0.0341654231206

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.115e+01  7.162e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.561e+00  5.176e-01  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.335e-01  2.433e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.092e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.50
Ra Dec: 352.763 -21.795
Photon Index (Free Index): 2.56 +/- 0.52
Photon Flux (Free Index): 1.44e-07 +/- 7.83e-08
Energy Flux (Free Index): 4.26e-05 +/- 2.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/35384878/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.26e-05', photon_flux_error='6.10e-08', dlogl='3.42e-02', energy_flux='4.37e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2026-08-19 18:02:27.947153', photon_index_error2='0.52', photon_index2='2.56', ts='8.45', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='1.11', time_epoch_completed='1787187747.95', return_code='0', job_id='35384878', GAL2='0.93', EG2='1.09', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='7.83e-08', ts2='8.50', photon_index='2.43' WHERE bin_id='2196' AND source_name='4FGL J2331.0-2147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:02:28 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   4608.180     FROM HESSE     STATUS=OK            29 CALLS      286 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.151        7.1625        .96294E-05   -1.5641    
   2  alpha         2.5612        .51387        .82962E-02    .24474E-01
   3  Normalizat    1.0921        .25414        .24190E-03   -.90005    
   4  Prefactor     .93353        .24305        .25291E-03   -.94979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43676e-10
Minuit parameter uncertainties:
  1  7.16246
  2  0.517559
  3  0.254423
  4  0.24333
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2143039

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.227e+01  5.689e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.220e-01  1.991e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.109e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.45
Ra Dec: 352.763 -21.795
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 6.10e-08
Energy Flux (Fixed Index): 4.37e-05 +/- 2.03e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18363873
delta logL = 0.0306651729043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013958
delta logL = 0.03416432218

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.154       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4608.180     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.151        87.501        .29973E-03    .91992E-02
   2  alpha         2.5612        3.7800        .20483        .33308E-04
   3  Normalizat    1.0921        .13975        .38335E-01    .41135E-03
   4  Prefactor     .93353        .10656        .45432E-01    .37549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1512
  alpha      = 2.56118
  Normalizat = 1.09212
  Prefactor  = 0.93353
e GAL_V02
Working on...
/lscratch/kocevski/35384854/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits.....................!
real 17.61
user 15.94
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35384854/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits', '/lscratch/kocevski/35384854/ft2_4FGL_J2331.0-2147_daily_bin2196.fits', expMap='/lscratch/kocevski/35384854/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', expCube='/lscratch/kocevski/35384854/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35384854/Model_4FGL_J2331.0-2147_daily_bin2196.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.0-2147'

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  2.017e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35384854/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35384854/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35384854/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35384854/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35384854/Model_4FGL_J2331.0-2147_daily_bin2196.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.22711433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2170158

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.455       1.0000          .0000       .10000E+07
     2 'norm      '    1.1167       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19684E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .42035E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46051E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .62055E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3682       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46364E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .51939E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89195E-01   1.0000          .0000       .10000E+07
    12 'norm      '    12.280       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11297E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1186       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89031E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92215       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4608.214     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1409 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.094        72.903       -.13704E-04    .70933E-02
   2  norm          1.1164        1.4829       -.12256E-05   -.42032E-02
   3  Prefactor     .11758E-04    10.347       -.26422E-05** at limit **
   4  norm          .11102E-09    3.8709        .55912E-06** at limit **
   5  Prefactor      .0000        6.0769       -.41353E-05** at limit **
   6  Prefactor      .0000        3.4860        .98419E-06** at limit **
   7  norm           .0000        .18770       -.25164E-05** at limit **
   8  Prefactor     6.4889        7.9573        .20290E-05    .22285E-02
   9  Prefactor      .0000        4.2910       -.14128E-05** at limit **
  10  Prefactor     .55511E-10    8.5582       -.19389E-06** at limit **
  11  Prefactor     .28521E-05    29.206        .51379E-05** at limit **
  12  norm          12.272        5.6970       -.99252E-06    .38026E-02
  13  Prefactor     .22488E-05    28.897        .44478E-06** at limit **
  14  norm           .0000        .28808       -.85409E-06** at limit **
  15  norm          2.1203        2.9005       -.20929E-05   -.92521E-03
  16  Prefactor     .28290E-05    28.545        .41615E-05** at limit **
  17  Prefactor     .41178E-05    21.736       -.65562E-05** at limit **
  18  Normalizat    1.1085        .24812        .34167E-05    .27502E-03
  19  Prefactor     .92200        .23874        .10786E-04    .26128E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 50.094
  norm       = 1.1164
  Prefactor  = 1.17584e-05
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.48886
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.85211e-06
  norm       = 12.2722
  Prefactor  = 2.24881e-06
  norm       = 0
  norm       = 2.12026
  Prefactor  = 2.82901e-06
  Prefactor  = 4.11782e-06
  Normalizat = 1.10853
  Prefactor  = 0.922003
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.180     FROM HESSE     STATUS=OK            29 CALLS      286 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.151        7.1625        .96294E-05   -1.5641    
   2  alpha         2.5612        .51387        .82962E-02    .24474E-01
   3  Normalizat    1.0921        .25414        .24190E-03   -.90005    
   4  Prefactor     .93353        .24305        .25291E-03   -.94979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43676e-10
Minuit parameter uncertainties:
  1  7.16246
  2  0.517559
  3  0.254423
  4  0.24333
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2143039

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.227e+01  5.689e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.220e-01  1.991e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.109e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.45
Ra Dec: 352.763 -21.795
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 6.10e-08
Energy Flux (Fixed Index): 4.37e-05 +/- 2.03e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18363873
delta logL = 0.0306651729043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013958
delta logL = 0.03416432218

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.154       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4608.180     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.151        87.501        .29973E-03    .91992E-02
   2  alpha         2.5612        3.7800        .20483        .33308E-04
   3  Normalizat    1.0921        .13975        .38335E-01    .41135E-03
   4  Prefactor     .93353        .10656        .45432E-01    .37549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1512
  alpha      = 2.56118
  Normalizat = 1.09212
  Prefactor  = 0.93353
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013848
delta logL = 0.0341654231206

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.115e+01  7.162e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.561e+00  5.176e-01  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.335e-01  2.433e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.092e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.50
Ra Dec: 352.763 -21.795
Photon Index (Free Index): 2.56 +/- 0.52
Photon Flux (Free Index): 1.44e-07 +/- 7.83e-08
Energy Flux (Free Index): 4.26e-05 +/- 2.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/35384872/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.26e-05', photon_flux_error='6.10e-08', dlogl='3.42e-02', energy_flux='4.37e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2026-08-19 18:02:30.753365', photon_index_error2='0.52', photon_index2='2.56', ts='8.45', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='1.11', time_epoch_completed='1787187750.75', return_code='0', job_id='35384872', GAL2='0.93', EG2='1.09', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='7.83e-08', ts2='8.50', photon_index='2.43' WHERE bin_id='2196' AND source_name='4FGL J2331.0-2147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:02:31 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   4608.180     FROM HESSE     STATUS=OK            29 CALLS      286 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.151        7.1625        .96294E-05   -1.5641    
   2  alpha         2.5612        .51387        .82962E-02    .24474E-01
   3  Normalizat    1.0921        .25414        .24190E-03   -.90005    
   4  Prefactor     .93353        .24305        .25291E-03   -.94979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43676e-10
Minuit parameter uncertainties:
  1  7.16246
  2  0.517559
  3  0.254423
  4  0.24333
atch/kocevski/35384895/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/35384895/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 9.01
user 8.24
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35384895/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384895/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35384895/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384895/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/35384895/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 70.71
user 65.93
sys 4.10

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2331.0-2147 @ 352.763 -21.7953

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35384895/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384895/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384895/cmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.76
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35384895/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384895/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384895/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.79
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35384895/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384895/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35384895/Model_4FGL_J2331.0-2147_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourcshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013848
delta logL = 0.0341654231206

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.115e+01  7.162e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.561e+00  5.176e-01  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.335e-01  2.433e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.092e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.50
Ra Dec: 352.763 -21.795
Photon Index (Free Index): 2.56 +/- 0.52
Photon Flux (Free Index): 1.44e-07 +/- 7.83e-08
Energy Flux (Free Index): 4.26e-05 +/- 2.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/35384871/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.26e-05', photon_flux_error='6.10e-08', dlogl='3.42e-02', energy_flux='4.37e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2026-08-19 18:02:31.759135', photon_index_error2='0.52', photon_index2='2.56', ts='8.45', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='1.11', time_epoch_completed='1787187751.76', return_code='0', job_id='35384871', GAL2='0.93', EG2='1.09', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='7.83e-08', ts2='8.50', photon_index='2.43' WHERE bin_id='2196' AND source_name='4FGL J2331.0-2147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:02:32 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013848
delta logL = 0.0341654231206

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.115e+01  7.162e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.561e+00  5.176e-01  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.335e-01  2.433e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.092e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.50
Ra Dec: 352.763 -21.795
Photon Index (Free Index): 2.56 +/- 0.52
Photon Flux (Free Index): 1.44e-07 +/- 7.83e-08
Energy Flux (Free Index): 4.26e-05 +/- 2.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/35384870/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.26e-05', photon_flux_error='6.10e-08', dlogl='3.42e-02', energy_flux='4.37e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2026-08-19 18:02:33.619902', photon_index_error2='0.52', photon_index2='2.56', ts='8.45', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='1.11', time_epoch_completed='1787187753.62', return_code='0', job_id='35384870', GAL2='0.93', EG2='1.09', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='7.83e-08', ts2='8.50', photon_index='2.43' WHERE bin_id='2196' AND source_name='4FGL J2331.0-2147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:02:34 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   4608.214     FROM HESSE     STATUS=OK           298 CALLS     1707 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.094        73.211        .13942E-03   -1.5566    
   2  norm          1.1164        1.5171        .11133E-02   -1.5687    
   3  Prefactor     .11758E-04    29.474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11102E-09    3.8332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.0721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.4768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .18645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4889        7.9600        .39751E-03   -1.5657    
   9  Prefactor      .0000        4.2843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    8.5590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28521E-05    56.198        .14229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.272        5.6886        .28560E-03   -1.5638    
  13  Prefactor     .22488E-05    32.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .28378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1203        2.9228        .70832E-03   -1.5679    
  16  Prefactor     .28290E-05    56.911        .14234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41178E-05    28.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1085        .20615        .54398E-01   -.89478    
  19  Prefactor     .92200        .19894        .45287E-01   -.95376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16639e-07
Minuit parameter uncertainties:
  1  73.2128
  2  1.51715
  3  0.0372325
  4  4.10831e-05
  5  1.48953e-05
  6  1.73174e-05
  7  1.7704e-08
  8  7.96
  9  1.56054e-05
  10  3.31361e-05
  11  0.0253209
  12  5.68862
  13  0.0170469
  14  2.77044e-06
  15  2.92278
  16  0.0253775
  17  0.0216408
  18  0.206303
  19  0.199097
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2143039

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.227e+01  5.689e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.220e-01  1.991e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.109e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.45
Ra Dec: 352.763 -21.795
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 6.10e-08
Energy Flux (Fixed Index): 4.37e-05 +/- 2.03e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18363873
delta logL = 0.0306651729043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013958
delta logL = 0.03416432218

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.154       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4608.180     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.151        87.501        .29973E-03    .91992E-02
   2  alpha         2.5612        3.7800        .20483        .33308E-04
   3  Normalizat    1.0921        .13975        .38335E-01    .41135E-03
   4  Prefactor     .93353        .10656        .45432E-01    .37549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1512
  alpha      = 2.56118
  Normalizat = 1.09212
  Prefactor  = 0.93353
outfile=/lscratch/kocevski/35384918/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/35384918/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 9.35
user 8.54
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35384918/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384918/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35384918/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384918/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/35384918/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 72.39
user 67.62
sys 4.05

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2331.0-2147 @ 352.763 -21.7953

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35384918/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384918/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384918/cmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.76
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35384918/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384918/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384918/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.89
user 0.22
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35384918/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384918/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35384918/Model_4FGL_J2331.0-2147_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourc **********
 **   18 **HESSE 
 **********

 FCN=   4608.180     FROM HESSE     STATUS=OK            29 CALLS      286 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.151        7.1625        .96294E-05   -1.5641    
   2  alpha         2.5612        .51387        .82962E-02    .24474E-01
   3  Normalizat    1.0921        .25414        .24190E-03   -.90005    
   4  Prefactor     .93353        .24305        .25291E-03   -.94979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43676e-10
Minuit parameter uncertainties:
  1  7.16246
  2  0.517559
  3  0.254423
  4  0.24333
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013848
delta logL = 0.0341654231206

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.115e+01  7.162e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.561e+00  5.176e-01  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.335e-01  2.433e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.092e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.50
Ra Dec: 352.763 -21.795
Photon Index (Free Index): 2.56 +/- 0.52
Photon Flux (Free Index): 1.44e-07 +/- 7.83e-08
Energy Flux (Free Index): 4.26e-05 +/- 2.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/35384854/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.26e-05', photon_flux_error='6.10e-08', dlogl='3.42e-02', energy_flux='4.37e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2026-08-19 18:02:42.461653', photon_index_error2='0.52', photon_index2='2.56', ts='8.45', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='1.11', time_epoch_completed='1787187762.46', return_code='0', job_id='35384854', GAL2='0.93', EG2='1.09', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='7.83e-08', ts2='8.50', photon_index='2.43' WHERE bin_id='2196' AND source_name='4FGL J2331.0-2147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:02:42 PDT 2026

number of points = 7651
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2331.0-2147_daily_bin2196
RA = 352.763, Dec = -21.7953
tmin = 808531201, tmax = 808790401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='35385036', job_status='RUN', time_executed='2026-08-19 17:59:50.314781', time_epoch_executed='1787187590.31' WHERE source_name='4FGL J2331.0-2147' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35385036

Creating custom pfile directory:
/lscratch/kocevski/35385036/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35385036/ft1_4FGL_J2331.0-2147_daily_bin2196.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35385036/ft2_4FGL_J2331.0-2147_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35385036/ft1_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35385036/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin2196.fits ra=352.763 dec=-21.7953 rad=12.0 tmin=808531201.0 tmax=808790401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.89
user 2.15
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35385036/ft2_4FGL_J2331.0-2147_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35385036/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/35385036/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35385036/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.85
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 398

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35385036/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35385036/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" number of points = 7651
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2331.0-2147_daily_bin2196
RA = 352.763, Dec = -21.7953
tmin = 808531201, tmax = 808790401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='35385029', job_status='RUN', time_executed='2026-08-19 17:59:50.346075', time_epoch_executed='1787187590.35' WHERE source_name='4FGL J2331.0-2147' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35385029

Creating custom pfile directory:
/lscratch/kocevski/35385029/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35385029/ft1_4FGL_J2331.0-2147_daily_bin2196.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35385029/ft2_4FGL_J2331.0-2147_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35385029/ft1_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35385029/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin2196.fits ra=352.763 dec=-21.7953 rad=12.0 tmin=808531201.0 tmax=808790401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.01
user 2.23
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35385029/ft2_4FGL_J2331.0-2147_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35385029/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/35385029/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35385029/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.84
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 398

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35385029/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35385029/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" e GAL_V02
Working on...
/lscratch/kocevski/35384863/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits.....................!
real 20.13
user 17.97
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35384863/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits', '/lscratch/kocevski/35384863/ft2_4FGL_J2331.0-2147_daily_bin2196.fits', expMap='/lscratch/kocevski/35384863/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', expCube='/lscratch/kocevski/35384863/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35384863/Model_4FGL_J2331.0-2147_daily_bin2196.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.0-2147'

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  2.017e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35384863/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35384863/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35384863/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35384863/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35384863/Model_4FGL_J2331.0-2147_daily_bin2196.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.22711433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2170158

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.455       1.0000          .0000       .10000E+07
     2 'norm      '    1.1167       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19684E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .42035E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46051E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .62055E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3682       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46364E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .51939E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89195E-01   1.0000          .0000       .10000E+07
    12 'norm      '    12.280       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11297E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1186       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89031E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92215       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4608.214     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1409 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.094        72.903       -.13704E-04    .70933E-02
   2  norm          1.1164        1.4829       -.12256E-05   -.42032E-02
   3  Prefactor     .11758E-04    10.347       -.26422E-05** at limit **
   4  norm          .11102E-09    3.8709        .55912E-06** at limit **
   5  Prefactor      .0000        6.0769       -.41353E-05** at limit **
   6  Prefactor      .0000        3.4860        .98419E-06** at limit **
   7  norm           .0000        .18770       -.25164E-05** at limit **
   8  Prefactor     6.4889        7.9573        .20290E-05    .22285E-02
   9  Prefactor      .0000        4.2910       -.14128E-05** at limit **
  10  Prefactor     .55511E-10    8.5582       -.19389E-06** at limit **
  11  Prefactor     .28521E-05    29.206        .51379E-05** at limit **
  12  norm          12.272        5.6970       -.99252E-06    .38026E-02
  13  Prefactor     .22488E-05    28.897        .44478E-06** at limit **
  14  norm           .0000        .28808       -.85409E-06** at limit **
  15  norm          2.1203        2.9005       -.20929E-05   -.92521E-03
  16  Prefactor     .28290E-05    28.545        .41615E-05** at limit **
  17  Prefactor     .41178E-05    21.736       -.65562E-05** at limit **
  18  Normalizat    1.1085        .24812        .34167E-05    .27502E-03
  19  Prefactor     .92200        .23874        .10786E-04    .26128E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 50.094
  norm       = 1.1164
  Prefactor  = 1.17584e-05
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.48886
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.85211e-06
  norm       = 12.2722
  Prefactor  = 2.24881e-06
  norm       = 0
  norm       = 2.12026
  Prefactor  = 2.82901e-06
  Prefactor  = 4.11782e-06
  Normalizat = 1.10853
  Prefactor  = 0.922003
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.214     FROM HESSE     STATUS=OK           298 CALLS     1707 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.094        73.211        .13942E-03   -1.5566    
   2  norm          1.1164        1.5171        .11133E-02   -1.5687    
   3  Prefactor     .11758E-04    29.474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11102E-09    3.8332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.0721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.4768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .18645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4889        7.9600        .39751E-03   -1.5657    
   9  Prefactor      .0000        4.2843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    8.5590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28521E-05    56.198        .14229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.272        5.6886        .28560E-03   -1.5638    
  13  Prefactor     .22488E-05    32.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .28378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1203        2.9228        .70832E-03   -1.5679    
  16  Prefactor     .28290E-05    56.911        .14234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41178E-05    28.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1085        .20615        .54398E-01   -.89478    
  19  Prefactor     .92200        .19894        .45287E-01   -.95376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16639e-07
Minuit parameter uncertainties:
  1  73.2128
  2  1.51715
  3  0.0372325
  4  4.10831e-05
  5  1.48953e-05
  6  1.73174e-05
  7  1.7704e-08
  8  7.96
  9  1.56054e-05
  10  3.31361e-05
  11  0.0253209
  12  5.68862
  13  0.0170469
  14  2.77044e-06
  15  2.92278
  16  0.0253775
  17  0.0216408
  18  0.206303
  19  0.199097
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2143039

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.227e+01  5.689e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.220e-01  1.991e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.109e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.45
Ra Dec: 352.763 -21.795
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 6.10e-08
Energy Flux (Fixed Index): 4.37e-05 +/- 2.03e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18363873
delta logL = 0.0306651729043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013958
delta logL = 0.03416432218

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.154       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4608.180     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.151        87.501        .29973E-03    .91992E-02
   2  alpha         2.5612        3.7800        .20483        .33308E-04
   3  Normalizat    1.0921        .13975        .38335E-01    .41135E-03
   4  Prefactor     .93353        .10656        .45432E-01    .37549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1512
  alpha      = 2.56118
  Normalizat = 1.09212
  Prefactor  = 0.93353
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.180     FROM HESSE     STATUS=OK            29 CALLS      286 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.151        7.1625        .96294E-05   -1.5641    
   2  alpha         2.5612        .51387        .82962E-02    .24474E-01
   3  Normalizat    1.0921        .25414        .24190E-03   -.90005    
   4  Prefactor     .93353        .24305        .25291E-03   -.94979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43676e-10
Minuit parameter uncertainties:
  1  7.16246
  2  0.517559
  3  0.254423
  4  0.24333
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013848
delta logL = 0.0341654231206

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.115e+01  7.162e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.561e+00  5.176e-01  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.335e-01  2.433e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.092e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.50
Ra Dec: 352.763 -21.795
Photon Index (Free Index): 2.56 +/- 0.52
Photon Flux (Free Index): 1.44e-07 +/- 7.83e-08
Energy Flux (Free Index): 4.26e-05 +/- 2.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/35384863/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.26e-05', photon_flux_error='6.10e-08', dlogl='3.42e-02', energy_flux='4.37e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2026-08-19 18:03:16.328254', photon_index_error2='0.52', photon_index2='2.56', ts='8.45', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='1.11', time_epoch_completed='1787187796.33', return_code='0', job_id='35384863', GAL2='0.93', EG2='1.09', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='7.83e-08', ts2='8.50', photon_index='2.43' WHERE bin_id='2196' AND source_name='4FGL J2331.0-2147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:03:16 PDT 2026

outfile=/lscratch/kocevski/35384944/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/35384944/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 8.77
user 8.03
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35384944/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384944/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35384944/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384944/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/35384944/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 69.26
user 64.48
sys 4.08

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2331.0-2147 @ 352.763 -21.7953

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35384944/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384944/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384944/cmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.82
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35384944/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384944/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384944/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.89
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35384944/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384944/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35384944/Model_4FGL_J2331.0-2147_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/35384895/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits.....................!
real 18.04
user 16.34
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35384895/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits', '/lscratch/kocevski/35384895/ft2_4FGL_J2331.0-2147_daily_bin2196.fits', expMap='/lscratch/kocevski/35384895/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', expCube='/lscratch/kocevski/35384895/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35384895/Model_4FGL_J2331.0-2147_daily_bin2196.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.0-2147'

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  2.017e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35384895/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35384895/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35384895/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35384895/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35384895/Model_4FGL_J2331.0-2147_daily_bin2196.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.22711433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2170158

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.455       1.0000          .0000       .10000E+07
     2 'norm      '    1.1167       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19684E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .42035E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46051E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .62055E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3682       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46364E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .51939E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89195E-01   1.0000          .0000       .10000E+07
    12 'norm      '    12.280       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11297E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1186       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89031E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92215       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4608.214     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1409 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.094        72.903       -.13704E-04    .70933E-02
   2  norm          1.1164        1.4829       -.12256E-05   -.42032E-02
   3  Prefactor     .11758E-04    10.347       -.26422E-05** at limit **
   4  norm          .11102E-09    3.8709        .55912E-06** at limit **
   5  Prefactor      .0000        6.0769       -.41353E-05** at limit **
   6  Prefactor      .0000        3.4860        .98419E-06** at limit **
   7  norm           .0000        .18770       -.25164E-05** at limit **
   8  Prefactor     6.4889        7.9573        .20290E-05    .22285E-02
   9  Prefactor      .0000        4.2910       -.14128E-05** at limit **
  10  Prefactor     .55511E-10    8.5582       -.19389E-06** at limit **
  11  Prefactor     .28521E-05    29.206        .51379E-05** at limit **
  12  norm          12.272        5.6970       -.99252E-06    .38026E-02
  13  Prefactor     .22488E-05    28.897        .44478E-06** at limit **
  14  norm           .0000        .28808       -.85409E-06** at limit **
  15  norm          2.1203        2.9005       -.20929E-05   -.92521E-03
  16  Prefactor     .28290E-05    28.545        .41615E-05** at limit **
  17  Prefactor     .41178E-05    21.736       -.65562E-05** at limit **
  18  Normalizat    1.1085        .24812        .34167E-05    .27502E-03
  19  Prefactor     .92200        .23874        .10786E-04    .26128E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 50.094
  norm       = 1.1164
  Prefactor  = 1.17584e-05
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.48886
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.85211e-06
  norm       = 12.2722
  Prefactor  = 2.24881e-06
  norm       = 0
  norm       = 2.12026
  Prefactor  = 2.82901e-06
  Prefactor  = 4.11782e-06
  Normalizat = 1.10853
  Prefactor  = 0.922003
outfile=/lscratch/kocevski/35384948/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/35384948/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 9.21
user 8.42
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35384948/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384948/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35384948/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384948/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/35384948/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 73.42
user 68.41
sys 4.30

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2331.0-2147 @ 352.763 -21.7953

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35384948/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384948/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384948/cmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.85
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35384948/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384948/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384948/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.74
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35384948/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384948/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35384948/Model_4FGL_J2331.0-2147_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourcoutfile=/lscratch/kocevski/35384942/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/35384942/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 8.82
user 8.10
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35384942/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384942/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35384942/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384942/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/35384942/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 71.42
user 66.66
sys 3.99

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2331.0-2147 @ 352.763 -21.7953

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35384942/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384942/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384942/cmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.86
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35384942/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384942/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384942/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.81
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35384942/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384942/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35384942/Model_4FGL_J2331.0-2147_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourc **********
 **   18 **HESSE 
 **********

 FCN=   4608.214     FROM HESSE     STATUS=OK           298 CALLS     1707 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.094        73.211        .13942E-03   -1.5566    
   2  norm          1.1164        1.5171        .11133E-02   -1.5687    
   3  Prefactor     .11758E-04    29.474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11102E-09    3.8332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.0721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.4768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .18645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4889        7.9600        .39751E-03   -1.5657    
   9  Prefactor      .0000        4.2843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    8.5590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28521E-05    56.198        .14229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.272        5.6886        .28560E-03   -1.5638    
  13  Prefactor     .22488E-05    32.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .28378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1203        2.9228        .70832E-03   -1.5679    
  16  Prefactor     .28290E-05    56.911        .14234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41178E-05    28.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1085        .20615        .54398E-01   -.89478    
  19  Prefactor     .92200        .19894        .45287E-01   -.95376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16639e-07
Minuit parameter uncertainties:
  1  73.2128
  2  1.51715
  3  0.0372325
  4  4.10831e-05
  5  1.48953e-05
  6  1.73174e-05
  7  1.7704e-08
  8  7.96
  9  1.56054e-05
  10  3.31361e-05
  11  0.0253209
  12  5.68862
  13  0.0170469
  14  2.77044e-06
  15  2.92278
  16  0.0253775
  17  0.0216408
  18  0.206303
  19  0.199097
e GAL_V02
Working on...
/lscratch/kocevski/35384918/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits.....................!
real 18.61
user 16.87
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35384918/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits', '/lscratch/kocevski/35384918/ft2_4FGL_J2331.0-2147_daily_bin2196.fits', expMap='/lscratch/kocevski/35384918/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', expCube='/lscratch/kocevski/35384918/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35384918/Model_4FGL_J2331.0-2147_daily_bin2196.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.0-2147'

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  2.017e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35384918/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35384918/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35384918/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35384918/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35384918/Model_4FGL_J2331.0-2147_daily_bin2196.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.22711433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2170158

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.455       1.0000          .0000       .10000E+07
     2 'norm      '    1.1167       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19684E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .42035E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46051E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .62055E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3682       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46364E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .51939E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89195E-01   1.0000          .0000       .10000E+07
    12 'norm      '    12.280       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11297E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1186       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89031E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92215       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4608.214     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1409 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.094        72.903       -.13704E-04    .70933E-02
   2  norm          1.1164        1.4829       -.12256E-05   -.42032E-02
   3  Prefactor     .11758E-04    10.347       -.26422E-05** at limit **
   4  norm          .11102E-09    3.8709        .55912E-06** at limit **
   5  Prefactor      .0000        6.0769       -.41353E-05** at limit **
   6  Prefactor      .0000        3.4860        .98419E-06** at limit **
   7  norm           .0000        .18770       -.25164E-05** at limit **
   8  Prefactor     6.4889        7.9573        .20290E-05    .22285E-02
   9  Prefactor      .0000        4.2910       -.14128E-05** at limit **
  10  Prefactor     .55511E-10    8.5582       -.19389E-06** at limit **
  11  Prefactor     .28521E-05    29.206        .51379E-05** at limit **
  12  norm          12.272        5.6970       -.99252E-06    .38026E-02
  13  Prefactor     .22488E-05    28.897        .44478E-06** at limit **
  14  norm           .0000        .28808       -.85409E-06** at limit **
  15  norm          2.1203        2.9005       -.20929E-05   -.92521E-03
  16  Prefactor     .28290E-05    28.545        .41615E-05** at limit **
  17  Prefactor     .41178E-05    21.736       -.65562E-05** at limit **
  18  Normalizat    1.1085        .24812        .34167E-05    .27502E-03
  19  Prefactor     .92200        .23874        .10786E-04    .26128E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 50.094
  norm       = 1.1164
  Prefactor  = 1.17584e-05
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.48886
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.85211e-06
  norm       = 12.2722
  Prefactor  = 2.24881e-06
  norm       = 0
  norm       = 2.12026
  Prefactor  = 2.82901e-06
  Prefactor  = 4.11782e-06
  Normalizat = 1.10853
  Prefactor  = 0.922003
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2143039

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.227e+01  5.689e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.220e-01  1.991e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.109e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.45
Ra Dec: 352.763 -21.795
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 6.10e-08
Energy Flux (Fixed Index): 4.37e-05 +/- 2.03e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18363873
delta logL = 0.0306651729043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013958
delta logL = 0.03416432218

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.154       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4608.180     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.151        87.501        .29973E-03    .91992E-02
   2  alpha         2.5612        3.7800        .20483        .33308E-04
   3  Normalizat    1.0921        .13975        .38335E-01    .41135E-03
   4  Prefactor     .93353        .10656        .45432E-01    .37549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1512
  alpha      = 2.56118
  Normalizat = 1.09212
  Prefactor  = 0.93353
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.180     FROM HESSE     STATUS=OK            29 CALLS      286 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.151        7.1625        .96294E-05   -1.5641    
   2  alpha         2.5612        .51387        .82962E-02    .24474E-01
   3  Normalizat    1.0921        .25414        .24190E-03   -.90005    
   4  Prefactor     .93353        .24305        .25291E-03   -.94979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43676e-10
Minuit parameter uncertainties:
  1  7.16246
  2  0.517559
  3  0.254423
  4  0.24333
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013848
delta logL = 0.0341654231206

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.115e+01  7.162e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.561e+00  5.176e-01  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.335e-01  2.433e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.092e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.50
Ra Dec: 352.763 -21.795
Photon Index (Free Index): 2.56 +/- 0.52
Photon Flux (Free Index): 1.44e-07 +/- 7.83e-08
Energy Flux (Free Index): 4.26e-05 +/- 2.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/35384895/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.26e-05', photon_flux_error='6.10e-08', dlogl='3.42e-02', energy_flux='4.37e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2026-08-19 18:03:39.976296', photon_index_error2='0.52', photon_index2='2.56', ts='8.45', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='1.11', time_epoch_completed='1787187819.98', return_code='0', job_id='35384895', GAL2='0.93', EG2='1.09', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='7.83e-08', ts2='8.50', photon_index='2.43' WHERE bin_id='2196' AND source_name='4FGL J2331.0-2147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:03:40 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   4608.214     FROM HESSE     STATUS=OK           298 CALLS     1707 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.094        73.211        .13942E-03   -1.5566    
   2  norm          1.1164        1.5171        .11133E-02   -1.5687    
   3  Prefactor     .11758E-04    29.474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11102E-09    3.8332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.0721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.4768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .18645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4889        7.9600        .39751E-03   -1.5657    
   9  Prefactor      .0000        4.2843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    8.5590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28521E-05    56.198        .14229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.272        5.6886        .28560E-03   -1.5638    
  13  Prefactor     .22488E-05    32.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .28378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1203        2.9228        .70832E-03   -1.5679    
  16  Prefactor     .28290E-05    56.911        .14234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41178E-05    28.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1085        .20615        .54398E-01   -.89478    
  19  Prefactor     .92200        .19894        .45287E-01   -.95376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16639e-07
Minuit parameter uncertainties:
  1  73.2128
  2  1.51715
  3  0.0372325
  4  4.10831e-05
  5  1.48953e-05
  6  1.73174e-05
  7  1.7704e-08
  8  7.96
  9  1.56054e-05
  10  3.31361e-05
  11  0.0253209
  12  5.68862
  13  0.0170469
  14  2.77044e-06
  15  2.92278
  16  0.0253775
  17  0.0216408
  18  0.206303
  19  0.199097
outfile=/lscratch/kocevski/35384973/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/35384973/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 8.83
user 8.13
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35384973/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384973/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35384973/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384973/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/35384973/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 72.15
user 67.28
sys 4.03

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2331.0-2147 @ 352.763 -21.7953

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35384973/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384973/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384973/cmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.80
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35384973/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384973/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384973/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.82
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35384973/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384973/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35384973/Model_4FGL_J2331.0-2147_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourcoutfile=/lscratch/kocevski/35384954/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/35384954/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 9.84
user 9.10
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35384954/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384954/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35384954/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384954/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/35384954/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 77.75
user 72.30
sys 4.66

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2331.0-2147 @ 352.763 -21.7953

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35384954/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384954/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384954/cmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.98
user 0.28
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35384954/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35384954/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35384954/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.83
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35384954/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35384954/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35384954/Model_4FGL_J2331.0-2147_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourcDone.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2143039

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.227e+01  5.689e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.220e-01  1.991e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.109e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.45
Ra Dec: 352.763 -21.795
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 6.10e-08
Energy Flux (Fixed Index): 4.37e-05 +/- 2.03e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18363873
delta logL = 0.0306651729043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013958
delta logL = 0.03416432218

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.154       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4608.180     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.151        87.501        .29973E-03    .91992E-02
   2  alpha         2.5612        3.7800        .20483        .33308E-04
   3  Normalizat    1.0921        .13975        .38335E-01    .41135E-03
   4  Prefactor     .93353        .10656        .45432E-01    .37549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1512
  alpha      = 2.56118
  Normalizat = 1.09212
  Prefactor  = 0.93353
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.180     FROM HESSE     STATUS=OK            29 CALLS      286 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.151        7.1625        .96294E-05   -1.5641    
   2  alpha         2.5612        .51387        .82962E-02    .24474E-01
   3  Normalizat    1.0921        .25414        .24190E-03   -.90005    
   4  Prefactor     .93353        .24305        .25291E-03   -.94979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43676e-10
Minuit parameter uncertainties:
  1  7.16246
  2  0.517559
  3  0.254423
  4  0.24333
number of points = 7651
number of fields = 31
RA_SUN column already exists. File will not be modified.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013848
delta logL = 0.0341654231206

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.115e+01  7.162e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.561e+00  5.176e-01  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.335e-01  2.433e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.092e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.50
Ra Dec: 352.763 -21.795
Photon Index (Free Index): 2.56 +/- 0.52
Photon Flux (Free Index): 1.44e-07 +/- 7.83e-08
Energy Flux (Free Index): 4.26e-05 +/- 2.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/35384918/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.26e-05', photon_flux_error='6.10e-08', dlogl='3.42e-02', energy_flux='4.37e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2026-08-19 18:03:49.523417', photon_index_error2='0.52', photon_index2='2.56', ts='8.45', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='1.11', time_epoch_completed='1787187829.52', return_code='0', job_id='35384918', GAL2='0.93', EG2='1.09', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='7.83e-08', ts2='8.50', photon_index='2.43' WHERE bin_id='2196' AND source_name='4FGL J2331.0-2147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:03:49 PDT 2026

Done.


Performing analysis on: 4FGL_J2331.0-2147_daily_bin2196
RA = 352.763, Dec = -21.7953
tmin = 808531201, tmax = 808790401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='35385104', job_status='RUN', time_executed='2026-08-19 18:00:50.142827', time_epoch_executed='1787187650.14' WHERE source_name='4FGL J2331.0-2147' and cadence='daily' and bin_id='2196'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35385104

Creating custom pfile directory:
/lscratch/kocevski/35385104/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35385104/ft1_4FGL_J2331.0-2147_daily_bin2196.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=808531201.0 && nMetStart<808790401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35385104/ft2_4FGL_J2331.0-2147_daily_bin2196.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35385104/ft1_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35385104/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin2196.fits ra=352.763 dec=-21.7953 rad=12.0 tmin=808531201.0 tmax=808790401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.95
user 2.30
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35385104/ft2_4FGL_J2331.0-2147_daily_bin2196.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35385104/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/35385104/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" outfile="/lscratch/kocevski/35385104/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.94
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 398

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35385104/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35385104/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" e GAL_V02
Working on...
/lscratch/kocevski/35384944/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits.....................!
real 17.34
user 15.85
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35384944/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits', '/lscratch/kocevski/35384944/ft2_4FGL_J2331.0-2147_daily_bin2196.fits', expMap='/lscratch/kocevski/35384944/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', expCube='/lscratch/kocevski/35384944/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35384944/Model_4FGL_J2331.0-2147_daily_bin2196.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.0-2147'

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  2.017e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35384944/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35384944/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35384944/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35384944/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35384944/Model_4FGL_J2331.0-2147_daily_bin2196.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.22711433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2170158

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.455       1.0000          .0000       .10000E+07
     2 'norm      '    1.1167       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19684E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .42035E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46051E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .62055E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3682       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46364E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .51939E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89195E-01   1.0000          .0000       .10000E+07
    12 'norm      '    12.280       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11297E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1186       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89031E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92215       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4608.214     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1409 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.094        72.903       -.13704E-04    .70933E-02
   2  norm          1.1164        1.4829       -.12256E-05   -.42032E-02
   3  Prefactor     .11758E-04    10.347       -.26422E-05** at limit **
   4  norm          .11102E-09    3.8709        .55912E-06** at limit **
   5  Prefactor      .0000        6.0769       -.41353E-05** at limit **
   6  Prefactor      .0000        3.4860        .98419E-06** at limit **
   7  norm           .0000        .18770       -.25164E-05** at limit **
   8  Prefactor     6.4889        7.9573        .20290E-05    .22285E-02
   9  Prefactor      .0000        4.2910       -.14128E-05** at limit **
  10  Prefactor     .55511E-10    8.5582       -.19389E-06** at limit **
  11  Prefactor     .28521E-05    29.206        .51379E-05** at limit **
  12  norm          12.272        5.6970       -.99252E-06    .38026E-02
  13  Prefactor     .22488E-05    28.897        .44478E-06** at limit **
  14  norm           .0000        .28808       -.85409E-06** at limit **
  15  norm          2.1203        2.9005       -.20929E-05   -.92521E-03
  16  Prefactor     .28290E-05    28.545        .41615E-05** at limit **
  17  Prefactor     .41178E-05    21.736       -.65562E-05** at limit **
  18  Normalizat    1.1085        .24812        .34167E-05    .27502E-03
  19  Prefactor     .92200        .23874        .10786E-04    .26128E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 50.094
  norm       = 1.1164
  Prefactor  = 1.17584e-05
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.48886
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.85211e-06
  norm       = 12.2722
  Prefactor  = 2.24881e-06
  norm       = 0
  norm       = 2.12026
  Prefactor  = 2.82901e-06
  Prefactor  = 4.11782e-06
  Normalizat = 1.10853
  Prefactor  = 0.922003
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.214     FROM HESSE     STATUS=OK           298 CALLS     1707 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.094        73.211        .13942E-03   -1.5566    
   2  norm          1.1164        1.5171        .11133E-02   -1.5687    
   3  Prefactor     .11758E-04    29.474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11102E-09    3.8332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.0721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.4768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .18645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4889        7.9600        .39751E-03   -1.5657    
   9  Prefactor      .0000        4.2843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    8.5590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28521E-05    56.198        .14229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.272        5.6886        .28560E-03   -1.5638    
  13  Prefactor     .22488E-05    32.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .28378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1203        2.9228        .70832E-03   -1.5679    
  16  Prefactor     .28290E-05    56.911        .14234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41178E-05    28.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1085        .20615        .54398E-01   -.89478    
  19  Prefactor     .92200        .19894        .45287E-01   -.95376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16639e-07
Minuit parameter uncertainties:
  1  73.2128
  2  1.51715
  3  0.0372325
  4  4.10831e-05
  5  1.48953e-05
  6  1.73174e-05
  7  1.7704e-08
  8  7.96
  9  1.56054e-05
  10  3.31361e-05
  11  0.0253209
  12  5.68862
  13  0.0170469
  14  2.77044e-06
  15  2.92278
  16  0.0253775
  17  0.0216408
  18  0.206303
  19  0.199097
e GAL_V02
Working on...
/lscratch/kocevski/35384942/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits.....................!
real 18.09
user 16.68
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35384942/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits', '/lscratch/kocevski/35384942/ft2_4FGL_J2331.0-2147_daily_bin2196.fits', expMap='/lscratch/kocevski/35384942/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', expCube='/lscratch/kocevski/35384942/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35384942/Model_4FGL_J2331.0-2147_daily_bin2196.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.0-2147'

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  2.017e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35384942/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35384942/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35384942/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35384942/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35384942/Model_4FGL_J2331.0-2147_daily_bin2196.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.22711433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2170158

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.455       1.0000          .0000       .10000E+07
     2 'norm      '    1.1167       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19684E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .42035E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46051E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .62055E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3682       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46364E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .51939E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89195E-01   1.0000          .0000       .10000E+07
    12 'norm      '    12.280       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11297E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1186       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89031E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92215       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4608.214     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1409 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.094        72.903       -.13704E-04    .70933E-02
   2  norm          1.1164        1.4829       -.12256E-05   -.42032E-02
   3  Prefactor     .11758E-04    10.347       -.26422E-05** at limit **
   4  norm          .11102E-09    3.8709        .55912E-06** at limit **
   5  Prefactor      .0000        6.0769       -.41353E-05** at limit **
   6  Prefactor      .0000        3.4860        .98419E-06** at limit **
   7  norm           .0000        .18770       -.25164E-05** at limit **
   8  Prefactor     6.4889        7.9573        .20290E-05    .22285E-02
   9  Prefactor      .0000        4.2910       -.14128E-05** at limit **
  10  Prefactor     .55511E-10    8.5582       -.19389E-06** at limit **
  11  Prefactor     .28521E-05    29.206        .51379E-05** at limit **
  12  norm          12.272        5.6970       -.99252E-06    .38026E-02
  13  Prefactor     .22488E-05    28.897        .44478E-06** at limit **
  14  norm           .0000        .28808       -.85409E-06** at limit **
  15  norm          2.1203        2.9005       -.20929E-05   -.92521E-03
  16  Prefactor     .28290E-05    28.545        .41615E-05** at limit **
  17  Prefactor     .41178E-05    21.736       -.65562E-05** at limit **
  18  Normalizat    1.1085        .24812        .34167E-05    .27502E-03
  19  Prefactor     .92200        .23874        .10786E-04    .26128E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 50.094
  norm       = 1.1164
  Prefactor  = 1.17584e-05
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.48886
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.85211e-06
  norm       = 12.2722
  Prefactor  = 2.24881e-06
  norm       = 0
  norm       = 2.12026
  Prefactor  = 2.82901e-06
  Prefactor  = 4.11782e-06
  Normalizat = 1.10853
  Prefactor  = 0.922003
e GAL_V02
Working on...
/lscratch/kocevski/35384948/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits.....................!
real 18.43
user 16.89
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35384948/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits', '/lscratch/kocevski/35384948/ft2_4FGL_J2331.0-2147_daily_bin2196.fits', expMap='/lscratch/kocevski/35384948/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', expCube='/lscratch/kocevski/35384948/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35384948/Model_4FGL_J2331.0-2147_daily_bin2196.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.0-2147'

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  2.017e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35384948/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35384948/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35384948/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35384948/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35384948/Model_4FGL_J2331.0-2147_daily_bin2196.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.22711433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2170158

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.455       1.0000          .0000       .10000E+07
     2 'norm      '    1.1167       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19684E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .42035E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46051E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .62055E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3682       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46364E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .51939E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89195E-01   1.0000          .0000       .10000E+07
    12 'norm      '    12.280       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11297E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1186       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89031E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92215       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4608.214     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1409 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.094        72.903       -.13704E-04    .70933E-02
   2  norm          1.1164        1.4829       -.12256E-05   -.42032E-02
   3  Prefactor     .11758E-04    10.347       -.26422E-05** at limit **
   4  norm          .11102E-09    3.8709        .55912E-06** at limit **
   5  Prefactor      .0000        6.0769       -.41353E-05** at limit **
   6  Prefactor      .0000        3.4860        .98419E-06** at limit **
   7  norm           .0000        .18770       -.25164E-05** at limit **
   8  Prefactor     6.4889        7.9573        .20290E-05    .22285E-02
   9  Prefactor      .0000        4.2910       -.14128E-05** at limit **
  10  Prefactor     .55511E-10    8.5582       -.19389E-06** at limit **
  11  Prefactor     .28521E-05    29.206        .51379E-05** at limit **
  12  norm          12.272        5.6970       -.99252E-06    .38026E-02
  13  Prefactor     .22488E-05    28.897        .44478E-06** at limit **
  14  norm           .0000        .28808       -.85409E-06** at limit **
  15  norm          2.1203        2.9005       -.20929E-05   -.92521E-03
  16  Prefactor     .28290E-05    28.545        .41615E-05** at limit **
  17  Prefactor     .41178E-05    21.736       -.65562E-05** at limit **
  18  Normalizat    1.1085        .24812        .34167E-05    .27502E-03
  19  Prefactor     .92200        .23874        .10786E-04    .26128E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 50.094
  norm       = 1.1164
  Prefactor  = 1.17584e-05
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.48886
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.85211e-06
  norm       = 12.2722
  Prefactor  = 2.24881e-06
  norm       = 0
  norm       = 2.12026
  Prefactor  = 2.82901e-06
  Prefactor  = 4.11782e-06
  Normalizat = 1.10853
  Prefactor  = 0.922003
outfile=/lscratch/kocevski/35385036/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/35385036/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 8.55
user 7.79
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35385036/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385036/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35385036/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35385036/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/35385036/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 69.89
user 65.00
sys 4.10

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2331.0-2147 @ 352.763 -21.7953

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35385036/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35385036/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35385036/cmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.80
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35385036/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35385036/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35385036/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.96
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35385036/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385036/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35385036/Model_4FGL_J2331.0-2147_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourcDone.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2143039

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.227e+01  5.689e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.220e-01  1.991e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.109e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.45
Ra Dec: 352.763 -21.795
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 6.10e-08
Energy Flux (Fixed Index): 4.37e-05 +/- 2.03e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18363873
delta logL = 0.0306651729043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013958
delta logL = 0.03416432218

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.154       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4608.180     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.151        87.501        .29973E-03    .91992E-02
   2  alpha         2.5612        3.7800        .20483        .33308E-04
   3  Normalizat    1.0921        .13975        .38335E-01    .41135E-03
   4  Prefactor     .93353        .10656        .45432E-01    .37549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1512
  alpha      = 2.56118
  Normalizat = 1.09212
  Prefactor  = 0.93353
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.180     FROM HESSE     STATUS=OK            29 CALLS      286 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.151        7.1625        .96294E-05   -1.5641    
   2  alpha         2.5612        .51387        .82962E-02    .24474E-01
   3  Normalizat    1.0921        .25414        .24190E-03   -.90005    
   4  Prefactor     .93353        .24305        .25291E-03   -.94979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43676e-10
Minuit parameter uncertainties:
  1  7.16246
  2  0.517559
  3  0.254423
  4  0.24333
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013848
delta logL = 0.0341654231206

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.115e+01  7.162e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.561e+00  5.176e-01  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.335e-01  2.433e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.092e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.50
Ra Dec: 352.763 -21.795
Photon Index (Free Index): 2.56 +/- 0.52
Photon Flux (Free Index): 1.44e-07 +/- 7.83e-08
Energy Flux (Free Index): 4.26e-05 +/- 2.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/35384944/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.26e-05', photon_flux_error='6.10e-08', dlogl='3.42e-02', energy_flux='4.37e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2026-08-19 18:04:30.623671', photon_index_error2='0.52', photon_index2='2.56', ts='8.45', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='1.11', time_epoch_completed='1787187870.62', return_code='0', job_id='35384944', GAL2='0.93', EG2='1.09', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='7.83e-08', ts2='8.50', photon_index='2.43' WHERE bin_id='2196' AND source_name='4FGL J2331.0-2147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:04:31 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   4608.214     FROM HESSE     STATUS=OK           298 CALLS     1707 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.094        73.211        .13942E-03   -1.5566    
   2  norm          1.1164        1.5171        .11133E-02   -1.5687    
   3  Prefactor     .11758E-04    29.474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11102E-09    3.8332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.0721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.4768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .18645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4889        7.9600        .39751E-03   -1.5657    
   9  Prefactor      .0000        4.2843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    8.5590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28521E-05    56.198        .14229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.272        5.6886        .28560E-03   -1.5638    
  13  Prefactor     .22488E-05    32.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .28378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1203        2.9228        .70832E-03   -1.5679    
  16  Prefactor     .28290E-05    56.911        .14234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41178E-05    28.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1085        .20615        .54398E-01   -.89478    
  19  Prefactor     .92200        .19894        .45287E-01   -.95376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16639e-07
Minuit parameter uncertainties:
  1  73.2128
  2  1.51715
  3  0.0372325
  4  4.10831e-05
  5  1.48953e-05
  6  1.73174e-05
  7  1.7704e-08
  8  7.96
  9  1.56054e-05
  10  3.31361e-05
  11  0.0253209
  12  5.68862
  13  0.0170469
  14  2.77044e-06
  15  2.92278
  16  0.0253775
  17  0.0216408
  18  0.206303
  19  0.199097
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.214     FROM HESSE     STATUS=OK           298 CALLS     1707 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.094        73.211        .13942E-03   -1.5566    
   2  norm          1.1164        1.5171        .11133E-02   -1.5687    
   3  Prefactor     .11758E-04    29.474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11102E-09    3.8332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.0721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.4768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .18645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4889        7.9600        .39751E-03   -1.5657    
   9  Prefactor      .0000        4.2843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    8.5590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28521E-05    56.198        .14229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.272        5.6886        .28560E-03   -1.5638    
  13  Prefactor     .22488E-05    32.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .28378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1203        2.9228        .70832E-03   -1.5679    
  16  Prefactor     .28290E-05    56.911        .14234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41178E-05    28.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1085        .20615        .54398E-01   -.89478    
  19  Prefactor     .92200        .19894        .45287E-01   -.95376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16639e-07
Minuit parameter uncertainties:
  1  73.2128
  2  1.51715
  3  0.0372325
  4  4.10831e-05
  5  1.48953e-05
  6  1.73174e-05
  7  1.7704e-08
  8  7.96
  9  1.56054e-05
  10  3.31361e-05
  11  0.0253209
  12  5.68862
  13  0.0170469
  14  2.77044e-06
  15  2.92278
  16  0.0253775
  17  0.0216408
  18  0.206303
  19  0.199097
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2143039

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.227e+01  5.689e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.220e-01  1.991e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.109e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.45
Ra Dec: 352.763 -21.795
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 6.10e-08
Energy Flux (Fixed Index): 4.37e-05 +/- 2.03e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18363873
delta logL = 0.0306651729043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013958
delta logL = 0.03416432218

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.154       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4608.180     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.151        87.501        .29973E-03    .91992E-02
   2  alpha         2.5612        3.7800        .20483        .33308E-04
   3  Normalizat    1.0921        .13975        .38335E-01    .41135E-03
   4  Prefactor     .93353        .10656        .45432E-01    .37549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1512
  alpha      = 2.56118
  Normalizat = 1.09212
  Prefactor  = 0.93353
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2143039

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.227e+01  5.689e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.220e-01  1.991e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.109e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.45
Ra Dec: 352.763 -21.795
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 6.10e-08
Energy Flux (Fixed Index): 4.37e-05 +/- 2.03e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18363873
delta logL = 0.0306651729043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013958
delta logL = 0.03416432218

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.154       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4608.180     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.151        87.501        .29973E-03    .91992E-02
   2  alpha         2.5612        3.7800        .20483        .33308E-04
   3  Normalizat    1.0921        .13975        .38335E-01    .41135E-03
   4  Prefactor     .93353        .10656        .45432E-01    .37549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1512
  alpha      = 2.56118
  Normalizat = 1.09212
  Prefactor  = 0.93353
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.180     FROM HESSE     STATUS=OK            29 CALLS      286 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.151        7.1625        .96294E-05   -1.5641    
   2  alpha         2.5612        .51387        .82962E-02    .24474E-01
   3  Normalizat    1.0921        .25414        .24190E-03   -.90005    
   4  Prefactor     .93353        .24305        .25291E-03   -.94979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43676e-10
Minuit parameter uncertainties:
  1  7.16246
  2  0.517559
  3  0.254423
  4  0.24333
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.180     FROM HESSE     STATUS=OK            29 CALLS      286 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.151        7.1625        .96294E-05   -1.5641    
   2  alpha         2.5612        .51387        .82962E-02    .24474E-01
   3  Normalizat    1.0921        .25414        .24190E-03   -.90005    
   4  Prefactor     .93353        .24305        .25291E-03   -.94979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43676e-10
Minuit parameter uncertainties:
  1  7.16246
  2  0.517559
  3  0.254423
  4  0.24333
e GAL_V02
Working on...
/lscratch/kocevski/35384973/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits.....................!
real 18.31
user 16.67
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35384973/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits', '/lscratch/kocevski/35384973/ft2_4FGL_J2331.0-2147_daily_bin2196.fits', expMap='/lscratch/kocevski/35384973/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', expCube='/lscratch/kocevski/35384973/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35384973/Model_4FGL_J2331.0-2147_daily_bin2196.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.0-2147'

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  2.017e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35384973/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35384973/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35384973/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35384973/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35384973/Model_4FGL_J2331.0-2147_daily_bin2196.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.22711433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2170158

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.455       1.0000          .0000       .10000E+07
     2 'norm      '    1.1167       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19684E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .42035E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46051E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .62055E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3682       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46364E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .51939E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89195E-01   1.0000          .0000       .10000E+07
    12 'norm      '    12.280       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11297E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1186       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89031E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92215       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4608.214     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1409 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.094        72.903       -.13704E-04    .70933E-02
   2  norm          1.1164        1.4829       -.12256E-05   -.42032E-02
   3  Prefactor     .11758E-04    10.347       -.26422E-05** at limit **
   4  norm          .11102E-09    3.8709        .55912E-06** at limit **
   5  Prefactor      .0000        6.0769       -.41353E-05** at limit **
   6  Prefactor      .0000        3.4860        .98419E-06** at limit **
   7  norm           .0000        .18770       -.25164E-05** at limit **
   8  Prefactor     6.4889        7.9573        .20290E-05    .22285E-02
   9  Prefactor      .0000        4.2910       -.14128E-05** at limit **
  10  Prefactor     .55511E-10    8.5582       -.19389E-06** at limit **
  11  Prefactor     .28521E-05    29.206        .51379E-05** at limit **
  12  norm          12.272        5.6970       -.99252E-06    .38026E-02
  13  Prefactor     .22488E-05    28.897        .44478E-06** at limit **
  14  norm           .0000        .28808       -.85409E-06** at limit **
  15  norm          2.1203        2.9005       -.20929E-05   -.92521E-03
  16  Prefactor     .28290E-05    28.545        .41615E-05** at limit **
  17  Prefactor     .41178E-05    21.736       -.65562E-05** at limit **
  18  Normalizat    1.1085        .24812        .34167E-05    .27502E-03
  19  Prefactor     .92200        .23874        .10786E-04    .26128E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 50.094
  norm       = 1.1164
  Prefactor  = 1.17584e-05
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.48886
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.85211e-06
  norm       = 12.2722
  Prefactor  = 2.24881e-06
  norm       = 0
  norm       = 2.12026
  Prefactor  = 2.82901e-06
  Prefactor  = 4.11782e-06
  Normalizat = 1.10853
  Prefactor  = 0.922003
outfile=/lscratch/kocevski/35385029/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/35385029/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 9.04
user 8.35
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35385029/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385029/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35385029/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35385029/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/35385029/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 72.57
user 67.58
sys 4.13

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2331.0-2147 @ 352.763 -21.7953

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35385029/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35385029/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35385029/cmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.81
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35385029/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35385029/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35385029/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.93
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35385029/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385029/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35385029/Model_4FGL_J2331.0-2147_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourcshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013848
delta logL = 0.0341654231206

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.115e+01  7.162e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.561e+00  5.176e-01  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.335e-01  2.433e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.092e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.50
Ra Dec: 352.763 -21.795
Photon Index (Free Index): 2.56 +/- 0.52
Photon Flux (Free Index): 1.44e-07 +/- 7.83e-08
Energy Flux (Free Index): 4.26e-05 +/- 2.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/35384942/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.26e-05', photon_flux_error='6.10e-08', dlogl='3.42e-02', energy_flux='4.37e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2026-08-19 18:04:39.547308', photon_index_error2='0.52', photon_index2='2.56', ts='8.45', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='1.11', time_epoch_completed='1787187879.55', return_code='0', job_id='35384942', GAL2='0.93', EG2='1.09', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='7.83e-08', ts2='8.50', photon_index='2.43' WHERE bin_id='2196' AND source_name='4FGL J2331.0-2147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:04:39 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013848
delta logL = 0.0341654231206

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.115e+01  7.162e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.561e+00  5.176e-01  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.335e-01  2.433e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.092e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.50
Ra Dec: 352.763 -21.795
Photon Index (Free Index): 2.56 +/- 0.52
Photon Flux (Free Index): 1.44e-07 +/- 7.83e-08
Energy Flux (Free Index): 4.26e-05 +/- 2.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/35384948/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.26e-05', photon_flux_error='6.10e-08', dlogl='3.42e-02', energy_flux='4.37e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2026-08-19 18:04:39.863327', photon_index_error2='0.52', photon_index2='2.56', ts='8.45', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='1.11', time_epoch_completed='1787187879.86', return_code='0', job_id='35384948', GAL2='0.93', EG2='1.09', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='7.83e-08', ts2='8.50', photon_index='2.43' WHERE bin_id='2196' AND source_name='4FGL J2331.0-2147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:04:40 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   4608.214     FROM HESSE     STATUS=OK           298 CALLS     1707 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.094        73.211        .13942E-03   -1.5566    
   2  norm          1.1164        1.5171        .11133E-02   -1.5687    
   3  Prefactor     .11758E-04    29.474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11102E-09    3.8332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.0721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.4768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .18645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4889        7.9600        .39751E-03   -1.5657    
   9  Prefactor      .0000        4.2843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    8.5590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28521E-05    56.198        .14229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.272        5.6886        .28560E-03   -1.5638    
  13  Prefactor     .22488E-05    32.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .28378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1203        2.9228        .70832E-03   -1.5679    
  16  Prefactor     .28290E-05    56.911        .14234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41178E-05    28.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1085        .20615        .54398E-01   -.89478    
  19  Prefactor     .92200        .19894        .45287E-01   -.95376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16639e-07
Minuit parameter uncertainties:
  1  73.2128
  2  1.51715
  3  0.0372325
  4  4.10831e-05
  5  1.48953e-05
  6  1.73174e-05
  7  1.7704e-08
  8  7.96
  9  1.56054e-05
  10  3.31361e-05
  11  0.0253209
  12  5.68862
  13  0.0170469
  14  2.77044e-06
  15  2.92278
  16  0.0253775
  17  0.0216408
  18  0.206303
  19  0.199097
e GAL_V02
Working on...
/lscratch/kocevski/35384954/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits.....................!
real 19.51
user 17.83
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35384954/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits', '/lscratch/kocevski/35384954/ft2_4FGL_J2331.0-2147_daily_bin2196.fits', expMap='/lscratch/kocevski/35384954/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', expCube='/lscratch/kocevski/35384954/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35384954/Model_4FGL_J2331.0-2147_daily_bin2196.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.0-2147'

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  2.017e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35384954/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35384954/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35384954/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35384954/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35384954/Model_4FGL_J2331.0-2147_daily_bin2196.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.22711433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2170158

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.455       1.0000          .0000       .10000E+07
     2 'norm      '    1.1167       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19684E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .42035E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46051E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .62055E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3682       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46364E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .51939E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89195E-01   1.0000          .0000       .10000E+07
    12 'norm      '    12.280       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11297E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1186       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89031E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92215       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4608.214     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1409 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.094        72.903       -.13704E-04    .70933E-02
   2  norm          1.1164        1.4829       -.12256E-05   -.42032E-02
   3  Prefactor     .11758E-04    10.347       -.26422E-05** at limit **
   4  norm          .11102E-09    3.8709        .55912E-06** at limit **
   5  Prefactor      .0000        6.0769       -.41353E-05** at limit **
   6  Prefactor      .0000        3.4860        .98419E-06** at limit **
   7  norm           .0000        .18770       -.25164E-05** at limit **
   8  Prefactor     6.4889        7.9573        .20290E-05    .22285E-02
   9  Prefactor      .0000        4.2910       -.14128E-05** at limit **
  10  Prefactor     .55511E-10    8.5582       -.19389E-06** at limit **
  11  Prefactor     .28521E-05    29.206        .51379E-05** at limit **
  12  norm          12.272        5.6970       -.99252E-06    .38026E-02
  13  Prefactor     .22488E-05    28.897        .44478E-06** at limit **
  14  norm           .0000        .28808       -.85409E-06** at limit **
  15  norm          2.1203        2.9005       -.20929E-05   -.92521E-03
  16  Prefactor     .28290E-05    28.545        .41615E-05** at limit **
  17  Prefactor     .41178E-05    21.736       -.65562E-05** at limit **
  18  Normalizat    1.1085        .24812        .34167E-05    .27502E-03
  19  Prefactor     .92200        .23874        .10786E-04    .26128E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 50.094
  norm       = 1.1164
  Prefactor  = 1.17584e-05
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.48886
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.85211e-06
  norm       = 12.2722
  Prefactor  = 2.24881e-06
  norm       = 0
  norm       = 2.12026
  Prefactor  = 2.82901e-06
  Prefactor  = 4.11782e-06
  Normalizat = 1.10853
  Prefactor  = 0.922003
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2143039

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.227e+01  5.689e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.220e-01  1.991e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.109e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.45
Ra Dec: 352.763 -21.795
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 6.10e-08
Energy Flux (Fixed Index): 4.37e-05 +/- 2.03e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18363873
delta logL = 0.0306651729043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013958
delta logL = 0.03416432218

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.154       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4608.180     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.151        87.501        .29973E-03    .91992E-02
   2  alpha         2.5612        3.7800        .20483        .33308E-04
   3  Normalizat    1.0921        .13975        .38335E-01    .41135E-03
   4  Prefactor     .93353        .10656        .45432E-01    .37549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1512
  alpha      = 2.56118
  Normalizat = 1.09212
  Prefactor  = 0.93353
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.180     FROM HESSE     STATUS=OK            29 CALLS      286 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.151        7.1625        .96294E-05   -1.5641    
   2  alpha         2.5612        .51387        .82962E-02    .24474E-01
   3  Normalizat    1.0921        .25414        .24190E-03   -.90005    
   4  Prefactor     .93353        .24305        .25291E-03   -.94979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43676e-10
Minuit parameter uncertainties:
  1  7.16246
  2  0.517559
  3  0.254423
  4  0.24333
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.214     FROM HESSE     STATUS=OK           298 CALLS     1707 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.094        73.211        .13942E-03   -1.5566    
   2  norm          1.1164        1.5171        .11133E-02   -1.5687    
   3  Prefactor     .11758E-04    29.474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11102E-09    3.8332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.0721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.4768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .18645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4889        7.9600        .39751E-03   -1.5657    
   9  Prefactor      .0000        4.2843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    8.5590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28521E-05    56.198        .14229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.272        5.6886        .28560E-03   -1.5638    
  13  Prefactor     .22488E-05    32.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .28378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1203        2.9228        .70832E-03   -1.5679    
  16  Prefactor     .28290E-05    56.911        .14234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41178E-05    28.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1085        .20615        .54398E-01   -.89478    
  19  Prefactor     .92200        .19894        .45287E-01   -.95376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16639e-07
Minuit parameter uncertainties:
  1  73.2128
  2  1.51715
  3  0.0372325
  4  4.10831e-05
  5  1.48953e-05
  6  1.73174e-05
  7  1.7704e-08
  8  7.96
  9  1.56054e-05
  10  3.31361e-05
  11  0.0253209
  12  5.68862
  13  0.0170469
  14  2.77044e-06
  15  2.92278
  16  0.0253775
  17  0.0216408
  18  0.206303
  19  0.199097
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013848
delta logL = 0.0341654231206

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.115e+01  7.162e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.561e+00  5.176e-01  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.335e-01  2.433e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.092e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.50
Ra Dec: 352.763 -21.795
Photon Index (Free Index): 2.56 +/- 0.52
Photon Flux (Free Index): 1.44e-07 +/- 7.83e-08
Energy Flux (Free Index): 4.26e-05 +/- 2.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/35384973/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.26e-05', photon_flux_error='6.10e-08', dlogl='3.42e-02', energy_flux='4.37e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2026-08-19 18:04:50.791875', photon_index_error2='0.52', photon_index2='2.56', ts='8.45', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='1.11', time_epoch_completed='1787187890.79', return_code='0', job_id='35384973', GAL2='0.93', EG2='1.09', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='7.83e-08', ts2='8.50', photon_index='2.43' WHERE bin_id='2196' AND source_name='4FGL J2331.0-2147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:04:51 PDT 2026

Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2143039

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.227e+01  5.689e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.220e-01  1.991e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.109e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.45
Ra Dec: 352.763 -21.795
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 6.10e-08
Energy Flux (Fixed Index): 4.37e-05 +/- 2.03e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18363873
delta logL = 0.0306651729043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013958
delta logL = 0.03416432218

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.154       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4608.180     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.151        87.501        .29973E-03    .91992E-02
   2  alpha         2.5612        3.7800        .20483        .33308E-04
   3  Normalizat    1.0921        .13975        .38335E-01    .41135E-03
   4  Prefactor     .93353        .10656        .45432E-01    .37549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1512
  alpha      = 2.56118
  Normalizat = 1.09212
  Prefactor  = 0.93353
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.180     FROM HESSE     STATUS=OK            29 CALLS      286 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.151        7.1625        .96294E-05   -1.5641    
   2  alpha         2.5612        .51387        .82962E-02    .24474E-01
   3  Normalizat    1.0921        .25414        .24190E-03   -.90005    
   4  Prefactor     .93353        .24305        .25291E-03   -.94979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43676e-10
Minuit parameter uncertainties:
  1  7.16246
  2  0.517559
  3  0.254423
  4  0.24333
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013848
delta logL = 0.0341654231206

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.115e+01  7.162e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.561e+00  5.176e-01  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.335e-01  2.433e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.092e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.50
Ra Dec: 352.763 -21.795
Photon Index (Free Index): 2.56 +/- 0.52
Photon Flux (Free Index): 1.44e-07 +/- 7.83e-08
Energy Flux (Free Index): 4.26e-05 +/- 2.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/35384954/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.26e-05', photon_flux_error='6.10e-08', dlogl='3.42e-02', energy_flux='4.37e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2026-08-19 18:04:57.998656', photon_index_error2='0.52', photon_index2='2.56', ts='8.45', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='1.11', time_epoch_completed='1787187898.0', return_code='0', job_id='35384954', GAL2='0.93', EG2='1.09', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='7.83e-08', ts2='8.50', photon_index='2.43' WHERE bin_id='2196' AND source_name='4FGL J2331.0-2147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:04:58 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/35385036/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits.....................!
real 17.38
user 15.73
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385036/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits', '/lscratch/kocevski/35385036/ft2_4FGL_J2331.0-2147_daily_bin2196.fits', expMap='/lscratch/kocevski/35385036/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', expCube='/lscratch/kocevski/35385036/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385036/Model_4FGL_J2331.0-2147_daily_bin2196.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.0-2147'

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  2.017e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385036/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385036/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385036/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385036/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385036/Model_4FGL_J2331.0-2147_daily_bin2196.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.22711433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2170158

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.455       1.0000          .0000       .10000E+07
     2 'norm      '    1.1167       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19684E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .42035E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46051E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .62055E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3682       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46364E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .51939E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89195E-01   1.0000          .0000       .10000E+07
    12 'norm      '    12.280       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11297E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1186       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89031E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92215       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4608.214     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1409 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.094        72.903       -.13704E-04    .70933E-02
   2  norm          1.1164        1.4829       -.12256E-05   -.42032E-02
   3  Prefactor     .11758E-04    10.347       -.26422E-05** at limit **
   4  norm          .11102E-09    3.8709        .55912E-06** at limit **
   5  Prefactor      .0000        6.0769       -.41353E-05** at limit **
   6  Prefactor      .0000        3.4860        .98419E-06** at limit **
   7  norm           .0000        .18770       -.25164E-05** at limit **
   8  Prefactor     6.4889        7.9573        .20290E-05    .22285E-02
   9  Prefactor      .0000        4.2910       -.14128E-05** at limit **
  10  Prefactor     .55511E-10    8.5582       -.19389E-06** at limit **
  11  Prefactor     .28521E-05    29.206        .51379E-05** at limit **
  12  norm          12.272        5.6970       -.99252E-06    .38026E-02
  13  Prefactor     .22488E-05    28.897        .44478E-06** at limit **
  14  norm           .0000        .28808       -.85409E-06** at limit **
  15  norm          2.1203        2.9005       -.20929E-05   -.92521E-03
  16  Prefactor     .28290E-05    28.545        .41615E-05** at limit **
  17  Prefactor     .41178E-05    21.736       -.65562E-05** at limit **
  18  Normalizat    1.1085        .24812        .34167E-05    .27502E-03
  19  Prefactor     .92200        .23874        .10786E-04    .26128E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 50.094
  norm       = 1.1164
  Prefactor  = 1.17584e-05
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.48886
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.85211e-06
  norm       = 12.2722
  Prefactor  = 2.24881e-06
  norm       = 0
  norm       = 2.12026
  Prefactor  = 2.82901e-06
  Prefactor  = 4.11782e-06
  Normalizat = 1.10853
  Prefactor  = 0.922003
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.214     FROM HESSE     STATUS=OK           298 CALLS     1707 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.094        73.211        .13942E-03   -1.5566    
   2  norm          1.1164        1.5171        .11133E-02   -1.5687    
   3  Prefactor     .11758E-04    29.474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11102E-09    3.8332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.0721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.4768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .18645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4889        7.9600        .39751E-03   -1.5657    
   9  Prefactor      .0000        4.2843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    8.5590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28521E-05    56.198        .14229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.272        5.6886        .28560E-03   -1.5638    
  13  Prefactor     .22488E-05    32.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .28378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1203        2.9228        .70832E-03   -1.5679    
  16  Prefactor     .28290E-05    56.911        .14234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41178E-05    28.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1085        .20615        .54398E-01   -.89478    
  19  Prefactor     .92200        .19894        .45287E-01   -.95376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16639e-07
Minuit parameter uncertainties:
  1  73.2128
  2  1.51715
  3  0.0372325
  4  4.10831e-05
  5  1.48953e-05
  6  1.73174e-05
  7  1.7704e-08
  8  7.96
  9  1.56054e-05
  10  3.31361e-05
  11  0.0253209
  12  5.68862
  13  0.0170469
  14  2.77044e-06
  15  2.92278
  16  0.0253775
  17  0.0216408
  18  0.206303
  19  0.199097
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2143039

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.227e+01  5.689e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.220e-01  1.991e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.109e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.45
Ra Dec: 352.763 -21.795
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 6.10e-08
Energy Flux (Fixed Index): 4.37e-05 +/- 2.03e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18363873
delta logL = 0.0306651729043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013958
delta logL = 0.03416432218

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.154       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4608.180     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.151        87.501        .29973E-03    .91992E-02
   2  alpha         2.5612        3.7800        .20483        .33308E-04
   3  Normalizat    1.0921        .13975        .38335E-01    .41135E-03
   4  Prefactor     .93353        .10656        .45432E-01    .37549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1512
  alpha      = 2.56118
  Normalizat = 1.09212
  Prefactor  = 0.93353
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.180     FROM HESSE     STATUS=OK            29 CALLS      286 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.151        7.1625        .96294E-05   -1.5641    
   2  alpha         2.5612        .51387        .82962E-02    .24474E-01
   3  Normalizat    1.0921        .25414        .24190E-03   -.90005    
   4  Prefactor     .93353        .24305        .25291E-03   -.94979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43676e-10
Minuit parameter uncertainties:
  1  7.16246
  2  0.517559
  3  0.254423
  4  0.24333
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013848
delta logL = 0.0341654231206

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.115e+01  7.162e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.561e+00  5.176e-01  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.335e-01  2.433e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.092e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.50
Ra Dec: 352.763 -21.795
Photon Index (Free Index): 2.56 +/- 0.52
Photon Flux (Free Index): 1.44e-07 +/- 7.83e-08
Energy Flux (Free Index): 4.26e-05 +/- 2.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/35385036/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.26e-05', photon_flux_error='6.10e-08', dlogl='3.42e-02', energy_flux='4.37e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2026-08-19 18:05:32.377516', photon_index_error2='0.52', photon_index2='2.56', ts='8.45', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='1.11', time_epoch_completed='1787187932.38', return_code='0', job_id='35385036', GAL2='0.93', EG2='1.09', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='7.83e-08', ts2='8.50', photon_index='2.43' WHERE bin_id='2196' AND source_name='4FGL J2331.0-2147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:05:32 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/35385029/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits.....................!
real 18.26
user 16.60
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385029/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits', '/lscratch/kocevski/35385029/ft2_4FGL_J2331.0-2147_daily_bin2196.fits', expMap='/lscratch/kocevski/35385029/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', expCube='/lscratch/kocevski/35385029/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385029/Model_4FGL_J2331.0-2147_daily_bin2196.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.0-2147'

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  2.017e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385029/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385029/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385029/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385029/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385029/Model_4FGL_J2331.0-2147_daily_bin2196.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.22711433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2170158

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.455       1.0000          .0000       .10000E+07
     2 'norm      '    1.1167       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19684E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .42035E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46051E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .62055E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3682       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46364E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .51939E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89195E-01   1.0000          .0000       .10000E+07
    12 'norm      '    12.280       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11297E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1186       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89031E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92215       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4608.214     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1409 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.094        72.903       -.13704E-04    .70933E-02
   2  norm          1.1164        1.4829       -.12256E-05   -.42032E-02
   3  Prefactor     .11758E-04    10.347       -.26422E-05** at limit **
   4  norm          .11102E-09    3.8709        .55912E-06** at limit **
   5  Prefactor      .0000        6.0769       -.41353E-05** at limit **
   6  Prefactor      .0000        3.4860        .98419E-06** at limit **
   7  norm           .0000        .18770       -.25164E-05** at limit **
   8  Prefactor     6.4889        7.9573        .20290E-05    .22285E-02
   9  Prefactor      .0000        4.2910       -.14128E-05** at limit **
  10  Prefactor     .55511E-10    8.5582       -.19389E-06** at limit **
  11  Prefactor     .28521E-05    29.206        .51379E-05** at limit **
  12  norm          12.272        5.6970       -.99252E-06    .38026E-02
  13  Prefactor     .22488E-05    28.897        .44478E-06** at limit **
  14  norm           .0000        .28808       -.85409E-06** at limit **
  15  norm          2.1203        2.9005       -.20929E-05   -.92521E-03
  16  Prefactor     .28290E-05    28.545        .41615E-05** at limit **
  17  Prefactor     .41178E-05    21.736       -.65562E-05** at limit **
  18  Normalizat    1.1085        .24812        .34167E-05    .27502E-03
  19  Prefactor     .92200        .23874        .10786E-04    .26128E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 50.094
  norm       = 1.1164
  Prefactor  = 1.17584e-05
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.48886
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.85211e-06
  norm       = 12.2722
  Prefactor  = 2.24881e-06
  norm       = 0
  norm       = 2.12026
  Prefactor  = 2.82901e-06
  Prefactor  = 4.11782e-06
  Normalizat = 1.10853
  Prefactor  = 0.922003
outfile=/lscratch/kocevski/35385104/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/35385104/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 9.20
user 8.50
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35385104/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385104/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35385104/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35385104/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/35385104/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
.....................!
real 73.33
user 68.36
sys 4.25

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2331.0-2147 @ 352.763 -21.7953

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35385104/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35385104/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35385104/cmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.75
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35385104/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits scfile=/lscratch/kocevski/35385104/ft2_4FGL_J2331.0-2147_daily_bin2196.fits outfile=/lscratch/kocevski/35385104/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=352.763 yref=-21.7953 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.87
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35385104/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits evtable="EVENTS" scfile=/lscratch/kocevski/35385104/ft2_4FGL_J2331.0-2147_daily_bin2196.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35385104/Model_4FGL_J2331.0-2147_daily_bin2196.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding sourc **********
 **   18 **HESSE 
 **********

 FCN=   4608.214     FROM HESSE     STATUS=OK           298 CALLS     1707 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.094        73.211        .13942E-03   -1.5566    
   2  norm          1.1164        1.5171        .11133E-02   -1.5687    
   3  Prefactor     .11758E-04    29.474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11102E-09    3.8332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.0721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.4768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .18645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4889        7.9600        .39751E-03   -1.5657    
   9  Prefactor      .0000        4.2843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    8.5590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28521E-05    56.198        .14229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.272        5.6886        .28560E-03   -1.5638    
  13  Prefactor     .22488E-05    32.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .28378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1203        2.9228        .70832E-03   -1.5679    
  16  Prefactor     .28290E-05    56.911        .14234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41178E-05    28.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1085        .20615        .54398E-01   -.89478    
  19  Prefactor     .92200        .19894        .45287E-01   -.95376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16639e-07
Minuit parameter uncertainties:
  1  73.2128
  2  1.51715
  3  0.0372325
  4  4.10831e-05
  5  1.48953e-05
  6  1.73174e-05
  7  1.7704e-08
  8  7.96
  9  1.56054e-05
  10  3.31361e-05
  11  0.0253209
  12  5.68862
  13  0.0170469
  14  2.77044e-06
  15  2.92278
  16  0.0253775
  17  0.0216408
  18  0.206303
  19  0.199097
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2143039

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.227e+01  5.689e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.220e-01  1.991e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.109e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.45
Ra Dec: 352.763 -21.795
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 6.10e-08
Energy Flux (Fixed Index): 4.37e-05 +/- 2.03e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18363873
delta logL = 0.0306651729043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013958
delta logL = 0.03416432218

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.154       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4608.180     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.151        87.501        .29973E-03    .91992E-02
   2  alpha         2.5612        3.7800        .20483        .33308E-04
   3  Normalizat    1.0921        .13975        .38335E-01    .41135E-03
   4  Prefactor     .93353        .10656        .45432E-01    .37549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1512
  alpha      = 2.56118
  Normalizat = 1.09212
  Prefactor  = 0.93353
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.180     FROM HESSE     STATUS=OK            29 CALLS      286 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.151        7.1625        .96294E-05   -1.5641    
   2  alpha         2.5612        .51387        .82962E-02    .24474E-01
   3  Normalizat    1.0921        .25414        .24190E-03   -.90005    
   4  Prefactor     .93353        .24305        .25291E-03   -.94979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43676e-10
Minuit parameter uncertainties:
  1  7.16246
  2  0.517559
  3  0.254423
  4  0.24333
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013848
delta logL = 0.0341654231206

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.115e+01  7.162e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.561e+00  5.176e-01  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.335e-01  2.433e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.092e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.50
Ra Dec: 352.763 -21.795
Photon Index (Free Index): 2.56 +/- 0.52
Photon Flux (Free Index): 1.44e-07 +/- 7.83e-08
Energy Flux (Free Index): 4.26e-05 +/- 2.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/35385029/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.26e-05', photon_flux_error='6.10e-08', dlogl='3.42e-02', energy_flux='4.37e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2026-08-19 18:05:48.056763', photon_index_error2='0.52', photon_index2='2.56', ts='8.45', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='1.11', time_epoch_completed='1787187948.06', return_code='0', job_id='35385029', GAL2='0.93', EG2='1.09', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='7.83e-08', ts2='8.50', photon_index='2.43' WHERE bin_id='2196' AND source_name='4FGL J2331.0-2147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:05:48 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/35385104/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits.....................!
real 18.17
user 16.64
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35385104/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits', '/lscratch/kocevski/35385104/ft2_4FGL_J2331.0-2147_daily_bin2196.fits', expMap='/lscratch/kocevski/35385104/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', expCube='/lscratch/kocevski/35385104/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35385104/Model_4FGL_J2331.0-2147_daily_bin2196.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.0-2147'

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  2.017e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35385104/ft1_filtered_4FGL_J2331.0-2147_daily_bin2196.fits
Spacecraft file(s): /lscratch/kocevski/35385104/ft2_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure map: /lscratch/kocevski/35385104/expmap_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
Exposure cube: /lscratch/kocevski/35385104/ltcube_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35385104/Model_4FGL_J2331.0-2147_daily_bin2196.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.22711433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2170158

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.455       1.0000          .0000       .10000E+07
     2 'norm      '    1.1167       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19684E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .42035E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46051E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .62055E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .11102E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.3682       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46364E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .51939E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .89195E-01   1.0000          .0000       .10000E+07
    12 'norm      '    12.280       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11297E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
    15 'norm      '    2.1186       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89031E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .40513E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1079       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92215       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4608.214     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1409 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          50.094        72.903       -.13704E-04    .70933E-02
   2  norm          1.1164        1.4829       -.12256E-05   -.42032E-02
   3  Prefactor     .11758E-04    10.347       -.26422E-05** at limit **
   4  norm          .11102E-09    3.8709        .55912E-06** at limit **
   5  Prefactor      .0000        6.0769       -.41353E-05** at limit **
   6  Prefactor      .0000        3.4860        .98419E-06** at limit **
   7  norm           .0000        .18770       -.25164E-05** at limit **
   8  Prefactor     6.4889        7.9573        .20290E-05    .22285E-02
   9  Prefactor      .0000        4.2910       -.14128E-05** at limit **
  10  Prefactor     .55511E-10    8.5582       -.19389E-06** at limit **
  11  Prefactor     .28521E-05    29.206        .51379E-05** at limit **
  12  norm          12.272        5.6970       -.99252E-06    .38026E-02
  13  Prefactor     .22488E-05    28.897        .44478E-06** at limit **
  14  norm           .0000        .28808       -.85409E-06** at limit **
  15  norm          2.1203        2.9005       -.20929E-05   -.92521E-03
  16  Prefactor     .28290E-05    28.545        .41615E-05** at limit **
  17  Prefactor     .41178E-05    21.736       -.65562E-05** at limit **
  18  Normalizat    1.1085        .24812        .34167E-05    .27502E-03
  19  Prefactor     .92200        .23874        .10786E-04    .26128E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 50.094
  norm       = 1.1164
  Prefactor  = 1.17584e-05
  norm       = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.48886
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.85211e-06
  norm       = 12.2722
  Prefactor  = 2.24881e-06
  norm       = 0
  norm       = 2.12026
  Prefactor  = 2.82901e-06
  Prefactor  = 4.11782e-06
  Normalizat = 1.10853
  Prefactor  = 0.922003
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.214     FROM HESSE     STATUS=OK           298 CALLS     1707 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          50.094        73.211        .13942E-03   -1.5566    
   2  norm          1.1164        1.5171        .11133E-02   -1.5687    
   3  Prefactor     .11758E-04    29.474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .11102E-09    3.8332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        6.0721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.4768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .18645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.4889        7.9600        .39751E-03   -1.5657    
   9  Prefactor      .0000        4.2843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    8.5590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .28521E-05    56.198        .14229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.272        5.6886        .28560E-03   -1.5638    
  13  Prefactor     .22488E-05    32.305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .28378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1203        2.9228        .70832E-03   -1.5679    
  16  Prefactor     .28290E-05    56.911        .14234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .41178E-05    28.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1085        .20615        .54398E-01   -.89478    
  19  Prefactor     .92200        .19894        .45287E-01   -.95376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.16639e-07
Minuit parameter uncertainties:
  1  73.2128
  2  1.51715
  3  0.0372325
  4  4.10831e-05
  5  1.48953e-05
  6  1.73174e-05
  7  1.7704e-08
  8  7.96
  9  1.56054e-05
  10  3.31361e-05
  11  0.0253209
  12  5.68862
  13  0.0170469
  14  2.77044e-06
  15  2.92278
  16  0.0253775
  17  0.0216408
  18  0.206303
  19  0.199097
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 4608.2143039

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.227e+01  5.689e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.220e-01  1.991e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.109e+00  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.45
Ra Dec: 352.763 -21.795
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.32e-07 +/- 6.10e-08
Energy Flux (Fixed Index): 4.37e-05 +/- 2.03e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18363873
delta logL = 0.0306651729043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013958
delta logL = 0.03416432218

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.154       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4608.180     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.151        87.501        .29973E-03    .91992E-02
   2  alpha         2.5612        3.7800        .20483        .33308E-04
   3  Normalizat    1.0921        .13975        .38335E-01    .41135E-03
   4  Prefactor     .93353        .10656        .45432E-01    .37549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.1512
  alpha      = 2.56118
  Normalizat = 1.09212
  Prefactor  = 0.93353
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.180     FROM HESSE     STATUS=OK            29 CALLS      286 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.151        7.1625        .96294E-05   -1.5641    
   2  alpha         2.5612        .51387        .82962E-02    .24474E-01
   3  Normalizat    1.0921        .25414        .24190E-03   -.90005    
   4  Prefactor     .93353        .24305        .25291E-03   -.94979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43676e-10
Minuit parameter uncertainties:
  1  7.16246
  2  0.517559
  3  0.254423
  4  0.24333
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.18013848
delta logL = 0.0341654231206

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.115e+01  7.162e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.561e+00  5.176e-01  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.335e-01  2.433e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.092e+00  2.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.50
Ra Dec: 352.763 -21.795
Photon Index (Free Index): 2.56 +/- 0.52
Photon Flux (Free Index): 1.44e-07 +/- 7.83e-08
Energy Flux (Free Index): 4.26e-05 +/- 2.01e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/35385104/cmap_HighResolution_808531201_808790401_4FGL_J2331.0-2147_daily_bin2196.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-07', energy_flux2='4.26e-05', photon_flux_error='6.10e-08', dlogl='3.42e-02', energy_flux='4.37e-05', photon_flux2='1.44e-07', job_status='DONE', time_completed='2026-08-19 18:06:47.357856', photon_index_error2='0.52', photon_index2='2.56', ts='8.45', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.01e-05', EG='1.11', time_epoch_completed='1787188007.36', return_code='0', job_id='35385104', GAL2='0.93', EG2='1.09', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='7.83e-08', ts2='8.50', photon_index='2.43' WHERE bin_id='2196' AND source_name='4FGL J2331.0-2147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 19 18:06:47 PDT 2026

