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


Performing analysis on: 4FGL_J1418.4-0233_daily_bin1745
RA = 214.606, Dec = -2.5594
tmin = 691632001, tmax = 691891201
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='647836', job_status='RUN', time_executed='2022-12-05 00:47:41.688407', time_epoch_executed='1670230061.69' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647836

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647836/ft1_4FGL_J1418.4-0233_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647836/ft2_4FGL_J1418.4-0233_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647836/ft1_4FGL_J1418.4-0233_daily_bin1745.fits outfile=/scratch/kocevski/647836/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin1745.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=691632001.0 tmax=691891201.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.38
user 2.19
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/647836/ft2_4FGL_J1418.4-0233_daily_bin1745.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/647836/ft2_4FGL_J1418.4-0233_daily_bin1745.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/647836/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/647836/ft1_filtered_4FGL_J1418.4-0233_daily_bin1745.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.49
user 0.30
sys 0.19

Number of photons that the gtmktime cut: 743

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647836/ft1_filtered_4FGL_J1418.4-0233_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/647836/ft2_4FGL_J1418.4-0233_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/647836/ltcube_691632001_691891201_4FGL_J1418.4-0233_daily_bin1745.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/647836/ft2_4FGL_J1418.4-0233_daily_bin1745.fits
.....................!
real 12.49
user 12.12
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647836/ft1_filtered_4FGL_J1418.4-0233_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/647836/ft2_4FGL_J1418.4-0233_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/647836/ltcube_691632001_691891201_4FGL_J1418.4-0233_daily_bin1745.fits outfile=/scratch/kocevski/647836/expmap_691632001_691891201_4FGL_J1418.4-0233_daily_bin1745.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/647836/ltcube_691632001_691891201_4FGL_J1418.4-0233_daily_bin1745.fits
.....................!
real 189.89
user 185.24
sys 4.32

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

