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


Performing analysis on: 4FGL_J2320.8-0823_daily_bin2173
RA = 350.223, Dec = -8.3918
tmin = 802569601, tmax = 802828801
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='32119186', job_status='RUN', time_executed='2026-07-17 21:57:27.631738', time_epoch_executed='1784350647.63' WHERE source_name='4FGL J2320.8-0823' and cadence='daily' and bin_id='2173'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32119186

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32119186/ft1_4FGL_J2320.8-0823_daily_bin2173.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32119186/ft2_4FGL_J2320.8-0823_daily_bin2173.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32119186/ft1_4FGL_J2320.8-0823_daily_bin2173.fits outfile=/lscratch/kocevski/32119186/ft1_filteredMKT_4FGL_J2320.8-0823_daily_bin2173.fits ra=350.223 dec=-8.3918 rad=12.0 tmin=802569601.0 tmax=802828801.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 4.26
user 3.34
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32119186/ft2_4FGL_J2320.8-0823_daily_bin2173.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32119186/ft2_4FGL_J2320.8-0823_daily_bin2173.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/32119186/ft1_filteredMKT_4FGL_J2320.8-0823_daily_bin2173.fits evtable="EVENTS" outfile="/lscratch/kocevski/32119186/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 758

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32119186/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32119186/ft2_4FGL_J2320.8-0823_daily_bin2173.fits sctable="SC_DATA" ou/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)
Done.

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

Extracting fit parameters...

4FGL J2320.8-0823
   Spectrum: PowerLaw
360    Prefactor:  3.882e+01  3.672e+01  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  2.648e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
362        Scale:  6.667e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  6.995e-01  1.193e-01  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  1.218e+00  1.503e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.48
Ra Dec: 350.223 -8.392
Photon Index (Fixed Index): 2.65 +/- 0.00
Photon Flux (Fixed Index): 3.58e-08 +/- 3.39e-08
Energy Flux (Fixed Index): 9.00e-06 +/- 8.51e-06

TS (Fixed Index): 1.48
Ra Dec: 350.223 -8.392
Photon Flux Upper Limit: 1.06085648361e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00832617136885 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32118842/likelihoodResults_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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) = 8164.30082402
delta logL = 0.648721683217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8163.90631331
delta logL = 1.04323239062

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31373E-03   1.0000          .0000       .10000E+07
     2 'Index     '    9.9998       1.0000          .0000       10.000    
     3 'Normalizat'    1.1671       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73828       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8163.906     FROM MIGRAD    STATUS=CONVERGED    181 CALLS      624 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31352E-03    .22604E-03    .26152E-04** at limit **
   2  Index        10.0000        .48910        .50000    ** at limit **
   3  Normalizat    1.1670        .15217        .52358E-01    .58319E-04
   4  Prefactor     .73847        .11969        .42909E-01   -.14424E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000313519
  Index      = 10
  Normalizat = 1.16702
  Prefactor  = 0.738473
 **********
 **   18 **HESSE 
 **********

 FCN=   8163.906     FROM HESSE     STATUS=OK            37 CALLS      661 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31352E-03    .25918E-03    .10690E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        .87296        .37062        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1670        .17571        .23149E-03   -.87628    
   4  Prefactor     .73847        .14006        .23084E-03   -1.0204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.91807e-09
Minuit parameter uncertainties:
  1  0.000259182
  2  2.82262e-05
  3  0.175794
  4  0.140123
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) = 8163.90630754
delta logL = 1.04323816277

Extracting fit parameters...

4FGL J2320.8-0823
   Spectrum: PowerLaw
360    Prefactor:  3.135e-04  2.592e-04  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  1.000e+01  2.823e-05  0.000e+00  1.000e+01 (-1.000e+00)
362        Scale:  6.667e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  7.385e-01  1.401e-01  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  1.167e+00  1.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.73
Ra Dec: 350.223 -8.392
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 6.24e-08 +/- 5.00e-08
Energy Flux (Free Index): 6.98e-06 +/- 5.62e-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/32118842/cmap_HighResolution_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.33e-03', comment='SUCCESS', photon_flux='3.58e-08', energy_flux2='6.98e-06', photon_flux_error='3.39e-08', dlogl='1.04e+00', energy_flux='9.00e-06', photon_flux2='6.24e-08', job_status='DONE', time_completed='2026-07-17 22:00:38.221309', photon_index_error2='0.00', photon_index2='10.00', ts='1.48', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='5.62e-06', EG='1.22', time_epoch_completed='1784350838.22', return_code='0', job_id='32118842', GAL2='0.74', EG2='1.17', return_code2='0', energy_flux_error='8.51e-06', photon_flux_error2='5.00e-08', ts2='3.73', photon_index='2.65' WHERE bin_id='2173' AND source_name='4FGL J2320.8-0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 22:00:38 PDT 2026


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

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


Performing analysis on: 4FGL_J2320.8-0823_daily_bin2173
RA = 350.223, Dec = -8.3918
tmin = 802569601, tmax = 802828801
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='32119197', job_status='RUN', time_executed='2026-07-17 21:58:19.764372', time_epoch_executed='1784350699.76' WHERE source_name='4FGL J2320.8-0823' and cadence='daily' and bin_id='2173'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32119197

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32119197/ft1_4FGL_J2320.8-0823_daily_bin2173.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32119197/ft2_4FGL_J2320.8-0823_daily_bin2173.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32119197/ft1_4FGL_J2320.8-0823_daily_bin2173.fits outfile=/lscratch/kocevski/32119197/ft1_filteredMKT_4FGL_J2320.8-0823_daily_bin2173.fits ra=350.223 dec=-8.3918 rad=12.0 tmin=802569601.0 tmax=802828801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.57
user 2.65
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32119197/ft2_4FGL_J2320.8-0823_daily_bin2173.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32119197/ft2_4FGL_J2320.8-0823_daily_bin2173.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/32119197/ft1_filteredMKT_4FGL_J2320.8-0823_daily_bin2173.fits evtable="EVENTS" outfile="/lscratch/kocevski/32119197/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 758

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32119197/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32119197/ft2_4FGL_J2320.8-0823_daily_bin2173.fits sctable="SC_DATA" ounumber of points = 7429
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2320.8-0823_daily_bin2173
RA = 350.223, Dec = -8.3918
tmin = 802569601, tmax = 802828801
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='32119263', job_status='RUN', time_executed='2026-07-17 21:58:27.968466', time_epoch_executed='1784350707.97' WHERE source_name='4FGL J2320.8-0823' and cadence='daily' and bin_id='2173'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32119263

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32119263/ft1_4FGL_J2320.8-0823_daily_bin2173.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32119263/ft2_4FGL_J2320.8-0823_daily_bin2173.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32119263/ft1_4FGL_J2320.8-0823_daily_bin2173.fits outfile=/lscratch/kocevski/32119263/ft1_filteredMKT_4FGL_J2320.8-0823_daily_bin2173.fits ra=350.223 dec=-8.3918 rad=12.0 tmin=802569601.0 tmax=802828801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.66
user 2.74
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32119263/ft2_4FGL_J2320.8-0823_daily_bin2173.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32119263/ft2_4FGL_J2320.8-0823_daily_bin2173.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/32119263/ft1_filteredMKT_4FGL_J2320.8-0823_daily_bin2173.fits evtable="EVENTS" outfile="/lscratch/kocevski/32119263/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 758

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32119263/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32119263/ft2_4FGL_J2320.8-0823_daily_bin2173.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32119186/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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/32119186/ft2_4FGL_J2320.8-0823_daily_bin2173.fits
.....................!
real 8.40
user 7.57
sys 0.17

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32119186/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits evtable="EVENTS" scfile=/lscratch/kocevski/32119186/ft2_4FGL_J2320.8-0823_daily_bin2173.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32119186/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits outfile=/lscratch/kocevski/32119186/expmap_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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/32119186/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits
.....................!
real 74.89
user 69.54
sys 4.29

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

