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 1 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 = 7491
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2225.7-0457_daily_bin1732
RA = 336.432, Dec = -4.9537
tmin = 688262401, tmax = 688521601
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='647634', job_status='RUN', time_executed='2022-10-27 00:35:57.421451', time_epoch_executed='1666856157.42' WHERE source_name='4FGL J2225.7-0457' and cadence='daily' and bin_id='1732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647634

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647634/ft1_4FGL_J2225.7-0457_daily_bin1732.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647634/ft2_4FGL_J2225.7-0457_daily_bin1732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647634/ft1_4FGL_J2225.7-0457_daily_bin1732.fits outfile=/scratch/kocevski/647634/ft1_filteredMKT_4FGL_J2225.7-0457_daily_bin1732.fits ra=336.432 dec=-4.9537 rad=12.0 tmin=688262401.0 tmax=688521601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.52
user 3.29
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/647634/ft2_4FGL_J2225.7-0457_daily_bin1732.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/647634/ft1_filteredMKT_4FGL_J2225.7-0457_daily_bin1732.fits evtable="EVENTS" outfile="/scratch/kocevski/647634/ft1_filtered_4FGL_J2225.7-0457_daily_bin1732.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.50
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 492

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647634/ft1_filtered_4FGL_J2225.7-0457_daily_bin1732.fits" evtable="EVENTS" scfile=/scratch/kocevski/647634/ft2_4FGL_J2225.7-0457_daily_bin1732.fits sctable="SC_DATA" outfile=/scratch/kocevski/647634/ltcube_688262401_688521601_4FGL_J2225.7-0457_daily_bin1732.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/647634/ft2_4FGL_J2225.7-0457_daily_bin1732.fits
.....................!
real 11.94
user 11.58
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647634/ft1_filtered_4FGL_J2225.7-0457_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647634/ft2_4FGL_J2225.7-0457_daily_bin1732.fits sctable="SC_DATA" expcube=/scratch/kocevski/647634/ltcube_688262401_688521601_4FGL_J2225.7-0457_daily_bin1732.fits outfile=/scratch/kocevski/647634/expmap_688262401_688521601_4FGL_J2225.7-0457_daily_bin1732.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/647634/ltcube_688262401_688521601_4FGL_J2225.7-0457_daily_bin1732.fits
.....................!
real 190.43
user 185.29
sys 4.83

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/647634/ft1_filtered_4FGL_J2225.7-0457_daily_bin1732.fits scfile=/scratch/kocevski/647634/ft2_4FGL_J2225.7-0457_daily_bin1732.fits outfile=/scratch/kocevski/647634/cmap_688262401_688521601_4FGL_J2225.7-0457_daily_bin1732.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.53
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647634/ft1_filtered_4FGL_J2225.7-0457_daily_bin1732.fits scfile=/scratch/kocevski/647634/ft2_4FGL_J2225.7-0457_daily_bin1732.fits outfile=/scratch/kocevski/647634/cmap_HighResolution_688262401_688521601_4FGL_J2225.7-0457_daily_bin1732.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.56
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/647634/ft1_filtered_4FGL_J2225.7-0457_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647634/ft2_4FGL_J2225.7-0457_daily_bin1732.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/647634/Model_4FGL_J2225.7-0457_daily_bin1732.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/647634/ft1_filtered_4FGL_J2225.7-0457_daily_bin1732.fits.....................!
real 56.45
user 55.12
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/647634/ft1_filtered_4FGL_J2225.7-0457_daily_bin1732.fits', '/scratch/kocevski/647634/ft2_4FGL_J2225.7-0457_daily_bin1732.fits', expMap='/scratch/kocevski/647634/expmap_688262401_688521601_4FGL_J2225.7-0457_daily_bin1732.fits', expCube='/scratch/kocevski/647634/ltcube_688262401_688521601_4FGL_J2225.7-0457_daily_bin1732.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/647634/Model_4FGL_J2225.7-0457_daily_bin1732.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/647634/ft1_filtered_4FGL_J2225.7-0457_daily_bin1732.fits
Spacecraft file(s): /scratch/kocevski/647634/ft2_4FGL_J2225.7-0457_daily_bin1732.fits
Exposure map: /scratch/kocevski/647634/expmap_688262401_688521601_4FGL_J2225.7-0457_daily_bin1732.fits
Exposure cube: /scratch/kocevski/647634/ltcube_688262401_688521601_4FGL_J2225.7-0457_daily_bin1732.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/647634/Model_4FGL_J2225.7-0457_daily_bin1732.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) = 5586.72076345

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15002E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    10.233       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12709E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11446E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.2437       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10447E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .10020E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .75694E-03   1.0000          .0000       .10000E+07
     9 'norm      '    3.8867       1.0000          .0000       .10000E+07
    10 'Prefactor '    18.268       1.0000          .0000       .10000E+07
    11 'norm      '    5.4258       1.0000          .0000       .10000E+07
    12 'Prefactor '    8.2225       1.0000          .0000       .10000E+07
    13 'norm      '    .89184       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.1493       1.0000          .0000       .10000E+07
    15 'norm      '    .11335E-01   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1503       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .78819       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=   5586.704     FROM MIGRAD    STATUS=CONVERGED    162 CALLS     1654 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.6066       -.77316E-07** at limit **
   2  Prefactor     10.297        9.0988       -.53930E-07    .52796E-04
   3  Prefactor      .0000        7.8557       -.42876E-06** at limit **
   4  Prefactor      .0000        5.0380        .87980E-08** at limit **
   5  Prefactor     4.2568        11.603       -.76931E-06    .63369E-03
   6  Prefactor      .0000        9.1299        .12912E-06** at limit **
   7  Prefactor      .0000        2.5409       -.65184E-07** at limit **
   8  Prefactor      .0000        37.586       -.15390E-06** at limit **
   9  norm          3.8683        4.3593        .30461E-07   -.37926E-04
  10  Prefactor     20.891        121.84       -.40617E-05   -.22502E-03
  11  norm          5.4400        1.5524        .36922E-07   -.11346E-02
  12  Prefactor     5.8820        74.607        .12769E-05    .63740E-03
  13  norm          1.0018        2.6515       -.27174E-06    .48282E-02
  14  Prefactor     6.9551        77.355       -.17704E-05    .40164E-03
  15  norm           .0000        30.269        .12741E-06** at limit **
  16  Normalizat    1.1506        .26610       -.24704E-05    .45055E-04
  17  Prefactor     .78758        .15472        .14722E-05    .51497E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 10.297
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.25685
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 3.86832
  Prefactor  = 20.8913
  norm       = 5.44002
  Prefactor  = 5.88198
  norm       = 1.00185
  Prefactor  = 6.9551
  norm       = 0
  Normalizat = 1.15056
  Prefactor  = 0.78758
 **********
 **   18 **HESSE 
 **********

 FCN=   5586.704     FROM HESSE     STATUS=OK           257 CALLS     1911 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.6067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.297        9.0970        .31298E-03   -1.5644    
   3  Prefactor      .0000        7.8684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        5.0373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.2568        11.581        .48889E-03   -1.5667    
   6  Prefactor      .0000        9.1264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.5271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        37.579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.8683        4.3712        .51156E-03   -1.5669    
  10  Prefactor     20.891        120.86        .23406E-03   -1.5617    
  11  norm          5.4400        1.5510        .43116E-03   -1.5661    
  12  Prefactor     5.8820        75.184        .34939E-03   -1.5659    
  13  norm          1.0018        2.6130        .46326E-03   -1.5688    
  14  Prefactor     6.9551        87.564        .44280E-03   -1.5655    
  15  norm           .0000        30.094        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1506        .21996        .63236E-01   -.88144    
  17  Prefactor     .78758        .12832        .43563E-01   -1.0019    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.46637e-10
