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


Performing analysis on: 4FGL_J0430.3+1654_weekly_bin747
RA = 67.5901, Dec = 16.9093
tmin = 690768001, tmax = 691372801
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='465468', job_status='RUN', time_executed='2022-11-29 01:24:31.554836', time_epoch_executed='1669713871.55' WHERE source_name='4FGL J0430.3+1654' and cadence='weekly' and bin_id='747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/465468

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/465468/ft1_4FGL_J0430.3+1654_weekly_bin747.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/465468/ft2_4FGL_J0430.3+1654_weekly_bin747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/465468/ft1_4FGL_J0430.3+1654_weekly_bin747.fits outfile=/scratch/kocevski/465468/ft1_filteredMKT_4FGL_J0430.3+1654_weekly_bin747.fits ra=67.5901 dec=16.9093 rad=12.0 tmin=690768001.0 tmax=691372801.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 5.87
user 5.59
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/465468/ft2_4FGL_J0430.3+1654_weekly_bin747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/465468/ft2_4FGL_J0430.3+1654_weekly_bin747.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/465468/ft1_filteredMKT_4FGL_J0430.3+1654_weekly_bin747.fits evtable="EVENTS" outfile="/scratch/kocevski/465468/ft1_filtered_4FGL_J0430.3+1654_weekly_bin747.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.55
user 0.38
sys 0.16

Number of photons that the gtmktime cut: 5

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/465468/ft1_filtered_4FGL_J0430.3+1654_weekly_bin747.fits" evtable="EVENTS" scfile=/scratch/kocevski/465468/ft2_4FGL_J0430.3+1654_weekly_bin747.fits sctable="SC_DATA" outfile=/scratch/kocevski/465468/ltcube_690768001_691372801_4FGL_J0430.3+1654_weekly_bin747.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/465468/ft2_4FGL_J0430.3+1654_weekly_bin747.fits
.....................!
real 29.62
user 29.06
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/465468/ft1_filtered_4FGL_J0430.3+1654_weekly_bin747.fits evtable="EVENTS" scfile=/scratch/kocevski/465468/ft2_4FGL_J0430.3+1654_weekly_bin747.fits sctable="SC_DATA" expcube=/scratch/kocevski/465468/ltcube_690768001_691372801_4FGL_J0430.3+1654_weekly_bin747.fits outfile=/scratch/kocevski/465468/expmap_690768001_691372801_4FGL_J0430.3+1654_weekly_bin747.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/465468/ltcube_690768001_691372801_4FGL_J0430.3+1654_weekly_bin747.fits
.....................!
real 191.78
user 186.89
sys 4.43

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 S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/S147.fits is the correct path to the extended template.
Added 148 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 J0430.3+1654 @ 67.5901 16.9093

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/465468/ft1_filtered_4FGL_J0430.3+1654_weekly_bin747.fits scfile=/scratch/kocevski/465468/ft2_4FGL_J0430.3+1654_weekly_bin747.fits outfile=/scratch/kocevski/465468/cmap_690768001_691372801_4FGL_J0430.3+1654_weekly_bin747.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=67.5901 yref=16.9093 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.59
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/465468/ft1_filtered_4FGL_J0430.3+1654_weekly_bin747.fits scfile=/scratch/kocevski/465468/ft2_4FGL_J0430.3+1654_weekly_bin747.fits outfile=/scratch/kocevski/465468/cmap_HighResolution_690768001_691372801_4FGL_J0430.3+1654_weekly_bin747.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=67.5901 yref=16.9093 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.59
user 0.40
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/465468/ft1_filtered_4FGL_J0430.3+1654_weekly_bin747.fits evtable="EVENTS" scfile=/scratch/kocevski/465468/ft2_4FGL_J0430.3+1654_weekly_bin747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/465468/Model_4FGL_J0430.3+1654_weekly_bin747.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
adding source S 147
Working on...
/scratch/kocevski/465468/ft1_filtered_4FGL_J0430.3+1654_weekly_bin747.fits.....!
real 14.77
user 13.45
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/465468/ft1_filtered_4FGL_J0430.3+1654_weekly_bin747.fits', '/scratch/kocevski/465468/ft2_4FGL_J0430.3+1654_weekly_bin747.fits', expMap='/scratch/kocevski/465468/expmap_690768001_691372801_4FGL_J0430.3+1654_weekly_bin747.fits', expCube='/scratch/kocevski/465468/ltcube_690768001_691372801_4FGL_J0430.3+1654_weekly_bin747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/465468/Model_4FGL_J0430.3+1654_weekly_bin747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0430.3+1654'