Setting source of interest to:
4FGL J2320.8-0823 @ 350.223 -8.3918

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32119186/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits scfile=/lscratch/kocevski/32119186/ft2_4FGL_J2320.8-0823_daily_bin2173.fits outfile=/lscratch/kocevski/32119186/cmap_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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=350.223 yref=-8.3918 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.20
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32119186/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits scfile=/lscratch/kocevski/32119186/ft2_4FGL_J2320.8-0823_daily_bin2173.fits outfile=/lscratch/kocevski/32119186/cmap_HighResolution_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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=350.223 yref=-8.3918 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.27
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32119186/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits evtable="EVENTS" scfile=/lscratch/kocevski/32119186/ft2_4FGL_J2320.8-0823_daily_bin2173.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32119186/Model_4FGL_J2320.8-0823_daily_bin2173.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALnumber of points = 7429
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2320.8-0823_daily_bin2173
RA = 350.223, Dec = -8.3918
tmin = 802569601, tmax = 802828801
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='32119325', job_status='RUN', time_executed='2026-07-17 21:59:22.175392', time_epoch_executed='1784350762.18' WHERE source_name='4FGL J2320.8-0823' and cadence='daily' and bin_id='2173'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32119325

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32119325/ft1_4FGL_J2320.8-0823_daily_bin2173.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32119325/ft2_4FGL_J2320.8-0823_daily_bin2173.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32119325/ft1_4FGL_J2320.8-0823_daily_bin2173.fits outfile=/lscratch/kocevski/32119325/ft1_filteredMKT_4FGL_J2320.8-0823_daily_bin2173.fits ra=350.223 dec=-8.3918 rad=12.0 tmin=802569601.0 tmax=802828801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.24
user 2.29
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32119325/ft2_4FGL_J2320.8-0823_daily_bin2173.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32119325/ft2_4FGL_J2320.8-0823_daily_bin2173.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/32119325/ft1_filteredMKT_4FGL_J2320.8-0823_daily_bin2173.fits evtable="EVENTS" outfile="/lscratch/kocevski/32119325/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 758

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32119325/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32119325/ft2_4FGL_J2320.8-0823_daily_bin2173.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32119197/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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/32119197/ft2_4FGL_J2320.8-0823_daily_bin2173.fits
.....................!
real 8.91
user 7.92
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32119197/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits evtable="EVENTS" scfile=/lscratch/kocevski/32119197/ft2_4FGL_J2320.8-0823_daily_bin2173.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32119197/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits outfile=/lscratch/kocevski/32119197/expmap_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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/32119197/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits
.....................!
real 71.08
user 65.65
sys 4.17

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

Setting source of interest to:
4FGL J2320.8-0823 @ 350.223 -8.3918

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32119197/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits scfile=/lscratch/kocevski/32119197/ft2_4FGL_J2320.8-0823_daily_bin2173.fits outfile=/lscratch/kocevski/32119197/cmap_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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=350.223 yref=-8.3918 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.95
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32119197/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits scfile=/lscratch/kocevski/32119197/ft2_4FGL_J2320.8-0823_daily_bin2173.fits outfile=/lscratch/kocevski/32119197/cmap_HighResolution_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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=350.223 yref=-8.3918 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.98
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32119197/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits evtable="EVENTS" scfile=/lscratch/kocevski/32119197/ft2_4FGL_J2320.8-0823_daily_bin2173.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32119197/Model_4FGL_J2320.8-0823_daily_bin2173.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALtfile=/lscratch/kocevski/32119263/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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/32119263/ft2_4FGL_J2320.8-0823_daily_bin2173.fits
.....................!
real 8.96
user 8.02
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32119263/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits evtable="EVENTS" scfile=/lscratch/kocevski/32119263/ft2_4FGL_J2320.8-0823_daily_bin2173.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32119263/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits outfile=/lscratch/kocevski/32119263/expmap_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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/32119263/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits
.....................!
real 71.12
user 65.96
sys 4.12

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

Setting source of interest to:
4FGL J2320.8-0823 @ 350.223 -8.3918

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32119263/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits scfile=/lscratch/kocevski/32119263/ft2_4FGL_J2320.8-0823_daily_bin2173.fits outfile=/lscratch/kocevski/32119263/cmap_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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=350.223 yref=-8.3918 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.94
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32119263/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits scfile=/lscratch/kocevski/32119263/ft2_4FGL_J2320.8-0823_daily_bin2173.fits outfile=/lscratch/kocevski/32119263/cmap_HighResolution_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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=350.223 yref=-8.3918 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.96
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32119263/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits evtable="EVENTS" scfile=/lscratch/kocevski/32119263/ft2_4FGL_J2320.8-0823_daily_bin2173.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32119263/Model_4FGL_J2320.8-0823_daily_bin2173.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/32119186/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits.....................!
real 30.63
user 28.45
sys 0.86

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32119186/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits', '/lscratch/kocevski/32119186/ft2_4FGL_J2320.8-0823_daily_bin2173.fits', expMap='/lscratch/kocevski/32119186/expmap_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits', expCube='/lscratch/kocevski/32119186/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32119186/Model_4FGL_J2320.8-0823_daily_bin2173.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2320.8-0823'

4FGL J2320.8-0823
   Spectrum: PowerLaw
360    Prefactor:  7.383e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  2.648e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
362        Scale:  6.667e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32119186/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits
Spacecraft file(s): /lscratch/kocevski/32119186/ft2_4FGL_J2320.8-0823_daily_bin2173.fits
Exposure map: /lscratch/kocevski/32119186/expmap_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits
Exposure cube: /lscratch/kocevski/32119186/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32119186/Model_4FGL_J2320.8-0823_daily_bin2173.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) = 8164.96648045

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73499E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .26730E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .58860E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .34611E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8218       1.0000          .0000       .10000E+07
     6 'Prefactor '    11.427       1.0000          .0000       .10000E+07
     7 'norm      '    41.298       1.0000          .0000       .10000E+07
     8 'Prefactor '    .52085E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    38.342       1.0000          .0000       .10000E+07
    10 'Prefactor '    .88683E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .61238E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .55504       1.0000          .0000       .10000E+07
    13 'norm      '    .87824E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .80255E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .11771E-02   1.0000          .0000       .10000E+07
    16 'norm      '    7.6650       1.0000          .0000       .10000E+07
    17 'Prefactor '    .79529       1.0000          .0000       .10000E+07
    18 'norm      '    .66613E-09   1.0000          .0000       .10000E+07
    19 'norm      '    6.9380       1.0000          .0000       .10000E+07
    20 'Prefactor '    .47103E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2180       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .69930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8164.950     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     1795 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18319E-08    4.8282        .26415E-06** at limit **
   2  Prefactor      .0000        22.551        .38722E-06** at limit **
   3  Prefactor     .28311E-08    5.7954        .14626E-06** at limit **
   4  norm           .0000        .58856       -.16466E-07** at limit **
   5  Prefactor     4.7860        8.6792        .13880E-06   -.28314E-02
   6  Prefactor     11.463        6.8968        .43553E-07    .39233E-01
   7  norm          41.313        1.5317        .31931E-08   -.22122E-01
   8  Prefactor      .0000        7.7133        .14008E-06** at limit **
   9  Prefactor     38.820        33.001       -.52896E-07   -.42979E-01
  10  Prefactor      .0000        3.9905        .25433E-06** at limit **
  11  Prefactor      .0000        3.3268        .56259E-07** at limit **
  12  norm          .55504        .73462       -.55931E-07   -.80287E-04
  13  norm           .0000        1.5675       -.90204E-07** at limit **
  14  Prefactor     .10341E-03    100.64        .11959E-06** at limit **
  15  Prefactor     .35527E-08    13.948        .65015E-07** at limit **
  16  norm          7.6206        3.3477       -.76733E-07    .87357E-02
  17  Prefactor     .77196        2.7711       -.45308E-07    .14326E-03
  18  norm           .0000        .10656       -.66112E-07** at limit **
  19  norm          6.9380        3.0311       -.13710E-07    .18684E-03
  20  Prefactor     .51958E-07    26.365       -.52907E-06** at limit **
  21  Normalizat    1.2177        .17367        .39122E-06    .46056E-04
  22  Prefactor     .69952        .13628        .16936E-05    .50223E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.83187e-09
  Prefactor  = 0
  Prefactor  = 2.83107e-09
  norm       = 0
  Prefactor  = 4.78601
  Prefactor  = 11.4629
  norm       = 41.3133
  Prefactor  = 0
  Prefactor  = 38.8199
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.55504
  norm       = 0
  Prefactor  = 0.000103406
  Prefactor  = 3.55271e-09
  norm       = 7.62059
  Prefactor  = 0.771964
  norm       = 0
  norm       = 6.93804
  Prefactor  = 5.19584e-08
  Normalizat = 1.21774
  Prefactor  = 0.699521
