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

 FCN=   4505.087     FROM HESSE     STATUS=OK           308 CALLS     1812 TOTAL
                     EDM=   .76E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1027        1.9803        .11292E-02   -1.5687    
   2  norm           .0000        2.6855        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.469        29.894        .25471E-03   -1.5629    
   4  norm           .0000        .65966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.298        10.010        .28555E-03   -1.5638    
   6  Prefactor     2.2592        4.3335        .68145E-03   -1.5678    
   7  Prefactor     .27756E-09    10.692        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          18.387        36.006        .23423E-03   -1.5622    
   9  Prefactor      .0000        2.1611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .79381E-08    17.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     98.877        71.854        .10065E-03   -1.5509    
  12  norm          1.4654        2.5395        .88777E-03   -1.5684    
  13  Prefactor     .18152E-07    13.605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.059        27.071        .25778E-03   -1.5630    
  15  Prefactor     4.6935        4.8740        .46219E-03   -1.5665    
  16  norm          .81439        1.2229        .51876E-03   -1.5690    
  17  norm          2.9656        2.5135        .58939E-03   -1.5674    
  18  Normalizat    1.0118        .16188        .45043E-01   -.92635    
  19  Prefactor     .66629        .17872        .60062E-01   -1.0486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.55814e-06
Minuit parameter uncertainties:
  1  1.98034
  2  5.70663e-06
  3  29.8944
  4  8.97571e-07
  5  10.01
  6  4.33353
  7  0.000104186
  8  36.0066
  9  4.62291e-06
  10  0.000737191
  11  71.8543
  12  2.53948
  13  0.000994539
  14  27.071
  15  4.87397
  16  1.22289
  17  2.5135
  18  0.161956
  19  0.178872
/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) = 4505.08726618

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  0.000e+00  4.623e-06  0.000e+00  1.000e+06 ( 1.000e-12)
282        Index:  2.518e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  5.724e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  6.663e-01  1.789e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.012e+00  1.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 36.283 -26.077
Photon Flux Upper Limit: 5.50909499931e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00428971293608 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/18855770/likelihoodResults_709516801_709776001_4FGL_J0225.1-2604_daily_bin1814.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) = 4505.08786017
delta logL = -0.000593988187575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4505.08727007
delta logL = -3.88924399886e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4505.087     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      250 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .71006        .42118E-03** at limit **
   2  Index         3.8477        1.6789        .47199E-04     .0000    
   3  Normalizat    1.0118        1.3082       -.12121E-04    .30537E-03
   4  Prefactor     .66629        1.0157       -.61724E-05    .23656E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.84767
  Normalizat = 1.01184
  Prefactor  = 0.66629
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4505.087     FROM HESSE     STATUS=FAILED         9 CALLS      259 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .71006        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6191        2.2993        .47199E-04   -.23256    
   3  Normalizat    1.0118        1.3082       -.12121E-04   -.92635    
   4  Prefactor     .66629        1.0157       -.61724E-05   -1.0486    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.19483e-11
Minuit parameter uncertainties:
  1  1.55398e-06
  2  1.71414
  3  1.35365
  4  1.04617
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) = 4505.08726618
delta logL = -3.00133251585e-11

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  0.000e+00  1.554e-06  0.000e+00  1.000e+06 ( 1.000e-12)
282        Index:  3.848e+00  1.714e+00  0.000e+00  1.000e+01 (-1.000e+00)
283        Scale:  5.724e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  6.663e-01  1.046e+00  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.012e+00  1.354e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 36.283 -26.077

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/18855770/cmap_HighResolution_709516801_709776001_4FGL_J0225.1-2604_daily_bin1814.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.29e-03', job_status='DONE', photon_flux_upper_limit='5.51e-08', time_completed='2023-07-10 08:18:01.220601', job_id='18855770', GAL2='0.67', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1689002281.22', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='-3.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1814' AND source_name='4FGL J0225.1-2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 10 08:18:01 PDT 2023

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


