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


Performing analysis on: 4FGL_J2321.5-1619_daily_bin2170
RA = 350.385, Dec = -16.3176
tmin = 801792001, tmax = 802051201
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='27685650', job_status='RUN', time_executed='2026-06-02 20:51:12.055469', time_epoch_executed='1780458672.06' WHERE source_name='4FGL J2321.5-1619' and cadence='daily' and bin_id='2170'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27685650

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27685650/ft1_4FGL_J2321.5-1619_daily_bin2170.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27685650/ft2_4FGL_J2321.5-1619_daily_bin2170.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27685650/ft1_4FGL_J2321.5-1619_daily_bin2170.fits outfile=/lscratch/kocevski/27685650/ft1_filteredMKT_4FGL_J2321.5-1619_daily_bin2170.fits ra=350.385 dec=-16.3176 rad=12.0 tmin=801792001.0 tmax=802051201.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.86
user 1.83
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27685650/ft2_4FGL_J2321.5-1619_daily_bin2170.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/27685650/ft1_filteredMKT_4FGL_J2321.5-1619_daily_bin2170.fits evtable="EVENTS" outfile="/lscratch/kocevski/27685650/ft1_filtered_4FGL_J2321.5-1619_daily_bin2170.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.97
user 0.18
sys 0.14

Number of photons that the gtmktime cut: 617

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27685650/ft1_filtered_4FGL_J2321.5-1619_daily_bin2170.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27685650/ft2_4FGL_J2321.5-1619_daily_bin2170.fits sctable="SC_DATA" /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