Setting source of interest to:
4FGL J1418.4-0233 @ 214.606 -2.5594

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/647836/ft1_filtered_4FGL_J1418.4-0233_daily_bin1745.fits scfile=/scratch/kocevski/647836/ft2_4FGL_J1418.4-0233_daily_bin1745.fits outfile=/scratch/kocevski/647836/cmap_691632001_691891201_4FGL_J1418.4-0233_daily_bin1745.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=214.606 yref=-2.5594 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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647836/ft1_filtered_4FGL_J1418.4-0233_daily_bin1745.fits scfile=/scratch/kocevski/647836/ft2_4FGL_J1418.4-0233_daily_bin1745.fits outfile=/scratch/kocevski/647836/cmap_HighResolution_691632001_691891201_4FGL_J1418.4-0233_daily_bin1745.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=214.606 yref=-2.5594 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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/647836/ft1_filtered_4FGL_J1418.4-0233_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/647836/ft2_4FGL_J1418.4-0233_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/647836/Model_4FGL_J1418.4-0233_daily_bin1745.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/647836/ft1_filtered_4FGL_J1418.4-0233_daily_bin1745.fits.....................!
real 62.43
user 61.10
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/647836/ft1_filtered_4FGL_J1418.4-0233_daily_bin1745.fits', '/scratch/kocevski/647836/ft2_4FGL_J1418.4-0233_daily_bin1745.fits', expMap='/scratch/kocevski/647836/expmap_691632001_691891201_4FGL_J1418.4-0233_daily_bin1745.fits', expCube='/scratch/kocevski/647836/ltcube_691632001_691891201_4FGL_J1418.4-0233_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/647836/Model_4FGL_J1418.4-0233_daily_bin1745.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1418.4-0233'

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  7.824e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
270        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  8.008e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  1.844e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/647836/ft1_filtered_4FGL_J1418.4-0233_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/647836/ft2_4FGL_J1418.4-0233_daily_bin1745.fits
Exposure map: /scratch/kocevski/647836/expmap_691632001_691891201_4FGL_J1418.4-0233_daily_bin1745.fits
Exposure cube: /scratch/kocevski/647836/ltcube_691632001_691891201_4FGL_J1418.4-0233_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/647836/Model_4FGL_J1418.4-0233_daily_bin1745.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) = 8355.48620914

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '     .0000       1.0000          .0000       .10000E+07
     2 'norm      '    17.104       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.7673       1.0000          .0000       .10000E+07
     4 'Prefactor '    .17600E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .36855E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.2263       1.0000          .0000       .10000E+07
     7 'norm      '    21.235       1.0000          .0000       .10000E+07
     8 'Prefactor '    .65215E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .12739E-05   1.0000          .0000       .10000E+07
    10 'norm      '    .49960E-09   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10586E-05   1.0000          .0000       .10000E+07
    12 'norm      '    28.676       1.0000          .0000       .10000E+07
    13 'Prefactor '    .83576E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .12441E-01   1.0000          .0000       .10000E+07
    15 'norm      '    5.1033       1.0000          .0000       .10000E+07
    16 'Normalizat'    .63398       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2758       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8355.476     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1488 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .56607        .29517E-07** at limit **
   2  norm          17.112        5.7106       -.24353E-06    .60230E-01
   3  Prefactor     4.7653        5.5505       -.45605E-06   -.57142E-03
   4  Prefactor     .17925E-06    15.096       -.31660E-06** at limit **
   5  norm           .0000        13.907       -.11321E-05** at limit **
   6  Prefactor     9.2246        8.0247       -.48100E-07   -.32313E-03
   7  norm          21.234        4.0879       -.48250E-07    .65338E-03
   8  Prefactor     .38303E-08    19.195       -.29531E-06** at limit **
   9  norm          .26895E-06    15.138        .11796E-05** at limit **
  10  norm           .0000        2.8947       -.10145E-06** at limit **
  11  Prefactor     .11102E-09    7.8474        .85720E-06** at limit **
  12  norm          28.684        8.6172       -.25695E-06    .43508E-01
  13  Prefactor     .16653E-09    67.927        .27680E-05** at limit **
  14  Prefactor     .18707E-07    636.22        .27309E-04** at limit **
  15  norm          5.1203        15.665       -.33155E-06   -.16594E-02
  16  Normalizat    .63410        .21901        .12233E-07    .19077E-04
  17  Prefactor     1.2758        .13578        .22409E-05    .28042E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 17.1119
  Prefactor  = 4.76531
  Prefactor  = 1.79246e-07
  norm       = 0
  Prefactor  = 9.22459
  norm       = 21.2341
  Prefactor  = 3.83027e-09
  norm       = 2.68952e-07
  norm       = 0
  Prefactor  = 1.11022e-10
  norm       = 28.6841
  Prefactor  = 1.66533e-10
  Prefactor  = 1.87073e-08
  norm       = 5.1203
  Normalizat = 0.634097
  Prefactor  = 1.27578
 **********
 **   18 **HESSE 
 **********

 FCN=   8355.476     FROM HESSE     STATUS=OK           255 CALLS     1743 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .56211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          17.112        30.324        .24190E-03   -1.5625    
   3  Prefactor     4.7653        5.5677        .46057E-03   -1.5664    
   4  Prefactor     .17925E-06    16.123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        13.815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.2246        8.0354        .32971E-03   -1.5647    
   7  norm          21.234        4.1090        .21707E-03   -1.5616    
   8  Prefactor     .38303E-08    19.278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .26895E-06    16.825        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.8958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-09    7.8892        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          28.684        22.793        .18677E-03   -1.5601    
  13  Prefactor     .16653E-09    68.829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .18707E-07    632.06        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.1203        15.866        .44483E-03   -1.5663    
  16  Normalizat    .63410        .20024        .90520E-01   -1.0656    
  17  Prefactor     1.2758        .12344        .33046E-01   -.84030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21314e-07
