aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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)


Waiting 224 seconds before starting...
Proceeding.

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).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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).

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


Performing analysis on: 4FGL_J2225.7-0457_daily_bin1741
RA = 336.432, Dec = -4.9537
tmin = 690595201, tmax = 690854401
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='28037', job_status='RUN', time_executed='2022-11-23 01:11:55.277269', time_epoch_executed='1669194715.28' WHERE source_name='4FGL J2225.7-0457' and cadence='daily' and bin_id='1741'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28037

Creating custom pfile directory:
/scratch/kocevski/28037/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=690595201.0 && nMetStart<690854401.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=690595201.0 && nMetStart<690854401.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28037/ft1_4FGL_J2225.7-0457_daily_bin1741.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=690595201.0 && nMetStart<690854401.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28037/ft2_4FGL_J2225.7-0457_daily_bin1741.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28037/ft1_4FGL_J2225.7-0457_daily_bin1741.fits outfile=/scratch/kocevski/28037/ft1_filteredMKT_4FGL_J2225.7-0457_daily_bin1741.fits ra=336.432 dec=-4.9537 rad=12.0 tmin=690595201.0 tmax=690854401.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.46
user 2.24
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/28037/ft2_4FGL_J2225.7-0457_daily_bin1741.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/28037/ft2_4FGL_J2225.7-0457_daily_bin1741.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/28037/ft1_filteredMKT_4FGL_J2225.7-0457_daily_bin1741.fits evtable="EVENTS" outfile="/scratch/kocevski/28037/ft1_filtered_4FGL_J2225.7-0457_daily_bin1741.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.47
user 0.30
sys 0.16

Number of photons that the gtmktime cut: 960

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28037/ft1_filtered_4FGL_J2225.7-0457_daily_bin1741.fits" evtable="EVENTS" scfile=/scratch/kocevski/28037/ft2_4FGL_J2225.7-0457_daily_bin1741.fits sctable="SC_DATA" outfile=/scratch/kocevski/28037/ltcube_690595201_690854401_4FGL_J2225.7-0457_daily_bin1741.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 /scratch/kocevski/28037/ft2_4FGL_J2225.7-0457_daily_bin1741.fits
.....................!
real 13.97
user 13.60
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28037/ft1_filtered_4FGL_J2225.7-0457_daily_bin1741.fits evtable="EVENTS" scfile=/scratch/kocevski/28037/ft2_4FGL_J2225.7-0457_daily_bin1741.fits sctable="SC_DATA" expcube=/scratch/kocevski/28037/ltcube_690595201_690854401_4FGL_J2225.7-0457_daily_bin1741.fits outfile=/scratch/kocevski/28037/expmap_690595201_690854401_4FGL_J2225.7-0457_daily_bin1741.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 /scratch/kocevski/28037/ltcube_690595201_690854401_4FGL_J2225.7-0457_daily_bin1741.fits
.....................!
real 155.84
user 152.00
sys 3.47

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

