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

 FCN=   7131.242     FROM HESSE     STATUS=OK           284 CALLS     1399 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0753        36.991        .71474E-03   -1.5679    
   2  norm          .57758        .49767        .71278E-03   -1.5693    
   3  Prefactor     13.194        9.6987        .27574E-03   -1.5635    
   4  norm           .0000        .42605        .27105E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        22.513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        5.2517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        4.9538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        12.470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        18.215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.7221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.0363        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        2.8174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.5346        12.335        .85971E-03   -1.5683    
  14  norm           .0000        .20872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.5142        3.0005        .42761E-03   -1.5661    
  16  Prefactor     6.9879        5.2588        .37950E-03   -1.5655    
  17  Normalizat    .72510        .15190        .42625E-01   -1.0291    
  18  Prefactor     1.1548        .14691        .35798E-01   -.87734    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43386e-08
Minuit parameter uncertainties:
  1  17.5234
  2  0.497666
  3  9.6987
  4  2.49658e-08
  5  9.51979e-06
  6  6.49279e-07
  7  2.24966e-06
  8  4.22679e-06
  9  1.4962e-05
  10  2.4258e-08
  11  1.88569e-07
  12  1.05502e-06
  13  8.70143
  14  3.32273e-08
  15  3.00054
  16  5.25878
  17  0.151993
  18  0.146964
/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) = 7131.24175449

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  0.000e+00  1.496e-05  0.000e+00  1.000e+06 ( 1.000e-14)
352        Index:  1.829e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  3.503e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.155e+00  1.470e-01  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  7.251e-01  1.520e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 350.385 -16.318
Photon Flux Upper Limit: 3.82527909981e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00282637870715 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32121334/likelihoodResults_803088001_803347201_4FGL_J2321.5-1619_daily_bin2175.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) = 7131.26862337
delta logL = -0.0268688807537

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 7130.25124042
delta logL = 0.990514069421

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     2 'Index     '    9.7832       1.0000          .0000       10.000    
     3 'Normalizat'    .64813       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2064       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7131.242     FROM MIGRAD    STATUS=FAILED       185 CALLS      989 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72164E-09    .30809E-08    .43870    ** at limit **
   2  Index         .38418        .12615        3050.3        .73848E-02
   3  Normalizat    .72511        .12013E-06    .26132E-03    .62856E-03
   4  Prefactor     1.1548        .11698E-06    .20494E-03    .14590E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7130.390     FROM SIMPLEX   STATUS=PROGRESS     482 CALLS     1471 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66613E-09    .30809E-08    .23283E-09** at limit **
   2  Index         9.5596        .12615        .10090E-02    .73848E-02
   3  Normalizat    .72511        .12013E-06    .25580E-12    .62856E-03
   4  Prefactor     1.1548        .11698E-06    .31370E-10    .14590E-03
                               ERR DEF=  .500    
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7130.390     FROM MIGRAD    STATUS=FAILED        65 CALLS     1536 TOTAL
                     EDM=   .31E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66613E-09     .0000        .87740    ** at limit **
   2  Index         9.5596        8.4411        3050.3       -.15016E-07
   3  Normalizat    .72511        .17192E-04    .10453E-04    11.414    
   4  Prefactor     1.1548        .16632E-04    .13691E-04    7.3714    
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.66134e-10
  Index      = 9.55963
  Normalizat = 0.725111
  Prefactor  = 1.15478
 **********
 **   18 **HESSE 
 **********

 FCN=   7130.390     FROM HESSE     STATUS=NOT POSDEF    31 CALLS     1567 TOTAL
                     EDM=   .31E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66613E-09     .0000        .87740       -.18400E+07
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.5596        8.4411        3050.3       -.63969E+10
   3  Normalizat    .72511        .17192E-04    .77355E-05   -32.445    
   4  Prefactor     1.1548        .16632E-04    .13691E-04   -57.426    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 0.000309956
Minuit parameter uncertainties:
  1  1.78788e-12
  2  22.4368
  3  1.71923e-05
  4  1.66319e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 7130.39013787