Performing analysis on: 4FGL_J0225.1-2604_daily_bin1814
RA = 36.2829, Dec = -26.0774
tmin = 709516801, tmax = 709776001
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='18856856', job_status='RUN', time_executed='2023-07-10 08:17:49.544936', time_epoch_executed='1689002269.54' WHERE source_name='4FGL J0225.1-2604' and cadence='daily' and bin_id='1814'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/18856856

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/18856856/ft1_4FGL_J0225.1-2604_daily_bin1814.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/18856856/ft2_4FGL_J0225.1-2604_daily_bin1814.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/18856856/ft1_4FGL_J0225.1-2604_daily_bin1814.fits outfile=/lscratch/kocevski/18856856/ft1_filteredMKT_4FGL_J0225.1-2604_daily_bin1814.fits ra=36.2829 dec=-26.0774 rad=12.0 tmin=709516801.0 tmax=709776001.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 1.51
user 1.20
sys 0.14

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18856856/ft2_4FGL_J0225.1-2604_daily_bin1814.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/18856856/ft2_4FGL_J0225.1-2604_daily_bin1814.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/18856856/ft1_filteredMKT_4FGL_J0225.1-2604_daily_bin1814.fits evtable="EVENTS" outfile="/lscratch/kocevski/18856856/ft1_filtered_4FGL_J0225.1-2604_daily_bin1814.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.47
user 0.20
sys 0.12