number of points = 7429
number of fields = 31
RA_SUN column already exists. File will not be modified.
tfile=/lscratch/kocevski/32119325/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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/32119325/ft2_4FGL_J2320.8-0823_daily_bin2173.fits
.....................!
real 7.60
user 6.74
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32119325/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits evtable="EVENTS" scfile=/lscratch/kocevski/32119325/ft2_4FGL_J2320.8-0823_daily_bin2173.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32119325/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits outfile=/lscratch/kocevski/32119325/expmap_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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/32119325/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits
.....................!
real 59.96
user 55.50
sys 3.55

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

Setting source of interest to:
4FGL J2320.8-0823 @ 350.223 -8.3918

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32119325/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits scfile=/lscratch/kocevski/32119325/ft2_4FGL_J2320.8-0823_daily_bin2173.fits outfile=/lscratch/kocevski/32119325/cmap_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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=350.223 yref=-8.3918 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.98
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32119325/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits scfile=/lscratch/kocevski/32119325/ft2_4FGL_J2320.8-0823_daily_bin2173.fits outfile=/lscratch/kocevski/32119325/cmap_HighResolution_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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=350.223 yref=-8.3918 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.85
user 0.20
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32119325/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits evtable="EVENTS" scfile=/lscratch/kocevski/32119325/ft2_4FGL_J2320.8-0823_daily_bin2173.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32119325/Model_4FGL_J2320.8-0823_daily_bin2173.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALDone.


Performing analysis on: 4FGL_J2320.8-0823_daily_bin2173
RA = 350.223, Dec = -8.3918
tmin = 802569601, tmax = 802828801
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='32119412', job_status='RUN', time_executed='2026-07-17 22:00:41.715858', time_epoch_executed='1784350841.72' WHERE source_name='4FGL J2320.8-0823' and cadence='daily' and bin_id='2173'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32119412

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32119412/ft1_4FGL_J2320.8-0823_daily_bin2173.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32119412/ft2_4FGL_J2320.8-0823_daily_bin2173.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32119412/ft1_4FGL_J2320.8-0823_daily_bin2173.fits outfile=/lscratch/kocevski/32119412/ft1_filteredMKT_4FGL_J2320.8-0823_daily_bin2173.fits ra=350.223 dec=-8.3918 rad=12.0 tmin=802569601.0 tmax=802828801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.63
user 2.38
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32119412/ft2_4FGL_J2320.8-0823_daily_bin2173.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32119412/ft2_4FGL_J2320.8-0823_daily_bin2173.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/32119412/ft1_filteredMKT_4FGL_J2320.8-0823_daily_bin2173.fits evtable="EVENTS" outfile="/lscratch/kocevski/32119412/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.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.18
user 0.24
sys 0.16

Number of photons that the gtmktime cut: 758

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32119412/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32119412/ft2_4FGL_J2320.8-0823_daily_bin2173.fits sctable="SC_DATA" ou **********
 **   18 **HESSE 
 **********

 FCN=   8164.950     FROM HESSE     STATUS=OK           398 CALLS     2193 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18319E-08    4.9362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        22.535        .16629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .28311E-08    6.0105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .32697        .18383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.7860        12.171        .45790E-03   -1.5664    
   6  Prefactor     11.463        10.146        .29612E-03   -1.5640    
   7  norm          41.313        12.688        .15562E-03   -1.5579    
   8  Prefactor      .0000        7.7874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     38.820        36.722        .16151E-03   -1.5583    
  10  Prefactor      .0000        3.9933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        3.3208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55504        .75163        .73355E-03   -1.5693    
  13  norm           .0000        1.5671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10341E-03    39.909        .18058E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .35527E-08    13.944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.6206        22.523        .36197E-03   -1.5653    
  17  Prefactor     .77196        3.0040        .53287E-03   -1.5690    
  18  norm           .0000        .10603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.9380        3.0390        .38065E-03   -1.5655    
  20  Prefactor     .51958E-07    25.852        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2177        .15022        .51452E-01   -.86056    
  22  Prefactor     .69952        .11928        .42392E-01   -1.0355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09578e-07
Minuit parameter uncertainties:
  1  0.000191488
  2  3.48706e-05
  3  0.000260922
  4  4.45318e-07
  5  12.1713
  6  10.1461
  7  12.6884
  8  1.82099e-05
  9  36.7227
  10  1.72005e-05
  11  1.18323e-07
  12  0.751628
  13  2.00542e-07
  14  0.128482
  15  0.000444191
  16  22.5233
  17  3.00402
  18  3.9529e-07
  19  3.03901
  20  0.0023174
  21  0.150273
  22  0.119327
_V02
Working on...
/lscratch/kocevski/32119197/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits.....................!
real 29.80
user 27.71
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32119197/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits', '/lscratch/kocevski/32119197/ft2_4FGL_J2320.8-0823_daily_bin2173.fits', expMap='/lscratch/kocevski/32119197/expmap_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits', expCube='/lscratch/kocevski/32119197/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32119197/Model_4FGL_J2320.8-0823_daily_bin2173.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2320.8-0823'

4FGL J2320.8-0823
   Spectrum: PowerLaw
360    Prefactor:  7.383e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  2.648e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
362        Scale:  6.667e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32119197/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits
Spacecraft file(s): /lscratch/kocevski/32119197/ft2_4FGL_J2320.8-0823_daily_bin2173.fits
Exposure map: /lscratch/kocevski/32119197/expmap_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits
Exposure cube: /lscratch/kocevski/32119197/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32119197/Model_4FGL_J2320.8-0823_daily_bin2173.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) = 8164.96648045

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73499E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .26730E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .58860E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .34611E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8218       1.0000          .0000       .10000E+07
     6 'Prefactor '    11.427       1.0000          .0000       .10000E+07
     7 'norm      '    41.298       1.0000          .0000       .10000E+07
     8 'Prefactor '    .52085E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    38.342       1.0000          .0000       .10000E+07
    10 'Prefactor '    .88683E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .61238E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .55504       1.0000          .0000       .10000E+07
    13 'norm      '    .87824E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .80255E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .11771E-02   1.0000          .0000       .10000E+07
    16 'norm      '    7.6650       1.0000          .0000       .10000E+07
    17 'Prefactor '    .79529       1.0000          .0000       .10000E+07
    18 'norm      '    .66613E-09   1.0000          .0000       .10000E+07
    19 'norm      '    6.9380       1.0000          .0000       .10000E+07
    20 'Prefactor '    .47103E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2180       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .69930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8164.950     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     1795 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18319E-08    4.8282        .26415E-06** at limit **
   2  Prefactor      .0000        22.551        .38722E-06** at limit **
   3  Prefactor     .28311E-08    5.7954        .14626E-06** at limit **
   4  norm           .0000        .58856       -.16466E-07** at limit **
   5  Prefactor     4.7860        8.6792        .13880E-06   -.28314E-02
   6  Prefactor     11.463        6.8968        .43553E-07    .39233E-01
   7  norm          41.313        1.5317        .31931E-08   -.22122E-01
   8  Prefactor      .0000        7.7133        .14008E-06** at limit **
   9  Prefactor     38.820        33.001       -.52896E-07   -.42979E-01
  10  Prefactor      .0000        3.9905        .25433E-06** at limit **
  11  Prefactor      .0000        3.3268        .56259E-07** at limit **
  12  norm          .55504        .73462       -.55931E-07   -.80287E-04
  13  norm           .0000        1.5675       -.90204E-07** at limit **
  14  Prefactor     .10341E-03    100.64        .11959E-06** at limit **
  15  Prefactor     .35527E-08    13.948        .65015E-07** at limit **
  16  norm          7.6206        3.3477       -.76733E-07    .87357E-02
  17  Prefactor     .77196        2.7711       -.45308E-07    .14326E-03
  18  norm           .0000        .10656       -.66112E-07** at limit **
  19  norm          6.9380        3.0311       -.13710E-07    .18684E-03
  20  Prefactor     .51958E-07    26.365       -.52907E-06** at limit **
  21  Normalizat    1.2177        .17367        .39122E-06    .46056E-04
  22  Prefactor     .69952        .13628        .16936E-05    .50223E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.83187e-09
  Prefactor  = 0
  Prefactor  = 2.83107e-09
  norm       = 0
  Prefactor  = 4.78601
  Prefactor  = 11.4629
  norm       = 41.3133
  Prefactor  = 0
  Prefactor  = 38.8199
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.55504
  norm       = 0
  Prefactor  = 0.000103406
  Prefactor  = 3.55271e-09
  norm       = 7.62059
  Prefactor  = 0.771964
  norm       = 0
  norm       = 6.93804
  Prefactor  = 5.19584e-08
  Normalizat = 1.21774
  Prefactor  = 0.699521
