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

 FCN=   12063.75     FROM HESSE     STATUS=OK           664 CALLS     2934 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.254        28.986        .21122E-03   -1.5616    
   2  Prefactor     .11657E-07    17.634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        .80759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.633        23.725        .24606E-03   -1.5626    
   5  Prefactor     .13878E-08    7.4184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .82626E-01    5.6139        .13827E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.879        13.420        .30257E-03   -1.5642    
   8  Prefactor     1.8551        5.7936        .76318E-03   -1.5681    
   9  Prefactor      .0000        1.0440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .25889E-05    13.055        .13417E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.6460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.9243        6.2289        .35581E-03   -1.5652    
  13  norm           .0000        .76869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .90553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.7098        4.7258        .36080E-03   -1.5652    
  16  Prefactor     1.3297        3.0423        .94307E-03   -1.5685    
  17  Prefactor     36.091        24.876        .16578E-03   -1.5588    
  18  Prefactor     .33862E-08    12.599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .98373        2.3971        .42606E-03   -1.5688    
  20  Prefactor     11.771        11.401        .29325E-03   -1.5639    
  21  norm          .57188        .93238        .71472E-03   -1.5693    
  22  norm           .0000        2.0951        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.1571        3.1450        .49367E-03   -1.5667    
  24  Prefactor     1.1123        51.824        .11408E-02   -1.5687    
  25  Prefactor     4.5789        24.084        .46915E-03   -1.5665    
  26  Prefactor      .0000        1.3117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .31314        1.0681        .55464E-02   -1.5697    
  28  Prefactor     .60674E-07    17.339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .97653        .11532        .45863E-01   -.93821    
  30  Prefactor     .89689        .12465        .44965E-01   -.96250    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.8318e-07
Minuit parameter uncertainties:
  1  28.9864
  2  0.000907029
  3  9.64313e-07
  4  23.725
  5  0.000202582
  6  1.36213
  7  13.4196
  8  5.79358
  9  1.17065e-06
  10  0.0116274
  11  8.55634e-06
  12  6.22889
  13  2.73772e-06
  14  8.17137e-06
  15  4.72585
  16  3.04233
  17  24.876
  18  0.000414526
  19  2.39714
  20  11.4007
  21  0.932378
  22  1.17059e-05
  23  3.14502
  24  15.1849
  25  21.0027
  26  9.91362e-07
  27  1.06813
  28  0.00205109
  29  0.115346
  30  0.12469
/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)

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

Done.

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

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  0.000e+00  8.171e-06  0.000e+00  1.000e+06 ( 1.000e-13)
419        alpha:  1.623e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  8.462e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  2.868e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  8.969e-01  1.247e-01  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  9.765e-01  1.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 351.182 -40.683
Photon Flux Upper Limit: 1.18816331784e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/32683833/likelihoodResults_805680001_806284801_4FGL_J2324.7-4041_weekly_bin937.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): 102
logL (Free Index) = 12063.7434439
delta logL = 0.00766827449479

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12063.2103043
delta logL = 0.54080786978

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61199E-02   1.0000          .0000       .10000E+07
     2 'alpha     '    4.5480       1.0000          .0000       5.0000    
     3 'Normalizat'    .93859       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92132       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12063.75     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      303 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .66785        .42118E-03** at limit **
   2  alpha         1.0423        1.0928        .26959E-04     .0000    
   3  Normalizat    .97653        1.2950       -.40120E-05    .17907E-03
   4  Prefactor     .89689        1.2500        .13198E-05    .17899E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.04226
  Normalizat = 0.976528
  Prefactor  = 0.896887
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12063.75     FROM HESSE     STATUS=FAILED         7 CALLS      310 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .66785        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .23627        1.0928        .26959E-04   -32.038    
   3  Normalizat    .97653        1.2950       -.40120E-05   -2.2034    
   4  Prefactor     .89689        1.2500        .13198E-05   -2.1791    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.21497e-11
Minuit parameter uncertainties:
  1  3.68164e-07
  2  1.15387
  3  1.34054
  4  1.2937
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12063.7511122
delta logL = 1.27329258248e-11

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  0.000e+00  3.682e-07  0.000e+00  1.000e+06 ( 1.000e-13)
419        alpha:  1.042e+00  1.154e+00  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  8.462e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  2.868e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  8.969e-01  1.294e+00  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  9.765e-01  1.341e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 351.182 -40.683

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/32683833/cmap_HighResolution_805680001_806284801_4FGL_J2324.7-4041_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.19e-08', time_completed='2026-07-21 20:42:33.531601', job_id='32683833', GAL2='0.90', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1784691753.53', return_code2='101', ts='0.00', return_code='0', GAL='0.90', dlogl='1.27e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='937' AND source_name='4FGL J2324.7-4041' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 20:42:33 PDT 2026

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


