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


Performing analysis on: 4FGL_J2325.2+3957_weekly_bin938
RA = 351.315, Dec = 39.9542
tmin = 806284801, tmax = 806889601
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='33487509', job_status='RUN', time_executed='2026-07-28 20:43:45.155833', time_epoch_executed='1785296625.16' WHERE source_name='4FGL J2325.2+3957' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33487509

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33487509/ft1_4FGL_J2325.2+3957_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33487509/ft2_4FGL_J2325.2+3957_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33487509/ft1_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487509/ft1_filteredMKT_4FGL_J2325.2+3957_weekly_bin938.fits ra=351.315 dec=39.9542 rad=12.0 tmin=806284801.0 tmax=806889601.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 6.12
user 4.76
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33487509/ft2_4FGL_J2325.2+3957_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33487509/ft2_4FGL_J2325.2+3957_weekly_bin938.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/33487509/ft1_filteredMKT_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33487509/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.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.17
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 2591

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33487509/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33487509/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA"/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).

/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 = 17264
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_J2325.2+3957_weekly_bin938
RA = 351.315, Dec = 39.9542
tmin = 806284801, tmax = 806889601
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='33487525', job_status='RUN', time_executed='2026-07-28 20:44:44.440813', time_epoch_executed='1785296684.44' WHERE source_name='4FGL J2325.2+3957' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33487525

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33487525/ft1_4FGL_J2325.2+3957_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33487525/ft2_4FGL_J2325.2+3957_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33487525/ft1_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487525/ft1_filteredMKT_4FGL_J2325.2+3957_weekly_bin938.fits ra=351.315 dec=39.9542 rad=12.0 tmin=806284801.0 tmax=806889601.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 5.43
user 4.27
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33487525/ft2_4FGL_J2325.2+3957_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33487525/ft2_4FGL_J2325.2+3957_weekly_bin938.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/33487525/ft1_filteredMKT_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33487525/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.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.13
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 2591

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33487525/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33487525/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33487466/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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/33487466/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
.....................!
real 17.25
user 16.04
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33487466/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33487466/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33487466/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487466/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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/33487466/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
.....................!
real 60.29
user 55.63
sys 3.48

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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 163 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2325.2+3957 @ 351.315 39.9542

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33487466/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits scfile=/lscratch/kocevski/33487466/ft2_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487466/cmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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=351.315 yref=39.9542 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.12
user 0.22
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33487466/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits scfile=/lscratch/kocevski/33487466/ft2_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487466/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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=351.315 yref=39.9542 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.11
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33487466/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33487466/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2325.2+3957_weekly_bin938
RA = 351.315, Dec = 39.9542
tmin = 806284801, tmax = 806889601
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='33487561', job_status='RUN', time_executed='2026-07-28 20:44:47.270230', time_epoch_executed='1785296687.27' WHERE source_name='4FGL J2325.2+3957' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33487561

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33487561/ft1_4FGL_J2325.2+3957_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33487561/ft2_4FGL_J2325.2+3957_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33487561/ft1_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487561/ft1_filteredMKT_4FGL_J2325.2+3957_weekly_bin938.fits ra=351.315 dec=39.9542 rad=12.0 tmin=806284801.0 tmax=806889601.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 8.23
user 6.86
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33487561/ft2_4FGL_J2325.2+3957_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33487561/ft2_4FGL_J2325.2+3957_weekly_bin938.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/33487561/ft1_filteredMKT_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33487561/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.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.07
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 2591

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33487561/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33487561/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA"number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2325.2+3957_weekly_bin938
RA = 351.315, Dec = 39.9542
tmin = 806284801, tmax = 806889601
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='33487570', job_status='RUN', time_executed='2026-07-28 20:45:54.984692', time_epoch_executed='1785296754.98' WHERE source_name='4FGL J2325.2+3957' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33487570

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33487570/ft1_4FGL_J2325.2+3957_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33487570/ft2_4FGL_J2325.2+3957_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33487570/ft1_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487570/ft1_filteredMKT_4FGL_J2325.2+3957_weekly_bin938.fits ra=351.315 dec=39.9542 rad=12.0 tmin=806284801.0 tmax=806889601.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 5.90
user 4.68
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33487570/ft2_4FGL_J2325.2+3957_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33487570/ft2_4FGL_J2325.2+3957_weekly_bin938.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/33487570/ft1_filteredMKT_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33487570/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.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.20
sys 0.13

Number of photons that the gtmktime cut: 2591

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33487570/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33487570/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA"number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2325.2+3957_weekly_bin938
RA = 351.315, Dec = 39.9542
tmin = 806284801, tmax = 806889601
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='33487635', job_status='RUN', time_executed='2026-07-28 20:45:56.466404', time_epoch_executed='1785296756.47' WHERE source_name='4FGL J2325.2+3957' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33487635

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33487635/ft1_4FGL_J2325.2+3957_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33487635/ft2_4FGL_J2325.2+3957_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33487635/ft1_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487635/ft1_filteredMKT_4FGL_J2325.2+3957_weekly_bin938.fits ra=351.315 dec=39.9542 rad=12.0 tmin=806284801.0 tmax=806889601.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 5.87
user 4.92
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33487635/ft2_4FGL_J2325.2+3957_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33487635/ft2_4FGL_J2325.2+3957_weekly_bin938.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/33487635/ft1_filteredMKT_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33487635/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.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.02
user 0.23
sys 0.14

Number of photons that the gtmktime cut: 2591

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33487635/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33487635/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33487525/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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/33487525/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
.....................!
real 16.34
user 15.32
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33487525/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33487525/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33487525/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487525/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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/33487525/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
.....................!
real 60.21
user 55.48
sys 3.48

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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 163 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2325.2+3957 @ 351.315 39.9542

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33487525/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits scfile=/lscratch/kocevski/33487525/ft2_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487525/cmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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=351.315 yref=39.9542 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.19
user 0.21
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33487525/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits scfile=/lscratch/kocevski/33487525/ft2_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487525/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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=351.315 yref=39.9542 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.25
user 0.21
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33487525/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33487525/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33 outfile=/lscratch/kocevski/33487509/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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/33487509/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
.....................!
real 21.46
user 20.19
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33487509/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33487509/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33487509/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487509/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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/33487509/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
.....................!
real 77.02
user 70.91
sys 4.57

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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 163 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2325.2+3957 @ 351.315 39.9542

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33487509/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits scfile=/lscratch/kocevski/33487509/ft2_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487509/cmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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=351.315 yref=39.9542 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.38
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33487509/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits scfile=/lscratch/kocevski/33487509/ft2_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487509/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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=351.315 yref=39.9542 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.45
user 0.22
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33487509/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33487509/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33 outfile=/lscratch/kocevski/33487561/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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/33487561/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
.....................!
real 21.02
user 19.48
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33487561/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33487561/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33487561/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487561/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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/33487561/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
.....................!
real 74.32
user 68.96
sys 4.02

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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 163 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2325.2+3957 @ 351.315 39.9542

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33487561/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits scfile=/lscratch/kocevski/33487561/ft2_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487561/cmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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=351.315 yref=39.9542 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.32
user 0.29
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33487561/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits scfile=/lscratch/kocevski/33487561/ft2_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487561/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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=351.315 yref=39.9542 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.31
user 0.33
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33487561/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33487561/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33 outfile=/lscratch/kocevski/33487570/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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/33487570/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
.....................!
real 17.34
user 16.42
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33487570/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33487570/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33487570/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487570/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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/33487570/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
.....................!
real 65.41
user 60.27
sys 3.91

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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 163 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2325.2+3957 @ 351.315 39.9542

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33487570/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits scfile=/lscratch/kocevski/33487570/ft2_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487570/cmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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=351.315 yref=39.9542 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.28
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33487570/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits scfile=/lscratch/kocevski/33487570/ft2_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487570/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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=351.315 yref=39.9542 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.04
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33487570/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33487570/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2325.2+3957_weekly_bin938
RA = 351.315, Dec = 39.9542
tmin = 806284801, tmax = 806889601
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='33487942', job_status='RUN', time_executed='2026-07-28 20:46:56.259570', time_epoch_executed='1785296816.26' WHERE source_name='4FGL J2325.2+3957' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33487942

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33487942/ft1_4FGL_J2325.2+3957_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33487942/ft2_4FGL_J2325.2+3957_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33487942/ft1_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487942/ft1_filteredMKT_4FGL_J2325.2+3957_weekly_bin938.fits ra=351.315 dec=39.9542 rad=12.0 tmin=806284801.0 tmax=806889601.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 6.20
user 5.00
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33487942/ft2_4FGL_J2325.2+3957_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33487942/ft2_4FGL_J2325.2+3957_weekly_bin938.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/33487942/ft1_filteredMKT_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33487942/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.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.49
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 2591

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33487942/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33487942/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33487635/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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/33487635/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
.....................!
real 18.85
user 17.76
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33487635/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33487635/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33487635/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487635/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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/33487635/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
.....................!
real 70.80
user 65.53
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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 163 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2325.2+3957 @ 351.315 39.9542

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33487635/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits scfile=/lscratch/kocevski/33487635/ft2_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487635/cmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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=351.315 yref=39.9542 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.99
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33487635/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits scfile=/lscratch/kocevski/33487635/ft2_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487635/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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=351.315 yref=39.9542 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.03
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33487635/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33487635/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2325.2+3957_weekly_bin938
RA = 351.315, Dec = 39.9542
tmin = 806284801, tmax = 806889601
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='33488121', job_status='RUN', time_executed='2026-07-28 20:49:15.793594', time_epoch_executed='1785296955.79' WHERE source_name='4FGL J2325.2+3957' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33488121

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33488121/ft1_4FGL_J2325.2+3957_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33488121/ft2_4FGL_J2325.2+3957_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33488121/ft1_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33488121/ft1_filteredMKT_4FGL_J2325.2+3957_weekly_bin938.fits ra=351.315 dec=39.9542 rad=12.0 tmin=806284801.0 tmax=806889601.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 5.66
user 4.74
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33488121/ft2_4FGL_J2325.2+3957_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33488121/ft2_4FGL_J2325.2+3957_weekly_bin938.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/33488121/ft1_filteredMKT_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33488121/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.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.05
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 2591

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33488121/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33488121/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA"487351/Model_4FGL_J2325.2+3957_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33487351/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits.....................!
real 100.39
user 98.13
sys 0.70

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33487351/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits', '/lscratch/kocevski/33487351/ft2_4FGL_J2325.2+3957_weekly_bin938.fits', expMap='/lscratch/kocevski/33487351/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', expCube='/lscratch/kocevski/33487351/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33487351/Model_4FGL_J2325.2+3957_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.2+3957'

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33487351/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33487351/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33487351/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33487351/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33487351/Model_4FGL_J2325.2+3957_weekly_bin938.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) = 27925.830453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.268       1.0000          .0000       .10000E+07
     2 'norm      '    5.3138       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8457       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.2626       1.0000          .0000       .10000E+07
     5 'norm      '    1.1404       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10310E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .79365       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16427E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .62900E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.8708       1.0000          .0000       .10000E+07
    11 'Prefactor '    46.893       1.0000          .0000       .10000E+07
    12 'norm      '    .81981E-01   1.0000          .0000       .10000E+07
    13 'norm      '    17.602       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.379       1.0000          .0000       .10000E+07
    15 'norm      '    1.2341       1.0000          .0000       .10000E+07
    16 'Prefactor '    25.380       1.0000          .0000       .10000E+07
    17 'Prefactor '    17.698       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21621E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .19729E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1433       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86598       1.0000          .0000       10.000487388/Model_4FGL_J2325.2+3957_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33487388/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits.....................!
real 101.09
user 98.68
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33487388/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits', '/lscratch/kocevski/33487388/ft2_4FGL_J2325.2+3957_weekly_bin938.fits', expMap='/lscratch/kocevski/33487388/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', expCube='/lscratch/kocevski/33487388/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33487388/Model_4FGL_J2325.2+3957_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.2+3957'

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33487388/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33487388/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33487388/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33487388/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33487388/Model_4FGL_J2325.2+3957_weekly_bin938.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) = 27925.830453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.268       1.0000          .0000       .10000E+07
     2 'norm      '    5.3138       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8457       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.2626       1.0000          .0000       .10000E+07
     5 'norm      '    1.1404       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10310E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .79365       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16427E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .62900E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.8708       1.0000          .0000       .10000E+07
    11 'Prefactor '    46.893       1.0000          .0000       .10000E+07
    12 'norm      '    .81981E-01   1.0000          .0000       .10000E+07
    13 'norm      '    17.602       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.379       1.0000          .0000       .10000E+07
    15 'norm      '    1.2341       1.0000          .0000       .10000E+07
    16 'Prefactor '    25.380       1.0000          .0000       .10000E+07
    17 'Prefactor '    17.698       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21621E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .19729E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1433       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86598       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27925.80     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1393 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.220        2.6417        .16029E-07    .10628E-01
   2  norm          5.2929        3.4925        .41605E-07   -.69553E-01
   3  Prefactor     2.8577        2.3612        .23532E-06    .51061E-02
   4  Prefactor     2.2637        1.8550       -.24943E-06   -.31509E-02
   5  norm          1.1412        1.6482       -.11492E-06   -.69778E-03
   6  Prefactor     .67168E-08    5.0465        .16787E-06** at limit **
   7  Prefactor     .79361        2.9200       -.11421E-07    .44764E-02
   8  Prefactor     .69944E-08    3.7816       -.68275E-07** at limit **
   9  norm          .55511E-10    3.0018       -.30094E-06** at limit **
  10  Prefactor     6.8172        6.3473       -.10962E-06   -.51141E-01
  11  Prefactor     46.829        4.6807        .33475E-07    .38979E-02
  12  norm          .86796E-01    11.039       -.40102E-08** at limit **
  13  norm          17.596        6.4998       -.86108E-07   -.47817E-01
  14  Prefactor     11.366        3.4206       -.10999E-07    .11944    
  15  norm          1.2334        1.1015        .14622E-06    .39902E-02
  16  Prefactor     25.050        28.441       -.16940E-06    .15932E-01
  17  Prefactor     18.066        17.284       -.24968E-06    .30135E-01
  18  Prefactor     .36637E-08    7.7249       -.18809E-07** at limit **
  19  Prefactor     .32752E-08    3.3913       -.17198E-06** at limit **
  20  Normalizat    1.1433        .13640        .55950E-05    .16728E-03
  21  Prefactor     .86602        .51336E-01   -.76599E-06    .26860E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2201
  norm       = 5.29291
  Prefactor  = 2.85773
  Prefactor  = 2.26368
  norm       = 1.14117
  Prefactor  = 6.71685e-09
  Prefactor  = 0.79361
  Prefactor  = 6.99441e-09
  norm       = 5.55112e-11
  Prefactor  = 6.81721
  Prefactor  = 46.8287
  norm       = 0.0867962
  norm       = 17.5962
  Prefactor  = 11.3663
  norm       = 1.23339
  Prefactor  = 25.0497
  Prefactor  = 18.0663
  Prefactor  = 3.66374e-09
  Prefactor  = 3.27516e-09
  Normalizat = 1.14326
  Prefactor  = 0.866016
 outfile=/lscratch/kocevski/33487942/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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/33487942/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