Setting source of interest to:
4FGL J2225.7-0457 @ 336.432 -4.9537

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/28037/ft1_filtered_4FGL_J2225.7-0457_daily_bin1741.fits scfile=/scratch/kocevski/28037/ft2_4FGL_J2225.7-0457_daily_bin1741.fits outfile=/scratch/kocevski/28037/cmap_690595201_690854401_4FGL_J2225.7-0457_daily_bin1741.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=336.432 yref=-4.9537 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.51
user 0.34
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28037/ft1_filtered_4FGL_J2225.7-0457_daily_bin1741.fits scfile=/scratch/kocevski/28037/ft2_4FGL_J2225.7-0457_daily_bin1741.fits outfile=/scratch/kocevski/28037/cmap_HighResolution_690595201_690854401_4FGL_J2225.7-0457_daily_bin1741.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=336.432 yref=-4.9537 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.51
user 0.34
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/28037/ft1_filtered_4FGL_J2225.7-0457_daily_bin1741.fits evtable="EVENTS" scfile=/scratch/kocevski/28037/ft2_4FGL_J2225.7-0457_daily_bin1741.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28037/Model_4FGL_J2225.7-0457_daily_bin1741.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...
/scratch/kocevski/28037/ft1_filtered_4FGL_J2225.7-0457_daily_bin1741.fits....................!
real 75.02
user 73.78
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/28037/ft1_filtered_4FGL_J2225.7-0457_daily_bin1741.fits', '/scratch/kocevski/28037/ft2_4FGL_J2225.7-0457_daily_bin1741.fits', expMap='/scratch/kocevski/28037/expmap_690595201_690854401_4FGL_J2225.7-0457_daily_bin1741.fits', expCube='/scratch/kocevski/28037/ltcube_690595201_690854401_4FGL_J2225.7-0457_daily_bin1741.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/28037/Model_4FGL_J2225.7-0457_daily_bin1741.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2225.7-0457'

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  2.714e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        Index:  2.425e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
238        Scale:  7.735e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/28037/ft1_filtered_4FGL_J2225.7-0457_daily_bin1741.fits
Spacecraft file(s): /scratch/kocevski/28037/ft2_4FGL_J2225.7-0457_daily_bin1741.fits
Exposure map: /scratch/kocevski/28037/expmap_690595201_690854401_4FGL_J2225.7-0457_daily_bin1741.fits
Exposure cube: /scratch/kocevski/28037/ltcube_690595201_690854401_4FGL_J2225.7-0457_daily_bin1741.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/28037/Model_4FGL_J2225.7-0457_daily_bin1741.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) = 10273.7521642

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.455       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10880       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.484       1.0000          .0000       .10000E+07
     4 'Prefactor '    .47069E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    11.214       1.0000          .0000       .10000E+07
     6 'Prefactor '    17.695       1.0000          .0000       .10000E+07
     7 'Prefactor '    .38512E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .34290E-03   1.0000          .0000       .10000E+07
     9 'norm      '    2.6566       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15577E-02   1.0000          .0000       .10000E+07
    11 'norm      '    5.7929       1.0000          .0000       .10000E+07
    12 'Prefactor '    33.362       1.0000          .0000       .10000E+07
    13 'norm      '    .54797E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    10.429       1.0000          .0000       .10000E+07
    15 'norm      '    24.322       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2056       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .75355       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10273.73     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1302 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.483        5.1293        .81866E-08   -.34731E-02
   2  Prefactor     .15543E-08    12.103        .16290E-05** at limit **
   3  Prefactor     25.662        5.5043        .86651E-07   -.60161E-01
   4  Prefactor      .0000        3.1789       -.55163E-06** at limit **
   5  Prefactor     11.252        8.0487        .71245E-06    .36776E-01
   6  Prefactor     17.603        8.5149        .34519E-06    .18844E-01
   7  Prefactor      .0000        2.2560        .78036E-06** at limit **
   8  Prefactor     .50515E-08    12.826        .18157E-05** at limit **
   9  norm          2.6572        2.5756        .85350E-08    .26337E-02
  10  Prefactor     .55511E-08    13.416       -.10196E-05** at limit **
  11  norm          5.7984        1.0878       -.74706E-07    .34309E-02
  12  Prefactor     32.872        10.192        .17254E-06   -.12629E-01
  13  norm           .0000        3.7583        .16036E-06** at limit **
  14  Prefactor     10.328        6.4225       -.49254E-06    .21062E-01
  15  norm          24.374        4.6488        .18538E-06   -.38071E-01
  16  Normalizat    1.2065        .20368       -.13669E-04   -.26418E-04
  17  Prefactor     .75338        .12092        .70127E-05   -.13209E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.4828
  Prefactor  = 1.55431e-09
  Prefactor  = 25.6624
  Prefactor  = 0
  Prefactor  = 11.2515
  Prefactor  = 17.6034
  Prefactor  = 0
  Prefactor  = 5.05151e-09
  norm       = 2.65716
  Prefactor  = 5.55112e-09
  norm       = 5.79837
  Prefactor  = 32.8721
  norm       = 0
  Prefactor  = 10.328
  norm       = 24.3739
  Normalizat = 1.20653
  Prefactor  = 0.753382
 **********
 **   18 **HESSE 
 **********

 FCN=   10273.73     FROM HESSE     STATUS=OK           275 CALLS     1577 TOTAL
                     EDM=   .66E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.483        5.1453        .27281E-03   -1.5635    
   2  Prefactor     .15543E-08    3.4075        .10366E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     25.662        12.559        .19813E-03   -1.5607    
   4  Prefactor      .0000        3.1894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.252        9.8073        .29892E-03   -1.5641    
   6  Prefactor     17.603        8.7250        .23782E-03   -1.5624    
   7  Prefactor      .0000        2.2435        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .50515E-08    13.931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.6572        2.5841        .62514E-03   -1.5675    
  10  Prefactor     .55511E-08    14.498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.7984        1.0901        .41705E-03   -1.5660    
  12  Prefactor     32.872        16.007        .17315E-03   -1.5593    
  13  norm           .0000        .62405        .34161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.328        20.547        .31002E-03   -1.5644    
  15  norm          24.374        11.052        .20281E-03   -1.5609    
  16  Normalizat    1.2065        .17083        .63890E-01   -.86401    
  17  Prefactor     .75338        .10195        .43110E-01   -1.0147    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.63609e-08
