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

 FCN=   9491.234     FROM HESSE     STATUS=OK           294 CALLS     1468 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .72226E-02    .55628        .26884E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .15266E-07    8.8150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .50021E-06    2.3443        .97387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .94369E-09    4.7412        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .17375E-06    10.703        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .94369E-09    1.9604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .33307E-09    2.9813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .29788E-05    .38663        .32550E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.5539        1.7151        .63905E-03   -1.5676    
  10  Prefactor     .13323E-08    15.657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .35194E-07    45.221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.6519        7.1168        .45761E-03   -1.5665    
  13  Prefactor      .0000        4.1587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6888        1.5928        .81037E-03   -1.5682    
  15  norm          1.8417        1.4531        .76796E-03   -1.5681    
  16  Prefactor     .12612E-06    11.339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0207        .16625        .72967E-01   -.92342    
  18  Prefactor     1.1316        .92501E-01    .36483E-01   -.88462    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5443e-08
Minuit parameter uncertainties:
  1  0.126771
  2  0.000733337
  3  0.00216577
  4  0.000133473
  5  0.00272735
  6  8.67333e-05
  7  6.13622e-05
  8  0.00214635
  9  1.71513
  10  0.000291463
  11  0.00252391
  12  7.11681
  13  1.46261e-05
  14  1.59279
  15  1.45311
  16  0.00239201
  17  0.166338
  18  0.0925143
/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) = 9491.23424718

Extracting fit parameters...

4FGL J0422.1-0644
   Spectrum: LogParabola
227         norm:  3.331e-10  6.136e-05  0.000e+00  1.000e+06 ( 1.000e-12)
228        alpha:  2.445e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
229         beta:  8.202e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
230           Eb:  5.764e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  1.132e+00  9.251e-02  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.021e+00  1.663e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 65.534 -6.741
Photon Flux Upper Limit: 5.42288241407e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.60624835038e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33170188/likelihoodResults_806457601_806716801_4FGL_J0422.1-0644_daily_bin2188.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) = 9491.23435376
delta logL = -0.000106578496343

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9491.2342549
delta logL = -7.72448038333e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9491.234     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      239 TOTAL
                     EDM=   .36E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.0253        .42118E-03** at limit **
   2  alpha         3.9548        1.2020        .72361E-04     .0000    
   3  Normalizat    1.0207        1.2608       -.24313E-04    .11905E-03
   4  Prefactor     1.1316        1.1307        .78695E-05    .94338E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.95476
  Normalizat = 1.02066
  Prefactor  = 1.13161
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9491.234     FROM HESSE     STATUS=FAILED         7 CALLS      246 TOTAL
                     EDM=   .36E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.0253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7771        1.2020        .72361E-04    .62107    
   3  Normalizat    1.0207        1.2608       -.24313E-04   -.92341    
   4  Prefactor     1.1316        1.1307        .78695E-05   -.88462    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.58287e-11
Minuit parameter uncertainties:
  1  4.49433e-06
  2  1.28608
  3  1.30089
  4  1.15624
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) = 9491.23424718
delta logL = 3.45607986674e-11

Extracting fit parameters...

4FGL J0422.1-0644
   Spectrum: LogParabola
227         norm:  0.000e+00  4.494e-06  0.000e+00  1.000e+06 ( 1.000e-12)
228        alpha:  3.955e+00  1.286e+00  0.000e+00  5.000e+00 ( 1.000e+00)
229         beta:  8.202e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
230           Eb:  5.764e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  1.132e+00  1.156e+00  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.021e+00  1.301e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 65.534 -6.741

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/33170188/cmap_HighResolution_806457601_806716801_4FGL_J0422.1-0644_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.61e-05', job_status='DONE', photon_flux_upper_limit='5.42e-08', time_completed='2026-07-26 04:41:34.727349', job_id='33170188', GAL2='1.13', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1785066094.73', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='3.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2188' AND source_name='4FGL J0422.1-0644' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 04:41:35 PDT 2026

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