.....................!
real 22.46
user 20.92
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33487942/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33487942/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33487942/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487942/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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/33487942/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
.....................!
real 76.24
user 70.03
sys 4.44

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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 163 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2325.2+3957 @ 351.315 39.9542

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33487942/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits scfile=/lscratch/kocevski/33487942/ft2_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487942/cmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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=351.315 yref=39.9542 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 2.29
user 0.29
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33487942/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits scfile=/lscratch/kocevski/33487942/ft2_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33487942/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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=351.315 yref=39.9542 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.51
user 0.27
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33487942/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33487942/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27925.80     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1393 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.220        2.6417        .16029E-07    .10628E-01
   2  norm          5.2929        3.4925        .41605E-07   -.69553E-01
   3  Prefactor     2.8577        2.3612        .23532E-06    .51061E-02
   4  Prefactor     2.2637        1.8550       -.24943E-06   -.31509E-02
   5  norm          1.1412        1.6482       -.11492E-06   -.69778E-03
   6  Prefactor     .67168E-08    5.0465        .16787E-06** at limit **
   7  Prefactor     .79361        2.9200       -.11421E-07    .44764E-02
   8  Prefactor     .69944E-08    3.7816       -.68275E-07** at limit **
   9  norm          .55511E-10    3.0018       -.30094E-06** at limit **
  10  Prefactor     6.8172        6.3473       -.10962E-06   -.51141E-01
  11  Prefactor     46.829        4.6807        .33475E-07    .38979E-02
  12  norm          .86796E-01    11.039       -.40102E-08** at limit **
  13  norm          17.596        6.4998       -.86108E-07   -.47817E-01
  14  Prefactor     11.366        3.4206       -.10999E-07    .11944    
  15  norm          1.2334        1.1015        .14622E-06    .39902E-02
  16  Prefactor     25.050        28.441       -.16940E-06    .15932E-01
  17  Prefactor     18.066        17.284       -.24968E-06    .30135E-01
  18  Prefactor     .36637E-08    7.7249       -.18809E-07** at limit **
  19  Prefactor     .32752E-08    3.3913       -.17198E-06** at limit **
  20  Normalizat    1.1433        .13640        .55950E-05    .16728E-03
  21  Prefactor     .86602        .51336E-01   -.76599E-06    .26860E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2201
  norm       = 5.29291
  Prefactor  = 2.85773
  Prefactor  = 2.26368
  norm       = 1.14117
  Prefactor  = 6.71685e-09
  Prefactor  = 0.79361
  Prefactor  = 6.99441e-09
  norm       = 5.55112e-11
  Prefactor  = 6.81721
  Prefactor  = 46.8287
  norm       = 0.0867962
  norm       = 17.5962
  Prefactor  = 11.3663
  norm       = 1.23339
  Prefactor  = 25.0497
  Prefactor  = 18.0663
  Prefactor  = 3.66374e-09
  Prefactor  = 3.27516e-09
  Normalizat = 1.14326
  Prefactor  = 0.866016
number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
487375/Model_4FGL_J2325.2+3957_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33487375/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits.....................!
real 111.56
user 108.91
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33487375/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits', '/lscratch/kocevski/33487375/ft2_4FGL_J2325.2+3957_weekly_bin938.fits', expMap='/lscratch/kocevski/33487375/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', expCube='/lscratch/kocevski/33487375/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33487375/Model_4FGL_J2325.2+3957_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.2+3957'

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33487375/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33487375/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33487375/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33487375/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33487375/Model_4FGL_J2325.2+3957_weekly_bin938.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) = 27925.830453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.268       1.0000          .0000       .10000E+07
     2 'norm      '    5.3138       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8457       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.2626       1.0000          .0000       .10000E+07
     5 'norm      '    1.1404       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10310E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .79365       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16427E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .62900E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.8708       1.0000          .0000       .10000E+07
    11 'Prefactor '    46.893       1.0000          .0000       .10000E+07
    12 'norm      '    .81981E-01   1.0000          .0000       .10000E+07
    13 'norm      '    17.602       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.379       1.0000          .0000       .10000E+07
    15 'norm      '    1.2341       1.0000          .0000       .10000E+07
    16 'Prefactor '    25.380       1.0000          .0000       .10000E+07
    17 'Prefactor '    17.698       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21621E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .19729E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1433       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86598       1.0000          .0000       10.00Done.


Performing analysis on: 4FGL_J2325.2+3957_weekly_bin938
RA = 351.315, Dec = 39.9542
tmin = 806284801, tmax = 806889601
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='33488018', job_status='RUN', time_executed='2026-07-28 20:48:00.506612', time_epoch_executed='1785296880.51' WHERE source_name='4FGL J2325.2+3957' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33488018

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33488018/ft1_4FGL_J2325.2+3957_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33488018/ft2_4FGL_J2325.2+3957_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33488018/ft1_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33488018/ft1_filteredMKT_4FGL_J2325.2+3957_weekly_bin938.fits ra=351.315 dec=39.9542 rad=12.0 tmin=806284801.0 tmax=806889601.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 6.04
user 4.64
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33488018/ft2_4FGL_J2325.2+3957_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33488018/ft2_4FGL_J2325.2+3957_weekly_bin938.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/33488018/ft1_filteredMKT_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33488018/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.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 2.14
user 0.29
sys 0.14

Number of photons that the gtmktime cut: 2591

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33488018/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33488018/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA"0    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27925.80     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1393 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.220        2.6417        .16029E-07    .10628E-01
   2  norm          5.2929        3.4925        .41605E-07   -.69553E-01
   3  Prefactor     2.8577        2.3612        .23532E-06    .51061E-02
   4  Prefactor     2.2637        1.8550       -.24943E-06   -.31509E-02
   5  norm          1.1412        1.6482       -.11492E-06   -.69778E-03
   6  Prefactor     .67168E-08    5.0465        .16787E-06** at limit **
   7  Prefactor     .79361        2.9200       -.11421E-07    .44764E-02
   8  Prefactor     .69944E-08    3.7816       -.68275E-07** at limit **
   9  norm          .55511E-10    3.0018       -.30094E-06** at limit **
  10  Prefactor     6.8172        6.3473       -.10962E-06   -.51141E-01
  11  Prefactor     46.829        4.6807        .33475E-07    .38979E-02
  12  norm          .86796E-01    11.039       -.40102E-08** at limit **
  13  norm          17.596        6.4998       -.86108E-07   -.47817E-01
  14  Prefactor     11.366        3.4206       -.10999E-07    .11944    
  15  norm          1.2334        1.1015        .14622E-06    .39902E-02
  16  Prefactor     25.050        28.441       -.16940E-06    .15932E-01
  17  Prefactor     18.066        17.284       -.24968E-06    .30135E-01
  18  Prefactor     .36637E-08    7.7249       -.18809E-07** at limit **
  19  Prefactor     .32752E-08    3.3913       -.17198E-06** at limit **
  20  Normalizat    1.1433        .13640        .55950E-05    .16728E-03
  21  Prefactor     .86602        .51336E-01   -.76599E-06    .26860E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2201
  norm       = 5.29291
  Prefactor  = 2.85773
  Prefactor  = 2.26368
  norm       = 1.14117
  Prefactor  = 6.71685e-09
  Prefactor  = 0.79361
  Prefactor  = 6.99441e-09
  norm       = 5.55112e-11
  Prefactor  = 6.81721
  Prefactor  = 46.8287
  norm       = 0.0867962
  norm       = 17.5962
  Prefactor  = 11.3663
  norm       = 1.23339
  Prefactor  = 25.0497
  Prefactor  = 18.0663
  Prefactor  = 3.66374e-09
  Prefactor  = 3.27516e-09
  Normalizat = 1.14326
  Prefactor  = 0.866016
 **********
 **   18 **HESSE 
 **********

 FCN=   27925.80     FROM HESSE     STATUS=OK           381 CALLS     1774 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.220        12.931        .29820E-03   -1.5641    
   2  norm          5.2929        8.2126        .43576E-03   -1.5662    
   3  Prefactor     2.8577        2.3852        .60248E-03   -1.5674    
   4  Prefactor     2.2637        1.8673        .68261E-03   -1.5678    
   5  norm          1.1412        1.6961        .10883E-02   -1.5687    
   6  Prefactor     .67168E-08    5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .79361        2.9700        .53409E-03   -1.5690    
   8  Prefactor     .69944E-08    3.8154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    .20374        .27307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8172        6.7986        .38252E-03   -1.5656    
  11  Prefactor     46.829        19.488        .14604E-03   -1.5571    
  12  norm          .86796E-01    .80437        .79714E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          17.596        6.5858        .23845E-03   -1.5624    
  14  Prefactor     11.366        10.364        .29674E-03   -1.5641    
  15  norm          1.2334        1.1270        .10108E-02   -1.5686    
  16  Prefactor     25.050        28.944        .19854E-03   -1.5608    
  17  Prefactor     18.066        18.398        .23780E-03   -1.5623    
  18  Prefactor     .36637E-08    7.7622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .32752E-08    3.3037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1433        .12316        .82346E-01   -.88375    
  21  Prefactor     .86602        .44095E-01    .44570E-01   -.97339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43411e-07
Minuit parameter uncertainties:
  1  12.9308
  2  8.21259
  3  2.38522
  4  1.86732
  5  1.69606
  6  0.000370769
  7  2.96998
  8  0.000327068
  9  5.96086e-06
  10  6.79864
  11  19.4875
  12  0.528455
  13  6.58577
  14  10.3642
  15  1.12703
  16  28.9445
  17  18.3985
  18  0.000336097
  19  0.000207183
  20  0.123194
  21  0.0440965
487466/Model_4FGL_J2325.2+3957_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33487466/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits.....................!
real 103.76
user 101.39
sys 0.83

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33487466/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits', '/lscratch/kocevski/33487466/ft2_4FGL_J2325.2+3957_weekly_bin938.fits', expMap='/lscratch/kocevski/33487466/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', expCube='/lscratch/kocevski/33487466/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33487466/Model_4FGL_J2325.2+3957_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.2+3957'

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33487466/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33487466/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33487466/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33487466/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33487466/Model_4FGL_J2325.2+3957_weekly_bin938.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) = 27925.830453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.268       1.0000          .0000       .10000E+07
     2 'norm      '    5.3138       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8457       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.2626       1.0000          .0000       .10000E+07
     5 'norm      '    1.1404       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10310E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .79365       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16427E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .62900E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.8708       1.0000          .0000       .10000E+07
    11 'Prefactor '    46.893       1.0000          .0000       .10000E+07
    12 'norm      '    .81981E-01   1.0000          .0000       .10000E+07
    13 'norm      '    17.602       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.379       1.0000          .0000       .10000E+07
    15 'norm      '    1.2341       1.0000          .0000       .10000E+07
    16 'Prefactor '    25.380       1.0000          .0000       .10000E+07
    17 'Prefactor '    17.698       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21621E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .19729E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1433       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86598       1.0000          .0000       10.00 outfile=/lscratch/kocevski/33488121/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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/33488121/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
.....................!
real 17.75
user 16.63
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33488121/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33488121/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33488121/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33488121/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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/33488121/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
.....................!
real 65.66
user 60.74
sys 3.89

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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 163 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2325.2+3957 @ 351.315 39.9542

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33488121/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits scfile=/lscratch/kocevski/33488121/ft2_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33488121/cmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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=351.315 yref=39.9542 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.04
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33488121/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits scfile=/lscratch/kocevski/33488121/ft2_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33488121/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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=351.315 yref=39.9542 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.24
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33488121/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33488121/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33 **********
 **   18 **HESSE 
 **********

 FCN=   27925.80     FROM HESSE     STATUS=OK           381 CALLS     1774 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.220        12.931        .29820E-03   -1.5641    
   2  norm          5.2929        8.2126        .43576E-03   -1.5662    
   3  Prefactor     2.8577        2.3852        .60248E-03   -1.5674    
   4  Prefactor     2.2637        1.8673        .68261E-03   -1.5678    
   5  norm          1.1412        1.6961        .10883E-02   -1.5687    
   6  Prefactor     .67168E-08    5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .79361        2.9700        .53409E-03   -1.5690    
   8  Prefactor     .69944E-08    3.8154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    .20374        .27307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8172        6.7986        .38252E-03   -1.5656    
  11  Prefactor     46.829        19.488        .14604E-03   -1.5571    
  12  norm          .86796E-01    .80437        .79714E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          17.596        6.5858        .23845E-03   -1.5624    
  14  Prefactor     11.366        10.364        .29674E-03   -1.5641    
  15  norm          1.2334        1.1270        .10108E-02   -1.5686    
  16  Prefactor     25.050        28.944        .19854E-03   -1.5608    
  17  Prefactor     18.066        18.398        .23780E-03   -1.5623    
  18  Prefactor     .36637E-08    7.7622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .32752E-08    3.3037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1433        .12316        .82346E-01   -.88375    
  21  Prefactor     .86602        .44095E-01    .44570E-01   -.97339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43411e-07
Minuit parameter uncertainties:
  1  12.9308
  2  8.21259
  3  2.38522
  4  1.86732
  5  1.69606
  6  0.000370769
  7  2.96998
  8  0.000327068
  9  5.96086e-06
  10  6.79864
  11  19.4875
  12  0.528455
  13  6.58577
  14  10.3642
  15  1.12703
  16  28.9445
  17  18.3985
  18  0.000336097
  19  0.000207183
  20  0.123194
  21  0.0440965