Done.

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

Extracting fit parameters...

4FGL J2320.8-0823
   Spectrum: PowerLaw
360    Prefactor:  3.882e+01  3.672e+01  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  2.648e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
362        Scale:  6.667e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  6.995e-01  1.193e-01  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  1.218e+00  1.503e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.48
Ra Dec: 350.223 -8.392
Photon Index (Fixed Index): 2.65 +/- 0.00
Photon Flux (Fixed Index): 3.58e-08 +/- 3.39e-08
Energy Flux (Fixed Index): 9.00e-06 +/- 8.51e-06

TS (Fixed Index): 1.48
Ra Dec: 350.223 -8.392
Photon Flux Upper Limit: 1.06085648361e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00832617136885 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32119186/likelihoodResults_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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) = 8164.30082402
delta logL = 0.648721683217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8163.90631331
delta logL = 1.04323239062

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31373E-03   1.0000          .0000       .10000E+07
     2 'Index     '    9.9998       1.0000          .0000       10.000    
     3 'Normalizat'    1.1671       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73828       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8163.906     FROM MIGRAD    STATUS=CONVERGED    181 CALLS      624 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31352E-03    .22604E-03    .26152E-04** at limit **
   2  Index        10.0000        .48910        .50000    ** at limit **
   3  Normalizat    1.1670        .15217        .52358E-01    .58319E-04
   4  Prefactor     .73847        .11969        .42909E-01   -.14424E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000313519
  Index      = 10
  Normalizat = 1.16702
  Prefactor  = 0.738473
 **********
 **   18 **HESSE 
 **********

 FCN=   8164.950     FROM HESSE     STATUS=OK           398 CALLS     2193 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18319E-08    4.9362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        22.535        .16629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .28311E-08    6.0105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .32697        .18383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.7860        12.171        .45790E-03   -1.5664    
   6  Prefactor     11.463        10.146        .29612E-03   -1.5640    
   7  norm          41.313        12.688        .15562E-03   -1.5579    
   8  Prefactor      .0000        7.7874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     38.820        36.722        .16151E-03   -1.5583    
  10  Prefactor      .0000        3.9933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        3.3208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55504        .75163        .73355E-03   -1.5693    
  13  norm           .0000        1.5671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10341E-03    39.909        .18058E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .35527E-08    13.944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.6206        22.523        .36197E-03   -1.5653    
  17  Prefactor     .77196        3.0040        .53287E-03   -1.5690    
  18  norm           .0000        .10603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.9380        3.0390        .38065E-03   -1.5655    
  20  Prefactor     .51958E-07    25.852        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2177        .15022        .51452E-01   -.86056    
  22  Prefactor     .69952        .11928        .42392E-01   -1.0355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09578e-07
Minuit parameter uncertainties:
  1  0.000191488
  2  3.48706e-05
  3  0.000260922
  4  4.45318e-07
  5  12.1713
  6  10.1461
  7  12.6884
  8  1.82099e-05
  9  36.7227
  10  1.72005e-05
  11  1.18323e-07
  12  0.751628
  13  2.00542e-07
  14  0.128482
  15  0.000444191
  16  22.5233
  17  3.00402
  18  3.9529e-07
  19  3.03901
  20  0.0023174
  21  0.150273
  22  0.119327
 **********
 **   18 **HESSE 
 **********

 FCN=   8163.906     FROM HESSE     STATUS=OK            37 CALLS      661 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31352E-03    .25918E-03    .10690E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        .87296        .37062        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1670        .17571        .23149E-03   -.87628    
   4  Prefactor     .73847        .14006        .23084E-03   -1.0204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.91807e-09
Minuit parameter uncertainties:
  1  0.000259182
  2  2.82262e-05
  3  0.175794
  4  0.140123
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) = 8163.90630754
delta logL = 1.04323816277

Extracting fit parameters...

4FGL J2320.8-0823
   Spectrum: PowerLaw
360    Prefactor:  3.135e-04  2.592e-04  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  1.000e+01  2.823e-05  0.000e+00  1.000e+01 (-1.000e+00)
362        Scale:  6.667e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  7.385e-01  1.401e-01  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  1.167e+00  1.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.73
Ra Dec: 350.223 -8.392
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 6.24e-08 +/- 5.00e-08
Energy Flux (Free Index): 6.98e-06 +/- 5.62e-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/32119186/cmap_HighResolution_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.33e-03', comment='SUCCESS', photon_flux='3.58e-08', energy_flux2='6.98e-06', photon_flux_error='3.39e-08', dlogl='1.04e+00', energy_flux='9.00e-06', photon_flux2='6.24e-08', job_status='DONE', time_completed='2026-07-17 22:05:12.916842', photon_index_error2='0.00', photon_index2='10.00', ts='1.48', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='5.62e-06', EG='1.22', time_epoch_completed='1784351112.92', return_code='0', job_id='32119186', GAL2='0.74', EG2='1.17', return_code2='0', energy_flux_error='8.51e-06', photon_flux_error2='5.00e-08', ts2='3.73', photon_index='2.65' WHERE bin_id='2173' AND source_name='4FGL J2320.8-0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 22:05:13 PDT 2026

_V02
Working on...
/lscratch/kocevski/32119263/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits.....................!
real 30.05
user 28.31
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32119263/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits', '/lscratch/kocevski/32119263/ft2_4FGL_J2320.8-0823_daily_bin2173.fits', expMap='/lscratch/kocevski/32119263/expmap_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits', expCube='/lscratch/kocevski/32119263/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32119263/Model_4FGL_J2320.8-0823_daily_bin2173.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2320.8-0823'

4FGL J2320.8-0823
   Spectrum: PowerLaw