delta logL = 0.851616611926

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  6.661e-10  1.788e-12  0.000e+00  1.000e+06 ( 1.000e-14)
352        Index:  9.560e+00  2.244e+01  0.000e+00  1.000e+01 (-1.000e+00)
353        Scale:  3.503e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.155e+00  1.663e-05  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  7.251e-01  1.719e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.70
Ra Dec: 350.385 -16.318
Photon Index (Free Index): 9.56 +/- 22.44
Photon Flux (Free Index): 4.65e-08 +/- 3.49e-06
Energy Flux (Free Index): 5.23e-06 +/- 3.93e-04

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/32121334/cmap_HighResolution_803088001_803347201_4FGL_J2321.5-1619_daily_bin2175.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.83e-03', comment='SUCCESS', energy_flux2='5.23e-06', dlogl='8.52e-01', photon_flux2='4.65e-08', job_status='DONE', time_completed='2026-07-17 22:33:00.342864', photon_index_error2='22.44', photon_index2='9.56', ts='0.00', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='3.83e-08', energy_flux_error2='3.93e-04', EG='0.73', time_epoch_completed='1784352780.34', return_code='0', job_id='32121334', GAL2='1.15', EG2='0.73', return_code2='1', photon_flux_error2='3.49e-06', ts2='1.70', photon_index='1.83' WHERE bin_id='2175' AND source_name='4FGL J2321.5-1619' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 22:33:00 PDT 2026

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


Performing analysis on: 4FGL_J2321.5-1619_daily_bin2175
RA = 350.385, Dec = -16.3176
tmin = 803088001, tmax = 803347201
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='32121607', job_status='RUN', time_executed='2026-07-17 22:32:04.772271', time_epoch_executed='1784352724.77' WHERE source_name='4FGL J2321.5-1619' and cadence='daily' and bin_id='2175'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32121607

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32121607/ft1_4FGL_J2321.5-1619_daily_bin2175.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32121607/ft2_4FGL_J2321.5-1619_daily_bin2175.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32121607/ft1_4FGL_J2321.5-1619_daily_bin2175.fits outfile=/lscratch/kocevski/32121607/ft1_filteredMKT_4FGL_J2321.5-1619_daily_bin2175.fits ra=350.385 dec=-16.3176 rad=12.0 tmin=803088001.0 tmax=803347201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.21
user 1.66
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32121607/ft2_4FGL_J2321.5-1619_daily_bin2175.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32121607/ft2_4FGL_J2321.5-1619_daily_bin2175.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/32121607/ft1_filteredMKT_4FGL_J2321.5-1619_daily_bin2175.fits evtable="EVENTS" outfile="/lscratch/kocevski/32121607/ft1_filtered_4FGL_J2321.5-1619_daily_bin2175.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.69
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 647

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32121607/ft1_filtered_4FGL_J2321.5-1619_daily_bin2175.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32121607/ft2_4FGL_J2321.5-1619_daily_bin2175.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32121607/ltcube_803088001_803347201_4FGL_J2321.5-1619_daily_bin2175.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/32121607/ft2_4FGL_J2321.5-1619_daily_bin2175.fits
.....................!
real 9.37
user 8.67
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32121607/ft1_filtered_4FGL_J2321.5-1619_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/32121607/ft2_4FGL_J2321.5-1619_daily_bin2175.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32121607/ltcube_803088001_803347201_4FGL_J2321.5-1619_daily_bin2175.fits outfile=/lscratch/kocevski/32121607/expmap_803088001_803347201_4FGL_J2321.5-1619_daily_bin2175.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/32121607/ltcube_803088001_803347201_4FGL_J2321.5-1619_daily_bin2175.fits
.....................!
real 72.02
user 67.33
sys 3.99

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