Minuit parameter uncertainties:
  1  7.79281e-07
  2  30.3243
  3  5.56766
  4  0.00339974
  5  2.70956e-05
  6  8.03542
  7  4.10899
  8  0.000545177
  9  0.00425428
  10  1.91601e-06
  11  5.38834e-05
  12  22.7928
  13  0.000225789
  14  0.00687745
  15  15.8666
  16  0.200474
  17  0.123469
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  2.690e-07  4.254e-03  0.000e+00  1.000e+06 ( 1.000e-13)
270        alpha:  1.640e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  8.008e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  1.844e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.276e+00  1.235e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  6.341e-01  2.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 214.606 -2.559
Photon Flux Upper Limit: 4.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.45e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/647836/likelihoodResults_691632001_691891201_4FGL_J1418.4-0233_daily_bin1745.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) = 8355.4756956
delta logL = -0.000135217989737

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8353.47753449
delta logL = 1.99802589885

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2607       1.0000          .0000       .10000E+07
     2 'alpha     '    3.6263       1.0000          .0000       5.0000    
     3 'Normalizat'    .52797       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2994       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8353.478     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      272 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2615        9.7693        .99300E-03    .33020E-01
   2  alpha         3.6258        1.7702        .21019        .26854E-03
   3  Normalizat    .52809        .55660E-01    .98470E-01   -.29947E-04
   4  Prefactor     1.2993        .34109E-01    .32621E-01   -.18120E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.26155
  alpha      = 3.6258
  Normalizat = 0.528085
  Prefactor  = 1.2993
 **********
 **   18 **HESSE 
 **********

 FCN=   8353.478     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      303 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2615        19.872        .57121E-05   -1.5685    
   2  alpha         3.6258        4.1288        .83609E-02    .46712    
   3  Normalizat    .52809        .22121        .43644E-03   -1.1113    
   4  Prefactor     1.2993        .13707        .18017E-03   -.83328    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.99235e-09
Minuit parameter uncertainties:
  1  10.014
  2  3.32222
  3  0.221575
  4  0.137105
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647836': 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): 102
logL (Free Index) = 8353.47753407
delta logL = 1.99802631662

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  1.262e+00  1.001e+01  0.000e+00  1.000e+06 ( 1.000e-13)
270        alpha:  3.626e+00  3.322e+00  0.000e+00  5.000e+00 ( 1.000e+00)
271         beta:  8.008e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  1.844e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.299e+00  1.371e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  5.281e-01  2.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.19
Ra Dec: 214.606 -2.559
Photon Index (Free Index): 3.63 +/- 3.32
Photon Flux (Free Index): 1.12e-07 +/- 7.39e-08
Energy Flux (Free Index): 1.95e-05 +/- 1.69e-05

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/647836/cmap_HighResolution_691632001_691891201_4FGL_J1418.4-0233_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.45e-05', comment='SUCCESS', energy_flux2='1.95e-05', dlogl='2.00e+00', photon_flux2='1.12e-07', job_status='DONE', time_completed='2022-12-05 00:56:50.195140', photon_index_error2='3.32', photon_index2='3.63', ts='-0.00', fit_tolerance='1e-08', GAL='1.28', photon_index_error='0.00', photon_flux_upper_limit='4.35e-08', energy_flux_error2='1.69e-05', EG='0.63', time_epoch_completed='1670230610.2', return_code='0', job_id='647836', GAL2='1.30', EG2='0.53', return_code2='102', photon_flux_error2='7.39e-08', ts2='4.19', photon_index='1.64' WHERE bin_id='1745' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:56:50 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 647836: <4FGL_J1418.4-0233_daily_bin1745> in cluster <slac> Done

Job <4FGL_J1418.4-0233_daily_bin1745> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Dec  5 00:45:17 2022
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:45:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:45:18 2022
Terminated at Mon Dec  5 00:56:51 2022
Results reported at Mon Dec  5 00:56:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin1745 214.606 -2.5594 691632001 691891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1418.4-0233 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   551.00 sec.
    Max Memory :                                 1092 MB
    Average Memory :                             280.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            694 sec.

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