360    Prefactor:  7.383e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  2.648e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
362        Scale:  6.667e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32119263/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits
Spacecraft file(s): /lscratch/kocevski/32119263/ft2_4FGL_J2320.8-0823_daily_bin2173.fits
Exposure map: /lscratch/kocevski/32119263/expmap_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits
Exposure cube: /lscratch/kocevski/32119263/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32119263/Model_4FGL_J2320.8-0823_daily_bin2173.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) = 8164.96648045

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73499E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .26730E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .58860E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .34611E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8218       1.0000          .0000       .10000E+07
     6 'Prefactor '    11.427       1.0000          .0000       .10000E+07
     7 'norm      '    41.298       1.0000          .0000       .10000E+07
     8 'Prefactor '    .52085E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    38.342       1.0000          .0000       .10000E+07
    10 'Prefactor '    .88683E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .61238E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .55504       1.0000          .0000       .10000E+07
    13 'norm      '    .87824E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .80255E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .11771E-02   1.0000          .0000       .10000E+07
    16 'norm      '    7.6650       1.0000          .0000       .10000E+07
    17 'Prefactor '    .79529       1.0000          .0000       .10000E+07
    18 'norm      '    .66613E-09   1.0000          .0000       .10000E+07
    19 'norm      '    6.9380       1.0000          .0000       .10000E+07
    20 'Prefactor '    .47103E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2180       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .69930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8164.950     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     1795 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18319E-08    4.8282        .26415E-06** at limit **
   2  Prefactor      .0000        22.551        .38722E-06** at limit **
   3  Prefactor     .28311E-08    5.7954        .14626E-06** at limit **
   4  norm           .0000        .58856       -.16466E-07** at limit **
   5  Prefactor     4.7860        8.6792        .13880E-06   -.28314E-02
   6  Prefactor     11.463        6.8968        .43553E-07    .39233E-01
   7  norm          41.313        1.5317        .31931E-08   -.22122E-01
   8  Prefactor      .0000        7.7133        .14008E-06** at limit **
   9  Prefactor     38.820        33.001       -.52896E-07   -.42979E-01
  10  Prefactor      .0000        3.9905        .25433E-06** at limit **
  11  Prefactor      .0000        3.3268        .56259E-07** at limit **
  12  norm          .55504        .73462       -.55931E-07   -.80287E-04
  13  norm           .0000        1.5675       -.90204E-07** at limit **
  14  Prefactor     .10341E-03    100.64        .11959E-06** at limit **
  15  Prefactor     .35527E-08    13.948        .65015E-07** at limit **
  16  norm          7.6206        3.3477       -.76733E-07    .87357E-02
  17  Prefactor     .77196        2.7711       -.45308E-07    .14326E-03
  18  norm           .0000        .10656       -.66112E-07** at limit **
  19  norm          6.9380        3.0311       -.13710E-07    .18684E-03
  20  Prefactor     .51958E-07    26.365       -.52907E-06** at limit **
  21  Normalizat    1.2177        .17367        .39122E-06    .46056E-04
  22  Prefactor     .69952        .13628        .16936E-05    .50223E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.83187e-09
  Prefactor  = 0
  Prefactor  = 2.83107e-09
  norm       = 0
  Prefactor  = 4.78601
  Prefactor  = 11.4629
  norm       = 41.3133
  Prefactor  = 0
  Prefactor  = 38.8199
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.55504
  norm       = 0
  Prefactor  = 0.000103406
  Prefactor  = 3.55271e-09
  norm       = 7.62059
  Prefactor  = 0.771964
  norm       = 0
  norm       = 6.93804
  Prefactor  = 5.19584e-08
  Normalizat = 1.21774
  Prefactor  = 0.699521
 **********
 **   18 **HESSE 
 **********

 FCN=   8164.950     FROM HESSE     STATUS=OK           398 CALLS     2193 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18319E-08    4.9362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        22.535        .16629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .28311E-08    6.0105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .32697        .18383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.7860        12.171        .45790E-03   -1.5664    
   6  Prefactor     11.463        10.146        .29612E-03   -1.5640    
   7  norm          41.313        12.688        .15562E-03   -1.5579    
   8  Prefactor      .0000        7.7874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     38.820        36.722        .16151E-03   -1.5583    
  10  Prefactor      .0000        3.9933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        3.3208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55504        .75163        .73355E-03   -1.5693    
  13  norm           .0000        1.5671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10341E-03    39.909        .18058E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .35527E-08    13.944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.6206        22.523        .36197E-03   -1.5653    
  17  Prefactor     .77196        3.0040        .53287E-03   -1.5690    
  18  norm           .0000        .10603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.9380        3.0390        .38065E-03   -1.5655    
  20  Prefactor     .51958E-07    25.852        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2177        .15022        .51452E-01   -.86056    
  22  Prefactor     .69952        .11928        .42392E-01   -1.0355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09578e-07
Minuit parameter uncertainties:
  1  0.000191488
  2  3.48706e-05
  3  0.000260922
  4  4.45318e-07
  5  12.1713
  6  10.1461
  7  12.6884
  8  1.82099e-05
  9  36.7227
  10  1.72005e-05
  11  1.18323e-07
  12  0.751628
  13  2.00542e-07
  14  0.128482
  15  0.000444191
  16  22.5233
  17  3.00402
  18  3.9529e-07
  19  3.03901
  20  0.0023174
  21  0.150273
  22  0.119327
_V02
Working on...
/lscratch/kocevski/32119325/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits.....................!
real 24.91
user 23.29
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32119325/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits', '/lscratch/kocevski/32119325/ft2_4FGL_J2320.8-0823_daily_bin2173.fits', expMap='/lscratch/kocevski/32119325/expmap_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits', expCube='/lscratch/kocevski/32119325/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32119325/Model_4FGL_J2320.8-0823_daily_bin2173.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2320.8-0823'

4FGL J2320.8-0823
   Spectrum: PowerLaw
360    Prefactor:  7.383e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  2.648e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
362        Scale:  6.667e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32119325/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits
Spacecraft file(s): /lscratch/kocevski/32119325/ft2_4FGL_J2320.8-0823_daily_bin2173.fits
Exposure map: /lscratch/kocevski/32119325/expmap_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits
Exposure cube: /lscratch/kocevski/32119325/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32119325/Model_4FGL_J2320.8-0823_daily_bin2173.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) = 8164.96648045

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73499E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .26730E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .58860E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .34611E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8218       1.0000          .0000       .10000E+07
     6 'Prefactor '    11.427       1.0000          .0000       .10000E+07
     7 'norm      '    41.298       1.0000          .0000       .10000E+07
     8 'Prefactor '    .52085E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    38.342       1.0000          .0000       .10000E+07
    10 'Prefactor '    .88683E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .61238E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .55504       1.0000          .0000       .10000E+07
    13 'norm      '    .87824E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .80255E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .11771E-02   1.0000          .0000       .10000E+07
    16 'norm      '    7.6650       1.0000          .0000       .10000E+07
    17 'Prefactor '    .79529       1.0000          .0000       .10000E+07
    18 'norm      '    .66613E-09   1.0000          .0000       .10000E+07
    19 'norm      '    6.9380       1.0000          .0000       .10000E+07
    20 'Prefactor '    .47103E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2180       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .69930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8164.950     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     1795 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18319E-08    4.8282        .26415E-06** at limit **
   2  Prefactor      .0000        22.551        .38722E-06** at limit **
   3  Prefactor     .28311E-08    5.7954        .14626E-06** at limit **
   4  norm           .0000        .58856       -.16466E-07** at limit **
   5  Prefactor     4.7860        8.6792        .13880E-06   -.28314E-02
   6  Prefactor     11.463        6.8968        .43553E-07    .39233E-01
   7  norm          41.313        1.5317        .31931E-08   -.22122E-01
   8  Prefactor      .0000        7.7133        .14008E-06** at limit **
   9  Prefactor     38.820        33.001       -.52896E-07   -.42979E-01
  10  Prefactor      .0000        3.9905        .25433E-06** at limit **
  11  Prefactor      .0000        3.3268        .56259E-07** at limit **
  12  norm          .55504        .73462       -.55931E-07   -.80287E-04
  13  norm           .0000        1.5675       -.90204E-07** at limit **
  14  Prefactor     .10341E-03    100.64        .11959E-06** at limit **
  15  Prefactor     .35527E-08    13.948        .65015E-07** at limit **
  16  norm          7.6206        3.3477       -.76733E-07    .87357E-02
  17  Prefactor     .77196        2.7711       -.45308E-07    .14326E-03
  18  norm           .0000        .10656       -.66112E-07** at limit **
  19  norm          6.9380        3.0311       -.13710E-07    .18684E-03
  20  Prefactor     .51958E-07    26.365       -.52907E-06** at limit **
  21  Normalizat    1.2177        .17367        .39122E-06    .46056E-04
  22  Prefactor     .69952        .13628        .16936E-05    .50223E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.83187e-09
  Prefactor  = 0
  Prefactor  = 2.83107e-09
  norm       = 0
  Prefactor  = 4.78601
  Prefactor  = 11.4629
  norm       = 41.3133
  Prefactor  = 0
  Prefactor  = 38.8199
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.55504
  norm       = 0
  Prefactor  = 0.000103406
  Prefactor  = 3.55271e-09
  norm       = 7.62059
  Prefactor  = 0.771964
  norm       = 0
  norm       = 6.93804
  Prefactor  = 5.19584e-08
  Normalizat = 1.21774
  Prefactor  = 0.699521
 **********
 **   18 **HESSE 
 **********

 FCN=   8164.950     FROM HESSE     STATUS=OK           398 CALLS     2193 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18319E-08    4.9362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        22.535        .16629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .28311E-08    6.0105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .32697        .18383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.7860        12.171        .45790E-03   -1.5664    
   6  Prefactor     11.463        10.146        .29612E-03   -1.5640    
   7  norm          41.313        12.688        .15562E-03   -1.5579    
   8  Prefactor      .0000        7.7874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     38.820        36.722        .16151E-03   -1.5583    
  10  Prefactor      .0000        3.9933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        3.3208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55504        .75163        .73355E-03   -1.5693    
  13  norm           .0000        1.5671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10341E-03    39.909        .18058E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .35527E-08    13.944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.6206        22.523        .36197E-03   -1.5653    
  17  Prefactor     .77196        3.0040        .53287E-03   -1.5690    
  18  norm           .0000        .10603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.9380        3.0390        .38065E-03   -1.5655    
  20  Prefactor     .51958E-07    25.852        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2177        .15022        .51452E-01   -.86056    
  22  Prefactor     .69952        .11928        .42392E-01   -1.0355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09578e-07