Minuit parameter uncertainties:
  1  5.14532
  2  0.000145934
  3  12.5588
  4  1.7321e-05
  5  9.80727
  6  8.72497
  7  7.68519e-06
  8  0.000529912
  9  2.58414
  10  0.000568263
  11  1.09007
  12  16.0067
  13  4.35782e-06
  14  20.5467
  15  11.0516
  16  0.170905
  17  0.101974
Done.

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

Extracting fit parameters...

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  0.000e+00  7.685e-06  0.000e+00  1.000e+06 ( 1.000e-12)
237        Index:  2.425e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
238        Scale:  7.735e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
473    Prefactor:  7.534e-01  1.020e-01  0.000e+00  1.000e+01 ( 1.000e+00)
474        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
475        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
472   Normalization:  1.207e+00  1.709e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 336.432 -4.954
Photon Flux Upper Limit: 6.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28037/likelihoodResults_690595201_690854401_4FGL_J2225.7-0457_daily_bin1741.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) = 10273.7363215
delta logL = -0.00409150025735

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 10273.73223
delta logL = 1.09139364213e-11

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   10273.73     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      271 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3270        .42118E-03** at limit **
   2  Index         1.7279        .78756       -.57953E-05     .0000    
   3  Normalizat    1.2065        1.1041       -.51193E-05    .22149E-04
   4  Prefactor     .75338        1.1029       -.41791E-06    .39256E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.72793
  Normalizat = 1.20653
  Prefactor  = 0.753383
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .29867        1.5010       -.57953E-05   -.71341    
   3  Normalizat    1.2065        1.1041       -.51193E-05   -.86401    
   4  Prefactor     .75338        1.1029       -.41791E-06   -1.0147    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.07621e-12
Minuit parameter uncertainties:
  1  2.59508e-06
  2  0.793374
  3  1.12663
  4  1.13776
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28037': No such file or directory
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) = 10273.73223
delta logL = 1.09139364213e-11

Extracting fit parameters...

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  0.000e+00  2.595e-06  0.000e+00  1.000e+06 ( 1.000e-12)
237        Index:  1.728e+00  7.934e-01  0.000e+00  1.000e+01 (-1.000e+00)
238        Scale:  7.735e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
473    Prefactor:  7.534e-01  1.138e+00  0.000e+00  1.000e+01 ( 1.000e+00)
474        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
475        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
472   Normalization:  1.207e+00  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 336.432 -4.954

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 /scratch/kocevski/28037/cmap_HighResolution_690595201_690854401_4FGL_J2225.7-0457_daily_bin1741.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/28037

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.70e-03', job_status='DONE', photon_flux_upper_limit='6.07e-08', time_completed='2022-11-23 01:20:33.675386', job_id='28037', GAL2='0.75', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1669195233.68', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1741' AND source_name='4FGL J2225.7-0457' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Nov 23 01:20:33 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 28037: <4FGL_J2225.7-0457_daily_bin1741> in cluster <slac> Done

Job <4FGL_J2225.7-0457_daily_bin1741> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Nov 23 01:05:32 2022
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Nov 23 01:08:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Nov 23 01:08:03 2022
Terminated at Wed Nov 23 01:20:34 2022
Results reported at Wed Nov 23 01:20:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.7-0457_daily_bin1741 336.432 -4.9537 690595201 690854401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2225.7-0457 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   520.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             246.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            902 sec.

The output (if any) is above this job summary.