Performing analysis on: 4FGL_J2324.7-4041_weekly_bin937
RA = 351.182, Dec = -40.6834
tmin = 805680001, tmax = 806284801
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='32684453', job_status='RUN', time_executed='2026-07-21 20:41:34.361062', time_epoch_executed='1784691694.36' WHERE source_name='4FGL J2324.7-4041' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32684453

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32684453/ft1_4FGL_J2324.7-4041_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32684453/ft2_4FGL_J2324.7-4041_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32684453/ft1_4FGL_J2324.7-4041_weekly_bin937.fits outfile=/lscratch/kocevski/32684453/ft1_filteredMKT_4FGL_J2324.7-4041_weekly_bin937.fits ra=351.182 dec=-40.6834 rad=12.0 tmin=805680001.0 tmax=806284801.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.67
user 4.03
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32684453/ft2_4FGL_J2324.7-4041_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32684453/ft2_4FGL_J2324.7-4041_weekly_bin937.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/32684453/ft1_filteredMKT_4FGL_J2324.7-4041_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32684453/ft1_filtered_4FGL_J2324.7-4041_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1094

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32684453/ft1_filtered_4FGL_J2324.7-4041_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32684453/ft2_4FGL_J2324.7-4041_weekly_bin937.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32684453/ltcube_805680001_806284801_4FGL_J2324.7-4041_weekly_bin937.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/32684453/ft2_4FGL_J2324.7-4041_weekly_bin937.fits
.....................!
real 16.64
user 15.92
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32684453/ft1_filtered_4FGL_J2324.7-4041_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32684453/ft2_4FGL_J2324.7-4041_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32684453/ltcube_805680001_806284801_4FGL_J2324.7-4041_weekly_bin937.fits outfile=/lscratch/kocevski/32684453/expmap_805680001_806284801_4FGL_J2324.7-4041_weekly_bin937.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/32684453/ltcube_805680001_806284801_4FGL_J2324.7-4041_weekly_bin937.fits
.....................!
real 62.84
user 58.27
sys 3.71

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 182 point sources and 0 extended sources

Setting source of interest to:
4FGL J2324.7-4041 @ 351.182 -40.6834

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32684453/ft1_filtered_4FGL_J2324.7-4041_weekly_bin937.fits scfile=/lscratch/kocevski/32684453/ft2_4FGL_J2324.7-4041_weekly_bin937.fits outfile=/lscratch/kocevski/32684453/cmap_805680001_806284801_4FGL_J2324.7-4041_weekly_bin937.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.182 yref=-40.6834 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.55
user 0.23
sys 0.13

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

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