Minuit parameter uncertainties:
  1  0.000191488
  2  3.48706e-05
  3  0.000260922
  4  4.45318e-07
  5  12.1713
  6  10.1461
  7  12.6884
  8  1.82099e-05
  9  36.7227
  10  1.72005e-05
  11  1.18323e-07
  12  0.751628
  13  2.00542e-07
  14  0.128482
  15  0.000444191
  16  22.5233
  17  3.00402
  18  3.9529e-07
  19  3.03901
  20  0.0023174
  21  0.150273
  22  0.119327
Done.

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

Extracting fit parameters...

4FGL J2320.8-0823
   Spectrum: PowerLaw
360    Prefactor:  3.882e+01  3.672e+01  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  2.648e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
362        Scale:  6.667e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  6.995e-01  1.193e-01  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  1.218e+00  1.503e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.48
Ra Dec: 350.223 -8.392
Photon Index (Fixed Index): 2.65 +/- 0.00
Photon Flux (Fixed Index): 3.58e-08 +/- 3.39e-08
Energy Flux (Fixed Index): 9.00e-06 +/- 8.51e-06

TS (Fixed Index): 1.48
Ra Dec: 350.223 -8.392
Photon Flux Upper Limit: 1.06085648361e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00832617136885 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32119197/likelihoodResults_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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) = 8164.30082402
delta logL = 0.648721683217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8163.90631331
delta logL = 1.04323239062

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31373E-03   1.0000          .0000       .10000E+07
     2 'Index     '    9.9998       1.0000          .0000       10.000    
     3 'Normalizat'    1.1671       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73828       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8163.906     FROM MIGRAD    STATUS=CONVERGED    181 CALLS      624 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31352E-03    .22604E-03    .26152E-04** at limit **
   2  Index        10.0000        .48910        .50000    ** at limit **
   3  Normalizat    1.1670        .15217        .52358E-01    .58319E-04
   4  Prefactor     .73847        .11969        .42909E-01   -.14424E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000313519
  Index      = 10
  Normalizat = 1.16702
  Prefactor  = 0.738473
 **********
 **   18 **HESSE 
 **********

 FCN=   8163.906     FROM HESSE     STATUS=OK            37 CALLS      661 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31352E-03    .25918E-03    .10690E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        .87296        .37062        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1670        .17571        .23149E-03   -.87628    
   4  Prefactor     .73847        .14006        .23084E-03   -1.0204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.91807e-09
Minuit parameter uncertainties:
  1  0.000259182
  2  2.82262e-05
  3  0.175794
  4  0.140123
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) = 8163.90630754
delta logL = 1.04323816277

Extracting fit parameters...

4FGL J2320.8-0823
   Spectrum: PowerLaw
360    Prefactor:  3.135e-04  2.592e-04  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  1.000e+01  2.823e-05  0.000e+00  1.000e+01 (-1.000e+00)
362        Scale:  6.667e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  7.385e-01  1.401e-01  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  1.167e+00  1.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.73
Ra Dec: 350.223 -8.392
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 6.24e-08 +/- 5.00e-08
Energy Flux (Free Index): 6.98e-06 +/- 5.62e-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/32119197/cmap_HighResolution_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.33e-03', comment='SUCCESS', photon_flux='3.58e-08', energy_flux2='6.98e-06', photon_flux_error='3.39e-08', dlogl='1.04e+00', energy_flux='9.00e-06', photon_flux2='6.24e-08', job_status='DONE', time_completed='2026-07-17 22:05:56.944461', photon_index_error2='0.00', photon_index2='10.00', ts='1.48', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='5.62e-06', EG='1.22', time_epoch_completed='1784351156.94', return_code='0', job_id='32119197', GAL2='0.74', EG2='1.17', return_code2='0', energy_flux_error='8.51e-06', photon_flux_error2='5.00e-08', ts2='3.73', photon_index='2.65' WHERE bin_id='2173' AND source_name='4FGL J2320.8-0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 22:05:57 PDT 2026

tfile=/lscratch/kocevski/32119412/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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/32119412/ft2_4FGL_J2320.8-0823_daily_bin2173.fits
.....................!
real 10.60
user 9.44
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32119412/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits evtable="EVENTS" scfile=/lscratch/kocevski/32119412/ft2_4FGL_J2320.8-0823_daily_bin2173.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32119412/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits outfile=/lscratch/kocevski/32119412/expmap_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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/32119412/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits
.....................!
real 76.91
user 71.13
sys 4.49

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

Setting source of interest to:
4FGL J2320.8-0823 @ 350.223 -8.3918

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32119412/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits scfile=/lscratch/kocevski/32119412/ft2_4FGL_J2320.8-0823_daily_bin2173.fits outfile=/lscratch/kocevski/32119412/cmap_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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=350.223 yref=-8.3918 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.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32119412/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits scfile=/lscratch/kocevski/32119412/ft2_4FGL_J2320.8-0823_daily_bin2173.fits outfile=/lscratch/kocevski/32119412/cmap_HighResolution_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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=350.223 yref=-8.3918 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.34
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32119412/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits evtable="EVENTS" scfile=/lscratch/kocevski/32119412/ft2_4FGL_J2320.8-0823_daily_bin2173.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32119412/Model_4FGL_J2320.8-0823_daily_bin2173.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GADone.

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

Extracting fit parameters...

4FGL J2320.8-0823
   Spectrum: PowerLaw
360    Prefactor:  3.882e+01  3.672e+01  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  2.648e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
362        Scale:  6.667e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  6.995e-01  1.193e-01  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  1.218e+00  1.503e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.48
Ra Dec: 350.223 -8.392
Photon Index (Fixed Index): 2.65 +/- 0.00
Photon Flux (Fixed Index): 3.58e-08 +/- 3.39e-08
Energy Flux (Fixed Index): 9.00e-06 +/- 8.51e-06