0    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27925.80     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1393 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.220        2.6417        .16029E-07    .10628E-01
   2  norm          5.2929        3.4925        .41605E-07   -.69553E-01
   3  Prefactor     2.8577        2.3612        .23532E-06    .51061E-02
   4  Prefactor     2.2637        1.8550       -.24943E-06   -.31509E-02
   5  norm          1.1412        1.6482       -.11492E-06   -.69778E-03
   6  Prefactor     .67168E-08    5.0465        .16787E-06** at limit **
   7  Prefactor     .79361        2.9200       -.11421E-07    .44764E-02
   8  Prefactor     .69944E-08    3.7816       -.68275E-07** at limit **
   9  norm          .55511E-10    3.0018       -.30094E-06** at limit **
  10  Prefactor     6.8172        6.3473       -.10962E-06   -.51141E-01
  11  Prefactor     46.829        4.6807        .33475E-07    .38979E-02
  12  norm          .86796E-01    11.039       -.40102E-08** at limit **
  13  norm          17.596        6.4998       -.86108E-07   -.47817E-01
  14  Prefactor     11.366        3.4206       -.10999E-07    .11944    
  15  norm          1.2334        1.1015        .14622E-06    .39902E-02
  16  Prefactor     25.050        28.441       -.16940E-06    .15932E-01
  17  Prefactor     18.066        17.284       -.24968E-06    .30135E-01
  18  Prefactor     .36637E-08    7.7249       -.18809E-07** at limit **
  19  Prefactor     .32752E-08    3.3913       -.17198E-06** at limit **
  20  Normalizat    1.1433        .13640        .55950E-05    .16728E-03
  21  Prefactor     .86602        .51336E-01   -.76599E-06    .26860E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2201
  norm       = 5.29291
  Prefactor  = 2.85773
  Prefactor  = 2.26368
  norm       = 1.14117
  Prefactor  = 6.71685e-09
  Prefactor  = 0.79361
  Prefactor  = 6.99441e-09
  norm       = 5.55112e-11
  Prefactor  = 6.81721
  Prefactor  = 46.8287
  norm       = 0.0867962
  norm       = 17.5962
  Prefactor  = 11.3663
  norm       = 1.23339
  Prefactor  = 25.0497
  Prefactor  = 18.0663
  Prefactor  = 3.66374e-09
  Prefactor  = 3.27516e-09
  Normalizat = 1.14326
  Prefactor  = 0.866016
 **********
 **   18 **HESSE 
 **********

 FCN=   27925.80     FROM HESSE     STATUS=OK           381 CALLS     1774 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.220        12.931        .29820E-03   -1.5641    
   2  norm          5.2929        8.2126        .43576E-03   -1.5662    
   3  Prefactor     2.8577        2.3852        .60248E-03   -1.5674    
   4  Prefactor     2.2637        1.8673        .68261E-03   -1.5678    
   5  norm          1.1412        1.6961        .10883E-02   -1.5687    
   6  Prefactor     .67168E-08    5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .79361        2.9700        .53409E-03   -1.5690    
   8  Prefactor     .69944E-08    3.8154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    .20374        .27307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8172        6.7986        .38252E-03   -1.5656    
  11  Prefactor     46.829        19.488        .14604E-03   -1.5571    
  12  norm          .86796E-01    .80437        .79714E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          17.596        6.5858        .23845E-03   -1.5624    
  14  Prefactor     11.366        10.364        .29674E-03   -1.5641    
  15  norm          1.2334        1.1270        .10108E-02   -1.5686    
  16  Prefactor     25.050        28.944        .19854E-03   -1.5608    
  17  Prefactor     18.066        18.398        .23780E-03   -1.5623    
  18  Prefactor     .36637E-08    7.7622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .32752E-08    3.3037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1433        .12316        .82346E-01   -.88375    
  21  Prefactor     .86602        .44095E-01    .44570E-01   -.97339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43411e-07
Minuit parameter uncertainties:
  1  12.9308
  2  8.21259
  3  2.38522
  4  1.86732
  5  1.69606
  6  0.000370769
  7  2.96998
  8  0.000327068
  9  5.96086e-06
  10  6.79864
  11  19.4875
  12  0.528455
  13  6.58577
  14  10.3642
  15  1.12703
  16  28.9445
  17  18.3985
  18  0.000336097
  19  0.000207183
  20  0.123194
  21  0.0440965
 **********
 **   18 **HESSE 
 **********

 FCN=   27925.80     FROM HESSE     STATUS=OK           381 CALLS     1774 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.220        12.931        .29820E-03   -1.5641    
   2  norm          5.2929        8.2126        .43576E-03   -1.5662    
   3  Prefactor     2.8577        2.3852        .60248E-03   -1.5674    
   4  Prefactor     2.2637        1.8673        .68261E-03   -1.5678    
   5  norm          1.1412        1.6961        .10883E-02   -1.5687    
   6  Prefactor     .67168E-08    5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .79361        2.9700        .53409E-03   -1.5690    
   8  Prefactor     .69944E-08    3.8154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    .20374        .27307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8172        6.7986        .38252E-03   -1.5656    
  11  Prefactor     46.829        19.488        .14604E-03   -1.5571    
  12  norm          .86796E-01    .80437        .79714E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          17.596        6.5858        .23845E-03   -1.5624    
  14  Prefactor     11.366        10.364        .29674E-03   -1.5641    
  15  norm          1.2334        1.1270        .10108E-02   -1.5686    
  16  Prefactor     25.050        28.944        .19854E-03   -1.5608    
  17  Prefactor     18.066        18.398        .23780E-03   -1.5623    
  18  Prefactor     .36637E-08    7.7622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .32752E-08    3.3037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1433        .12316        .82346E-01   -.88375    
  21  Prefactor     .86602        .44095E-01    .44570E-01   -.97339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43411e-07
Minuit parameter uncertainties:
  1  12.9308
  2  8.21259
  3  2.38522
  4  1.86732
  5  1.69606
  6  0.000370769
  7  2.96998
  8  0.000327068
  9  5.96086e-06
  10  6.79864
  11  19.4875
  12  0.528455
  13  6.58577
  14  10.3642
  15  1.12703
  16  28.9445
  17  18.3985
  18  0.000336097
  19  0.000207183
  20  0.123194
  21  0.0440965
 outfile=/lscratch/kocevski/33488018/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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/33488018/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
.....................!
real 20.95
user 18.49
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33488018/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33488018/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33488018/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33488018/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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/33488018/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
.....................!
real 74.29
user 67.43
sys 3.98

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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 163 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2325.2+3957 @ 351.315 39.9542

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33488018/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits scfile=/lscratch/kocevski/33488018/ft2_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33488018/cmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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=351.315 yref=39.9542 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.44
user 0.25
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33488018/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits scfile=/lscratch/kocevski/33488018/ft2_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33488018/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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=351.315 yref=39.9542 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.40
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33488018/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33488018/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33487525/Model_4FGL_J2325.2+3957_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33487525/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits.....................!
real 106.00
user 103.77
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33487525/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits', '/lscratch/kocevski/33487525/ft2_4FGL_J2325.2+3957_weekly_bin938.fits', expMap='/lscratch/kocevski/33487525/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', expCube='/lscratch/kocevski/33487525/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33487525/Model_4FGL_J2325.2+3957_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.2+3957'

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33487525/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33487525/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33487525/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33487525/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33487525/Model_4FGL_J2325.2+3957_weekly_bin938.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) = 27925.830453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.268       1.0000          .0000       .10000E+07
     2 'norm      '    5.3138       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8457       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.2626       1.0000          .0000       .10000E+07
     5 'norm      '    1.1404       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10310E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .79365       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16427E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .62900E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.8708       1.0000          .0000       .10000E+07
    11 'Prefactor '    46.893       1.0000          .0000       .10000E+07
    12 'norm      '    .81981E-01   1.0000          .0000       .10000E+07
    13 'norm      '    17.602       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.379       1.0000          .0000       .10000E+07
    15 'norm      '    1.2341       1.0000          .0000       .10000E+07
    16 'Prefactor '    25.380       1.0000          .0000       .10000E+07
    17 'Prefactor '    17.698       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21621E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .19729E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1433       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86598       1.0000          .0000       10.00Done.

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

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.233e+00  1.127e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.660e-01  4.410e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.143e+00  1.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.25e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 8.08e-06 +/- 7.39e-06

TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Flux Upper Limit: 3.91150195853e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.52071359959e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33487351/likelihoodResults_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.txt

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) = 27925.0537141
delta logL = 0.741471197281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27925.0256717
delta logL = 0.769513565665

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   27925.03     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      213 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99405        6.4249        .43559E-03    .41400E-01
   2  alpha         2.8923        1.8689        .41810        .18360E-03
   3  Normalizat    1.1132        .33304E-01    .83274E-01    .74576E-04
   4  Prefactor     .87006        .11416E-01    .44622E-01   -.26816E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.994046
  alpha      = 2.89226
  Normalizat = 1.11318
  Prefactor  = 0.870057
 **********
 **   18 **HESSE 
 **********

 FCN=   27925.03     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99405        1.2377        .96929E-05   -1.5688    
   2  alpha         2.8923        .83598        .16390E-01    .15755    
   3  Normalizat    1.1132        .13769        .36869E-03   -.89330    
   4  Prefactor     .87006        .51163E-01    .15601E-03   -.97195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34032e-08
Minuit parameter uncertainties:
  1  1.2377
  2  0.852837
  3  0.137735
  4  0.051166
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) = 27925.0256717
delta logL = 0.769513581068

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  9.940e-01  1.238e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  2.892e+00  8.528e-01  0.000e+00  5.000e+00 ( 1.000e+00)
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.701e-01  5.117e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.113e+00  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.75
Ra Dec: 351.315 39.954
Photon Index (Free Index): 2.89 +/- 0.85
Photon Flux (Free Index): 4.42e-08 +/- 3.48e-08
Energy Flux (Free Index): 1.07e-05 +/- 6.52e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33487351/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.52e-05', comment='SUCCESS', photon_flux='1.25e-08', energy_flux2='1.07e-05', photon_flux_error='1.15e-08', dlogl='7.70e-01', energy_flux='8.08e-06', photon_flux2='4.42e-08', job_status='DONE', time_completed='2026-07-28 21:01:15.696835', photon_index_error2='0.85', photon_index2='2.89', ts='2.18', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='3.91e-08', energy_flux_error2='6.52e-06', EG='1.14', time_epoch_completed='1785297675.7', return_code='0', job_id='33487351', GAL2='0.87', EG2='1.11', return_code2='0', energy_flux_error='7.39e-06', photon_flux_error2='3.48e-08', ts2='3.75', photon_index='1.99' WHERE bin_id='938' AND source_name='4FGL J2325.2+3957' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:01:16 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.233e+00  1.127e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.660e-01  4.410e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.143e+00  1.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.25e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 8.08e-06 +/- 7.39e-06

TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Flux Upper Limit: 3.91150195853e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.52071359959e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33487388/likelihoodResults_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.txt

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) = 27925.0537141
delta logL = 0.741471197281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27925.0256717
delta logL = 0.769513565665

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   27925.03     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      213 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99405        6.4249        .43559E-03    .41400E-01
   2  alpha         2.8923        1.8689        .41810        .18360E-03
   3  Normalizat    1.1132        .33304E-01    .83274E-01    .74576E-04
   4  Prefactor     .87006        .11416E-01    .44622E-01   -.26816E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.994046
  alpha      = 2.89226
  Normalizat = 1.11318
  Prefactor  = 0.870057
 **********
 **   18 **HESSE 
 **********

 FCN=   27925.03     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99405        1.2377        .96929E-05   -1.5688    
   2  alpha         2.8923        .83598        .16390E-01    .15755    
   3  Normalizat    1.1132        .13769        .36869E-03   -.89330    
   4  Prefactor     .87006        .51163E-01    .15601E-03   -.97195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34032e-08
Minuit parameter uncertainties:
  1  1.2377
  2  0.852837
  3  0.137735
  4  0.051166
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) = 27925.0256717
delta logL = 0.769513581068

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  9.940e-01  1.238e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  2.892e+00  8.528e-01  0.000e+00  5.000e+00 ( 1.000e+00)
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.701e-01  5.117e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.113e+00  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.75
Ra Dec: 351.315 39.954
Photon Index (Free Index): 2.89 +/- 0.85
Photon Flux (Free Index): 4.42e-08 +/- 3.48e-08
Energy Flux (Free Index): 1.07e-05 +/- 6.52e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33487388/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.52e-05', comment='SUCCESS', photon_flux='1.25e-08', energy_flux2='1.07e-05', photon_flux_error='1.15e-08', dlogl='7.70e-01', energy_flux='8.08e-06', photon_flux2='4.42e-08', job_status='DONE', time_completed='2026-07-28 21:01:25.244211', photon_index_error2='0.85', photon_index2='2.89', ts='2.18', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='3.91e-08', energy_flux_error2='6.52e-06', EG='1.14', time_epoch_completed='1785297685.24', return_code='0', job_id='33487388', GAL2='0.87', EG2='1.11', return_code2='0', energy_flux_error='7.39e-06', photon_flux_error2='3.48e-08', ts2='3.75', photon_index='1.99' WHERE bin_id='938' AND source_name='4FGL J2325.2+3957' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:01:26 PDT 2026

0    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27925.80     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1393 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.220        2.6417        .16029E-07    .10628E-01
   2  norm          5.2929        3.4925        .41605E-07   -.69553E-01
   3  Prefactor     2.8577        2.3612        .23532E-06    .51061E-02
   4  Prefactor     2.2637        1.8550       -.24943E-06   -.31509E-02
   5  norm          1.1412        1.6482       -.11492E-06   -.69778E-03
   6  Prefactor     .67168E-08    5.0465        .16787E-06** at limit **
   7  Prefactor     .79361        2.9200       -.11421E-07    .44764E-02
   8  Prefactor     .69944E-08    3.7816       -.68275E-07** at limit **
   9  norm          .55511E-10    3.0018       -.30094E-06** at limit **
  10  Prefactor     6.8172        6.3473       -.10962E-06   -.51141E-01
  11  Prefactor     46.829        4.6807        .33475E-07    .38979E-02
  12  norm          .86796E-01    11.039       -.40102E-08** at limit **
  13  norm          17.596        6.4998       -.86108E-07   -.47817E-01
  14  Prefactor     11.366        3.4206       -.10999E-07    .11944    
  15  norm          1.2334        1.1015        .14622E-06    .39902E-02
  16  Prefactor     25.050        28.441       -.16940E-06    .15932E-01
  17  Prefactor     18.066        17.284       -.24968E-06    .30135E-01
  18  Prefactor     .36637E-08    7.7249       -.18809E-07** at limit **
  19  Prefactor     .32752E-08    3.3913       -.17198E-06** at limit **
  20  Normalizat    1.1433        .13640        .55950E-05    .16728E-03
  21  Prefactor     .86602        .51336E-01   -.76599E-06    .26860E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2201
  norm       = 5.29291
  Prefactor  = 2.85773
  Prefactor  = 2.26368
  norm       = 1.14117
  Prefactor  = 6.71685e-09
  Prefactor  = 0.79361
  Prefactor  = 6.99441e-09
  norm       = 5.55112e-11
  Prefactor  = 6.81721
  Prefactor  = 46.8287
  norm       = 0.0867962
  norm       = 17.5962
  Prefactor  = 11.3663
  norm       = 1.23339
  Prefactor  = 25.0497
  Prefactor  = 18.0663
  Prefactor  = 3.66374e-09
  Prefactor  = 3.27516e-09
  Normalizat = 1.14326
  Prefactor  = 0.866016
Done.

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

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.233e+00  1.127e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.660e-01  4.410e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.143e+00  1.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.25e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 8.08e-06 +/- 7.39e-06

TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Flux Upper Limit: 3.91150195853e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.52071359959e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33487375/likelihoodResults_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.txt

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) = 27925.0537141
delta logL = 0.741471197281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27925.0256717
delta logL = 0.769513565665

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   27925.03     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      213 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99405        6.4249        .43559E-03    .41400E-01
   2  alpha         2.8923        1.8689        .41810        .18360E-03
   3  Normalizat    1.1132        .33304E-01    .83274E-01    .74576E-04
   4  Prefactor     .87006        .11416E-01    .44622E-01   -.26816E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.994046
  alpha      = 2.89226
  Normalizat = 1.11318
  Prefactor  = 0.870057
 **********
 **   18 **HESSE 
 **********

 FCN=   27925.03     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99405        1.2377        .96929E-05   -1.5688    
   2  alpha         2.8923        .83598        .16390E-01    .15755    
   3  Normalizat    1.1132        .13769        .36869E-03   -.89330    
   4  Prefactor     .87006        .51163E-01    .15601E-03   -.97195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34032e-08
