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

 FCN=   7304.653     FROM HESSE     STATUS=OK           363 CALLS     2025 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28089E-07    5.8979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.7171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .64393E-08    235.45        .10661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.4997        3.3605        .87142E-03   -1.5683    
   5  Prefactor     .58342E-07    6.1337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.287        12.303        .23397E-03   -1.5622    
   7  Prefactor     2.3809        1.7614        .66527E-03   -1.5677    
   8  Prefactor      .0000        .87193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8235        1.9471        .77294E-03   -1.5681    
  10  norm           .0000        .19520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .22149E-07    7.5104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .27014E-01    .58290        .34059E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .94369E-09    5.3828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.9461        2.6476        .50843E-03   -1.5668    
  15  norm          .78881E-07    7.4289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     46.410        24.624        .14677E-03   -1.5572    
  17  Prefactor     1.4067        5.9213        .90540E-03   -1.5684    
  18  Prefactor     4.7727        2.8562        .46015E-03   -1.5664    
  19  Prefactor     .16653E-09    22.855        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .70886        .15386        .61939E-01   -1.0354    
  21  Prefactor     1.0588        .12077        .39429E-01   -.90793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50396e-08
Minuit parameter uncertainties:
  1  0.000814031
  2  2.95428e-06
  3  0.00246533
  4  3.36052
  5  0.00119663
  6  12.3026
  7  1.76138
  8  3.97356e-07
  9  1.94705
  10  9.57612e-08
  11  0.000815605
  12  0.250972
  13  0.000141534
  14  2.64762
  15  0.00153088
  16  24.624
  17  5.77222
  18  2.85617
  19  0.000124565
  20  0.153957
  21  0.120802
/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) = 7304.65296626

Extracting fit parameters...

4FGL J0348.6-1609
   Spectrum: PowerLaw
277    Prefactor:  2.215e-08  8.156e-04  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.371e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  9.291e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.059e+00  1.208e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
503   Normalization:  7.089e-01  1.540e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 57.153 -16.165
Photon Flux Upper Limit: 4.70628143767e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00362968638649 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27440819/likelihoodResults_801532801_801792001_4FGL_J0348.6-1609_daily_bin2169.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) = 7304.6530909
delta logL = -0.000124646955555

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7304.65296752
delta logL = -1.26496252051e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16993E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.1738       1.0000          .0000       10.000    
     3 'Normalizat'    .70897       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0587       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7304.653     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      254 TOTAL
                     EDM=   .61E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1816        .42118E-03** at limit **
   2  Index         .81666        .67424       -.13982E-04     .0000    
   3  Normalizat    .70886        1.0486        .21366E-05   -.25250E-04
   4  Prefactor     1.0588        1.1818       -.53572E-06   -.35116E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.816664
  Normalizat = 0.708864
  Prefactor  = 1.05883
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7304.653     FROM HESSE     STATUS=FAILED         9 CALLS      263 TOTAL
                     EDM=   .61E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12115E-01    .93332       -.13982E-04   -.99117    
   3  Normalizat    .70886        1.0486        .21366E-05   -1.0354    
   4  Prefactor     1.0588        1.1818       -.53572E-06   -.90793    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.11432e-13
Minuit parameter uncertainties:
  1  1.39699e-06
  2  0.681242
  3  1.08069
  4  1.213
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) = 7304.65296626
delta logL = 1.47429091157e-09

Extracting fit parameters...

4FGL J0348.6-1609
   Spectrum: PowerLaw
277    Prefactor:  0.000e+00  1.397e-06  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  8.167e-01  6.812e-01  0.000e+00  1.000e+01 (-1.000e+00)
279        Scale:  9.291e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.059e+00  1.213e+00  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
503   Normalization:  7.089e-01  1.081e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 57.153 -16.165

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/27440819/cmap_HighResolution_801532801_801792001_4FGL_J0348.6-1609_daily_bin2169.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.63e-03', job_status='DONE', photon_flux_upper_limit='4.71e-08', time_completed='2026-05-30 03:23:54.324049', job_id='27440819', GAL2='1.06', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1780136634.32', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.47e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='2169' AND source_name='4FGL J0348.6-1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat May 30 03:23:54 PDT 2026

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