TS (Fixed Index): 1.48
Ra Dec: 350.223 -8.392
Photon Flux Upper Limit: 1.06085648361e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00832617136885 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32119263/likelihoodResults_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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) = 8164.30082402
delta logL = 0.648721683217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8163.90631331
delta logL = 1.04323239062

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31373E-03   1.0000          .0000       .10000E+07
     2 'Index     '    9.9998       1.0000          .0000       10.000    
     3 'Normalizat'    1.1671       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73828       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8163.906     FROM MIGRAD    STATUS=CONVERGED    181 CALLS      624 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31352E-03    .22604E-03    .26152E-04** at limit **
   2  Index        10.0000        .48910        .50000    ** at limit **
   3  Normalizat    1.1670        .15217        .52358E-01    .58319E-04
   4  Prefactor     .73847        .11969        .42909E-01   -.14424E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000313519
  Index      = 10
  Normalizat = 1.16702
  Prefactor  = 0.738473
 **********
 **   18 **HESSE 
 **********

 FCN=   8163.906     FROM HESSE     STATUS=OK            37 CALLS      661 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31352E-03    .25918E-03    .10690E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        .87296        .37062        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1670        .17571        .23149E-03   -.87628    
   4  Prefactor     .73847        .14006        .23084E-03   -1.0204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.91807e-09
Minuit parameter uncertainties:
  1  0.000259182
  2  2.82262e-05
  3  0.175794
  4  0.140123
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) = 8163.90630754
delta logL = 1.04323816277

Extracting fit parameters...

4FGL J2320.8-0823
   Spectrum: PowerLaw
360    Prefactor:  3.135e-04  2.592e-04  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  1.000e+01  2.823e-05  0.000e+00  1.000e+01 (-1.000e+00)
362        Scale:  6.667e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  7.385e-01  1.401e-01  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  1.167e+00  1.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.73
Ra Dec: 350.223 -8.392
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 6.24e-08 +/- 5.00e-08
Energy Flux (Free Index): 6.98e-06 +/- 5.62e-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/32119263/cmap_HighResolution_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.33e-03', comment='SUCCESS', photon_flux='3.58e-08', energy_flux2='6.98e-06', photon_flux_error='3.39e-08', dlogl='1.04e+00', energy_flux='9.00e-06', photon_flux2='6.24e-08', job_status='DONE', time_completed='2026-07-17 22:06:23.672793', photon_index_error2='0.00', photon_index2='10.00', ts='1.48', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='5.62e-06', EG='1.22', time_epoch_completed='1784351183.67', return_code='0', job_id='32119263', GAL2='0.74', EG2='1.17', return_code2='0', energy_flux_error='8.51e-06', photon_flux_error2='5.00e-08', ts2='3.73', photon_index='2.65' WHERE bin_id='2173' AND source_name='4FGL J2320.8-0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 22:06:24 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2320.8-0823
   Spectrum: PowerLaw
360    Prefactor:  3.882e+01  3.672e+01  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  2.648e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
362        Scale:  6.667e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  6.995e-01  1.193e-01  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  1.218e+00  1.503e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.48
Ra Dec: 350.223 -8.392
Photon Index (Fixed Index): 2.65 +/- 0.00
Photon Flux (Fixed Index): 3.58e-08 +/- 3.39e-08
Energy Flux (Fixed Index): 9.00e-06 +/- 8.51e-06

TS (Fixed Index): 1.48
Ra Dec: 350.223 -8.392
Photon Flux Upper Limit: 1.06085648361e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00832617136885 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32119325/likelihoodResults_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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) = 8164.30082402
delta logL = 0.648721683217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8163.90631331
delta logL = 1.04323239062

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31373E-03   1.0000          .0000       .10000E+07
     2 'Index     '    9.9998       1.0000          .0000       10.000    
     3 'Normalizat'    1.1671       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73828       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8163.906     FROM MIGRAD    STATUS=CONVERGED    181 CALLS      624 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31352E-03    .22604E-03    .26152E-04** at limit **
   2  Index        10.0000        .48910        .50000    ** at limit **
   3  Normalizat    1.1670        .15217        .52358E-01    .58319E-04
   4  Prefactor     .73847        .11969        .42909E-01   -.14424E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000313519
  Index      = 10
  Normalizat = 1.16702
  Prefactor  = 0.738473
 **********
 **   18 **HESSE 
 **********

 FCN=   8163.906     FROM HESSE     STATUS=OK            37 CALLS      661 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31352E-03    .25918E-03    .10690E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        .87296        .37062        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1670        .17571        .23149E-03   -.87628    
   4  Prefactor     .73847        .14006        .23084E-03   -1.0204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.91807e-09
Minuit parameter uncertainties:
  1  0.000259182
  2  2.82262e-05
  3  0.175794
  4  0.140123
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) = 8163.90630754
delta logL = 1.04323816277

Extracting fit parameters...

4FGL J2320.8-0823
   Spectrum: PowerLaw
360    Prefactor:  3.135e-04  2.592e-04  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  1.000e+01  2.823e-05  0.000e+00  1.000e+01 (-1.000e+00)
362        Scale:  6.667e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  7.385e-01  1.401e-01  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  1.167e+00  1.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.73
Ra Dec: 350.223 -8.392
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 6.24e-08 +/- 5.00e-08
Energy Flux (Free Index): 6.98e-06 +/- 5.62e-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/32119325/cmap_HighResolution_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.33e-03', comment='SUCCESS', photon_flux='3.58e-08', energy_flux2='6.98e-06', photon_flux_error='3.39e-08', dlogl='1.04e+00', energy_flux='9.00e-06', photon_flux2='6.24e-08', job_status='DONE', time_completed='2026-07-17 22:06:28.866108', photon_index_error2='0.00', photon_index2='10.00', ts='1.48', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='5.62e-06', EG='1.22', time_epoch_completed='1784351188.87', return_code='0', job_id='32119325', GAL2='0.74', EG2='1.17', return_code2='0', energy_flux_error='8.51e-06', photon_flux_error2='5.00e-08', ts2='3.73', photon_index='2.65' WHERE bin_id='2173' AND source_name='4FGL J2320.8-0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 22:06:29 PDT 2026

L_V02
Working on...
/lscratch/kocevski/32119412/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits.....................!
real 32.42
user 29.75
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32119412/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits', '/lscratch/kocevski/32119412/ft2_4FGL_J2320.8-0823_daily_bin2173.fits', expMap='/lscratch/kocevski/32119412/expmap_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits', expCube='/lscratch/kocevski/32119412/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32119412/Model_4FGL_J2320.8-0823_daily_bin2173.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2320.8-0823'

4FGL J2320.8-0823
   Spectrum: PowerLaw