Minuit parameter uncertainties:
  1  1.2377
  2  0.852837
  3  0.137735
  4  0.051166
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) = 27925.0256717
delta logL = 0.769513581068

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  9.940e-01  1.238e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  2.892e+00  8.528e-01  0.000e+00  5.000e+00 ( 1.000e+00)
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.701e-01  5.117e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.113e+00  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.75
Ra Dec: 351.315 39.954
Photon Index (Free Index): 2.89 +/- 0.85
Photon Flux (Free Index): 4.42e-08 +/- 3.48e-08
Energy Flux (Free Index): 1.07e-05 +/- 6.52e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33487375/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.52e-05', comment='SUCCESS', photon_flux='1.25e-08', energy_flux2='1.07e-05', photon_flux_error='1.15e-08', dlogl='7.70e-01', energy_flux='8.08e-06', photon_flux2='4.42e-08', job_status='DONE', time_completed='2026-07-28 21:02:02.121573', photon_index_error2='0.85', photon_index2='2.89', ts='2.18', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='3.91e-08', energy_flux_error2='6.52e-06', EG='1.14', time_epoch_completed='1785297722.12', return_code='0', job_id='33487375', GAL2='0.87', EG2='1.11', return_code2='0', energy_flux_error='7.39e-06', photon_flux_error2='3.48e-08', ts2='3.75', photon_index='1.99' WHERE bin_id='938' AND source_name='4FGL J2325.2+3957' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:02:02 PDT 2026

487509/Model_4FGL_J2325.2+3957_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33487509/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits.....................!
real 129.32
user 126.04
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33487509/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits', '/lscratch/kocevski/33487509/ft2_4FGL_J2325.2+3957_weekly_bin938.fits', expMap='/lscratch/kocevski/33487509/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', expCube='/lscratch/kocevski/33487509/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33487509/Model_4FGL_J2325.2+3957_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.2+3957'

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33487509/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33487509/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33487509/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33487509/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33487509/Model_4FGL_J2325.2+3957_weekly_bin938.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) = 27925.830453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.268       1.0000          .0000       .10000E+07
     2 'norm      '    5.3138       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8457       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.2626       1.0000          .0000       .10000E+07
     5 'norm      '    1.1404       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10310E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .79365       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16427E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .62900E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.8708       1.0000          .0000       .10000E+07
    11 'Prefactor '    46.893       1.0000          .0000       .10000E+07
    12 'norm      '    .81981E-01   1.0000          .0000       .10000E+07
    13 'norm      '    17.602       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.379       1.0000          .0000       .10000E+07
    15 'norm      '    1.2341       1.0000          .0000       .10000E+07
    16 'Prefactor '    25.380       1.0000          .0000       .10000E+07
    17 'Prefactor '    17.698       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21621E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .19729E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1433       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86598       1.0000          .0000       10.00Done.

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

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.233e+00  1.127e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.660e-01  4.410e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.143e+00  1.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.25e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 8.08e-06 +/- 7.39e-06

TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Flux Upper Limit: 3.91150195853e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.52071359959e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33487466/likelihoodResults_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.txt

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) = 27925.0537141
delta logL = 0.741471197281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27925.0256717
delta logL = 0.769513565665

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   27925.03     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      213 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99405        6.4249        .43559E-03    .41400E-01
   2  alpha         2.8923        1.8689        .41810        .18360E-03
   3  Normalizat    1.1132        .33304E-01    .83274E-01    .74576E-04
   4  Prefactor     .87006        .11416E-01    .44622E-01   -.26816E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.994046
  alpha      = 2.89226
  Normalizat = 1.11318
  Prefactor  = 0.870057
 **********
 **   18 **HESSE 
 **********

 FCN=   27925.03     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99405        1.2377        .96929E-05   -1.5688    
   2  alpha         2.8923        .83598        .16390E-01    .15755    
   3  Normalizat    1.1132        .13769        .36869E-03   -.89330    
   4  Prefactor     .87006        .51163E-01    .15601E-03   -.97195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34032e-08
Minuit parameter uncertainties:
  1  1.2377
  2  0.852837
  3  0.137735
  4  0.051166
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) = 27925.0256717
delta logL = 0.769513581068

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  9.940e-01  1.238e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  2.892e+00  8.528e-01  0.000e+00  5.000e+00 ( 1.000e+00)
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.701e-01  5.117e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.113e+00  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.75
Ra Dec: 351.315 39.954
Photon Index (Free Index): 2.89 +/- 0.85
Photon Flux (Free Index): 4.42e-08 +/- 3.48e-08
Energy Flux (Free Index): 1.07e-05 +/- 6.52e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33487466/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.52e-05', comment='SUCCESS', photon_flux='1.25e-08', energy_flux2='1.07e-05', photon_flux_error='1.15e-08', dlogl='7.70e-01', energy_flux='8.08e-06', photon_flux2='4.42e-08', job_status='DONE', time_completed='2026-07-28 21:02:14.380933', photon_index_error2='0.85', photon_index2='2.89', ts='2.18', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='3.91e-08', energy_flux_error2='6.52e-06', EG='1.14', time_epoch_completed='1785297734.38', return_code='0', job_id='33487466', GAL2='0.87', EG2='1.11', return_code2='0', energy_flux_error='7.39e-06', photon_flux_error2='3.48e-08', ts2='3.75', photon_index='1.99' WHERE bin_id='938' AND source_name='4FGL J2325.2+3957' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:02:15 PDT 2026

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

 FCN=   27925.80     FROM HESSE     STATUS=OK           381 CALLS     1774 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.220        12.931        .29820E-03   -1.5641    
   2  norm          5.2929        8.2126        .43576E-03   -1.5662    
   3  Prefactor     2.8577        2.3852        .60248E-03   -1.5674    
   4  Prefactor     2.2637        1.8673        .68261E-03   -1.5678    
   5  norm          1.1412        1.6961        .10883E-02   -1.5687    
   6  Prefactor     .67168E-08    5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .79361        2.9700        .53409E-03   -1.5690    
   8  Prefactor     .69944E-08    3.8154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    .20374        .27307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8172        6.7986        .38252E-03   -1.5656    
  11  Prefactor     46.829        19.488        .14604E-03   -1.5571    
  12  norm          .86796E-01    .80437        .79714E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          17.596        6.5858        .23845E-03   -1.5624    
  14  Prefactor     11.366        10.364        .29674E-03   -1.5641    
  15  norm          1.2334        1.1270        .10108E-02   -1.5686    
  16  Prefactor     25.050        28.944        .19854E-03   -1.5608    
  17  Prefactor     18.066        18.398        .23780E-03   -1.5623    
  18  Prefactor     .36637E-08    7.7622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .32752E-08    3.3037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1433        .12316        .82346E-01   -.88375    
  21  Prefactor     .86602        .44095E-01    .44570E-01   -.97339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43411e-07
Minuit parameter uncertainties:
  1  12.9308
  2  8.21259
  3  2.38522
  4  1.86732
  5  1.69606
  6  0.000370769
  7  2.96998
  8  0.000327068
  9  5.96086e-06
  10  6.79864
  11  19.4875
  12  0.528455
  13  6.58577
  14  10.3642
  15  1.12703
  16  28.9445
  17  18.3985
  18  0.000336097
  19  0.000207183
  20  0.123194
  21  0.0440965
number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
487570/Model_4FGL_J2325.2+3957_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33487570/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits.....................!
real 113.58
user 110.96
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33487570/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits', '/lscratch/kocevski/33487570/ft2_4FGL_J2325.2+3957_weekly_bin938.fits', expMap='/lscratch/kocevski/33487570/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', expCube='/lscratch/kocevski/33487570/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33487570/Model_4FGL_J2325.2+3957_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.2+3957'

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33487570/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33487570/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33487570/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33487570/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33487570/Model_4FGL_J2325.2+3957_weekly_bin938.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) = 27925.830453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.268       1.0000          .0000       .10000E+07
     2 'norm      '    5.3138       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8457       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.2626       1.0000          .0000       .10000E+07
     5 'norm      '    1.1404       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10310E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .79365       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16427E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .62900E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.8708       1.0000          .0000       .10000E+07
    11 'Prefactor '    46.893       1.0000          .0000       .10000E+07
    12 'norm      '    .81981E-01   1.0000          .0000       .10000E+07
    13 'norm      '    17.602       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.379       1.0000          .0000       .10000E+07
    15 'norm      '    1.2341       1.0000          .0000       .10000E+07
    16 'Prefactor '    25.380       1.0000          .0000       .10000E+07
    17 'Prefactor '    17.698       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21621E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .19729E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1433       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86598       1.0000          .0000       10.00Done.


Performing analysis on: 4FGL_J2325.2+3957_weekly_bin938
RA = 351.315, Dec = 39.9542
tmin = 806284801, tmax = 806889601
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='33488627', job_status='RUN', time_executed='2026-07-28 20:54:46.621428', time_epoch_executed='1785297286.62' WHERE source_name='4FGL J2325.2+3957' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33488627

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33488627/ft1_4FGL_J2325.2+3957_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33488627/ft2_4FGL_J2325.2+3957_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33488627/ft1_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33488627/ft1_filteredMKT_4FGL_J2325.2+3957_weekly_bin938.fits ra=351.315 dec=39.9542 rad=12.0 tmin=806284801.0 tmax=806889601.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 6.09
user 4.92
sys 0.32

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33488627/ft2_4FGL_J2325.2+3957_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33488627/ft2_4FGL_J2325.2+3957_weekly_bin938.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/33488627/ft1_filteredMKT_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33488627/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.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.28
user 0.24
sys 0.14

Number of photons that the gtmktime cut: 2591

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33488627/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33488627/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA"0    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27925.80     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1393 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.220        2.6417        .16029E-07    .10628E-01
   2  norm          5.2929        3.4925        .41605E-07   -.69553E-01
   3  Prefactor     2.8577        2.3612        .23532E-06    .51061E-02
   4  Prefactor     2.2637        1.8550       -.24943E-06   -.31509E-02
   5  norm          1.1412        1.6482       -.11492E-06   -.69778E-03
   6  Prefactor     .67168E-08    5.0465        .16787E-06** at limit **
   7  Prefactor     .79361        2.9200       -.11421E-07    .44764E-02
   8  Prefactor     .69944E-08    3.7816       -.68275E-07** at limit **
   9  norm          .55511E-10    3.0018       -.30094E-06** at limit **
  10  Prefactor     6.8172        6.3473       -.10962E-06   -.51141E-01
  11  Prefactor     46.829        4.6807        .33475E-07    .38979E-02
  12  norm          .86796E-01    11.039       -.40102E-08** at limit **
  13  norm          17.596        6.4998       -.86108E-07   -.47817E-01
  14  Prefactor     11.366        3.4206       -.10999E-07    .11944    
  15  norm          1.2334        1.1015        .14622E-06    .39902E-02
  16  Prefactor     25.050        28.441       -.16940E-06    .15932E-01
  17  Prefactor     18.066        17.284       -.24968E-06    .30135E-01
  18  Prefactor     .36637E-08    7.7249       -.18809E-07** at limit **
  19  Prefactor     .32752E-08    3.3913       -.17198E-06** at limit **
  20  Normalizat    1.1433        .13640        .55950E-05    .16728E-03
  21  Prefactor     .86602        .51336E-01   -.76599E-06    .26860E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2201
  norm       = 5.29291
  Prefactor  = 2.85773
  Prefactor  = 2.26368
  norm       = 1.14117
  Prefactor  = 6.71685e-09
  Prefactor  = 0.79361
  Prefactor  = 6.99441e-09
  norm       = 5.55112e-11
  Prefactor  = 6.81721
  Prefactor  = 46.8287
  norm       = 0.0867962
  norm       = 17.5962
  Prefactor  = 11.3663
  norm       = 1.23339
  Prefactor  = 25.0497
  Prefactor  = 18.0663
  Prefactor  = 3.66374e-09
  Prefactor  = 3.27516e-09
  Normalizat = 1.14326
  Prefactor  = 0.866016
487561/Model_4FGL_J2325.2+3957_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33487561/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits.....................!
real 129.20
user 126.08
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33487561/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits', '/lscratch/kocevski/33487561/ft2_4FGL_J2325.2+3957_weekly_bin938.fits', expMap='/lscratch/kocevski/33487561/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', expCube='/lscratch/kocevski/33487561/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33487561/Model_4FGL_J2325.2+3957_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.2+3957'

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33487561/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33487561/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33487561/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33487561/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33487561/Model_4FGL_J2325.2+3957_weekly_bin938.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) = 27925.830453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.268       1.0000          .0000       .10000E+07
     2 'norm      '    5.3138       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8457       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.2626       1.0000          .0000       .10000E+07
     5 'norm      '    1.1404       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10310E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .79365       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16427E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .62900E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.8708       1.0000          .0000       .10000E+07
    11 'Prefactor '    46.893       1.0000          .0000       .10000E+07
    12 'norm      '    .81981E-01   1.0000          .0000       .10000E+07
    13 'norm      '    17.602       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.379       1.0000          .0000       .10000E+07
    15 'norm      '    1.2341       1.0000          .0000       .10000E+07
    16 'Prefactor '    25.380       1.0000          .0000       .10000E+07
    17 'Prefactor '    17.698       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21621E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .19729E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1433       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86598       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27925.80     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1393 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.220        2.6417        .16029E-07    .10628E-01
   2  norm          5.2929        3.4925        .41605E-07   -.69553E-01
   3  Prefactor     2.8577        2.3612        .23532E-06    .51061E-02
   4  Prefactor     2.2637        1.8550       -.24943E-06   -.31509E-02
   5  norm          1.1412        1.6482       -.11492E-06   -.69778E-03
   6  Prefactor     .67168E-08    5.0465        .16787E-06** at limit **
   7  Prefactor     .79361        2.9200       -.11421E-07    .44764E-02
   8  Prefactor     .69944E-08    3.7816       -.68275E-07** at limit **
   9  norm          .55511E-10    3.0018       -.30094E-06** at limit **
  10  Prefactor     6.8172        6.3473       -.10962E-06   -.51141E-01
  11  Prefactor     46.829        4.6807        .33475E-07    .38979E-02
  12  norm          .86796E-01    11.039       -.40102E-08** at limit **
  13  norm          17.596        6.4998       -.86108E-07   -.47817E-01
  14  Prefactor     11.366        3.4206       -.10999E-07    .11944    
  15  norm          1.2334        1.1015        .14622E-06    .39902E-02
  16  Prefactor     25.050        28.441       -.16940E-06    .15932E-01
  17  Prefactor     18.066        17.284       -.24968E-06    .30135E-01
  18  Prefactor     .36637E-08    7.7249       -.18809E-07** at limit **
  19  Prefactor     .32752E-08    3.3913       -.17198E-06** at limit **
  20  Normalizat    1.1433        .13640        .55950E-05    .16728E-03
  21  Prefactor     .86602        .51336E-01   -.76599E-06    .26860E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2201
  norm       = 5.29291
  Prefactor  = 2.85773
  Prefactor  = 2.26368
  norm       = 1.14117
  Prefactor  = 6.71685e-09
  Prefactor  = 0.79361
  Prefactor  = 6.99441e-09
  norm       = 5.55112e-11
  Prefactor  = 6.81721
  Prefactor  = 46.8287
  norm       = 0.0867962
  norm       = 17.5962
  Prefactor  = 11.3663
  norm       = 1.23339
  Prefactor  = 25.0497
  Prefactor  = 18.0663
  Prefactor  = 3.66374e-09
  Prefactor  = 3.27516e-09
  Normalizat = 1.14326
  Prefactor  = 0.866016