outfile=/lscratch/kocevski/27685650/ltcube_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.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/27685650/ft2_4FGL_J2321.5-1619_daily_bin2170.fits
.....................!
real 8.32
user 7.27
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27685650/ft1_filtered_4FGL_J2321.5-1619_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27685650/ft2_4FGL_J2321.5-1619_daily_bin2170.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27685650/ltcube_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.fits outfile=/lscratch/kocevski/27685650/expmap_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.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/27685650/ltcube_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.fits
.....................!
real 66.41
user 61.56
sys 3.91

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
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/27685650/ft1_filtered_4FGL_J2321.5-1619_daily_bin2170.fits scfile=/lscratch/kocevski/27685650/ft2_4FGL_J2321.5-1619_daily_bin2170.fits outfile=/lscratch/kocevski/27685650/cmap_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.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.88
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27685650/ft1_filtered_4FGL_J2321.5-1619_daily_bin2170.fits scfile=/lscratch/kocevski/27685650/ft2_4FGL_J2321.5-1619_daily_bin2170.fits outfile=/lscratch/kocevski/27685650/cmap_HighResolution_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.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 1.02
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27685650/ft1_filtered_4FGL_J2321.5-1619_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27685650/ft2_4FGL_J2321.5-1619_daily_bin2170.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27685650/Model_4FGL_J2321.5-1619_daily_bin2170.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/27685650/ft1_filtered_4FGL_J2321.5-1619_daily_bin2170.fits.....................!
real 22.86
user 20.98
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27685650/ft1_filtered_4FGL_J2321.5-1619_daily_bin2170.fits', '/lscratch/kocevski/27685650/ft2_4FGL_J2321.5-1619_daily_bin2170.fits', expMap='/lscratch/kocevski/27685650/expmap_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.fits', expCube='/lscratch/kocevski/27685650/ltcube_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27685650/Model_4FGL_J2321.5-1619_daily_bin2170.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/27685650/ft1_filtered_4FGL_J2321.5-1619_daily_bin2170.fits
Spacecraft file(s): /lscratch/kocevski/27685650/ft2_4FGL_J2321.5-1619_daily_bin2170.fits
Exposure map: /lscratch/kocevski/27685650/expmap_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.fits
Exposure cube: /lscratch/kocevski/27685650/ltcube_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27685650/Model_4FGL_J2321.5-1619_daily_bin2170.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) = 6818.59946283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28670E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .30673E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .11277E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .30712       1.0000          .0000       .10000E+07
     5 'Prefactor '    45.514       1.0000          .0000       .10000E+07
     6 'Prefactor '    .84072E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .22760E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .27547E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .64438E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .80613E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .56697E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.4802       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.3870       1.0000          .0000       .10000E+07
    14 'norm      '    .18480       1.0000          .0000       .10000E+07
    15 'norm      '    3.6841       1.0000          .0000       .10000E+07
    16 'Prefactor '    .33311E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    .96921       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93107       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=   6818.560     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1329 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36193E-07    47.836        .19166E-05** at limit **
   2  norm          .31790E-01    .94711        .18763E-07** at limit **
   3  Prefactor     .24980E-08    13.150       -.24664E-06** at limit **
   4  norm          .31609        .69810        .13518E-06    .68847E-03
   5  Prefactor     44.950        2.5961        .62014E-07   -.82431E-01
   6  Prefactor      .0000        2.0097        .14075E-06** at limit **
   7  Prefactor     .26645E-08    11.579       -.22849E-06** at limit **
   8  Prefactor     .33307E-09    25.674        .10975E-05** at limit **
   9  Prefactor     .16653E-09    7.9767       -.32760E-06** at limit **
  10  Prefactor      .0000        3.4226       -.67776E-07** at limit **
  11  norm           .0000        1.3472       -.54549E-07** at limit **
  12  norm          1.4793        2.1304        .39261E-07    .38652E-03
  13  Prefactor     4.4178        1.2912       -.13257E-07    .84777E-01
  14  norm          .18422        .24537        .26597E-07** at limit **
  15  norm          3.6818        2.5940       -.29320E-07   -.45227E-03
  16  Prefactor     .55511E-10    3.4436       -.40378E-07** at limit **
  17  Normalizat    .96968        .17659        .24083E-05   -.10815E-03
  18  Prefactor     .93082        .16564       -.44547E-05   -.83210E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.61933e-08
  norm       = 0.0317896
  Prefactor  = 2.498e-09
  norm       = 0.316088
  Prefactor  = 44.9498
  Prefactor  = 0
  Prefactor  = 2.66454e-09
  Prefactor  = 3.33067e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 0
  norm       = 1.47928
  Prefactor  = 4.41776
  norm       = 0.184216
  norm       = 3.68185
  Prefactor  = 5.55112e-11
  Normalizat = 0.969679
  Prefactor  = 0.930816
number of points = 7412
number of fields = 31
RA_SUN column already exists. File will not be modified.
 **********
 **   18 **HESSE 
 **********

 FCN=   6818.560     FROM HESSE     STATUS=OK           276 CALLS     1605 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .36193E-07    47.997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .31790E-01    .33673        .16415E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .24980E-08    13.172        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .31609        .74852        .10115E-02   -1.5719    
   5  Prefactor     44.950        24.782        .14824E-03   -1.5574    
   6  Prefactor      .0000        2.0089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .26645E-08    11.556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .33307E-09    25.755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16653E-09    7.9782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        3.4232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.3483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.4793        2.1601        .88189E-03   -1.5684    
  13  Prefactor     4.4178        10.133        .48061E-03   -1.5666    
  14  norm          .18422        .29420        .10147E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.6818        2.6405        .52596E-03   -1.5670    
  16  Prefactor     .55511E-10    3.4407        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .96968        .15191        .45780E-01   -.94053    
  18  Prefactor     .93082        .14109        .45400E-01   -.95072    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69124e-07
Minuit parameter uncertainties:
  1  0.00263599
  2  0.206927
  3  0.000361989
  4  0.748518
  5  24.7821
  6  5.0318e-06
  7  0.000351532
  8  0.000183929
  9  7.58108e-05
  10  1.15085e-05
  11  4.02924e-06
  12  2.16009
  13  10.1334
  14  0.294202
  15  2.64053
  16  2.35909e-05
  17  0.15198
  18  0.141143