360    Prefactor:  7.383e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  2.648e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
362        Scale:  6.667e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32119412/ft1_filtered_4FGL_J2320.8-0823_daily_bin2173.fits
Spacecraft file(s): /lscratch/kocevski/32119412/ft2_4FGL_J2320.8-0823_daily_bin2173.fits
Exposure map: /lscratch/kocevski/32119412/expmap_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits
Exposure cube: /lscratch/kocevski/32119412/ltcube_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32119412/Model_4FGL_J2320.8-0823_daily_bin2173.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) = 8164.96648045

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73499E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .26730E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .58860E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .34611E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.8218       1.0000          .0000       .10000E+07
     6 'Prefactor '    11.427       1.0000          .0000       .10000E+07
     7 'norm      '    41.298       1.0000          .0000       .10000E+07
     8 'Prefactor '    .52085E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    38.342       1.0000          .0000       .10000E+07
    10 'Prefactor '    .88683E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .61238E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .55504       1.0000          .0000       .10000E+07
    13 'norm      '    .87824E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .80255E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .11771E-02   1.0000          .0000       .10000E+07
    16 'norm      '    7.6650       1.0000          .0000       .10000E+07
    17 'Prefactor '    .79529       1.0000          .0000       .10000E+07
    18 'norm      '    .66613E-09   1.0000          .0000       .10000E+07
    19 'norm      '    6.9380       1.0000          .0000       .10000E+07
    20 'Prefactor '    .47103E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2180       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .69930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8164.950     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     1795 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18319E-08    4.8282        .26415E-06** at limit **
   2  Prefactor      .0000        22.551        .38722E-06** at limit **
   3  Prefactor     .28311E-08    5.7954        .14626E-06** at limit **
   4  norm           .0000        .58856       -.16466E-07** at limit **
   5  Prefactor     4.7860        8.6792        .13880E-06   -.28314E-02
   6  Prefactor     11.463        6.8968        .43553E-07    .39233E-01
   7  norm          41.313        1.5317        .31931E-08   -.22122E-01
   8  Prefactor      .0000        7.7133        .14008E-06** at limit **
   9  Prefactor     38.820        33.001       -.52896E-07   -.42979E-01
  10  Prefactor      .0000        3.9905        .25433E-06** at limit **
  11  Prefactor      .0000        3.3268        .56259E-07** at limit **
  12  norm          .55504        .73462       -.55931E-07   -.80287E-04
  13  norm           .0000        1.5675       -.90204E-07** at limit **
  14  Prefactor     .10341E-03    100.64        .11959E-06** at limit **
  15  Prefactor     .35527E-08    13.948        .65015E-07** at limit **
  16  norm          7.6206        3.3477       -.76733E-07    .87357E-02
  17  Prefactor     .77196        2.7711       -.45308E-07    .14326E-03
  18  norm           .0000        .10656       -.66112E-07** at limit **
  19  norm          6.9380        3.0311       -.13710E-07    .18684E-03
  20  Prefactor     .51958E-07    26.365       -.52907E-06** at limit **
  21  Normalizat    1.2177        .17367        .39122E-06    .46056E-04
  22  Prefactor     .69952        .13628        .16936E-05    .50223E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.83187e-09
  Prefactor  = 0
  Prefactor  = 2.83107e-09
  norm       = 0
  Prefactor  = 4.78601
  Prefactor  = 11.4629
  norm       = 41.3133
  Prefactor  = 0
  Prefactor  = 38.8199
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.55504
  norm       = 0
  Prefactor  = 0.000103406
  Prefactor  = 3.55271e-09
  norm       = 7.62059
  Prefactor  = 0.771964
  norm       = 0
  norm       = 6.93804
  Prefactor  = 5.19584e-08
  Normalizat = 1.21774
  Prefactor  = 0.699521
 **********
 **   18 **HESSE 
 **********

 FCN=   8164.950     FROM HESSE     STATUS=OK           398 CALLS     2193 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18319E-08    4.9362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        22.535        .16629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .28311E-08    6.0105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .32697        .18383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.7860        12.171        .45790E-03   -1.5664    
   6  Prefactor     11.463        10.146        .29612E-03   -1.5640    
   7  norm          41.313        12.688        .15562E-03   -1.5579    
   8  Prefactor      .0000        7.7874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     38.820        36.722        .16151E-03   -1.5583    
  10  Prefactor      .0000        3.9933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        3.3208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55504        .75163        .73355E-03   -1.5693    
  13  norm           .0000        1.5671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10341E-03    39.909        .18058E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .35527E-08    13.944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.6206        22.523        .36197E-03   -1.5653    
  17  Prefactor     .77196        3.0040        .53287E-03   -1.5690    
  18  norm           .0000        .10603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.9380        3.0390        .38065E-03   -1.5655    
  20  Prefactor     .51958E-07    25.852        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2177        .15022        .51452E-01   -.86056    
  22  Prefactor     .69952        .11928        .42392E-01   -1.0355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09578e-07
Minuit parameter uncertainties:
  1  0.000191488
  2  3.48706e-05
  3  0.000260922
  4  4.45318e-07
  5  12.1713
  6  10.1461
  7  12.6884
  8  1.82099e-05
  9  36.7227
  10  1.72005e-05
  11  1.18323e-07
  12  0.751628
  13  2.00542e-07
  14  0.128482
  15  0.000444191
  16  22.5233
  17  3.00402
  18  3.9529e-07
  19  3.03901
  20  0.0023174
  21  0.150273
  22  0.119327
Done.

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

Extracting fit parameters...

4FGL J2320.8-0823
   Spectrum: PowerLaw
360    Prefactor:  3.882e+01  3.672e+01  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  2.648e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
362        Scale:  6.667e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  6.995e-01  1.193e-01  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  1.218e+00  1.503e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.48
Ra Dec: 350.223 -8.392
Photon Index (Fixed Index): 2.65 +/- 0.00
Photon Flux (Fixed Index): 3.58e-08 +/- 3.39e-08
Energy Flux (Fixed Index): 9.00e-06 +/- 8.51e-06

TS (Fixed Index): 1.48
Ra Dec: 350.223 -8.392
Photon Flux Upper Limit: 1.06085648361e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00832617136885 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32119412/likelihoodResults_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.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) = 8164.30082402
delta logL = 0.648721683217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8163.90631331
delta logL = 1.04323239062

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31373E-03   1.0000          .0000       .10000E+07
     2 'Index     '    9.9998       1.0000          .0000       10.000    
     3 'Normalizat'    1.1671       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73828       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5240E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8163.906     FROM MIGRAD    STATUS=CONVERGED    181 CALLS      624 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31352E-03    .22604E-03    .26152E-04** at limit **
   2  Index        10.0000        .48910        .50000    ** at limit **
   3  Normalizat    1.1670        .15217        .52358E-01    .58319E-04
   4  Prefactor     .73847        .11969        .42909E-01   -.14424E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000313519
  Index      = 10
  Normalizat = 1.16702
  Prefactor  = 0.738473
 **********
 **   18 **HESSE 
 **********

 FCN=   8163.906     FROM HESSE     STATUS=OK            37 CALLS      661 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31352E-03    .25918E-03    .10690E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        .87296        .37062        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1670        .17571        .23149E-03   -.87628    
   4  Prefactor     .73847        .14006        .23084E-03   -1.0204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.91807e-09
Minuit parameter uncertainties:
  1  0.000259182
  2  2.82262e-05
  3  0.175794
  4  0.140123
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) = 8163.90630754
delta logL = 1.04323816277

Extracting fit parameters...

4FGL J2320.8-0823
   Spectrum: PowerLaw
360    Prefactor:  3.135e-04  2.592e-04  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  1.000e+01  2.823e-05  0.000e+00  1.000e+01 (-1.000e+00)
362        Scale:  6.667e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
521    Prefactor:  7.385e-01  1.401e-01  0.000e+00  1.000e+01 ( 1.000e+00)
522        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
523        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
520   Normalization:  1.167e+00  1.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.73
Ra Dec: 350.223 -8.392
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 6.24e-08 +/- 5.00e-08
Energy Flux (Free Index): 6.98e-06 +/- 5.62e-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/32119412/cmap_HighResolution_802569601_802828801_4FGL_J2320.8-0823_daily_bin2173.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.33e-03', comment='SUCCESS', photon_flux='3.58e-08', energy_flux2='6.98e-06', photon_flux_error='3.39e-08', dlogl='1.04e+00', energy_flux='9.00e-06', photon_flux2='6.24e-08', job_status='DONE', time_completed='2026-07-17 22:09:11.362564', photon_index_error2='0.00', photon_index2='10.00', ts='1.48', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='5.62e-06', EG='1.22', time_epoch_completed='1784351351.36', return_code='0', job_id='32119412', GAL2='0.74', EG2='1.17', return_code2='0', energy_flux_error='8.51e-06', photon_flux_error2='5.00e-08', ts2='3.73', photon_index='2.65' WHERE bin_id='2173' AND source_name='4FGL J2320.8-0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 22:09:12 PDT 2026