487635/Model_4FGL_J2325.2+3957_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33487635/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits.....................!
real 122.53
user 119.62
sys 1.53

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33487635/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits', '/lscratch/kocevski/33487635/ft2_4FGL_J2325.2+3957_weekly_bin938.fits', expMap='/lscratch/kocevski/33487635/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', expCube='/lscratch/kocevski/33487635/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33487635/Model_4FGL_J2325.2+3957_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.2+3957'

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33487635/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33487635/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33487635/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33487635/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33487635/Model_4FGL_J2325.2+3957_weekly_bin938.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) = 27925.830453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.268       1.0000          .0000       .10000E+07
     2 'norm      '    5.3138       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8457       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.2626       1.0000          .0000       .10000E+07
     5 'norm      '    1.1404       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10310E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .79365       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16427E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .62900E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.8708       1.0000          .0000       .10000E+07
    11 'Prefactor '    46.893       1.0000          .0000       .10000E+07
    12 'norm      '    .81981E-01   1.0000          .0000       .10000E+07
    13 'norm      '    17.602       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.379       1.0000          .0000       .10000E+07
    15 'norm      '    1.2341       1.0000          .0000       .10000E+07
    16 'Prefactor '    25.380       1.0000          .0000       .10000E+07
    17 'Prefactor '    17.698       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21621E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .19729E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1433       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86598       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27925.80     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1393 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.220        2.6417        .16029E-07    .10628E-01
   2  norm          5.2929        3.4925        .41605E-07   -.69553E-01
   3  Prefactor     2.8577        2.3612        .23532E-06    .51061E-02
   4  Prefactor     2.2637        1.8550       -.24943E-06   -.31509E-02
   5  norm          1.1412        1.6482       -.11492E-06   -.69778E-03
   6  Prefactor     .67168E-08    5.0465        .16787E-06** at limit **
   7  Prefactor     .79361        2.9200       -.11421E-07    .44764E-02
   8  Prefactor     .69944E-08    3.7816       -.68275E-07** at limit **
   9  norm          .55511E-10    3.0018       -.30094E-06** at limit **
  10  Prefactor     6.8172        6.3473       -.10962E-06   -.51141E-01
  11  Prefactor     46.829        4.6807        .33475E-07    .38979E-02
  12  norm          .86796E-01    11.039       -.40102E-08** at limit **
  13  norm          17.596        6.4998       -.86108E-07   -.47817E-01
  14  Prefactor     11.366        3.4206       -.10999E-07    .11944    
  15  norm          1.2334        1.1015        .14622E-06    .39902E-02
  16  Prefactor     25.050        28.441       -.16940E-06    .15932E-01
  17  Prefactor     18.066        17.284       -.24968E-06    .30135E-01
  18  Prefactor     .36637E-08    7.7249       -.18809E-07** at limit **
  19  Prefactor     .32752E-08    3.3913       -.17198E-06** at limit **
  20  Normalizat    1.1433        .13640        .55950E-05    .16728E-03
  21  Prefactor     .86602        .51336E-01   -.76599E-06    .26860E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2201
  norm       = 5.29291
  Prefactor  = 2.85773
  Prefactor  = 2.26368
  norm       = 1.14117
  Prefactor  = 6.71685e-09
  Prefactor  = 0.79361
  Prefactor  = 6.99441e-09
  norm       = 5.55112e-11
  Prefactor  = 6.81721
  Prefactor  = 46.8287
  norm       = 0.0867962
  norm       = 17.5962
  Prefactor  = 11.3663
  norm       = 1.23339
  Prefactor  = 25.0497
  Prefactor  = 18.0663
  Prefactor  = 3.66374e-09
  Prefactor  = 3.27516e-09
  Normalizat = 1.14326
  Prefactor  = 0.866016
0    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27925.80     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1393 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.220        2.6417        .16029E-07    .10628E-01
   2  norm          5.2929        3.4925        .41605E-07   -.69553E-01
   3  Prefactor     2.8577        2.3612        .23532E-06    .51061E-02
   4  Prefactor     2.2637        1.8550       -.24943E-06   -.31509E-02
   5  norm          1.1412        1.6482       -.11492E-06   -.69778E-03
   6  Prefactor     .67168E-08    5.0465        .16787E-06** at limit **
   7  Prefactor     .79361        2.9200       -.11421E-07    .44764E-02
   8  Prefactor     .69944E-08    3.7816       -.68275E-07** at limit **
   9  norm          .55511E-10    3.0018       -.30094E-06** at limit **
  10  Prefactor     6.8172        6.3473       -.10962E-06   -.51141E-01
  11  Prefactor     46.829        4.6807        .33475E-07    .38979E-02
  12  norm          .86796E-01    11.039       -.40102E-08** at limit **
  13  norm          17.596        6.4998       -.86108E-07   -.47817E-01
  14  Prefactor     11.366        3.4206       -.10999E-07    .11944    
  15  norm          1.2334        1.1015        .14622E-06    .39902E-02
  16  Prefactor     25.050        28.441       -.16940E-06    .15932E-01
  17  Prefactor     18.066        17.284       -.24968E-06    .30135E-01
  18  Prefactor     .36637E-08    7.7249       -.18809E-07** at limit **
  19  Prefactor     .32752E-08    3.3913       -.17198E-06** at limit **
  20  Normalizat    1.1433        .13640        .55950E-05    .16728E-03
  21  Prefactor     .86602        .51336E-01   -.76599E-06    .26860E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2201
  norm       = 5.29291
  Prefactor  = 2.85773
  Prefactor  = 2.26368
  norm       = 1.14117
  Prefactor  = 6.71685e-09
  Prefactor  = 0.79361
  Prefactor  = 6.99441e-09
  norm       = 5.55112e-11
  Prefactor  = 6.81721
  Prefactor  = 46.8287
  norm       = 0.0867962
  norm       = 17.5962
  Prefactor  = 11.3663
  norm       = 1.23339
  Prefactor  = 25.0497
  Prefactor  = 18.0663
  Prefactor  = 3.66374e-09
  Prefactor  = 3.27516e-09
  Normalizat = 1.14326
  Prefactor  = 0.866016
 **********
 **   18 **HESSE 
 **********

 FCN=   27925.80     FROM HESSE     STATUS=OK           381 CALLS     1774 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.220        12.931        .29820E-03   -1.5641    
   2  norm          5.2929        8.2126        .43576E-03   -1.5662    
   3  Prefactor     2.8577        2.3852        .60248E-03   -1.5674    
   4  Prefactor     2.2637        1.8673        .68261E-03   -1.5678    
   5  norm          1.1412        1.6961        .10883E-02   -1.5687    
   6  Prefactor     .67168E-08    5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .79361        2.9700        .53409E-03   -1.5690    
   8  Prefactor     .69944E-08    3.8154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    .20374        .27307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8172        6.7986        .38252E-03   -1.5656    
  11  Prefactor     46.829        19.488        .14604E-03   -1.5571    
  12  norm          .86796E-01    .80437        .79714E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          17.596        6.5858        .23845E-03   -1.5624    
  14  Prefactor     11.366        10.364        .29674E-03   -1.5641    
  15  norm          1.2334        1.1270        .10108E-02   -1.5686    
  16  Prefactor     25.050        28.944        .19854E-03   -1.5608    
  17  Prefactor     18.066        18.398        .23780E-03   -1.5623    
  18  Prefactor     .36637E-08    7.7622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .32752E-08    3.3037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1433        .12316        .82346E-01   -.88375    
  21  Prefactor     .86602        .44095E-01    .44570E-01   -.97339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43411e-07
Minuit parameter uncertainties:
  1  12.9308
  2  8.21259
  3  2.38522
  4  1.86732
  5  1.69606
  6  0.000370769
  7  2.96998
  8  0.000327068
  9  5.96086e-06
  10  6.79864
  11  19.4875
  12  0.528455
  13  6.58577
  14  10.3642
  15  1.12703
  16  28.9445
  17  18.3985
  18  0.000336097
  19  0.000207183
  20  0.123194
  21  0.0440965
 **********
 **   18 **HESSE 
 **********

 FCN=   27925.80     FROM HESSE     STATUS=OK           381 CALLS     1774 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.220        12.931        .29820E-03   -1.5641    
   2  norm          5.2929        8.2126        .43576E-03   -1.5662    
   3  Prefactor     2.8577        2.3852        .60248E-03   -1.5674    
   4  Prefactor     2.2637        1.8673        .68261E-03   -1.5678    
   5  norm          1.1412        1.6961        .10883E-02   -1.5687    
   6  Prefactor     .67168E-08    5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .79361        2.9700        .53409E-03   -1.5690    
   8  Prefactor     .69944E-08    3.8154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    .20374        .27307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8172        6.7986        .38252E-03   -1.5656    
  11  Prefactor     46.829        19.488        .14604E-03   -1.5571    
  12  norm          .86796E-01    .80437        .79714E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          17.596        6.5858        .23845E-03   -1.5624    
  14  Prefactor     11.366        10.364        .29674E-03   -1.5641    
  15  norm          1.2334        1.1270        .10108E-02   -1.5686    
  16  Prefactor     25.050        28.944        .19854E-03   -1.5608    
  17  Prefactor     18.066        18.398        .23780E-03   -1.5623    
  18  Prefactor     .36637E-08    7.7622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .32752E-08    3.3037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1433        .12316        .82346E-01   -.88375    
  21  Prefactor     .86602        .44095E-01    .44570E-01   -.97339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43411e-07
Minuit parameter uncertainties:
  1  12.9308
  2  8.21259
  3  2.38522
  4  1.86732
  5  1.69606
  6  0.000370769
  7  2.96998
  8  0.000327068
  9  5.96086e-06
  10  6.79864
  11  19.4875
  12  0.528455
  13  6.58577
  14  10.3642
  15  1.12703
  16  28.9445
  17  18.3985
  18  0.000336097
  19  0.000207183
  20  0.123194
  21  0.0440965
Done.

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

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.233e+00  1.127e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.660e-01  4.410e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.143e+00  1.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.25e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 8.08e-06 +/- 7.39e-06

TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Flux Upper Limit: 3.91150195853e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.52071359959e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33487525/likelihoodResults_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.txt

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) = 27925.0537141
delta logL = 0.741471197281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27925.0256717
delta logL = 0.769513565665

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   27925.03     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      213 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99405        6.4249        .43559E-03    .41400E-01
   2  alpha         2.8923        1.8689        .41810        .18360E-03
   3  Normalizat    1.1132        .33304E-01    .83274E-01    .74576E-04
   4  Prefactor     .87006        .11416E-01    .44622E-01   -.26816E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.994046
  alpha      = 2.89226
  Normalizat = 1.11318
  Prefactor  = 0.870057
 outfile=/lscratch/kocevski/33488627/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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/33488627/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
.....................!
real 18.74
user 17.69
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33488627/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33488627/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33488627/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33488627/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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/33488627/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
.....................!
real 67.67
user 62.11
sys 3.98

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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 163 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2325.2+3957 @ 351.315 39.9542

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33488627/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits scfile=/lscratch/kocevski/33488627/ft2_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33488627/cmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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=351.315 yref=39.9542 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.48
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33488627/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits scfile=/lscratch/kocevski/33488627/ft2_4FGL_J2325.2+3957_weekly_bin938.fits outfile=/lscratch/kocevski/33488627/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.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=351.315 yref=39.9542 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.29
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33488627/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33488627/ft2_4FGL_J2325.2+3957_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33 **********
 **   18 **HESSE 
 **********

 FCN=   27925.03     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99405        1.2377        .96929E-05   -1.5688    
   2  alpha         2.8923        .83598        .16390E-01    .15755    
   3  Normalizat    1.1132        .13769        .36869E-03   -.89330    
   4  Prefactor     .87006        .51163E-01    .15601E-03   -.97195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34032e-08
Minuit parameter uncertainties:
  1  1.2377
  2  0.852837
  3  0.137735
  4  0.051166
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) = 27925.0256717
delta logL = 0.769513581068

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  9.940e-01  1.238e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  2.892e+00  8.528e-01  0.000e+00  5.000e+00 ( 1.000e+00)
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.701e-01  5.117e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.113e+00  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.75
Ra Dec: 351.315 39.954
Photon Index (Free Index): 2.89 +/- 0.85
Photon Flux (Free Index): 4.42e-08 +/- 3.48e-08
Energy Flux (Free Index): 1.07e-05 +/- 6.52e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33487525/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.52e-05', comment='SUCCESS', photon_flux='1.25e-08', energy_flux2='1.07e-05', photon_flux_error='1.15e-08', dlogl='7.70e-01', energy_flux='8.08e-06', photon_flux2='4.42e-08', job_status='DONE', time_completed='2026-07-28 21:04:04.181627', photon_index_error2='0.85', photon_index2='2.89', ts='2.18', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='3.91e-08', energy_flux_error2='6.52e-06', EG='1.14', time_epoch_completed='1785297844.18', return_code='0', job_id='33487525', GAL2='0.87', EG2='1.11', return_code2='0', energy_flux_error='7.39e-06', photon_flux_error2='3.48e-08', ts2='3.75', photon_index='1.99' WHERE bin_id='938' AND source_name='4FGL J2325.2+3957' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:04:04 PDT 2026

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

 FCN=   27925.80     FROM HESSE     STATUS=OK           381 CALLS     1774 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.220        12.931        .29820E-03   -1.5641    
   2  norm          5.2929        8.2126        .43576E-03   -1.5662    
   3  Prefactor     2.8577        2.3852        .60248E-03   -1.5674    
   4  Prefactor     2.2637        1.8673        .68261E-03   -1.5678    
   5  norm          1.1412        1.6961        .10883E-02   -1.5687    
   6  Prefactor     .67168E-08    5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .79361        2.9700        .53409E-03   -1.5690    
   8  Prefactor     .69944E-08    3.8154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    .20374        .27307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8172        6.7986        .38252E-03   -1.5656    
  11  Prefactor     46.829        19.488        .14604E-03   -1.5571    
  12  norm          .86796E-01    .80437        .79714E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          17.596        6.5858        .23845E-03   -1.5624    
  14  Prefactor     11.366        10.364        .29674E-03   -1.5641    
  15  norm          1.2334        1.1270        .10108E-02   -1.5686    
  16  Prefactor     25.050        28.944        .19854E-03   -1.5608    
  17  Prefactor     18.066        18.398        .23780E-03   -1.5623    
  18  Prefactor     .36637E-08    7.7622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .32752E-08    3.3037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1433        .12316        .82346E-01   -.88375    
  21  Prefactor     .86602        .44095E-01    .44570E-01   -.97339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43411e-07