Setting source of interest to:
4FGL J2321.5-1619 @ 350.385 -16.3176

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32121607/ft1_filtered_4FGL_J2321.5-1619_daily_bin2175.fits scfile=/lscratch/kocevski/32121607/ft2_4FGL_J2321.5-1619_daily_bin2175.fits outfile=/lscratch/kocevski/32121607/cmap_803088001_803347201_4FGL_J2321.5-1619_daily_bin2175.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.385 yref=-16.3176 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.77
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32121607/ft1_filtered_4FGL_J2321.5-1619_daily_bin2175.fits scfile=/lscratch/kocevski/32121607/ft2_4FGL_J2321.5-1619_daily_bin2175.fits outfile=/lscratch/kocevski/32121607/cmap_HighResolution_803088001_803347201_4FGL_J2321.5-1619_daily_bin2175.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.385 yref=-16.3176 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.74
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32121607/ft1_filtered_4FGL_J2321.5-1619_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/32121607/ft2_4FGL_J2321.5-1619_daily_bin2175.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32121607/Model_4FGL_J2321.5-1619_daily_bin2175.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/32121607/ft1_filtered_4FGL_J2321.5-1619_daily_bin2175.fits.....................!
real 23.72
user 22.40
sys 0.83

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32121607/ft1_filtered_4FGL_J2321.5-1619_daily_bin2175.fits', '/lscratch/kocevski/32121607/ft2_4FGL_J2321.5-1619_daily_bin2175.fits', expMap='/lscratch/kocevski/32121607/expmap_803088001_803347201_4FGL_J2321.5-1619_daily_bin2175.fits', expCube='/lscratch/kocevski/32121607/ltcube_803088001_803347201_4FGL_J2321.5-1619_daily_bin2175.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32121607/Model_4FGL_J2321.5-1619_daily_bin2175.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2321.5-1619'

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  2.964e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
352        Index:  1.829e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  3.503e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32121607/ft1_filtered_4FGL_J2321.5-1619_daily_bin2175.fits
Spacecraft file(s): /lscratch/kocevski/32121607/ft2_4FGL_J2321.5-1619_daily_bin2175.fits
Exposure map: /lscratch/kocevski/32121607/expmap_803088001_803347201_4FGL_J2321.5-1619_daily_bin2175.fits
Exposure cube: /lscratch/kocevski/32121607/ltcube_803088001_803347201_4FGL_J2321.5-1619_daily_bin2175.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32121607/Model_4FGL_J2321.5-1619_daily_bin2175.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) = 7131.27161816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0852       1.0000          .0000       .10000E+07
     2 'norm      '    .57740       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.171       1.0000          .0000       .10000E+07
     4 'norm      '    .11637E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .83927E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .20114E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .35909E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .28629E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .56724E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18565E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .69944E-08   1.0000          .0000       .10000E+07
    12 'norm      '    .19301E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.5378       1.0000          .0000       .10000E+07
    14 'norm      '    .10769E-07   1.0000          .0000       .10000E+07
    15 'norm      '    5.5147       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.9797       1.0000          .0000       .10000E+07
    17 'Normalizat'    .72510       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1548       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7131.242     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1115 TOTAL
                     EDM=   .69E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0753        1.1225       -.37739E-08    .11617E-02
   2  norm          .57758        .48997        .43526E-07   -.17931E-04
   3  Prefactor     13.194        8.5664        .30990E-10    .19135E-03
   4  norm           .0000        4.5642        .13694E-06** at limit **
   5  Prefactor      .0000        22.636       -.17767E-06** at limit **
   6  Prefactor      .0000        5.2717       -.19506E-07** at limit **
   7  Prefactor      .0000        4.9569       -.68925E-07** at limit **
   8  Prefactor      .0000        12.471       -.21220E-06** at limit **
   9  Prefactor      .0000        18.228       -.93664E-07** at limit **
  10  Prefactor      .0000        1.7212       -.38580E-07** at limit **
  11  norm           .0000        1.0351       -.82902E-07** at limit **
  12  norm           .0000        2.8637        .11871E-06** at limit **
  13  Prefactor     1.5346        12.305       -.11955E-06    .52677E-04
  14  norm           .0000        .21283       -.16063E-07** at limit **
  15  norm          5.5142        2.9701        .12529E-07    .14423E-04
  16  Prefactor     6.9879        5.2546        .22111E-07   -.45441E-05
  17  Normalizat    .72510        .17512        .16976E-05   -.80794E-06
  18  Prefactor     1.1548        .16974       -.15663E-05   -.71950E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 2.07525
  norm       = 0.577585
  Prefactor  = 13.1936
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 1.53458
  norm       = 0
  norm       = 5.51419
  Prefactor  = 6.9879
  Normalizat = 0.725105
  Prefactor  = 1.15479
 **********
 **   18 **HESSE 
 **********

 FCN=   7131.242     FROM HESSE     STATUS=OK           284 CALLS     1399 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0753        36.991        .71474E-03   -1.5679    
   2  norm          .57758        .49767        .71278E-03   -1.5693    
   3  Prefactor     13.194        9.6987        .27574E-03   -1.5635    
   4  norm           .0000        .42605        .27105E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        22.513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        5.2517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        4.9538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        12.470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        18.215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.7221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.0363        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        2.8174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.5346        12.335        .85971E-03   -1.5683    
  14  norm           .0000        .20872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.5142        3.0005        .42761E-03   -1.5661    
  16  Prefactor     6.9879        5.2588        .37950E-03   -1.5655    
  17  Normalizat    .72510        .15190        .42625E-01   -1.0291    
  18  Prefactor     1.1548        .14691        .35798E-01   -.87734    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43386e-08