Performing analysis on: 4FGL_J0422.1-0644_daily_bin2188
RA = 65.5343, Dec = -6.741
tmin = 806457601, tmax = 806716801
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='33170368', job_status='RUN', time_executed='2026-07-26 04:41:22.061196', time_epoch_executed='1785066082.06' WHERE source_name='4FGL J0422.1-0644' and cadence='daily' and bin_id='2188'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33170368

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33170368/ft1_4FGL_J0422.1-0644_daily_bin2188.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33170368/ft2_4FGL_J0422.1-0644_daily_bin2188.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33170368/ft1_4FGL_J0422.1-0644_daily_bin2188.fits outfile=/lscratch/kocevski/33170368/ft1_filteredMKT_4FGL_J0422.1-0644_daily_bin2188.fits ra=65.5343 dec=-6.741 rad=12.0 tmin=806457601.0 tmax=806716801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.12
user 2.52
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33170368/ft2_4FGL_J0422.1-0644_daily_bin2188.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33170368/ft2_4FGL_J0422.1-0644_daily_bin2188.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/33170368/ft1_filteredMKT_4FGL_J0422.1-0644_daily_bin2188.fits evtable="EVENTS" outfile="/lscratch/kocevski/33170368/ft1_filtered_4FGL_J0422.1-0644_daily_bin2188.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.70
user 0.20
sys 0.12

Number of photons that the gtmktime cut: 878

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33170368/ft1_filtered_4FGL_J0422.1-0644_daily_bin2188.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33170368/ft2_4FGL_J0422.1-0644_daily_bin2188.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33170368/ltcube_806457601_806716801_4FGL_J0422.1-0644_daily_bin2188.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/33170368/ft2_4FGL_J0422.1-0644_daily_bin2188.fits
.....................!
real 7.84
user 7.18
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33170368/ft1_filtered_4FGL_J0422.1-0644_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33170368/ft2_4FGL_J0422.1-0644_daily_bin2188.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33170368/ltcube_806457601_806716801_4FGL_J0422.1-0644_daily_bin2188.fits outfile=/lscratch/kocevski/33170368/expmap_806457601_806716801_4FGL_J0422.1-0644_daily_bin2188.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/33170368/ltcube_806457601_806716801_4FGL_J0422.1-0644_daily_bin2188.fits
.....................!
real 66.53
user 61.95
sys 3.80

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

Setting source of interest to:
4FGL J0422.1-0644 @ 65.5343 -6.741

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33170368/ft1_filtered_4FGL_J0422.1-0644_daily_bin2188.fits scfile=/lscratch/kocevski/33170368/ft2_4FGL_J0422.1-0644_daily_bin2188.fits outfile=/lscratch/kocevski/33170368/cmap_806457601_806716801_4FGL_J0422.1-0644_daily_bin2188.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=65.5343 yref=-6.741 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.66
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33170368/ft1_filtered_4FGL_J0422.1-0644_daily_bin2188.fits scfile=/lscratch/kocevski/33170368/ft2_4FGL_J0422.1-0644_daily_bin2188.fits outfile=/lscratch/kocevski/33170368/cmap_HighResolution_806457601_806716801_4FGL_J0422.1-0644_daily_bin2188.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=65.5343 yref=-6.741 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.76
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33170368/ft1_filtered_4FGL_J0422.1-0644_daily_bin2188.fits evtable="EVENTS" scfile=/lscratch/kocevski/33170368/ft2_4FGL_J0422.1-0644_daily_bin2188.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33170368/Model_4FGL_J0422.1-0644_daily_bin2188.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/33170368/ft1_filtered_4FGL_J0422.1-0644_daily_bin2188.fits.....................!
real 48.45
user 46.86
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33170368/ft1_filtered_4FGL_J0422.1-0644_daily_bin2188.fits', '/lscratch/kocevski/33170368/ft2_4FGL_J0422.1-0644_daily_bin2188.fits', expMap='/lscratch/kocevski/33170368/expmap_806457601_806716801_4FGL_J0422.1-0644_daily_bin2188.fits', expCube='/lscratch/kocevski/33170368/ltcube_806457601_806716801_4FGL_J0422.1-0644_daily_bin2188.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33170368/Model_4FGL_J0422.1-0644_daily_bin2188.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0422.1-0644'