Performing analysis on: 4FGL_J0348.6-1609_daily_bin2169
RA = 57.1532, Dec = -16.1654
tmin = 801532801, tmax = 801792001
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='27440980', job_status='RUN', time_executed='2026-05-30 03:23:37.735120', time_epoch_executed='1780136617.74' WHERE source_name='4FGL J0348.6-1609' and cadence='daily' and bin_id='2169'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27440980

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27440980/ft1_4FGL_J0348.6-1609_daily_bin2169.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27440980/ft2_4FGL_J0348.6-1609_daily_bin2169.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27440980/ft1_4FGL_J0348.6-1609_daily_bin2169.fits outfile=/lscratch/kocevski/27440980/ft1_filteredMKT_4FGL_J0348.6-1609_daily_bin2169.fits ra=57.1532 dec=-16.1654 rad=12.0 tmin=801532801.0 tmax=801792001.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.42
user 1.98
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27440980/ft2_4FGL_J0348.6-1609_daily_bin2169.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27440980/ft2_4FGL_J0348.6-1609_daily_bin2169.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/27440980/ft1_filteredMKT_4FGL_J0348.6-1609_daily_bin2169.fits evtable="EVENTS" outfile="/lscratch/kocevski/27440980/ft1_filtered_4FGL_J0348.6-1609_daily_bin2169.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.54
user 0.20
sys 0.15

Number of photons that the gtmktime cut: 673

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27440980/ft1_filtered_4FGL_J0348.6-1609_daily_bin2169.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27440980/ft2_4FGL_J0348.6-1609_daily_bin2169.fits sctable="SC_DATA" ts sctable="SC_DATA" srcmdl=/lscratch/kocevski/27440905/Model_4FGL_J0348.6-1609_daily_bin2169.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/27440905/ft1_filtered_4FGL_J0348.6-1609_daily_bin2169.fits.....................!
real 67.19
user 65.44
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27440905/ft1_filtered_4FGL_J0348.6-1609_daily_bin2169.fits', '/lscratch/kocevski/27440905/ft2_4FGL_J0348.6-1609_daily_bin2169.fits', expMap='/lscratch/kocevski/27440905/expmap_801532801_801792001_4FGL_J0348.6-1609_daily_bin2169.fits', expCube='/lscratch/kocevski/27440905/ltcube_801532801_801792001_4FGL_J0348.6-1609_daily_bin2169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27440905/Model_4FGL_J0348.6-1609_daily_bin2169.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0348.6-1609'

4FGL J0348.6-1609
   Spectrum: PowerLaw