Minuit parameter uncertainties:
  1  5.19734e-06
  2  9.09703
  3  1.84504e-05
  4  7.11135e-06
  5  11.581
  6  1.48161e-05
  7  2.45497e-06
  8  2.57824e-05
  9  4.37118
  10  100.501
  11  1.55096
  12  42.0591
  13  2.61301
  14  49.3574
  15  9.29622e-06
  16  0.220132
  17  0.128371
Done.

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

Extracting fit parameters...

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  0.000e+00  2.455e-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.876e-01  1.284e-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.151e+00  2.201e-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: 9.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/647634/likelihoodResults_688262401_688521601_4FGL_J2225.7-0457_daily_bin1732.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) = 5586.70549857
delta logL = -0.00126852047924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 5586.70423055
delta logL = -4.97727342008e-07

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     '    2.8145       1.0000          .0000       10.000    
     3 'Normalizat'    1.1503       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78773       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=   5586.704     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      187 TOTAL
                     EDM=   .38E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .99236        .42118E-02** at limit **
   2  Index         3.2241        1.0459        .12199E-04     .0000    
   3  Normalizat    1.1506        1.1264       -.18599E-05   -.15832E-04
   4  Prefactor     .78758        1.1365        .22655E-05   -.24742E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.22411
  Normalizat = 1.15056
  Prefactor  = 0.78758
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .99236        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1684        2.1008        .12199E-04   -.36311    
   3  Normalizat    1.1506        1.1264       -.18599E-05   -.88145    
   4  Prefactor     .78758        1.1365        .22655E-05   -1.0019    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.80591e-12
Minuit parameter uncertainties:
  1  9.97878e-06
  2  1.05481
  3  1.15143
  4  1.17326
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647634': 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) = 5586.70423005
delta logL = 9.09494701773e-13

Extracting fit parameters...

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  0.000e+00  9.979e-06  0.000e+00  1.000e+06 ( 1.000e-12)
237        Index:  3.224e+00  1.055e+00  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.876e-01  1.173e+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.151e+00  1.151e+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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/647634/cmap_HighResolution_688262401_688521601_4FGL_J2225.7-0457_daily_bin1732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.12e-03', job_status='DONE', photon_flux_upper_limit='9.19e-08', time_completed='2022-10-27 00:43:57.297459', job_id='647634', GAL2='0.79', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1666856637.3', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1732' AND source_name='4FGL J2225.7-0457' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 27 00:43:57 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 647634: <4FGL_J2225.7-0457_daily_bin1732> in cluster <slac> Done

Job <4FGL_J2225.7-0457_daily_bin1732> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Oct 27 00:35:42 2022
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct 27 00:35:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct 27 00:35:43 2022
Terminated at Thu Oct 27 00:43:58 2022
Results reported at Thu Oct 27 00:43:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.7-0457_daily_bin1732 336.432 -4.9537 688262401 688521601 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 :                                   482.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             339.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   494 sec.
    Turnaround time :                            496 sec.

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