This is gtbin version HEAD
real 0.72
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32684453/ft1_filtered_4FGL_J2324.7-4041_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32684453/ft2_4FGL_J2324.7-4041_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32684453/Model_4FGL_J2324.7-4041_weekly_bin937.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/32684453/ft1_filtered_4FGL_J2324.7-4041_weekly_bin937.fits.....................!
real 28.16
user 26.76
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32684453/ft1_filtered_4FGL_J2324.7-4041_weekly_bin937.fits', '/lscratch/kocevski/32684453/ft2_4FGL_J2324.7-4041_weekly_bin937.fits', expMap='/lscratch/kocevski/32684453/expmap_805680001_806284801_4FGL_J2324.7-4041_weekly_bin937.fits', expCube='/lscratch/kocevski/32684453/ltcube_805680001_806284801_4FGL_J2324.7-4041_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32684453/Model_4FGL_J2324.7-4041_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.7-4041'

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  1.376e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
419        alpha:  1.623e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  8.462e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  2.868e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32684453/ft1_filtered_4FGL_J2324.7-4041_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32684453/ft2_4FGL_J2324.7-4041_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32684453/expmap_805680001_806284801_4FGL_J2324.7-4041_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32684453/ltcube_805680001_806284801_4FGL_J2324.7-4041_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32684453/Model_4FGL_J2324.7-4041_weekly_bin937.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) = 12063.7974814

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.427       1.0000          .0000       .10000E+07
     2 'Prefactor '    .17075E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .19913E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    16.532       1.0000          .0000       .10000E+07
     5 'Prefactor '    .21946E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10384       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.946       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.8625       1.0000          .0000       .10000E+07
     9 'Prefactor '    .17050E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .41179       1.0000          .0000       .10000E+07
    11 'Prefactor '    .74698E-04   1.0000          .0000       .10000E+07
    12 'norm      '    7.9305       1.0000          .0000       .10000E+07
    13 'norm      '    .91070E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .10731E-03   1.0000          .0000       .10000E+07
    15 'norm      '    7.7146       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.3467       1.0000          .0000       .10000E+07
    17 'Prefactor '    36.394       1.0000          .0000       .10000E+07
    18 'Prefactor '    .54720E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .96735       1.0000          .0000       .10000E+07
    20 'Prefactor '    11.650       1.0000          .0000       .10000E+07
    21 'norm      '    .57529       1.0000          .0000       .10000E+07
    22 'norm      '    .30195E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    4.1642       1.0000          .0000       .10000E+07
    24 'Prefactor '    1.0937       1.0000          .0000       .10000E+07
    25 'Prefactor '    4.5985       1.0000          .0000       .10000E+07
    26 'Prefactor '    .12565E-03   1.0000          .0000       .10000E+07
    27 'Prefactor '    .31220       1.0000          .0000       .10000E+07
    28 'Prefactor '    .30481E-05   1.0000          .0000       .10000E+07
    29 'Normalizat'    .97583       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .89685       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12063.75     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2270 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.254        28.135       -.16247E-05    .10446E-01
   2  Prefactor     .11657E-07    8.0318       -.27419E-06** at limit **
   3  Prefactor      .0000        .80941       -.56323E-07** at limit **
   4  Prefactor     16.633        3.6002       -.62349E-06    .53442E-02
   5  Prefactor     .13878E-08    7.5210       -.61931E-06** at limit **
   6  Prefactor     .82626E-01    5.5032       -.15947E-05** at limit **
   7  Prefactor     10.879        3.9632        .81329E-06    .50955E-01
   8  Prefactor     1.8551        5.7618       -.19944E-06   -.89310E-03
   9  Prefactor      .0000        1.0445       -.16107E-07** at limit **
  10  Prefactor     .25889E-05    92.572        .12791E-04** at limit **
  11  Prefactor      .0000        2.6457       -.41228E-06** at limit **
  12  norm          7.9243        6.2242        .43867E-06    .40661E-02
  13  norm           .0000        .76871        .28771E-07** at limit **
  14  norm           .0000        .90566       -.33155E-06** at limit **
  15  norm          7.7098        4.7227        .34141E-07    .12031E-03
  16  Prefactor     1.3297        2.9282        .23487E-06   -.10469E-02
  17  Prefactor     36.091        6.0166        .50985E-06   -.67650E-02
  18  Prefactor     .33862E-08    12.465        .32448E-06** at limit **
  19  norm          .98373        2.0946        .20006E-06    .16509E-02
  20  Prefactor     11.771        10.860       -.97029E-07    .12040E-01
  21  norm          .57188        .89127       -.16842E-06   -.60603E-03
  22  norm           .0000        2.1102       -.88068E-07** at limit **
  23  Prefactor     4.1571        2.7868        .33434E-07    .49051E-02
  24  Prefactor     1.1123        6.5193       -.32788E-05   -.18560E-01
  25  Prefactor     4.5789        1.5602       -.35529E-06   -.13483E-02
  26  Prefactor      .0000        1.3160        .17521E-06** at limit **
  27  Prefactor     .31314        3.2811        .21916E-06   -.80125E-03
  28  Prefactor     .60674E-07    10.174        .14191E-05** at limit **
  29  Normalizat    .97653        .13614       -.34262E-05   -.31395E-03
  30  Prefactor     .89689        .14801        .68551E-05   -.27615E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.2538
  Prefactor  = 1.16573e-08
  Prefactor  = 0
  Prefactor  = 16.6326
  Prefactor  = 1.38778e-09
  Prefactor  = 0.0826256
  Prefactor  = 10.8795
  Prefactor  = 1.85507
  Prefactor  = 0
  Prefactor  = 2.58887e-06
  Prefactor  = 0
  norm       = 7.9243
  norm       = 0
  norm       = 0
  norm       = 7.70978
  Prefactor  = 1.32972
  Prefactor  = 36.0914
  Prefactor  = 3.38618e-09
  norm       = 0.983729
  Prefactor  = 11.7714
  norm       = 0.571881
  norm       = 0
  Prefactor  = 4.15707
  Prefactor  = 1.11232
  Prefactor  = 4.57887
  Prefactor  = 0
  Prefactor  = 0.313144
  Prefactor  = 6.06737e-08
  Normalizat = 0.976528
  Prefactor  = 0.896887
 **********
 **   18 **HESSE 
 **********

 FCN=   12063.75     FROM HESSE     STATUS=OK           664 CALLS     2934 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.254        28.986        .21122E-03   -1.5616    
   2  Prefactor     .11657E-07    17.634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        .80759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.633        23.725        .24606E-03   -1.5626    
   5  Prefactor     .13878E-08    7.4184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .82626E-01    5.6139        .13827E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.879        13.420        .30257E-03   -1.5642    
   8  Prefactor     1.8551        5.7936        .76318E-03   -1.5681    
   9  Prefactor      .0000        1.0440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .25889E-05    13.055        .13417E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.6460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.9243        6.2289        .35581E-03   -1.5652    
  13  norm           .0000        .76869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .90553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.7098        4.7258        .36080E-03   -1.5652    
  16  Prefactor     1.3297        3.0423        .94307E-03   -1.5685    
  17  Prefactor     36.091        24.876        .16578E-03   -1.5588    
  18  Prefactor     .33862E-08    12.599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .98373        2.3971        .42606E-03   -1.5688    
  20  Prefactor     11.771        11.401        .29325E-03   -1.5639    
  21  norm          .57188        .93238        .71472E-03   -1.5693    
  22  norm           .0000        2.0951        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.1571        3.1450        .49367E-03   -1.5667    
  24  Prefactor     1.1123        51.824        .11408E-02   -1.5687    
  25  Prefactor     4.5789        24.084        .46915E-03   -1.5665    
  26  Prefactor      .0000        1.3117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .31314        1.0681        .55464E-02   -1.5697    
  28  Prefactor     .60674E-07    17.339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .97653        .11532        .45863E-01   -.93821    
  30  Prefactor     .89689        .12465        .44965E-01   -.96250    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.8318e-07