4FGL J0430.3+1654
   Spectrum: PowerLaw
220    Prefactor:  2.924e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
221        Index:  2.350e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  1.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/465468/ft1_filtered_4FGL_J0430.3+1654_weekly_bin747.fits
Spacecraft file(s): /scratch/kocevski/465468/ft2_4FGL_J0430.3+1654_weekly_bin747.fits
Exposure map: /scratch/kocevski/465468/expmap_690768001_691372801_4FGL_J0430.3+1654_weekly_bin747.fits
Exposure cube: /scratch/kocevski/465468/ltcube_690768001_691372801_4FGL_J0430.3+1654_weekly_bin747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/465468/Model_4FGL_J0430.3+1654_weekly_bin747.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 69.4053159804

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 66.8863370876

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.8549       1.0000          .0000       .10000E+07
     2 'Prefactor '    9.1358       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.4988       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.7350       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.0166       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.9241       1.0000          .0000       .10000E+07
     7 'norm      '    .14522       1.0000          .0000       .10000E+07
     8 'Prefactor '    7.7251       1.0000          .0000       .10000E+07
     9 'norm      '    2.1534       1.0000          .0000       .10000E+07
    10 'norm      '    5.4693       1.0000          .0000       .10000E+07
    11 'Prefactor '    .16848       1.0000          .0000       .10000E+07
    12 'Prefactor '    .55696E-02   1.0000          .0000       .10000E+07
    13 'norm      '    195.10       1.0000          .0000       .10000E+07
    14 'Prefactor '    .65859E-01   1.0000          .0000       .10000E+07
    15 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    16 'Prefactor '    .15872E-06   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   66.87298     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      192 TOTAL
                     EDM=   .54E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.8549        1.0020         .0000         .0000    
   2  Prefactor     9.1358        1.0015         .0000         .0000    
   3  Prefactor     5.4988        1.0042         .0000         .0000    
   4  Prefactor     2.7350        1.0178         .0000         .0000    
   5  Prefactor     .30531E-08    510.59        .18957E-04** at limit **
   6  Prefactor     2.9241        1.0154         .0000         .0000    
   7  norm           .0000        57.644       -.12710E-04** at limit **
   8  Prefactor     7.7251        1.0021         .0000         .0000    
   9  norm          .21290E-04    309.20        .39358E-05** at limit **
  10  norm          .95424E-06    690.56        .69704E-05** at limit **
  11  Prefactor      .0000        162.74       -.12495E-04** at limit **
  12  Prefactor      .0000        50.543        .13685E-05** at limit **
  13  norm          196.25        11.149       -.15002E-06    .64444E-02
  14  Prefactor      .0000        43.767        .69957E-05** at limit **
  15  Normalizat    .10000E-01    .41790       -.79971E-04** at limit **
  16  Prefactor     .23315E-13    .19886       -.21052E-03** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 7.85489
  Prefactor  = 9.13585
  Prefactor  = 5.4988
  Prefactor  = 2.73503
  Prefactor  = 3.05311e-09
  Prefactor  = 2.92409
  norm       = 0
  Prefactor  = 7.72515
  norm       = 2.12902e-05
  norm       = 9.54237e-07
  Prefactor  = 0
  Prefactor  = 0
  norm       = 196.254
  Prefactor  = 0
  Normalizat = 0.01
  Prefactor  = 2.33147e-14
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   66.87298     FROM HESSE     STATUS=FAILED        11 CALLS      203 TOTAL
                     EDM=   .54E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          30645.        30637.         .0000       -1.5652    
   2  Prefactor     9.1358        1.0015         .0000       -1.5648    
   3  Prefactor     5.4988        1.0042         .0000       -1.5661    
   4  Prefactor     2.7350        1.0178         .0000       -1.5675    
   5  Prefactor     .30531E-08    .35813E-01    .18957E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.9241        1.0154         .0000       -1.5674    
   7  norm           .0000        .41252       -.12710E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.7251        1.0021         .0000       -1.5652    
   9  norm          .21290E-04    .12314        .39358E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .95424E-06    .46099E-01    .69704E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        .38229       -.12495E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .44347E-01    .13685E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          196.25        1.0030       -.15002E-06   -1.5428    
  14  Prefactor      .0000        .55928        .69957E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .10000E-01    .25505       -.79971E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .23315E-13    .25773       -.21052E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.37133e-13