Minuit parameter uncertainties:
  1  17.5234
  2  0.497666
  3  9.6987
  4  2.49658e-08
  5  9.51979e-06
  6  6.49279e-07
  7  2.24966e-06
  8  4.22679e-06
  9  1.4962e-05
  10  2.4258e-08
  11  1.88569e-07
  12  1.05502e-06
  13  8.70143
  14  3.32273e-08
  15  3.00054
  16  5.25878
  17  0.151993
  18  0.146964
Done.

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

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  0.000e+00  1.496e-05  0.000e+00  1.000e+06 ( 1.000e-14)
352        Index:  1.829e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  3.503e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.155e+00  1.470e-01  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  7.251e-01  1.520e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 350.385 -16.318
Photon Flux Upper Limit: 3.82527909981e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00282637870715 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32121607/likelihoodResults_803088001_803347201_4FGL_J2321.5-1619_daily_bin2175.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) = 7131.26862337
delta logL = -0.0268688807537

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 7130.25124042
delta logL = 0.990514069421

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
     2 'Index     '    9.7832       1.0000          .0000       10.000    
     3 'Normalizat'    .64813       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2064       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7131.242     FROM MIGRAD    STATUS=FAILED       185 CALLS      989 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72164E-09    .30809E-08    .43870    ** at limit **
   2  Index         .38418        .12615        3050.3        .73848E-02
   3  Normalizat    .72511        .12013E-06    .26132E-03    .62856E-03
   4  Prefactor     1.1548        .11698E-06    .20494E-03    .14590E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7130.390     FROM SIMPLEX   STATUS=PROGRESS     482 CALLS     1471 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66613E-09    .30809E-08    .23283E-09** at limit **
   2  Index         9.5596        .12615        .10090E-02    .73848E-02
   3  Normalizat    .72511        .12013E-06    .25580E-12    .62856E-03
   4  Prefactor     1.1548        .11698E-06    .31370E-10    .14590E-03
                               ERR DEF=  .500    
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7130.390     FROM MIGRAD    STATUS=FAILED        65 CALLS     1536 TOTAL
                     EDM=   .31E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66613E-09     .0000        .87740    ** at limit **
   2  Index         9.5596        8.4411        3050.3       -.15016E-07
   3  Normalizat    .72511        .17192E-04    .10453E-04    11.414    
   4  Prefactor     1.1548        .16632E-04    .13691E-04    7.3714    
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.66134e-10
  Index      = 9.55963
  Normalizat = 0.725111
  Prefactor  = 1.15478
 **********
 **   18 **HESSE 
 **********

 FCN=   7130.390     FROM HESSE     STATUS=NOT POSDEF    31 CALLS     1567 TOTAL
                     EDM=   .31E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66613E-09     .0000        .87740       -.18400E+07
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.5596        8.4411        3050.3       -.63969E+10
   3  Normalizat    .72511        .17192E-04    .77355E-05   -32.445    
   4  Prefactor     1.1548        .16632E-04    .13691E-04   -57.426    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 0.000309956
Minuit parameter uncertainties:
  1  1.78788e-12
  2  22.4368
  3  1.71923e-05
  4  1.66319e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 7130.39013787
delta logL = 0.851616611926

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  6.661e-10  1.788e-12  0.000e+00  1.000e+06 ( 1.000e-14)
352        Index:  9.560e+00  2.244e+01  0.000e+00  1.000e+01 (-1.000e+00)
353        Scale:  3.503e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.155e+00  1.663e-05  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  7.251e-01  1.719e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.70
Ra Dec: 350.385 -16.318
Photon Index (Free Index): 9.56 +/- 22.44
Photon Flux (Free Index): 4.65e-08 +/- 3.49e-06
Energy Flux (Free Index): 5.23e-06 +/- 3.93e-04

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/32121607/cmap_HighResolution_803088001_803347201_4FGL_J2321.5-1619_daily_bin2175.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.83e-03', comment='SUCCESS', energy_flux2='5.23e-06', dlogl='8.52e-01', photon_flux2='4.65e-08', job_status='DONE', time_completed='2026-07-17 22:37:57.231774', photon_index_error2='22.44', photon_index2='9.56', ts='0.00', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='3.83e-08', energy_flux_error2='3.93e-04', EG='0.73', time_epoch_completed='1784353077.23', return_code='0', job_id='32121607', GAL2='1.15', EG2='0.73', return_code2='1', photon_flux_error2='3.49e-06', ts2='1.70', photon_index='1.83' WHERE bin_id='2175' AND source_name='4FGL J2321.5-1619' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 17 22:37:57 PDT 2026