Minuit parameter uncertainties:
  1  28.9864
  2  0.000907029
  3  9.64313e-07
  4  23.725
  5  0.000202582
  6  1.36213
  7  13.4196
  8  5.79358
  9  1.17065e-06
  10  0.0116274
  11  8.55634e-06
  12  6.22889
  13  2.73772e-06
  14  8.17137e-06
  15  4.72585
  16  3.04233
  17  24.876
  18  0.000414526
  19  2.39714
  20  11.4007
  21  0.932378
  22  1.17059e-05
  23  3.14502
  24  15.1849
  25  21.0027
  26  9.91362e-07
  27  1.06813
  28  0.00205109
  29  0.115346
  30  0.12469
Done.

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

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  0.000e+00  8.171e-06  0.000e+00  1.000e+06 ( 1.000e-13)
419        alpha:  1.623e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  8.462e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  2.868e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  8.969e-01  1.247e-01  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  9.765e-01  1.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 351.182 -40.683
Photon Flux Upper Limit: 1.18816331784e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/32684453/likelihoodResults_805680001_806284801_4FGL_J2324.7-4041_weekly_bin937.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): 102
logL (Free Index) = 12063.7434439
delta logL = 0.00766827449479

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12063.2103043
delta logL = 0.54080786978

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61199E-02   1.0000          .0000       .10000E+07
     2 'alpha     '    4.5480       1.0000          .0000       5.0000    
     3 'Normalizat'    .93859       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92132       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12063.75     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      303 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .66785        .42118E-03** at limit **
   2  alpha         1.0423        1.0928        .26959E-04     .0000    
   3  Normalizat    .97653        1.2950       -.40120E-05    .17907E-03
   4  Prefactor     .89689        1.2500        .13198E-05    .17899E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.04226
  Normalizat = 0.976528
  Prefactor  = 0.896887
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12063.75     FROM HESSE     STATUS=FAILED         7 CALLS      310 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .66785        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .23627        1.0928        .26959E-04   -32.038    
   3  Normalizat    .97653        1.2950       -.40120E-05   -2.2034    
   4  Prefactor     .89689        1.2500        .13198E-05   -2.1791    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.21497e-11
Minuit parameter uncertainties:
  1  3.68164e-07
  2  1.15387
  3  1.34054
  4  1.2937
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12063.7511122
delta logL = 1.27329258248e-11

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  0.000e+00  3.682e-07  0.000e+00  1.000e+06 ( 1.000e-13)
419        alpha:  1.042e+00  1.154e+00  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  8.462e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  2.868e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  8.969e-01  1.294e+00  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  9.765e-01  1.341e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 351.182 -40.683

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/32684453/cmap_HighResolution_805680001_806284801_4FGL_J2324.7-4041_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.19e-08', time_completed='2026-07-21 20:52:16.474914', job_id='32684453', GAL2='0.90', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1784692336.47', return_code2='101', ts='0.00', return_code='0', GAL='0.90', dlogl='1.27e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='937' AND source_name='4FGL J2324.7-4041' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 20:52:16 PDT 2026