4FGL J0422.1-0644
   Spectrum: LogParabola
227         norm:  8.015e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
228        alpha:  2.445e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
229         beta:  8.202e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
230           Eb:  5.764e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33170368/ft1_filtered_4FGL_J0422.1-0644_daily_bin2188.fits
Spacecraft file(s): /lscratch/kocevski/33170368/ft2_4FGL_J0422.1-0644_daily_bin2188.fits
Exposure map: /lscratch/kocevski/33170368/expmap_806457601_806716801_4FGL_J0422.1-0644_daily_bin2188.fits
Exposure cube: /lscratch/kocevski/33170368/ltcube_806457601_806716801_4FGL_J0422.1-0644_daily_bin2188.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33170368/Model_4FGL_J0422.1-0644_daily_bin2188.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) = 9491.34839479

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .59926E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41156E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .98813E-01   1.0000          .0000       .10000E+07
     4 'norm      '    .18160E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .25648E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .26258E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .81962E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .29783E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.5508       1.0000          .0000       .10000E+07
    10 'Prefactor '    .75623E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .51207E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    4.8278       1.0000          .0000       .10000E+07
    13 'Prefactor '    .50083E-05   1.0000          .0000       .10000E+07
    14 'norm      '    1.6870       1.0000          .0000       .10000E+07
    15 'norm      '    1.8430       1.0000          .0000       .10000E+07
    16 'Prefactor '    .24379E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0191       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1319       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9491.234     FROM MIGRAD    STATUS=CONVERGED    210 CALLS     1174 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .72226E-02    8.8076       -.21736E-06** at limit **
   2  Prefactor     .15266E-07    8.6386       -.53113E-08** at limit **
   3  Prefactor     .50021E-06    52.445        .21957E-06** at limit **
   4  norm          .94369E-09    4.7030       -.14748E-07** at limit **
   5  Prefactor     .17375E-06    5.4303       -.97973E-08** at limit **
   6  norm          .94369E-09    1.9603        .78538E-08** at limit **
   7  norm          .33307E-09    2.9858        .38777E-07** at limit **
   8  norm          .29788E-05    15.181       -.31435E-06** at limit **
   9  Prefactor     2.5539        1.6596       -.14585E-07   -.13650E-03
  10  Prefactor     .13323E-08    15.428       -.39125E-07** at limit **
  11  Prefactor     .35194E-07    45.060        .68194E-07** at limit **
  12  Prefactor     4.6519        7.0026        .41346E-07    .72754E-03
  13  Prefactor      .0000        4.1431        .53409E-07** at limit **
  14  norm          1.6888        1.5760        .48312E-07    .41910E-02
  15  norm          1.8417        1.4385        .18084E-07    .12757E-02
  16  Prefactor     .12612E-06    6.4296        .11777E-07** at limit **
  17  Normalizat    1.0207        .17898       -.33757E-06   -.52742E-04
  18  Prefactor     1.1316        .10215       -.14516E-06   -.10753E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00722255
  Prefactor  = 1.52656e-08
  Prefactor  = 5.00211e-07
  norm       = 9.4369e-10
  Prefactor  = 1.7375e-07
  norm       = 9.4369e-10
  norm       = 3.33067e-10
  norm       = 2.97884e-06
  Prefactor  = 2.55387
  Prefactor  = 1.33227e-09
  Prefactor  = 3.51941e-08
  Prefactor  = 4.65186
  Prefactor  = 0
  norm       = 1.68879
  norm       = 1.84166
  Prefactor  = 1.26121e-07
  Normalizat = 1.02066
  Prefactor  = 1.13161
 **********
 **   18 **HESSE 
 **********

 FCN=   9491.234     FROM HESSE     STATUS=OK           294 CALLS     1468 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .72226E-02    .55628        .26884E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .15266E-07    8.8150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .50021E-06    2.3443        .97387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .94369E-09    4.7412        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .17375E-06    10.703        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .94369E-09    1.9604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .33307E-09    2.9813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .29788E-05    .38663        .32550E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.5539        1.7151        .63905E-03   -1.5676    
  10  Prefactor     .13323E-08    15.657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .35194E-07    45.221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.6519        7.1168        .45761E-03   -1.5665    
  13  Prefactor      .0000        4.1587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6888        1.5928        .81037E-03   -1.5682    
  15  norm          1.8417        1.4531        .76796E-03   -1.5681    
  16  Prefactor     .12612E-06    11.339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0207        .16625        .72967E-01   -.92342    
  18  Prefactor     1.1316        .92501E-01    .36483E-01   -.88462    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5443e-08