277    Prefactor:  9.725e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.371e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  9.291e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27440905/ft1_filtered_4FGL_J0348.6-1609_daily_bin2169.fits
Spacecraft file(s): /lscratch/kocevski/27440905/ft2_4FGL_J0348.6-1609_daily_bin2169.fits
Exposure map: /lscratch/kocevski/27440905/expmap_801532801_801792001_4FGL_J0348.6-1609_daily_bin2169.fits
Exposure cube: /lscratch/kocevski/27440905/ltcube_801532801_801792001_4FGL_J0348.6-1609_daily_bin2169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27440905/Model_4FGL_J0348.6-1609_daily_bin2169.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) = 7304.66497522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13077E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .68562E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1640       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.5067       1.0000          .0000       .10000E+07
     5 'Prefactor '    .24819E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    18.282       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.3701       1.0000          .0000       .10000E+07
     8 'Prefactor '    .59014E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8232       1.0000          .0000       .10000E+07
    10 'norm      '    .13195E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .14932E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .39314E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .23288E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.9331       1.0000          .0000       .10000E+07
    15 'norm      '    .49405E-08   1.0000          .0000       .10000E+07
    16 'Prefactor '    46.428       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4248       1.0000          .0000       .10000E+07
    18 'Prefactor '    4.7757       1.0000          .0000       .10000E+07
    19 'Prefactor '    .44313E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    .70879       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0586       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7304.653     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1662 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28089E-07    4.8823       -.96809E-07** at limit **
   2  Prefactor      .0000        1.7182        .26922E-07** at limit **
   3  Prefactor     .64393E-08    236.00        .13378E-05** at limit **
   4  Prefactor     1.4997        3.3235       -.65424E-07   -.17397E-04
   5  Prefactor     .58342E-07    4.0086       -.47095E-07** at limit **
   6  Prefactor     18.287        2.0495        .40324E-08   -.18404E-02
   7  Prefactor     2.3809        1.7422       -.63946E-08    .24313E-03
   8  Prefactor      .0000        .87003        .53947E-07** at limit **
   9  Prefactor     1.8235        1.9147        .27451E-07    .23251E-03
  10  norm           .0000        .19562       -.47654E-07** at limit **
  11  Prefactor     .22149E-07    6.6454        .13617E-06** at limit **
  12  norm          .27014E-01    8.3617       -.26308E-06** at limit **
  13  Prefactor     .94369E-09    5.3450        .92913E-07** at limit **
  14  Prefactor     3.9461        2.6180        .20388E-07    .18815E-03
  15  norm          .78881E-07    4.6551        .12439E-06** at limit **
  16  Prefactor     46.410        1.3073        .43001E-08   -.15633E-01
  17  Prefactor     1.4067        5.5795       -.14701E-06    .61653E-03
  18  Prefactor     4.7727        2.8484       -.28828E-07   -.10434E-03
  19  Prefactor     .16653E-09    22.928        .25454E-06** at limit **
  20  Normalizat    .70886        .17050       -.56147E-06   -.47501E-05
  21  Prefactor     1.0588        .13830        .40387E-06   -.80002E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.80886e-08
  Prefactor  = 0
  Prefactor  = 6.43929e-09
  Prefactor  = 1.49973
  Prefactor  = 5.83422e-08
  Prefactor  = 18.2869
  Prefactor  = 2.38094
  Prefactor  = 0
  Prefactor  = 1.82354
  norm       = 0
  Prefactor  = 2.21489e-08
  norm       = 0.0270145
  Prefactor  = 9.4369e-10
  Prefactor  = 3.94609
  norm       = 7.88813e-08
  Prefactor  = 46.4099
  Prefactor  = 1.40672
  Prefactor  = 4.7727
  Prefactor  = 1.66533e-10
  Normalizat = 0.708864
  Prefactor  = 1.05883
 **********
 **   18 **HESSE 
 **********

 FCN=   7304.653     FROM HESSE     STATUS=OK           363 CALLS     2025 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28089E-07    5.8979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.7171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .64393E-08    235.45        .10661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.4997        3.3605        .87142E-03   -1.5683    
   5  Prefactor     .58342E-07    6.1337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.287        12.303        .23397E-03   -1.5622    
   7  Prefactor     2.3809        1.7614        .66527E-03   -1.5677    
   8  Prefactor      .0000        .87193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8235        1.9471        .77294E-03   -1.5681    
  10  norm           .0000        .19520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .22149E-07    7.5104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .27014E-01    .58290        .34059E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .94369E-09    5.3828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.9461        2.6476        .50843E-03   -1.5668    
  15  norm          .78881E-07    7.4289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     46.410        24.624        .14677E-03   -1.5572    
  17  Prefactor     1.4067        5.9213        .90540E-03   -1.5684    
  18  Prefactor     4.7727        2.8562        .46015E-03   -1.5664    
  19  Prefactor     .16653E-09    22.855        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .70886        .15386        .61939E-01   -1.0354    
  21  Prefactor     1.0588        .12077        .39429E-01   -.90793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50396e-08
Minuit parameter uncertainties:
  1  0.000814031
  2  2.95428e-06
  3  0.00246533
  4  3.36052
  5  0.00119663
  6  12.3026
  7  1.76138
  8  3.97356e-07
  9  1.94705
  10  9.57612e-08
  11  0.000815605
  12  0.250972
  13  0.000141534
  14  2.64762
  15  0.00153088
  16  24.624
  17  5.77222
  18  2.85617
  19  0.000124565
  20  0.153957
  21  0.120802
Done.

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

Extracting fit parameters...

4FGL J0348.6-1609
   Spectrum: PowerLaw