Number of photons that the gtmktime cut: 395

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/18856856/ft1_filtered_4FGL_J0225.1-2604_daily_bin1814.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18856856/ft2_4FGL_J0225.1-2604_daily_bin1814.fits sctable="SC_DATA" outfile=/lscratch/kocevski/18856856/ltcube_709516801_709776001_4FGL_J0225.1-2604_daily_bin1814.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/18856856/ft2_4FGL_J0225.1-2604_daily_bin1814.fits
.....................!
real 8.28
user 7.85
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/18856856/ft1_filtered_4FGL_J0225.1-2604_daily_bin1814.fits evtable="EVENTS" scfile=/lscratch/kocevski/18856856/ft2_4FGL_J0225.1-2604_daily_bin1814.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18856856/ltcube_709516801_709776001_4FGL_J0225.1-2604_daily_bin1814.fits outfile=/lscratch/kocevski/18856856/expmap_709516801_709776001_4FGL_J0225.1-2604_daily_bin1814.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/18856856/ltcube_709516801_709776001_4FGL_J0225.1-2604_daily_bin1814.fits
.....................!
real 67.13
user 62.96
sys 3.57

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 180 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 J0225.1-2604 @ 36.2829 -26.0774

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/18856856/ft1_filtered_4FGL_J0225.1-2604_daily_bin1814.fits scfile=/lscratch/kocevski/18856856/ft2_4FGL_J0225.1-2604_daily_bin1814.fits outfile=/lscratch/kocevski/18856856/cmap_709516801_709776001_4FGL_J0225.1-2604_daily_bin1814.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=36.2829 yref=-26.0774 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.43
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/18856856/ft1_filtered_4FGL_J0225.1-2604_daily_bin1814.fits scfile=/lscratch/kocevski/18856856/ft2_4FGL_J0225.1-2604_daily_bin1814.fits outfile=/lscratch/kocevski/18856856/cmap_HighResolution_709516801_709776001_4FGL_J0225.1-2604_daily_bin1814.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=36.2829 yref=-26.0774 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.44
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/18856856/ft1_filtered_4FGL_J0225.1-2604_daily_bin1814.fits evtable="EVENTS" scfile=/lscratch/kocevski/18856856/ft2_4FGL_J0225.1-2604_daily_bin1814.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18856856/Model_4FGL_J0225.1-2604_daily_bin1814.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/18856856/ft1_filtered_4FGL_J0225.1-2604_daily_bin1814.fits.....................!
real 34.78
user 33.74
sys 0.70

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/18856856/ft1_filtered_4FGL_J0225.1-2604_daily_bin1814.fits', '/lscratch/kocevski/18856856/ft2_4FGL_J0225.1-2604_daily_bin1814.fits', expMap='/lscratch/kocevski/18856856/expmap_709516801_709776001_4FGL_J0225.1-2604_daily_bin1814.fits', expCube='/lscratch/kocevski/18856856/ltcube_709516801_709776001_4FGL_J0225.1-2604_daily_bin1814.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18856856/Model_4FGL_J0225.1-2604_daily_bin1814.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0225.1-2604'

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  3.561e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
282        Index:  2.518e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  5.724e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/18856856/ft1_filtered_4FGL_J0225.1-2604_daily_bin1814.fits
Spacecraft file(s): /lscratch/kocevski/18856856/ft2_4FGL_J0225.1-2604_daily_bin1814.fits
Exposure map: /lscratch/kocevski/18856856/expmap_709516801_709776001_4FGL_J0225.1-2604_daily_bin1814.fits
Exposure cube: /lscratch/kocevski/18856856/ltcube_709516801_709776001_4FGL_J0225.1-2604_daily_bin1814.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/18856856/Model_4FGL_J0225.1-2604_daily_bin1814.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) = 4505.08766598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1031       1.0000          .0000       .10000E+07
     2 'norm      '    .10840E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    15.430       1.0000          .0000       .10000E+07
     4 'norm      '    .87763E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    12.284       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.2695       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10876E-02   1.0000          .0000       .10000E+07
     8 'norm      '    18.241       1.0000          .0000       .10000E+07
     9 'Prefactor '    .54301E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .43379E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    98.730       1.0000          .0000       .10000E+07
    12 'norm      '    1.4659       1.0000          .0000       .10000E+07
    13 'Prefactor '    .47265E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    15.065       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.7347       1.0000          .0000       .10000E+07
    16 'norm      '    .81429       1.0000          .0000       .10000E+07
    17 'norm      '    2.9655       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0119       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .66624       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4505.087     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1504 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1027        1.9267        .35463E-07    .74121E-03
   2  norm           .0000        2.7264       -.39139E-07** at limit **
   3  Prefactor     15.469        1.4423       -.60597E-09   -.39160E-02
   4  norm           .0000        .66225        .10705E-07** at limit **
   5  Prefactor     12.298        9.9869       -.26846E-08    .16812E-02
   6  Prefactor     2.2592        4.3103       -.82640E-07   -.70132E-03
   7  Prefactor     .27756E-09    10.861        .44061E-06** at limit **
   8  norm          18.387        35.755       -.54033E-07    .43950E-01
   9  Prefactor      .0000        2.1539        .57380E-07** at limit **
  10  Prefactor     .79381E-08    17.109       -.35655E-06** at limit **
  11  Prefactor     98.877        10.104       -.27398E-08   -.37603    
  12  norm          1.4654        2.5144       -.43527E-07   -.49584E-03
  13  Prefactor     .18152E-07    13.611       -.21770E-06** at limit **
  14  Prefactor     15.059        1.6253        .37123E-08   -.42507E-01
  15  Prefactor     4.6935        4.7374       -.14309E-06   -.68956E-03
  16  norm          .81439        1.2121        .66016E-07    .29559E-02
  17  norm          2.9656        2.5134       -.41338E-07   -.10747E-02
  18  Normalizat    1.0118        .18887       -.39368E-05    .21695E-04
  19  Prefactor     .66629        .21101        .70783E-05    .83858E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.10265
  norm       = 0
  Prefactor  = 15.4689
  norm       = 0
  Prefactor  = 12.2979
  Prefactor  = 2.2592
  Prefactor  = 2.77556e-10
  norm       = 18.3875
  Prefactor  = 0
  Prefactor  = 7.93809e-09
  Prefactor  = 98.8768
  norm       = 1.46541
  Prefactor  = 1.81521e-08
  Prefactor  = 15.0591
  Prefactor  = 4.69351
  norm       = 0.814392
  norm       = 2.96556
  Normalizat = 1.01184
  Prefactor  = 0.66629
 **********
 **   18 **HESSE 
 **********

 FCN=   4505.087     FROM HESSE     STATUS=OK           308 CALLS     1812 TOTAL
                     EDM=   .76E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1027        1.9803        .11292E-02   -1.5687    
   2  norm           .0000        2.6855        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.469        29.894        .25471E-03   -1.5629    
   4  norm           .0000        .65966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.298        10.010        .28555E-03   -1.5638    
   6  Prefactor     2.2592        4.3335        .68145E-03   -1.5678    
   7  Prefactor     .27756E-09    10.692        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          18.387        36.006        .23423E-03   -1.5622    
   9  Prefactor      .0000        2.1611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .79381E-08    17.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     98.877        71.854        .10065E-03   -1.5509    
  12  norm          1.4654        2.5395        .88777E-03   -1.5684    
  13  Prefactor     .18152E-07    13.605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.059        27.071        .25778E-03   -1.5630    
  15  Prefactor     4.6935        4.8740        .46219E-03   -1.5665    
  16  norm          .81439        1.2229        .51876E-03   -1.5690    
  17  norm          2.9656        2.5135        .58939E-03   -1.5674    
  18  Normalizat    1.0118        .16188        .45043E-01   -.92635    
  19  Prefactor     .66629        .17872        .60062E-01   -1.0486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.55814e-06