Minuit parameter uncertainties:
  1  12.9308
  2  8.21259
  3  2.38522
  4  1.86732
  5  1.69606
  6  0.000370769
  7  2.96998
  8  0.000327068
  9  5.96086e-06
  10  6.79864
  11  19.4875
  12  0.528455
  13  6.58577
  14  10.3642
  15  1.12703
  16  28.9445
  17  18.3985
  18  0.000336097
  19  0.000207183
  20  0.123194
  21  0.0440965
 **********
 **   18 **HESSE 
 **********

 FCN=   27925.80     FROM HESSE     STATUS=OK           381 CALLS     1774 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.220        12.931        .29820E-03   -1.5641    
   2  norm          5.2929        8.2126        .43576E-03   -1.5662    
   3  Prefactor     2.8577        2.3852        .60248E-03   -1.5674    
   4  Prefactor     2.2637        1.8673        .68261E-03   -1.5678    
   5  norm          1.1412        1.6961        .10883E-02   -1.5687    
   6  Prefactor     .67168E-08    5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .79361        2.9700        .53409E-03   -1.5690    
   8  Prefactor     .69944E-08    3.8154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    .20374        .27307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8172        6.7986        .38252E-03   -1.5656    
  11  Prefactor     46.829        19.488        .14604E-03   -1.5571    
  12  norm          .86796E-01    .80437        .79714E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          17.596        6.5858        .23845E-03   -1.5624    
  14  Prefactor     11.366        10.364        .29674E-03   -1.5641    
  15  norm          1.2334        1.1270        .10108E-02   -1.5686    
  16  Prefactor     25.050        28.944        .19854E-03   -1.5608    
  17  Prefactor     18.066        18.398        .23780E-03   -1.5623    
  18  Prefactor     .36637E-08    7.7622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .32752E-08    3.3037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1433        .12316        .82346E-01   -.88375    
  21  Prefactor     .86602        .44095E-01    .44570E-01   -.97339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43411e-07
Minuit parameter uncertainties:
  1  12.9308
  2  8.21259
  3  2.38522
  4  1.86732
  5  1.69606
  6  0.000370769
  7  2.96998
  8  0.000327068
  9  5.96086e-06
  10  6.79864
  11  19.4875
  12  0.528455
  13  6.58577
  14  10.3642
  15  1.12703
  16  28.9445
  17  18.3985
  18  0.000336097
  19  0.000207183
  20  0.123194
  21  0.0440965
488121/Model_4FGL_J2325.2+3957_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33488121/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits.....................!
real 110.46
user 107.87
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33488121/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits', '/lscratch/kocevski/33488121/ft2_4FGL_J2325.2+3957_weekly_bin938.fits', expMap='/lscratch/kocevski/33488121/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', expCube='/lscratch/kocevski/33488121/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33488121/Model_4FGL_J2325.2+3957_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.2+3957'

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33488121/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33488121/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33488121/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33488121/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33488121/Model_4FGL_J2325.2+3957_weekly_bin938.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) = 27925.830453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.268       1.0000          .0000       .10000E+07
     2 'norm      '    5.3138       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8457       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.2626       1.0000          .0000       .10000E+07
     5 'norm      '    1.1404       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10310E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .79365       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16427E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .62900E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.8708       1.0000          .0000       .10000E+07
    11 'Prefactor '    46.893       1.0000          .0000       .10000E+07
    12 'norm      '    .81981E-01   1.0000          .0000       .10000E+07
    13 'norm      '    17.602       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.379       1.0000          .0000       .10000E+07
    15 'norm      '    1.2341       1.0000          .0000       .10000E+07
    16 'Prefactor '    25.380       1.0000          .0000       .10000E+07
    17 'Prefactor '    17.698       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21621E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .19729E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1433       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86598       1.0000          .0000       10.00487942/Model_4FGL_J2325.2+3957_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33487942/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits.....................!
real 128.53
user 124.74
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33487942/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits', '/lscratch/kocevski/33487942/ft2_4FGL_J2325.2+3957_weekly_bin938.fits', expMap='/lscratch/kocevski/33487942/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', expCube='/lscratch/kocevski/33487942/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33487942/Model_4FGL_J2325.2+3957_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.2+3957'

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33487942/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33487942/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33487942/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33487942/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33487942/Model_4FGL_J2325.2+3957_weekly_bin938.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) = 27925.830453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.268       1.0000          .0000       .10000E+07
     2 'norm      '    5.3138       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8457       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.2626       1.0000          .0000       .10000E+07
     5 'norm      '    1.1404       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10310E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .79365       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16427E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .62900E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.8708       1.0000          .0000       .10000E+07
    11 'Prefactor '    46.893       1.0000          .0000       .10000E+07
    12 'norm      '    .81981E-01   1.0000          .0000       .10000E+07
    13 'norm      '    17.602       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.379       1.0000          .0000       .10000E+07
    15 'norm      '    1.2341       1.0000          .0000       .10000E+07
    16 'Prefactor '    25.380       1.0000          .0000       .10000E+07
    17 'Prefactor '    17.698       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21621E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .19729E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1433       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86598       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27925.80     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1393 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.220        2.6417        .16029E-07    .10628E-01
   2  norm          5.2929        3.4925        .41605E-07   -.69553E-01
   3  Prefactor     2.8577        2.3612        .23532E-06    .51061E-02
   4  Prefactor     2.2637        1.8550       -.24943E-06   -.31509E-02
   5  norm          1.1412        1.6482       -.11492E-06   -.69778E-03
   6  Prefactor     .67168E-08    5.0465        .16787E-06** at limit **
   7  Prefactor     .79361        2.9200       -.11421E-07    .44764E-02
   8  Prefactor     .69944E-08    3.7816       -.68275E-07** at limit **
   9  norm          .55511E-10    3.0018       -.30094E-06** at limit **
  10  Prefactor     6.8172        6.3473       -.10962E-06   -.51141E-01
  11  Prefactor     46.829        4.6807        .33475E-07    .38979E-02
  12  norm          .86796E-01    11.039       -.40102E-08** at limit **
  13  norm          17.596        6.4998       -.86108E-07   -.47817E-01
  14  Prefactor     11.366        3.4206       -.10999E-07    .11944    
  15  norm          1.2334        1.1015        .14622E-06    .39902E-02
  16  Prefactor     25.050        28.441       -.16940E-06    .15932E-01
  17  Prefactor     18.066        17.284       -.24968E-06    .30135E-01
  18  Prefactor     .36637E-08    7.7249       -.18809E-07** at limit **
  19  Prefactor     .32752E-08    3.3913       -.17198E-06** at limit **
  20  Normalizat    1.1433        .13640        .55950E-05    .16728E-03
  21  Prefactor     .86602        .51336E-01   -.76599E-06    .26860E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2201
  norm       = 5.29291
  Prefactor  = 2.85773
  Prefactor  = 2.26368
  norm       = 1.14117
  Prefactor  = 6.71685e-09
  Prefactor  = 0.79361
  Prefactor  = 6.99441e-09
  norm       = 5.55112e-11
  Prefactor  = 6.81721
  Prefactor  = 46.8287
  norm       = 0.0867962
  norm       = 17.5962
  Prefactor  = 11.3663
  norm       = 1.23339
  Prefactor  = 25.0497
  Prefactor  = 18.0663
  Prefactor  = 3.66374e-09
  Prefactor  = 3.27516e-09
  Normalizat = 1.14326
  Prefactor  = 0.866016
Done.

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

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.233e+00  1.127e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.660e-01  4.410e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.143e+00  1.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.25e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 8.08e-06 +/- 7.39e-06

TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Flux Upper Limit: 3.91150195853e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.52071359959e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33487570/likelihoodResults_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.txt

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) = 27925.0537141
delta logL = 0.741471197281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27925.0256717
delta logL = 0.769513565665

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   27925.03     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      213 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99405        6.4249        .43559E-03    .41400E-01
   2  alpha         2.8923        1.8689        .41810        .18360E-03
   3  Normalizat    1.1132        .33304E-01    .83274E-01    .74576E-04
   4  Prefactor     .87006        .11416E-01    .44622E-01   -.26816E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.994046
  alpha      = 2.89226
  Normalizat = 1.11318
  Prefactor  = 0.870057
 **********
 **   18 **HESSE 
 **********

 FCN=   27925.03     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99405        1.2377        .96929E-05   -1.5688    
   2  alpha         2.8923        .83598        .16390E-01    .15755    
   3  Normalizat    1.1132        .13769        .36869E-03   -.89330    
   4  Prefactor     .87006        .51163E-01    .15601E-03   -.97195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34032e-08
Minuit parameter uncertainties:
  1  1.2377
  2  0.852837
  3  0.137735
  4  0.051166
Done.

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

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.233e+00  1.127e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.660e-01  4.410e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.143e+00  1.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.25e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 8.08e-06 +/- 7.39e-06

TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Flux Upper Limit: 3.91150195853e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.52071359959e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33487509/likelihoodResults_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.txt

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) = 27925.0537141
delta logL = 0.741471197281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27925.0256717
delta logL = 0.769513565665

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   27925.03     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      213 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99405        6.4249        .43559E-03    .41400E-01
   2  alpha         2.8923        1.8689        .41810        .18360E-03
   3  Normalizat    1.1132        .33304E-01    .83274E-01    .74576E-04
   4  Prefactor     .87006        .11416E-01    .44622E-01   -.26816E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.994046
  alpha      = 2.89226
  Normalizat = 1.11318
  Prefactor  = 0.870057
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
0    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27925.80     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1393 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.220        2.6417        .16029E-07    .10628E-01
   2  norm          5.2929        3.4925        .41605E-07   -.69553E-01
   3  Prefactor     2.8577        2.3612        .23532E-06    .51061E-02
   4  Prefactor     2.2637        1.8550       -.24943E-06   -.31509E-02
   5  norm          1.1412        1.6482       -.11492E-06   -.69778E-03
   6  Prefactor     .67168E-08    5.0465        .16787E-06** at limit **
   7  Prefactor     .79361        2.9200       -.11421E-07    .44764E-02
   8  Prefactor     .69944E-08    3.7816       -.68275E-07** at limit **
   9  norm          .55511E-10    3.0018       -.30094E-06** at limit **
  10  Prefactor     6.8172        6.3473       -.10962E-06   -.51141E-01
  11  Prefactor     46.829        4.6807        .33475E-07    .38979E-02
  12  norm          .86796E-01    11.039       -.40102E-08** at limit **
  13  norm          17.596        6.4998       -.86108E-07   -.47817E-01
  14  Prefactor     11.366        3.4206       -.10999E-07    .11944    
  15  norm          1.2334        1.1015        .14622E-06    .39902E-02
  16  Prefactor     25.050        28.441       -.16940E-06    .15932E-01
  17  Prefactor     18.066        17.284       -.24968E-06    .30135E-01
  18  Prefactor     .36637E-08    7.7249       -.18809E-07** at limit **
  19  Prefactor     .32752E-08    3.3913       -.17198E-06** at limit **
  20  Normalizat    1.1433        .13640        .55950E-05    .16728E-03
  21  Prefactor     .86602        .51336E-01   -.76599E-06    .26860E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2201
  norm       = 5.29291
  Prefactor  = 2.85773
  Prefactor  = 2.26368
  norm       = 1.14117
  Prefactor  = 6.71685e-09
  Prefactor  = 0.79361
  Prefactor  = 6.99441e-09
  norm       = 5.55112e-11
  Prefactor  = 6.81721
  Prefactor  = 46.8287
  norm       = 0.0867962
  norm       = 17.5962
  Prefactor  = 11.3663
  norm       = 1.23339
  Prefactor  = 25.0497
  Prefactor  = 18.0663
  Prefactor  = 3.66374e-09
  Prefactor  = 3.27516e-09
  Normalizat = 1.14326
  Prefactor  = 0.866016
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27925.0256717
delta logL = 0.769513581068

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  9.940e-01  1.238e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  2.892e+00  8.528e-01  0.000e+00  5.000e+00 ( 1.000e+00)
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.701e-01  5.117e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.113e+00  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.75
Ra Dec: 351.315 39.954
Photon Index (Free Index): 2.89 +/- 0.85
Photon Flux (Free Index): 4.42e-08 +/- 3.48e-08
Energy Flux (Free Index): 1.07e-05 +/- 6.52e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33487570/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.52e-05', comment='SUCCESS', photon_flux='1.25e-08', energy_flux2='1.07e-05', photon_flux_error='1.15e-08', dlogl='7.70e-01', energy_flux='8.08e-06', photon_flux2='4.42e-08', job_status='DONE', time_completed='2026-07-28 21:05:26.927468', photon_index_error2='0.85', photon_index2='2.89', ts='2.18', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='3.91e-08', energy_flux_error2='6.52e-06', EG='1.14', time_epoch_completed='1785297926.93', return_code='0', job_id='33487570', GAL2='0.87', EG2='1.11', return_code2='0', energy_flux_error='7.39e-06', photon_flux_error2='3.48e-08', ts2='3.75', photon_index='1.99' WHERE bin_id='938' AND source_name='4FGL J2325.2+3957' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:05:27 PDT 2026

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

 FCN=   27925.03     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99405        1.2377        .96929E-05   -1.5688    
   2  alpha         2.8923        .83598        .16390E-01    .15755    
   3  Normalizat    1.1132        .13769        .36869E-03   -.89330    
   4  Prefactor     .87006        .51163E-01    .15601E-03   -.97195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34032e-08
Minuit parameter uncertainties:
  1  1.2377
  2  0.852837
  3  0.137735
  4  0.051166
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) = 27925.0256717
delta logL = 0.769513581068

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  9.940e-01  1.238e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  2.892e+00  8.528e-01  0.000e+00  5.000e+00 ( 1.000e+00)
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.701e-01  5.117e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.113e+00  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.75
Ra Dec: 351.315 39.954
Photon Index (Free Index): 2.89 +/- 0.85
Photon Flux (Free Index): 4.42e-08 +/- 3.48e-08
Energy Flux (Free Index): 1.07e-05 +/- 6.52e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33487509/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.52e-05', comment='SUCCESS', photon_flux='1.25e-08', energy_flux2='1.07e-05', photon_flux_error='1.15e-08', dlogl='7.70e-01', energy_flux='8.08e-06', photon_flux2='4.42e-08', job_status='DONE', time_completed='2026-07-28 21:05:32.575056', photon_index_error2='0.85', photon_index2='2.89', ts='2.18', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='3.91e-08', energy_flux_error2='6.52e-06', EG='1.14', time_epoch_completed='1785297932.58', return_code='0', job_id='33487509', GAL2='0.87', EG2='1.11', return_code2='0', energy_flux_error='7.39e-06', photon_flux_error2='3.48e-08', ts2='3.75', photon_index='1.99' WHERE bin_id='938' AND source_name='4FGL J2325.2+3957' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:05:33 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.233e+00  1.127e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.660e-01  4.410e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.143e+00  1.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.25e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 8.08e-06 +/- 7.39e-06

TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Flux Upper Limit: 3.91150195853e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.52071359959e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33487635/likelihoodResults_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.txt

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) = 27925.0537141
delta logL = 0.741471197281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27925.0256717
delta logL = 0.769513565665

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   27925.03     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      213 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99405        6.4249        .43559E-03    .41400E-01
   2  alpha         2.8923        1.8689        .41810        .18360E-03
   3  Normalizat    1.1132        .33304E-01    .83274E-01    .74576E-04
   4  Prefactor     .87006        .11416E-01    .44622E-01   -.26816E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.994046
  alpha      = 2.89226
  Normalizat = 1.11318
  Prefactor  = 0.870057
 **********
 **   18 **HESSE 
 **********

 FCN=   27925.03     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99405        1.2377        .96929E-05   -1.5688    
   2  alpha         2.8923        .83598        .16390E-01    .15755    
   3  Normalizat    1.1132        .13769        .36869E-03   -.89330    
   4  Prefactor     .87006        .51163E-01    .15601E-03   -.97195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34032e-08
Minuit parameter uncertainties:
  1  1.2377
  2  0.852837
  3  0.137735
  4  0.051166
 **********
 **   18 **HESSE 
 **********

 FCN=   27925.80     FROM HESSE     STATUS=OK           381 CALLS     1774 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.220        12.931        .29820E-03   -1.5641    
   2  norm          5.2929        8.2126        .43576E-03   -1.5662    
   3  Prefactor     2.8577        2.3852        .60248E-03   -1.5674    
   4  Prefactor     2.2637        1.8673        .68261E-03   -1.5678    
   5  norm          1.1412        1.6961        .10883E-02   -1.5687    
   6  Prefactor     .67168E-08    5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .79361        2.9700        .53409E-03   -1.5690    
   8  Prefactor     .69944E-08    3.8154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    .20374        .27307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8172        6.7986        .38252E-03   -1.5656    
  11  Prefactor     46.829        19.488        .14604E-03   -1.5571    
  12  norm          .86796E-01    .80437        .79714E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          17.596        6.5858        .23845E-03   -1.5624    
  14  Prefactor     11.366        10.364        .29674E-03   -1.5641    
  15  norm          1.2334        1.1270        .10108E-02   -1.5686    
  16  Prefactor     25.050        28.944        .19854E-03   -1.5608    
  17  Prefactor     18.066        18.398        .23780E-03   -1.5623    
  18  Prefactor     .36637E-08    7.7622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .32752E-08    3.3037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1433        .12316        .82346E-01   -.88375    
  21  Prefactor     .86602        .44095E-01    .44570E-01   -.97339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43411e-07
Minuit parameter uncertainties:
  1  12.9308
  2  8.21259
  3  2.38522
  4  1.86732
  5  1.69606
  6  0.000370769
  7  2.96998
  8  0.000327068
  9  5.96086e-06
  10  6.79864
  11  19.4875
  12  0.528455
  13  6.58577
  14  10.3642
  15  1.12703
  16  28.9445
  17  18.3985
  18  0.000336097
  19  0.000207183
  20  0.123194
  21  0.0440965
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) = 27925.0256717
delta logL = 0.769513581068

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  9.940e-01  1.238e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  2.892e+00  8.528e-01  0.000e+00  5.000e+00 ( 1.000e+00)
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.701e-01  5.117e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.113e+00  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.75
Ra Dec: 351.315 39.954
Photon Index (Free Index): 2.89 +/- 0.85
Photon Flux (Free Index): 4.42e-08 +/- 3.48e-08
Energy Flux (Free Index): 1.07e-05 +/- 6.52e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33487635/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.52e-05', comment='SUCCESS', photon_flux='1.25e-08', energy_flux2='1.07e-05', photon_flux_error='1.15e-08', dlogl='7.70e-01', energy_flux='8.08e-06', photon_flux2='4.42e-08', job_status='DONE', time_completed='2026-07-28 21:05:56.859402', photon_index_error2='0.85', photon_index2='2.89', ts='2.18', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='3.91e-08', energy_flux_error2='6.52e-06', EG='1.14', time_epoch_completed='1785297956.86', return_code='0', job_id='33487635', GAL2='0.87', EG2='1.11', return_code2='0', energy_flux_error='7.39e-06', photon_flux_error2='3.48e-08', ts2='3.75', photon_index='1.99' WHERE bin_id='938' AND source_name='4FGL J2325.2+3957' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:05:57 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.233e+00  1.127e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.660e-01  4.410e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.143e+00  1.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.25e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 8.08e-06 +/- 7.39e-06

TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Flux Upper Limit: 3.91150195853e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.52071359959e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33487561/likelihoodResults_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.txt

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) = 27925.0537141
delta logL = 0.741471197281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27925.0256717
delta logL = 0.769513565665

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   27925.03     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      213 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99405        6.4249        .43559E-03    .41400E-01
   2  alpha         2.8923        1.8689        .41810        .18360E-03
   3  Normalizat    1.1132        .33304E-01    .83274E-01    .74576E-04
   4  Prefactor     .87006        .11416E-01    .44622E-01   -.26816E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.994046
  alpha      = 2.89226
  Normalizat = 1.11318
  Prefactor  = 0.870057
 **********
 **   18 **HESSE 
 **********

 FCN=   27925.03     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99405        1.2377        .96929E-05   -1.5688    
   2  alpha         2.8923        .83598        .16390E-01    .15755    
   3  Normalizat    1.1132        .13769        .36869E-03   -.89330    
   4  Prefactor     .87006        .51163E-01    .15601E-03   -.97195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34032e-08
Minuit parameter uncertainties:
  1  1.2377
  2  0.852837
  3  0.137735
  4  0.051166
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) = 27925.0256717
delta logL = 0.769513581068

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  9.940e-01  1.238e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  2.892e+00  8.528e-01  0.000e+00  5.000e+00 ( 1.000e+00)
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.701e-01  5.117e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.113e+00  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.75
Ra Dec: 351.315 39.954
Photon Index (Free Index): 2.89 +/- 0.85
Photon Flux (Free Index): 4.42e-08 +/- 3.48e-08
Energy Flux (Free Index): 1.07e-05 +/- 6.52e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33487561/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.52e-05', comment='SUCCESS', photon_flux='1.25e-08', energy_flux2='1.07e-05', photon_flux_error='1.15e-08', dlogl='7.70e-01', energy_flux='8.08e-06', photon_flux2='4.42e-08', job_status='DONE', time_completed='2026-07-28 21:06:13.375139', photon_index_error2='0.85', photon_index2='2.89', ts='2.18', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='3.91e-08', energy_flux_error2='6.52e-06', EG='1.14', time_epoch_completed='1785297973.38', return_code='0', job_id='33487561', GAL2='0.87', EG2='1.11', return_code2='0', energy_flux_error='7.39e-06', photon_flux_error2='3.48e-08', ts2='3.75', photon_index='1.99' WHERE bin_id='938' AND source_name='4FGL J2325.2+3957' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:06:14 PDT 2026

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

 FCN=   27925.80     FROM HESSE     STATUS=OK           381 CALLS     1774 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.220        12.931        .29820E-03   -1.5641    
   2  norm          5.2929        8.2126        .43576E-03   -1.5662    
   3  Prefactor     2.8577        2.3852        .60248E-03   -1.5674    
   4  Prefactor     2.2637        1.8673        .68261E-03   -1.5678    
   5  norm          1.1412        1.6961        .10883E-02   -1.5687    
   6  Prefactor     .67168E-08    5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .79361        2.9700        .53409E-03   -1.5690    
   8  Prefactor     .69944E-08    3.8154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    .20374        .27307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8172        6.7986        .38252E-03   -1.5656    
  11  Prefactor     46.829        19.488        .14604E-03   -1.5571    
  12  norm          .86796E-01    .80437        .79714E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          17.596        6.5858        .23845E-03   -1.5624    
  14  Prefactor     11.366        10.364        .29674E-03   -1.5641    
  15  norm          1.2334        1.1270        .10108E-02   -1.5686    
  16  Prefactor     25.050        28.944        .19854E-03   -1.5608    
  17  Prefactor     18.066        18.398        .23780E-03   -1.5623    
  18  Prefactor     .36637E-08    7.7622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .32752E-08    3.3037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1433        .12316        .82346E-01   -.88375    
  21  Prefactor     .86602        .44095E-01    .44570E-01   -.97339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43411e-07
Minuit parameter uncertainties:
  1  12.9308
  2  8.21259
  3  2.38522
  4  1.86732
  5  1.69606
  6  0.000370769
  7  2.96998
  8  0.000327068
  9  5.96086e-06
  10  6.79864
  11  19.4875
  12  0.528455
  13  6.58577
  14  10.3642
  15  1.12703
  16  28.9445
  17  18.3985
  18  0.000336097
  19  0.000207183
  20  0.123194
  21  0.0440965
488018/Model_4FGL_J2325.2+3957_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33488018/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits.....................!
real 125.09
user 121.55
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33488018/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits', '/lscratch/kocevski/33488018/ft2_4FGL_J2325.2+3957_weekly_bin938.fits', expMap='/lscratch/kocevski/33488018/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', expCube='/lscratch/kocevski/33488018/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33488018/Model_4FGL_J2325.2+3957_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.2+3957'

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33488018/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33488018/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33488018/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33488018/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33488018/Model_4FGL_J2325.2+3957_weekly_bin938.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) = 27925.830453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.268       1.0000          .0000       .10000E+07
     2 'norm      '    5.3138       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8457       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.2626       1.0000          .0000       .10000E+07
     5 'norm      '    1.1404       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10310E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .79365       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16427E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .62900E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.8708       1.0000          .0000       .10000E+07
    11 'Prefactor '    46.893       1.0000          .0000       .10000E+07
    12 'norm      '    .81981E-01   1.0000          .0000       .10000E+07
    13 'norm      '    17.602       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.379       1.0000          .0000       .10000E+07
    15 'norm      '    1.2341       1.0000          .0000       .10000E+07
    16 'Prefactor '    25.380       1.0000          .0000       .10000E+07
    17 'Prefactor '    17.698       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21621E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .19729E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1433       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86598       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27925.80     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1393 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.220        2.6417        .16029E-07    .10628E-01
   2  norm          5.2929        3.4925        .41605E-07   -.69553E-01
   3  Prefactor     2.8577        2.3612        .23532E-06    .51061E-02
   4  Prefactor     2.2637        1.8550       -.24943E-06   -.31509E-02
   5  norm          1.1412        1.6482       -.11492E-06   -.69778E-03
   6  Prefactor     .67168E-08    5.0465        .16787E-06** at limit **
   7  Prefactor     .79361        2.9200       -.11421E-07    .44764E-02
   8  Prefactor     .69944E-08    3.7816       -.68275E-07** at limit **
   9  norm          .55511E-10    3.0018       -.30094E-06** at limit **
  10  Prefactor     6.8172        6.3473       -.10962E-06   -.51141E-01
  11  Prefactor     46.829        4.6807        .33475E-07    .38979E-02
  12  norm          .86796E-01    11.039       -.40102E-08** at limit **
  13  norm          17.596        6.4998       -.86108E-07   -.47817E-01
  14  Prefactor     11.366        3.4206       -.10999E-07    .11944    
  15  norm          1.2334        1.1015        .14622E-06    .39902E-02
  16  Prefactor     25.050        28.441       -.16940E-06    .15932E-01
  17  Prefactor     18.066        17.284       -.24968E-06    .30135E-01
  18  Prefactor     .36637E-08    7.7249       -.18809E-07** at limit **
  19  Prefactor     .32752E-08    3.3913       -.17198E-06** at limit **
  20  Normalizat    1.1433        .13640        .55950E-05    .16728E-03
  21  Prefactor     .86602        .51336E-01   -.76599E-06    .26860E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2201
  norm       = 5.29291
  Prefactor  = 2.85773
  Prefactor  = 2.26368
  norm       = 1.14117
  Prefactor  = 6.71685e-09
  Prefactor  = 0.79361
  Prefactor  = 6.99441e-09
  norm       = 5.55112e-11
  Prefactor  = 6.81721
  Prefactor  = 46.8287
  norm       = 0.0867962
  norm       = 17.5962
  Prefactor  = 11.3663
  norm       = 1.23339
  Prefactor  = 25.0497
  Prefactor  = 18.0663
  Prefactor  = 3.66374e-09
  Prefactor  = 3.27516e-09
  Normalizat = 1.14326
  Prefactor  = 0.866016
Done.

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

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.233e+00  1.127e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.660e-01  4.410e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.143e+00  1.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.25e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 8.08e-06 +/- 7.39e-06

TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Flux Upper Limit: 3.91150195853e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.52071359959e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33488121/likelihoodResults_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.txt

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) = 27925.0537141
delta logL = 0.741471197281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27925.0256717
delta logL = 0.769513565665

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   27925.03     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      213 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99405        6.4249        .43559E-03    .41400E-01
   2  alpha         2.8923        1.8689        .41810        .18360E-03
   3  Normalizat    1.1132        .33304E-01    .83274E-01    .74576E-04
   4  Prefactor     .87006        .11416E-01    .44622E-01   -.26816E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.994046
  alpha      = 2.89226
  Normalizat = 1.11318
  Prefactor  = 0.870057
 **********
 **   18 **HESSE 
 **********

 FCN=   27925.03     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99405        1.2377        .96929E-05   -1.5688    
   2  alpha         2.8923        .83598        .16390E-01    .15755    
   3  Normalizat    1.1132        .13769        .36869E-03   -.89330    
   4  Prefactor     .87006        .51163E-01    .15601E-03   -.97195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34032e-08
Minuit parameter uncertainties:
  1  1.2377
  2  0.852837
  3  0.137735
  4  0.051166
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) = 27925.0256717
delta logL = 0.769513581068

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  9.940e-01  1.238e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  2.892e+00  8.528e-01  0.000e+00  5.000e+00 ( 1.000e+00)
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.701e-01  5.117e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.113e+00  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.75
Ra Dec: 351.315 39.954
Photon Index (Free Index): 2.89 +/- 0.85
Photon Flux (Free Index): 4.42e-08 +/- 3.48e-08
Energy Flux (Free Index): 1.07e-05 +/- 6.52e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33488121/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.52e-05', comment='SUCCESS', photon_flux='1.25e-08', energy_flux2='1.07e-05', photon_flux_error='1.15e-08', dlogl='7.70e-01', energy_flux='8.08e-06', photon_flux2='4.42e-08', job_status='DONE', time_completed='2026-07-28 21:07:28.634292', photon_index_error2='0.85', photon_index2='2.89', ts='2.18', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='3.91e-08', energy_flux_error2='6.52e-06', EG='1.14', time_epoch_completed='1785298048.63', return_code='0', job_id='33488121', GAL2='0.87', EG2='1.11', return_code2='0', energy_flux_error='7.39e-06', photon_flux_error2='3.48e-08', ts2='3.75', photon_index='1.99' WHERE bin_id='938' AND source_name='4FGL J2325.2+3957' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:07:29 PDT 2026

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

 FCN=   27925.80     FROM HESSE     STATUS=OK           381 CALLS     1774 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.220        12.931        .29820E-03   -1.5641    
   2  norm          5.2929        8.2126        .43576E-03   -1.5662    
   3  Prefactor     2.8577        2.3852        .60248E-03   -1.5674    
   4  Prefactor     2.2637        1.8673        .68261E-03   -1.5678    
   5  norm          1.1412        1.6961        .10883E-02   -1.5687    
   6  Prefactor     .67168E-08    5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .79361        2.9700        .53409E-03   -1.5690    
   8  Prefactor     .69944E-08    3.8154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    .20374        .27307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8172        6.7986        .38252E-03   -1.5656    
  11  Prefactor     46.829        19.488        .14604E-03   -1.5571    
  12  norm          .86796E-01    .80437        .79714E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          17.596        6.5858        .23845E-03   -1.5624    
  14  Prefactor     11.366        10.364        .29674E-03   -1.5641    
  15  norm          1.2334        1.1270        .10108E-02   -1.5686    
  16  Prefactor     25.050        28.944        .19854E-03   -1.5608    
  17  Prefactor     18.066        18.398        .23780E-03   -1.5623    
  18  Prefactor     .36637E-08    7.7622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .32752E-08    3.3037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1433        .12316        .82346E-01   -.88375    
  21  Prefactor     .86602        .44095E-01    .44570E-01   -.97339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43411e-07