277    Prefactor:  2.215e-08  8.156e-04  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.371e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  9.291e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.059e+00  1.208e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
503   Normalization:  7.089e-01  1.540e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 57.153 -16.165
Photon Flux Upper Limit: 4.70628143767e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00362968638649 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27440905/likelihoodResults_801532801_801792001_4FGL_J0348.6-1609_daily_bin2169.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) = 7304.6530909
delta logL = -0.000124646955555

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7304.65296752
delta logL = -1.26496252051e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16993E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.1738       1.0000          .0000       10.000    
     3 'Normalizat'    .70897       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0587       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7304.653     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      254 TOTAL
                     EDM=   .61E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1816        .42118E-03** at limit **
   2  Index         .81666        .67424       -.13982E-04     .0000    
   3  Normalizat    .70886        1.0486        .21366E-05   -.25250E-04
   4  Prefactor     1.0588        1.1818       -.53572E-06   -.35116E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.816664
  Normalizat = 0.708864
  Prefactor  = 1.05883
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7304.653     FROM HESSE     STATUS=FAILED         9 CALLS      263 TOTAL
                     EDM=   .61E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12115E-01    .93332       -.13982E-04   -.99117    
   3  Normalizat    .70886        1.0486        .21366E-05   -1.0354    
   4  Prefactor     1.0588        1.1818       -.53572E-06   -.90793    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.11432e-13
Minuit parameter uncertainties:
  1  1.39699e-06
  2  0.681242
  3  1.08069
  4  1.213
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) = 7304.65296626
delta logL = 1.47429091157e-09

Extracting fit parameters...

4FGL J0348.6-1609
   Spectrum: PowerLaw
277    Prefactor:  0.000e+00  1.397e-06  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  8.167e-01  6.812e-01  0.000e+00  1.000e+01 (-1.000e+00)
279        Scale:  9.291e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.059e+00  1.213e+00  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
503   Normalization:  7.089e-01  1.081e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 57.153 -16.165

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/27440905/cmap_HighResolution_801532801_801792001_4FGL_J0348.6-1609_daily_bin2169.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.63e-03', job_status='DONE', photon_flux_upper_limit='4.71e-08', time_completed='2026-05-30 03:25:17.321089', job_id='27440905', GAL2='1.06', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1780136717.32', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.47e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='2169' AND source_name='4FGL J0348.6-1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat May 30 03:25:17 PDT 2026

outfile=/lscratch/kocevski/27440980/ltcube_801532801_801792001_4FGL_J0348.6-1609_daily_bin2169.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/27440980/ft2_4FGL_J0348.6-1609_daily_bin2169.fits
.....................!
real 8.36
user 7.87
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27440980/ft1_filtered_4FGL_J0348.6-1609_daily_bin2169.fits evtable="EVENTS" scfile=/lscratch/kocevski/27440980/ft2_4FGL_J0348.6-1609_daily_bin2169.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27440980/ltcube_801532801_801792001_4FGL_J0348.6-1609_daily_bin2169.fits outfile=/lscratch/kocevski/27440980/expmap_801532801_801792001_4FGL_J0348.6-1609_daily_bin2169.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/27440980/ltcube_801532801_801792001_4FGL_J0348.6-1609_daily_bin2169.fits
.....................!
real 68.43
user 63.69
sys 4.03

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
Extended source Fornax A in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 159 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0348.6-1609 @ 57.1532 -16.1654

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27440980/ft1_filtered_4FGL_J0348.6-1609_daily_bin2169.fits scfile=/lscratch/kocevski/27440980/ft2_4FGL_J0348.6-1609_daily_bin2169.fits outfile=/lscratch/kocevski/27440980/cmap_801532801_801792001_4FGL_J0348.6-1609_daily_bin2169.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=57.1532 yref=-16.1654 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.53
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27440980/ft1_filtered_4FGL_J0348.6-1609_daily_bin2169.fits scfile=/lscratch/kocevski/27440980/ft2_4FGL_J0348.6-1609_daily_bin2169.fits outfile=/lscratch/kocevski/27440980/cmap_HighResolution_801532801_801792001_4FGL_J0348.6-1609_daily_bin2169.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=57.1532 yref=-16.1654 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.52
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27440980/ft1_filtered_4FGL_J0348.6-1609_daily_bin2169.fits evtable="EVENTS" scfile=/lscratch/kocevski/27440980/ft2_4FGL_J0348.6-1609_daily_bin2169.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27440980/Model_4FGL_J0348.6-1609_daily_bin2169.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/27440980/ft1_filtered_4FGL_J0348.6-1609_daily_bin2169.fits.....................!
real 66.56
user 64.93
sys 0.85

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27440980/ft1_filtered_4FGL_J0348.6-1609_daily_bin2169.fits', '/lscratch/kocevski/27440980/ft2_4FGL_J0348.6-1609_daily_bin2169.fits', expMap='/lscratch/kocevski/27440980/expmap_801532801_801792001_4FGL_J0348.6-1609_daily_bin2169.fits', expCube='/lscratch/kocevski/27440980/ltcube_801532801_801792001_4FGL_J0348.6-1609_daily_bin2169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27440980/Model_4FGL_J0348.6-1609_daily_bin2169.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0348.6-1609'