Minuit parameter uncertainties:
  1  1.98034
  2  5.70663e-06
  3  29.8944
  4  8.97571e-07
  5  10.01
  6  4.33353
  7  0.000104186
  8  36.0066
  9  4.62291e-06
  10  0.000737191
  11  71.8543
  12  2.53948
  13  0.000994539
  14  27.071
  15  4.87397
  16  1.22289
  17  2.5135
  18  0.161956
  19  0.178872
Done.

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

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  0.000e+00  4.623e-06  0.000e+00  1.000e+06 ( 1.000e-12)
282        Index:  2.518e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  5.724e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  6.663e-01  1.789e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.012e+00  1.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 36.283 -26.077
Photon Flux Upper Limit: 5.50909499931e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00428971293608 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/18856856/likelihoodResults_709516801_709776001_4FGL_J0225.1-2604_daily_bin1814.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) = 4505.08786017
delta logL = -0.000593988187575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4505.08727007
delta logL = -3.88924399886e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4505.087     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      250 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .71006        .42118E-03** at limit **
   2  Index         3.8477        1.6789        .47199E-04     .0000    
   3  Normalizat    1.0118        1.3082       -.12121E-04    .30537E-03
   4  Prefactor     .66629        1.0157       -.61724E-05    .23656E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.84767
  Normalizat = 1.01184
  Prefactor  = 0.66629
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4505.087     FROM HESSE     STATUS=FAILED         9 CALLS      259 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .71006        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6191        2.2993        .47199E-04   -.23256    
   3  Normalizat    1.0118        1.3082       -.12121E-04   -.92635    
   4  Prefactor     .66629        1.0157       -.61724E-05   -1.0486    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.19483e-11
Minuit parameter uncertainties:
  1  1.55398e-06
  2  1.71414
  3  1.35365
  4  1.04617
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) = 4505.08726618
delta logL = -3.00133251585e-11

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  0.000e+00  1.554e-06  0.000e+00  1.000e+06 ( 1.000e-12)
282        Index:  3.848e+00  1.714e+00  0.000e+00  1.000e+01 (-1.000e+00)
283        Scale:  5.724e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  6.663e-01  1.046e+00  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.012e+00  1.354e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 36.283 -26.077

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/18856856/cmap_HighResolution_709516801_709776001_4FGL_J0225.1-2604_daily_bin1814.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.29e-03', job_status='DONE', photon_flux_upper_limit='5.51e-08', time_completed='2023-07-10 08:22:15.629804', job_id='18856856', GAL2='0.67', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1689002535.63', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='-3.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1814' AND source_name='4FGL J0225.1-2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 10 08:22:15 PDT 2023