Done.


Performing analysis on: 4FGL_J2321.5-1619_daily_bin2170
RA = 350.385, Dec = -16.3176
tmin = 801792001, tmax = 802051201
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='27685702', job_status='RUN', time_executed='2026-06-02 20:54:17.183356', time_epoch_executed='1780458857.18' WHERE source_name='4FGL J2321.5-1619' and cadence='daily' and bin_id='2170'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27685702

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27685702/ft1_4FGL_J2321.5-1619_daily_bin2170.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27685702/ft2_4FGL_J2321.5-1619_daily_bin2170.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27685702/ft1_4FGL_J2321.5-1619_daily_bin2170.fits outfile=/lscratch/kocevski/27685702/ft1_filteredMKT_4FGL_J2321.5-1619_daily_bin2170.fits ra=350.385 dec=-16.3176 rad=12.0 tmin=801792001.0 tmax=802051201.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.77
user 2.04
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27685702/ft2_4FGL_J2321.5-1619_daily_bin2170.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/27685702/ft1_filteredMKT_4FGL_J2321.5-1619_daily_bin2170.fits evtable="EVENTS" outfile="/lscratch/kocevski/27685702/ft1_filtered_4FGL_J2321.5-1619_daily_bin2170.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.96
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 617

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27685702/ft1_filtered_4FGL_J2321.5-1619_daily_bin2170.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27685702/ft2_4FGL_J2321.5-1619_daily_bin2170.fits sctable="SC_DATA" Done.

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

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  1.665e-10  7.581e-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:  9.308e-01  1.411e-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:  9.697e-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.22162185917e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00238035531203 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27685650/likelihoodResults_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.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) = 6818.62036973
delta logL = -0.0599571299463

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6818.56041349
delta logL = -8.87869646249e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38469E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .40624       1.0000          .0000       10.000    
     3 'Normalizat'    .96976       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93065       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6818.560     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      210 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.0168        .42118E-03** at limit **
   2  Index         2.1696        1.5419        .30821E-04     .0000    
   3  Normalizat    .96968        1.3013       -.15540E-05    .28565E-05
   4  Prefactor     .93082        1.2741       -.32318E-05    .26389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.16962
  Normalizat = 0.969679
  Prefactor  = 0.930816
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6818.560     FROM HESSE     STATUS=FAILED         9 CALLS      219 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.0168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .51765        1.8575        .30821E-04   -.60174    
   3  Normalizat    .96968        1.3013       -.15540E-05   -.94053    
   4  Prefactor     .93082        1.2741       -.32318E-05   -.95072    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.1438e-12
Minuit parameter uncertainties:
  1  4.30727e-06
  2  1.58036
  3  1.34789
  4  1.31892
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) = 6818.5604126
delta logL = 1.45519152284e-11

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  0.000e+00  4.307e-06  0.000e+00  1.000e+06 ( 1.000e-14)
352        Index:  2.170e+00  1.580e+00  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:  9.308e-01  1.319e+00  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:  9.697e-01  1.348e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 350.385 -16.318

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/27685650/cmap_HighResolution_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.38e-03', job_status='DONE', photon_flux_upper_limit='3.22e-08', time_completed='2026-06-02 20:57:19.707188', job_id='27685650', GAL2='0.93', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1780459039.71', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.83' WHERE bin_id='2170' AND source_name='4FGL J2321.5-1619' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 20:57:20 PDT 2026