Minuit parameter uncertainties:
  1  12.9308
  2  8.21259
  3  2.38522
  4  1.86732
  5  1.69606
  6  0.000370769
  7  2.96998
  8  0.000327068
  9  5.96086e-06
  10  6.79864
  11  19.4875
  12  0.528455
  13  6.58577
  14  10.3642
  15  1.12703
  16  28.9445
  17  18.3985
  18  0.000336097
  19  0.000207183
  20  0.123194
  21  0.0440965
Done.

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

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.233e+00  1.127e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.660e-01  4.410e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.143e+00  1.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.25e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 8.08e-06 +/- 7.39e-06

TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Flux Upper Limit: 3.91150195853e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.52071359959e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33487942/likelihoodResults_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.txt

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) = 27925.0537141
delta logL = 0.741471197281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27925.0256717
delta logL = 0.769513565665

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   27925.03     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      213 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99405        6.4249        .43559E-03    .41400E-01
   2  alpha         2.8923        1.8689        .41810        .18360E-03
   3  Normalizat    1.1132        .33304E-01    .83274E-01    .74576E-04
   4  Prefactor     .87006        .11416E-01    .44622E-01   -.26816E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.994046
  alpha      = 2.89226
  Normalizat = 1.11318
  Prefactor  = 0.870057
 **********
 **   18 **HESSE 
 **********

 FCN=   27925.03     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99405        1.2377        .96929E-05   -1.5688    
   2  alpha         2.8923        .83598        .16390E-01    .15755    
   3  Normalizat    1.1132        .13769        .36869E-03   -.89330    
   4  Prefactor     .87006        .51163E-01    .15601E-03   -.97195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34032e-08
Minuit parameter uncertainties:
  1  1.2377
  2  0.852837
  3  0.137735
  4  0.051166
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) = 27925.0256717
delta logL = 0.769513581068

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  9.940e-01  1.238e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  2.892e+00  8.528e-01  0.000e+00  5.000e+00 ( 1.000e+00)
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.701e-01  5.117e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.113e+00  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.75
Ra Dec: 351.315 39.954
Photon Index (Free Index): 2.89 +/- 0.85
Photon Flux (Free Index): 4.42e-08 +/- 3.48e-08
Energy Flux (Free Index): 1.07e-05 +/- 6.52e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33487942/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.52e-05', comment='SUCCESS', photon_flux='1.25e-08', energy_flux2='1.07e-05', photon_flux_error='1.15e-08', dlogl='7.70e-01', energy_flux='8.08e-06', photon_flux2='4.42e-08', job_status='DONE', time_completed='2026-07-28 21:08:18.473209', photon_index_error2='0.85', photon_index2='2.89', ts='2.18', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='3.91e-08', energy_flux_error2='6.52e-06', EG='1.14', time_epoch_completed='1785298098.47', return_code='0', job_id='33487942', GAL2='0.87', EG2='1.11', return_code2='0', energy_flux_error='7.39e-06', photon_flux_error2='3.48e-08', ts2='3.75', photon_index='1.99' WHERE bin_id='938' AND source_name='4FGL J2325.2+3957' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:08:18 PDT 2026

488627/Model_4FGL_J2325.2+3957_weekly_bin938.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33488627/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits.....................!
real 106.74
user 103.72
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33488627/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits', '/lscratch/kocevski/33488627/ft2_4FGL_J2325.2+3957_weekly_bin938.fits', expMap='/lscratch/kocevski/33488627/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', expCube='/lscratch/kocevski/33488627/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33488627/Model_4FGL_J2325.2+3957_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.2+3957'

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33488627/ft1_filtered_4FGL_J2325.2+3957_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33488627/ft2_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33488627/expmap_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33488627/ltcube_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33488627/Model_4FGL_J2325.2+3957_weekly_bin938.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) = 27925.830453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.268       1.0000          .0000       .10000E+07
     2 'norm      '    5.3138       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8457       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.2626       1.0000          .0000       .10000E+07
     5 'norm      '    1.1404       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10310E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .79365       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16427E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .62900E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.8708       1.0000          .0000       .10000E+07
    11 'Prefactor '    46.893       1.0000          .0000       .10000E+07
    12 'norm      '    .81981E-01   1.0000          .0000       .10000E+07
    13 'norm      '    17.602       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.379       1.0000          .0000       .10000E+07
    15 'norm      '    1.2341       1.0000          .0000       .10000E+07
    16 'Prefactor '    25.380       1.0000          .0000       .10000E+07
    17 'Prefactor '    17.698       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21621E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .19729E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1433       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86598       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27925.80     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1393 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.220        2.6417        .16029E-07    .10628E-01
   2  norm          5.2929        3.4925        .41605E-07   -.69553E-01
   3  Prefactor     2.8577        2.3612        .23532E-06    .51061E-02
   4  Prefactor     2.2637        1.8550       -.24943E-06   -.31509E-02
   5  norm          1.1412        1.6482       -.11492E-06   -.69778E-03
   6  Prefactor     .67168E-08    5.0465        .16787E-06** at limit **
   7  Prefactor     .79361        2.9200       -.11421E-07    .44764E-02
   8  Prefactor     .69944E-08    3.7816       -.68275E-07** at limit **
   9  norm          .55511E-10    3.0018       -.30094E-06** at limit **
  10  Prefactor     6.8172        6.3473       -.10962E-06   -.51141E-01
  11  Prefactor     46.829        4.6807        .33475E-07    .38979E-02
  12  norm          .86796E-01    11.039       -.40102E-08** at limit **
  13  norm          17.596        6.4998       -.86108E-07   -.47817E-01
  14  Prefactor     11.366        3.4206       -.10999E-07    .11944    
  15  norm          1.2334        1.1015        .14622E-06    .39902E-02
  16  Prefactor     25.050        28.441       -.16940E-06    .15932E-01
  17  Prefactor     18.066        17.284       -.24968E-06    .30135E-01
  18  Prefactor     .36637E-08    7.7249       -.18809E-07** at limit **
  19  Prefactor     .32752E-08    3.3913       -.17198E-06** at limit **
  20  Normalizat    1.1433        .13640        .55950E-05    .16728E-03
  21  Prefactor     .86602        .51336E-01   -.76599E-06    .26860E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2201
  norm       = 5.29291
  Prefactor  = 2.85773
  Prefactor  = 2.26368
  norm       = 1.14117
  Prefactor  = 6.71685e-09
  Prefactor  = 0.79361
  Prefactor  = 6.99441e-09
  norm       = 5.55112e-11
  Prefactor  = 6.81721
  Prefactor  = 46.8287
  norm       = 0.0867962
  norm       = 17.5962
  Prefactor  = 11.3663
  norm       = 1.23339
  Prefactor  = 25.0497
  Prefactor  = 18.0663
  Prefactor  = 3.66374e-09
  Prefactor  = 3.27516e-09
  Normalizat = 1.14326
  Prefactor  = 0.866016
Done.

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

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.233e+00  1.127e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.660e-01  4.410e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.143e+00  1.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.25e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 8.08e-06 +/- 7.39e-06

TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Flux Upper Limit: 3.91150195853e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.52071359959e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33488018/likelihoodResults_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.txt

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) = 27925.0537141
delta logL = 0.741471197281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27925.0256717
delta logL = 0.769513565665

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   27925.03     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      213 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99405        6.4249        .43559E-03    .41400E-01
   2  alpha         2.8923        1.8689        .41810        .18360E-03
   3  Normalizat    1.1132        .33304E-01    .83274E-01    .74576E-04
   4  Prefactor     .87006        .11416E-01    .44622E-01   -.26816E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.994046
  alpha      = 2.89226
  Normalizat = 1.11318
  Prefactor  = 0.870057
 **********
 **   18 **HESSE 
 **********

 FCN=   27925.03     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99405        1.2377        .96929E-05   -1.5688    
   2  alpha         2.8923        .83598        .16390E-01    .15755    
   3  Normalizat    1.1132        .13769        .36869E-03   -.89330    
   4  Prefactor     .87006        .51163E-01    .15601E-03   -.97195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34032e-08
Minuit parameter uncertainties:
  1  1.2377
  2  0.852837
  3  0.137735
  4  0.051166
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) = 27925.0256717
delta logL = 0.769513581068

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  9.940e-01  1.238e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  2.892e+00  8.528e-01  0.000e+00  5.000e+00 ( 1.000e+00)
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.701e-01  5.117e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.113e+00  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.75
Ra Dec: 351.315 39.954
Photon Index (Free Index): 2.89 +/- 0.85
Photon Flux (Free Index): 4.42e-08 +/- 3.48e-08
Energy Flux (Free Index): 1.07e-05 +/- 6.52e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33488018/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.52e-05', comment='SUCCESS', photon_flux='1.25e-08', energy_flux2='1.07e-05', photon_flux_error='1.15e-08', dlogl='7.70e-01', energy_flux='8.08e-06', photon_flux2='4.42e-08', job_status='DONE', time_completed='2026-07-28 21:09:41.792615', photon_index_error2='0.85', photon_index2='2.89', ts='2.18', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='3.91e-08', energy_flux_error2='6.52e-06', EG='1.14', time_epoch_completed='1785298181.79', return_code='0', job_id='33488018', GAL2='0.87', EG2='1.11', return_code2='0', energy_flux_error='7.39e-06', photon_flux_error2='3.48e-08', ts2='3.75', photon_index='1.99' WHERE bin_id='938' AND source_name='4FGL J2325.2+3957' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:09:42 PDT 2026

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

 FCN=   27925.80     FROM HESSE     STATUS=OK           381 CALLS     1774 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.220        12.931        .29820E-03   -1.5641    
   2  norm          5.2929        8.2126        .43576E-03   -1.5662    
   3  Prefactor     2.8577        2.3852        .60248E-03   -1.5674    
   4  Prefactor     2.2637        1.8673        .68261E-03   -1.5678    
   5  norm          1.1412        1.6961        .10883E-02   -1.5687    
   6  Prefactor     .67168E-08    5.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .79361        2.9700        .53409E-03   -1.5690    
   8  Prefactor     .69944E-08    3.8154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .55511E-10    .20374        .27307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8172        6.7986        .38252E-03   -1.5656    
  11  Prefactor     46.829        19.488        .14604E-03   -1.5571    
  12  norm          .86796E-01    .80437        .79714E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          17.596        6.5858        .23845E-03   -1.5624    
  14  Prefactor     11.366        10.364        .29674E-03   -1.5641    
  15  norm          1.2334        1.1270        .10108E-02   -1.5686    
  16  Prefactor     25.050        28.944        .19854E-03   -1.5608    
  17  Prefactor     18.066        18.398        .23780E-03   -1.5623    
  18  Prefactor     .36637E-08    7.7622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .32752E-08    3.3037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1433        .12316        .82346E-01   -.88375    
  21  Prefactor     .86602        .44095E-01    .44570E-01   -.97339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43411e-07
Minuit parameter uncertainties:
  1  12.9308
  2  8.21259
  3  2.38522
  4  1.86732
  5  1.69606
  6  0.000370769
  7  2.96998
  8  0.000327068
  9  5.96086e-06
  10  6.79864
  11  19.4875
  12  0.528455
  13  6.58577
  14  10.3642
  15  1.12703
  16  28.9445
  17  18.3985
  18  0.000336097
  19  0.000207183
  20  0.123194
  21  0.0440965
Done.

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

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  1.233e+00  1.127e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  1.993e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.660e-01  4.410e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.143e+00  1.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Index (Fixed Index): 1.99 +/- 0.00
Photon Flux (Fixed Index): 1.25e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 8.08e-06 +/- 7.39e-06

TS (Fixed Index): 2.18
Ra Dec: 351.315 39.954
Photon Flux Upper Limit: 3.91150195853e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.52071359959e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33488627/likelihoodResults_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.txt

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) = 27925.0537141
delta logL = 0.741471197281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27925.0256717
delta logL = 0.769513565665

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   27925.03     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      213 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99405        6.4249        .43559E-03    .41400E-01
   2  alpha         2.8923        1.8689        .41810        .18360E-03
   3  Normalizat    1.1132        .33304E-01    .83274E-01    .74576E-04
   4  Prefactor     .87006        .11416E-01    .44622E-01   -.26816E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.994046
  alpha      = 2.89226
  Normalizat = 1.11318
  Prefactor  = 0.870057
 **********
 **   18 **HESSE 
 **********

 FCN=   27925.03     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99405        1.2377        .96929E-05   -1.5688    
   2  alpha         2.8923        .83598        .16390E-01    .15755    
   3  Normalizat    1.1132        .13769        .36869E-03   -.89330    
   4  Prefactor     .87006        .51163E-01    .15601E-03   -.97195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.34032e-08
Minuit parameter uncertainties:
  1  1.2377
  2  0.852837
  3  0.137735
  4  0.051166
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) = 27925.0256717
delta logL = 0.769513581068

Extracting fit parameters...

4FGL J2325.2+3957
   Spectrum: LogParabola
467         norm:  9.940e-01  1.238e+00  0.000e+00  1.000e+06 ( 1.000e-12)
468        alpha:  2.892e+00  8.528e-01  0.000e+00  5.000e+00 ( 1.000e+00)
469         beta:  1.156e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
470           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  8.701e-01  5.117e-02  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.113e+00  1.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.75
Ra Dec: 351.315 39.954
Photon Index (Free Index): 2.89 +/- 0.85
Photon Flux (Free Index): 4.42e-08 +/- 3.48e-08
Energy Flux (Free Index): 1.07e-05 +/- 6.52e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/33488627/cmap_HighResolution_806284801_806889601_4FGL_J2325.2+3957_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.52e-05', comment='SUCCESS', photon_flux='1.25e-08', energy_flux2='1.07e-05', photon_flux_error='1.15e-08', dlogl='7.70e-01', energy_flux='8.08e-06', photon_flux2='4.42e-08', job_status='DONE', time_completed='2026-07-28 21:11:28.430838', photon_index_error2='0.85', photon_index2='2.89', ts='2.18', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='3.91e-08', energy_flux_error2='6.52e-06', EG='1.14', time_epoch_completed='1785298288.43', return_code='0', job_id='33488627', GAL2='0.87', EG2='1.11', return_code2='0', energy_flux_error='7.39e-06', photon_flux_error2='3.48e-08', ts2='3.75', photon_index='1.99' WHERE bin_id='938' AND source_name='4FGL J2325.2+3957' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 21:11:28 PDT 2026