Minuit parameter uncertainties:
  1  1.00204
  2  1.00151
  3  1.0042
  4  1.01777
  5  2.08569e-05
  6  1.01542
  7  1.95831e-06
  8  1.00211
  9  0.00323829
  10  0.000419475
  11  1.68782e-06
  12  8.78007e-08
  13  1.00296
  14  1.444e-08
  15  1.50664e-08
  16  1.55372e-07
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 66.8729804941

Extracting fit parameters...

4FGL J0430.3+1654
   Spectrum: PowerLaw
220    Prefactor:  2.924e+00  1.015e+00  0.000e+00  1.000e+06 ( 1.000e-13)
221        Index:  2.350e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  1.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  2.331e-14  1.554e-07  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  1.000e-02  1.507e-08  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 1000000.0 is not large enough
delta logLike = 0.0

TS (Fixed Index): 0.00
Ra Dec: 67.590 16.909
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.70e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/465468/likelihoodResults_690768001_691372801_4FGL_J0430.3+1654_weekly_bin747.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): 101
logL (Free Index) = 66.9062205096
delta logL = -0.0332400155067

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 66.9062205096
delta logL = -0.0332400155067

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.3501       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   66.90622     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       62 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       2.3501        1.0120        .24100         .0000    
                               ERR DEF=  .500    
Final values: 
  Index      = 2.35012
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   66.90622     FROM HESSE     STATUS=FAILED         7 CALLS       69 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       .61743        1.8093        .24100       -.55857    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 0
Minuit parameter uncertainties:
  1  1.02187
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/465468': 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) = 66.9062205096
delta logL = -0.0332400155067

Extracting fit parameters...

4FGL J0430.3+1654
   Spectrum: PowerLaw
220    Prefactor:  2.924e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13) fixed
221        Index:  2.350e+00  1.022e+00  0.000e+00  1.000e+01 (-1.000e+00)
222        Scale:  1.553e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  7.553e-06  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  1.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 0.00
Ra Dec: 67.590 16.909

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/465468/cmap_HighResolution_690768001_691372801_4FGL_J0430.3+1654_weekly_bin747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.70e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2022-11-29 01:30:23.008343', job_id='465468', GAL2='0.00', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1669714223.01', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='-3.32e-02', ts2='0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='747' AND source_name='4FGL J0430.3+1654' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Nov 29 01:30:23 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 465468: <4FGL_J0430.3+1654_weekly_bin747> in cluster <slac> Done

Job <4FGL_J0430.3+1654_weekly_bin747> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Nov 29 01:15:23 2022
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov 29 01:23:58 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov 29 01:23:58 2022
Terminated at Tue Nov 29 01:30:23 2022
Results reported at Tue Nov 29 01:30:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0430.3+1654_weekly_bin747 67.5901 16.9093 690768001 691372801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0430.3+1654 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   352.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             509.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   385 sec.
    Turnaround time :                            900 sec.

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