outfile=/lscratch/kocevski/27685702/ltcube_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.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/27685702/ft2_4FGL_J2321.5-1619_daily_bin2170.fits
.....................!
real 9.39
user 8.24
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27685702/ft1_filtered_4FGL_J2321.5-1619_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27685702/ft2_4FGL_J2321.5-1619_daily_bin2170.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27685702/ltcube_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.fits outfile=/lscratch/kocevski/27685702/expmap_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.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/27685702/ltcube_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.fits
.....................!
real 73.74
user 68.32
sys 4.23

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/27685702/ft1_filtered_4FGL_J2321.5-1619_daily_bin2170.fits scfile=/lscratch/kocevski/27685702/ft2_4FGL_J2321.5-1619_daily_bin2170.fits outfile=/lscratch/kocevski/27685702/cmap_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.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.99
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27685702/ft1_filtered_4FGL_J2321.5-1619_daily_bin2170.fits scfile=/lscratch/kocevski/27685702/ft2_4FGL_J2321.5-1619_daily_bin2170.fits outfile=/lscratch/kocevski/27685702/cmap_HighResolution_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.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.89
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27685702/ft1_filtered_4FGL_J2321.5-1619_daily_bin2170.fits evtable="EVENTS" scfile=/lscratch/kocevski/27685702/ft2_4FGL_J2321.5-1619_daily_bin2170.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27685702/Model_4FGL_J2321.5-1619_daily_bin2170.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/27685702/ft1_filtered_4FGL_J2321.5-1619_daily_bin2170.fits.....................!
real 24.19
user 22.27
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27685702/ft1_filtered_4FGL_J2321.5-1619_daily_bin2170.fits', '/lscratch/kocevski/27685702/ft2_4FGL_J2321.5-1619_daily_bin2170.fits', expMap='/lscratch/kocevski/27685702/expmap_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.fits', expCube='/lscratch/kocevski/27685702/ltcube_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27685702/Model_4FGL_J2321.5-1619_daily_bin2170.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/27685702/ft1_filtered_4FGL_J2321.5-1619_daily_bin2170.fits
Spacecraft file(s): /lscratch/kocevski/27685702/ft2_4FGL_J2321.5-1619_daily_bin2170.fits
Exposure map: /lscratch/kocevski/27685702/expmap_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.fits
Exposure cube: /lscratch/kocevski/27685702/ltcube_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27685702/Model_4FGL_J2321.5-1619_daily_bin2170.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) = 6818.59946283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28670E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .30673E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .11277E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .30712       1.0000          .0000       .10000E+07
     5 'Prefactor '    45.514       1.0000          .0000       .10000E+07
     6 'Prefactor '    .84072E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .22760E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .27547E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .64438E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .80613E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .56697E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.4802       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.3870       1.0000          .0000       .10000E+07
    14 'norm      '    .18480       1.0000          .0000       .10000E+07
    15 'norm      '    3.6841       1.0000          .0000       .10000E+07
    16 'Prefactor '    .33311E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    .96921       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93107       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=   6818.560     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1329 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36193E-07    47.836        .19166E-05** at limit **
   2  norm          .31790E-01    .94711        .18763E-07** at limit **
   3  Prefactor     .24980E-08    13.150       -.24664E-06** at limit **
   4  norm          .31609        .69810        .13518E-06    .68847E-03
   5  Prefactor     44.950        2.5961        .62014E-07   -.82431E-01
   6  Prefactor      .0000        2.0097        .14075E-06** at limit **
   7  Prefactor     .26645E-08    11.579       -.22849E-06** at limit **
   8  Prefactor     .33307E-09    25.674        .10975E-05** at limit **
   9  Prefactor     .16653E-09    7.9767       -.32760E-06** at limit **
  10  Prefactor      .0000        3.4226       -.67776E-07** at limit **
  11  norm           .0000        1.3472       -.54549E-07** at limit **
  12  norm          1.4793        2.1304        .39261E-07    .38652E-03
  13  Prefactor     4.4178        1.2912       -.13257E-07    .84777E-01
  14  norm          .18422        .24537        .26597E-07** at limit **
  15  norm          3.6818        2.5940       -.29320E-07   -.45227E-03
  16  Prefactor     .55511E-10    3.4436       -.40378E-07** at limit **
  17  Normalizat    .96968        .17659        .24083E-05   -.10815E-03
  18  Prefactor     .93082        .16564       -.44547E-05   -.83210E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.61933e-08
  norm       = 0.0317896
  Prefactor  = 2.498e-09
  norm       = 0.316088
  Prefactor  = 44.9498
  Prefactor  = 0
  Prefactor  = 2.66454e-09
  Prefactor  = 3.33067e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 0
  norm       = 1.47928
  Prefactor  = 4.41776
  norm       = 0.184216
  norm       = 3.68185
  Prefactor  = 5.55112e-11
  Normalizat = 0.969679
  Prefactor  = 0.930816
 **********
 **   18 **HESSE 
 **********

 FCN=   6818.560     FROM HESSE     STATUS=OK           276 CALLS     1605 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .36193E-07    47.997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .31790E-01    .33673        .16415E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .24980E-08    13.172        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .31609        .74852        .10115E-02   -1.5719    
   5  Prefactor     44.950        24.782        .14824E-03   -1.5574    
   6  Prefactor      .0000        2.0089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .26645E-08    11.556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .33307E-09    25.755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16653E-09    7.9782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        3.4232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.3483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.4793        2.1601        .88189E-03   -1.5684    
  13  Prefactor     4.4178        10.133        .48061E-03   -1.5666    
  14  norm          .18422        .29420        .10147E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.6818        2.6405        .52596E-03   -1.5670    
  16  Prefactor     .55511E-10    3.4407        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .96968        .15191        .45780E-01   -.94053    
  18  Prefactor     .93082        .14109        .45400E-01   -.95072    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69124e-07