4FGL J0348.6-1609
   Spectrum: PowerLaw
277    Prefactor:  9.725e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.371e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  9.291e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27440980/ft1_filtered_4FGL_J0348.6-1609_daily_bin2169.fits
Spacecraft file(s): /lscratch/kocevski/27440980/ft2_4FGL_J0348.6-1609_daily_bin2169.fits
Exposure map: /lscratch/kocevski/27440980/expmap_801532801_801792001_4FGL_J0348.6-1609_daily_bin2169.fits
Exposure cube: /lscratch/kocevski/27440980/ltcube_801532801_801792001_4FGL_J0348.6-1609_daily_bin2169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27440980/Model_4FGL_J0348.6-1609_daily_bin2169.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) = 7304.66497522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13077E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .68562E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1640       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.5067       1.0000          .0000       .10000E+07
     5 'Prefactor '    .24819E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    18.282       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.3701       1.0000          .0000       .10000E+07
     8 'Prefactor '    .59014E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8232       1.0000          .0000       .10000E+07
    10 'norm      '    .13195E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .14932E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .39314E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .23288E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.9331       1.0000          .0000       .10000E+07
    15 'norm      '    .49405E-08   1.0000          .0000       .10000E+07
    16 'Prefactor '    46.428       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4248       1.0000          .0000       .10000E+07
    18 'Prefactor '    4.7757       1.0000          .0000       .10000E+07
    19 'Prefactor '    .44313E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    .70879       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0586       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7304.653     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1662 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28089E-07    4.8823       -.96809E-07** at limit **
   2  Prefactor      .0000        1.7182        .26922E-07** at limit **
   3  Prefactor     .64393E-08    236.00        .13378E-05** at limit **
   4  Prefactor     1.4997        3.3235       -.65424E-07   -.17397E-04
   5  Prefactor     .58342E-07    4.0086       -.47095E-07** at limit **
   6  Prefactor     18.287        2.0495        .40324E-08   -.18404E-02
   7  Prefactor     2.3809        1.7422       -.63946E-08    .24313E-03
   8  Prefactor      .0000        .87003        .53947E-07** at limit **
   9  Prefactor     1.8235        1.9147        .27451E-07    .23251E-03
  10  norm           .0000        .19562       -.47654E-07** at limit **
  11  Prefactor     .22149E-07    6.6454        .13617E-06** at limit **
  12  norm          .27014E-01    8.3617       -.26308E-06** at limit **
  13  Prefactor     .94369E-09    5.3450        .92913E-07** at limit **
  14  Prefactor     3.9461        2.6180        .20388E-07    .18815E-03
  15  norm          .78881E-07    4.6551        .12439E-06** at limit **
  16  Prefactor     46.410        1.3073        .43001E-08   -.15633E-01
  17  Prefactor     1.4067        5.5795       -.14701E-06    .61653E-03
  18  Prefactor     4.7727        2.8484       -.28828E-07   -.10434E-03
  19  Prefactor     .16653E-09    22.928        .25454E-06** at limit **
  20  Normalizat    .70886        .17050       -.56147E-06   -.47501E-05
  21  Prefactor     1.0588        .13830        .40387E-06   -.80002E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.80886e-08
  Prefactor  = 0
  Prefactor  = 6.43929e-09
  Prefactor  = 1.49973
  Prefactor  = 5.83422e-08
  Prefactor  = 18.2869
  Prefactor  = 2.38094
  Prefactor  = 0
  Prefactor  = 1.82354
  norm       = 0
  Prefactor  = 2.21489e-08
  norm       = 0.0270145
  Prefactor  = 9.4369e-10
  Prefactor  = 3.94609
  norm       = 7.88813e-08
  Prefactor  = 46.4099
  Prefactor  = 1.40672
  Prefactor  = 4.7727
  Prefactor  = 1.66533e-10
  Normalizat = 0.708864
  Prefactor  = 1.05883
 **********
 **   18 **HESSE 
 **********

 FCN=   7304.653     FROM HESSE     STATUS=OK           363 CALLS     2025 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28089E-07    5.8979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.7171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .64393E-08    235.45        .10661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.4997        3.3605        .87142E-03   -1.5683    
   5  Prefactor     .58342E-07    6.1337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.287        12.303        .23397E-03   -1.5622    
   7  Prefactor     2.3809        1.7614        .66527E-03   -1.5677    
   8  Prefactor      .0000        .87193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8235        1.9471        .77294E-03   -1.5681    
  10  norm           .0000        .19520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .22149E-07    7.5104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .27014E-01    .58290        .34059E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .94369E-09    5.3828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.9461        2.6476        .50843E-03   -1.5668    
  15  norm          .78881E-07    7.4289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     46.410        24.624        .14677E-03   -1.5572    
  17  Prefactor     1.4067        5.9213        .90540E-03   -1.5684    
  18  Prefactor     4.7727        2.8562        .46015E-03   -1.5664    
  19  Prefactor     .16653E-09    22.855        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .70886        .15386        .61939E-01   -1.0354    
  21  Prefactor     1.0588        .12077        .39429E-01   -.90793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50396e-08