Minuit parameter uncertainties:
  1  0.126771
  2  0.000733337
  3  0.00216577
  4  0.000133473
  5  0.00272735
  6  8.67333e-05
  7  6.13622e-05
  8  0.00214635
  9  1.71513
  10  0.000291463
  11  0.00252391
  12  7.11681
  13  1.46261e-05
  14  1.59279
  15  1.45311
  16  0.00239201
  17  0.166338
  18  0.0925143
Done.

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

Extracting fit parameters...

4FGL J0422.1-0644
   Spectrum: LogParabola
227         norm:  3.331e-10  6.136e-05  0.000e+00  1.000e+06 ( 1.000e-12)
228        alpha:  2.445e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
229         beta:  8.202e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
230           Eb:  5.764e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  1.132e+00  9.251e-02  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.021e+00  1.663e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 65.534 -6.741
Photon Flux Upper Limit: 5.42288241407e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.60624835038e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33170368/likelihoodResults_806457601_806716801_4FGL_J0422.1-0644_daily_bin2188.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) = 9491.23435376
delta logL = -0.000106578496343

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9491.2342549
delta logL = -7.72448038333e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9491.234     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      239 TOTAL
                     EDM=   .36E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.0253        .42118E-03** at limit **
   2  alpha         3.9548        1.2020        .72361E-04     .0000    
   3  Normalizat    1.0207        1.2608       -.24313E-04    .11905E-03
   4  Prefactor     1.1316        1.1307        .78695E-05    .94338E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.95476
  Normalizat = 1.02066
  Prefactor  = 1.13161
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9491.234     FROM HESSE     STATUS=FAILED         7 CALLS      246 TOTAL
                     EDM=   .36E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.0253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7771        1.2020        .72361E-04    .62107    
   3  Normalizat    1.0207        1.2608       -.24313E-04   -.92341    
   4  Prefactor     1.1316        1.1307        .78695E-05   -.88462    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.58287e-11
Minuit parameter uncertainties:
  1  4.49433e-06
  2  1.28608
  3  1.30089
  4  1.15624
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) = 9491.23424718
delta logL = 3.45607986674e-11

Extracting fit parameters...

4FGL J0422.1-0644
   Spectrum: LogParabola
227         norm:  0.000e+00  4.494e-06  0.000e+00  1.000e+06 ( 1.000e-12)
228        alpha:  3.955e+00  1.286e+00  0.000e+00  5.000e+00 ( 1.000e+00)
229         beta:  8.202e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
230           Eb:  5.764e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
465    Prefactor:  1.132e+00  1.156e+00  0.000e+00  1.000e+01 ( 1.000e+00)
466        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
467        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
464   Normalization:  1.021e+00  1.301e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 65.534 -6.741

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/33170368/cmap_HighResolution_806457601_806716801_4FGL_J0422.1-0644_daily_bin2188.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.61e-05', job_status='DONE', photon_flux_upper_limit='5.42e-08', time_completed='2026-07-26 04:47:14.842897', job_id='33170368', GAL2='1.13', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1785066434.84', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='3.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2188' AND source_name='4FGL J0422.1-0644' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 26 04:47:15 PDT 2026