Minuit parameter uncertainties:
  1  0.00263599
  2  0.206927
  3  0.000361989
  4  0.748518
  5  24.7821
  6  5.0318e-06
  7  0.000351532
  8  0.000183929
  9  7.58108e-05
  10  1.15085e-05
  11  4.02924e-06
  12  2.16009
  13  10.1334
  14  0.294202
  15  2.64053
  16  2.35909e-05
  17  0.15198
  18  0.141143
Done.

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

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  1.665e-10  7.581e-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:  9.308e-01  1.411e-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:  9.697e-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.22162185917e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00238035531203 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27685702/likelihoodResults_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.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) = 6818.62036973
delta logL = -0.0599571299463

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6818.56041349
delta logL = -8.87869646249e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38469E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .40624       1.0000          .0000       10.000    
     3 'Normalizat'    .96976       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93065       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6818.560     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      210 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.0168        .42118E-03** at limit **
   2  Index         2.1696        1.5419        .30821E-04     .0000    
   3  Normalizat    .96968        1.3013       -.15540E-05    .28565E-05
   4  Prefactor     .93082        1.2741       -.32318E-05    .26389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.16962
  Normalizat = 0.969679
  Prefactor  = 0.930816
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6818.560     FROM HESSE     STATUS=FAILED         9 CALLS      219 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.0168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .51765        1.8575        .30821E-04   -.60174    
   3  Normalizat    .96968        1.3013       -.15540E-05   -.94053    
   4  Prefactor     .93082        1.2741       -.32318E-05   -.95072    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.1438e-12
Minuit parameter uncertainties:
  1  4.30727e-06
  2  1.58036
  3  1.34789
  4  1.31892
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) = 6818.5604126
delta logL = 1.45519152284e-11

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  0.000e+00  4.307e-06  0.000e+00  1.000e+06 ( 1.000e-14)
352        Index:  2.170e+00  1.580e+00  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:  9.308e-01  1.319e+00  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:  9.697e-01  1.348e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 350.385 -16.318

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/27685702/cmap_HighResolution_801792001_802051201_4FGL_J2321.5-1619_daily_bin2170.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.38e-03', job_status='DONE', photon_flux_upper_limit='3.22e-08', time_completed='2026-06-02 21:00:33.903931', job_id='27685702', GAL2='0.93', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1780459233.9', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.83' WHERE bin_id='2170' AND source_name='4FGL J2321.5-1619' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun  2 21:00:34 PDT 2026