Minuit parameter uncertainties:
  1  0.000814031
  2  2.95428e-06
  3  0.00246533
  4  3.36052
  5  0.00119663
  6  12.3026
  7  1.76138
  8  3.97356e-07
  9  1.94705
  10  9.57612e-08
  11  0.000815605
  12  0.250972
  13  0.000141534
  14  2.64762
  15  0.00153088
  16  24.624
  17  5.77222
  18  2.85617
  19  0.000124565
  20  0.153957
  21  0.120802
Done.

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

Extracting fit parameters...

4FGL J0348.6-1609
   Spectrum: PowerLaw
277    Prefactor:  2.215e-08  8.156e-04  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.371e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  9.291e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.059e+00  1.208e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
503   Normalization:  7.089e-01  1.540e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 57.153 -16.165
Photon Flux Upper Limit: 4.70628143767e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00362968638649 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27440980/likelihoodResults_801532801_801792001_4FGL_J0348.6-1609_daily_bin2169.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) = 7304.6530909
delta logL = -0.000124646955555

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7304.65296752
delta logL = -1.26496252051e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16993E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.1738       1.0000          .0000       10.000    
     3 'Normalizat'    .70897       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0587       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7304.653     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      254 TOTAL
                     EDM=   .61E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1816        .42118E-03** at limit **
   2  Index         .81666        .67424       -.13982E-04     .0000    
   3  Normalizat    .70886        1.0486        .21366E-05   -.25250E-04
   4  Prefactor     1.0588        1.1818       -.53572E-06   -.35116E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.816664
  Normalizat = 0.708864
  Prefactor  = 1.05883
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7304.653     FROM HESSE     STATUS=FAILED         9 CALLS      263 TOTAL
                     EDM=   .61E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12115E-01    .93332       -.13982E-04   -.99117    
   3  Normalizat    .70886        1.0486        .21366E-05   -1.0354    
   4  Prefactor     1.0588        1.1818       -.53572E-06   -.90793    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.11432e-13
Minuit parameter uncertainties:
  1  1.39699e-06
  2  0.681242
  3  1.08069
  4  1.213
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) = 7304.65296626
delta logL = 1.47429091157e-09

Extracting fit parameters...

4FGL J0348.6-1609
   Spectrum: PowerLaw
277    Prefactor:  0.000e+00  1.397e-06  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  8.167e-01  6.812e-01  0.000e+00  1.000e+01 (-1.000e+00)
279        Scale:  9.291e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.059e+00  1.213e+00  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
503   Normalization:  7.089e-01  1.081e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 57.153 -16.165

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/27440980/cmap_HighResolution_801532801_801792001_4FGL_J0348.6-1609_daily_bin2169.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.63e-03', job_status='DONE', photon_flux_upper_limit='4.71e-08', time_completed='2026-05-30 03:28:41.476216', job_id='27440980', GAL2='1.06', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1780136921.48', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.47e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='2169' AND source_name='4FGL J0348.6-1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat May 30 03:28:41 PDT 2026

