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


Performing analysis on: 4FGL_J1418.4-0233_daily_bin1762
RA = 214.606, Dec = -2.5594
tmin = 696038401, tmax = 696297601
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='111913', job_status='RUN', time_executed='2023-01-25 01:09:34.555238', time_epoch_executed='1674637774.56' WHERE source_name='4FGL J1418.4-0233' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/111913

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/111913/ft1_4FGL_J1418.4-0233_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/111913/ft2_4FGL_J1418.4-0233_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/111913/ft1_4FGL_J1418.4-0233_daily_bin1762.fits outfile=/scratch/kocevski/111913/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin1762.fits ra=214.606 dec=-2.5594 rad=12.0 tmin=696038401.0 tmax=696297601.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.73
user 3.45
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/111913/ft2_4FGL_J1418.4-0233_daily_bin1762.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/111913/ft1_filteredMKT_4FGL_J1418.4-0233_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/111913/ft1_filtered_4FGL_J1418.4-0233_daily_bin1762.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.56
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 880

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/111913/ft1_filtered_4FGL_J1418.4-0233_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/111913/ft2_4FGL_J1418.4-0233_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/111913/ltcube_696038401_696297601_4FGL_J1418.4-0233_daily_bin1762.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/111913/ft2_4FGL_J1418.4-0233_daily_bin1762.fits
.....................!
real 15.49
user 15.01
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/111913/ft1_filtered_4FGL_J1418.4-0233_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/111913/ft2_4FGL_J1418.4-0233_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/111913/ltcube_696038401_696297601_4FGL_J1418.4-0233_daily_bin1762.fits outfile=/scratch/kocevski/111913/expmap_696038401_696297601_4FGL_J1418.4-0233_daily_bin1762.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/111913/ltcube_696038401_696297601_4FGL_J1418.4-0233_daily_bin1762.fits
.....................!
real 193.09
user 187.24
sys 4.73

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/111913/ft1_filtered_4FGL_J1418.4-0233_daily_bin1762.fits scfile=/scratch/kocevski/111913/ft2_4FGL_J1418.4-0233_daily_bin1762.fits outfile=/scratch/kocevski/111913/cmap_696038401_696297601_4FGL_J1418.4-0233_daily_bin1762.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/111913/ft1_filtered_4FGL_J1418.4-0233_daily_bin1762.fits scfile=/scratch/kocevski/111913/ft2_4FGL_J1418.4-0233_daily_bin1762.fits outfile=/scratch/kocevski/111913/cmap_HighResolution_696038401_696297601_4FGL_J1418.4-0233_daily_bin1762.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.58
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/111913/ft1_filtered_4FGL_J1418.4-0233_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/111913/ft2_4FGL_J1418.4-0233_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/111913/Model_4FGL_J1418.4-0233_daily_bin1762.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/111913/ft1_filtered_4FGL_J1418.4-0233_daily_bin1762.fits....................!
real 70.75
user 69.16
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/111913/ft1_filtered_4FGL_J1418.4-0233_daily_bin1762.fits', '/scratch/kocevski/111913/ft2_4FGL_J1418.4-0233_daily_bin1762.fits', expMap='/scratch/kocevski/111913/expmap_696038401_696297601_4FGL_J1418.4-0233_daily_bin1762.fits', expCube='/scratch/kocevski/111913/ltcube_696038401_696297601_4FGL_J1418.4-0233_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/111913/Model_4FGL_J1418.4-0233_daily_bin1762.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/111913/ft1_filtered_4FGL_J1418.4-0233_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/111913/ft2_4FGL_J1418.4-0233_daily_bin1762.fits
Exposure map: /scratch/kocevski/111913/expmap_696038401_696297601_4FGL_J1418.4-0233_daily_bin1762.fits
Exposure cube: /scratch/kocevski/111913/ltcube_696038401_696297601_4FGL_J1418.4-0233_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/111913/Model_4FGL_J1418.4-0233_daily_bin1762.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) = 9236.38379532

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17730E-05   1.0000          .0000       .10000E+07
     2 'norm      '    1.8893       1.0000          .0000       .10000E+07
     3 'Prefactor '    .34955E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .46982E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .11259E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12577E-02   1.0000          .0000       .10000E+07
     7 'norm      '    40.644       1.0000          .0000       .10000E+07
     8 'Prefactor '    .83267E-09   1.0000          .0000       .10000E+07
     9 'norm      '    .38303E-08   1.0000          .0000       .10000E+07
    10 'norm      '    .16052E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.3357       1.0000          .0000       .10000E+07
    12 'norm      '    .33808E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .55678E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .17233E-01   1.0000          .0000       .10000E+07
    15 'norm      '    1.8823       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1305       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .95149       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=   9236.289     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      979 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82712E-08    3.1367        .96827E-06** at limit **
   2  norm          1.8869        1.0474        .22731E-07   -.15556E-02
   3  Prefactor     .37148E-06    2.5066        .10259E-05** at limit **
   4  Prefactor     .12879E-07    4.9264       -.23072E-05** at limit **
   5  norm          .48295E-08    2.9980       -.19735E-06** at limit **
   6  Prefactor     .37637E-07    1.7218       -.99491E-06** at limit **
   7  norm          40.680        4.4413        .21007E-06   -.53562E-02
   8  Prefactor     .28005E-06    2.5334       -.19862E-05** at limit **
   9  norm          .29976E-08    5.1870       -.28043E-06** at limit **
  10  norm          .63283E-08    3.6264        .15209E-05** at limit **
  11  Prefactor     9.4554        1.2692        .14434E-06    .12665E-02
  12  norm          .27311E-07    6.2198        .12912E-05** at limit **
  13  Prefactor     .44409E-09    114.15       -.19320E-04** at limit **
  14  Prefactor      .0000        17.808        .17052E-05** at limit **
  15  norm          1.8954        7.3646        .34012E-05   -.33119E-01
  16  Normalizat    1.1301        .21119        .18900E-04    .38814E-04
  17  Prefactor     .95148        .12320       -.10593E-04   -.11204E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.27116e-09
  norm       = 1.88686
  Prefactor  = 3.71481e-07
  Prefactor  = 1.28786e-08
  norm       = 4.82947e-09
  Prefactor  = 3.76366e-08
  norm       = 40.6799
  Prefactor  = 2.80054e-07
  norm       = 2.9976e-09
  norm       = 6.32827e-09
  Prefactor  = 9.45539
  norm       = 2.73115e-08
  Prefactor  = 4.44089e-10
  Prefactor  = 0
  norm       = 1.89543
  Normalizat = 1.13008
  Prefactor  = 0.951479
 **********
 **   18 **HESSE 
 **********

 FCN=   9236.289     FROM HESSE     STATUS=OK           257 CALLS     1236 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .82712E-08    .71758        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.8869        26.717        .75677E-03   -1.5680    
   3  Prefactor     .37148E-06    1.5032        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .12879E-07    7.1155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .48295E-08    3.0185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .37637E-07    4.6490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          40.680        4.4431        .15687E-03   -1.5580    
   8  Prefactor     .28005E-06    4.5265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .29976E-08    5.4506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .63283E-08    3.6663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.4554        11.815        .32776E-03   -1.5646    
  12  norm          .27311E-07    7.4258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .44409E-09    114.05        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        17.820        .17226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.8954        29.245        .75843E-03   -1.5680    
  16  Normalizat    1.1301        .18033        .70979E-01   -.88792    
  17  Prefactor     .95148        .10433        .45658E-01   -.94365    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14493e-07
Minuit parameter uncertainties:
  1  0.000153857
  2  14.2003
  3  0.00149456
  4  0.000605337
  5  0.000241541
  6  0.000836394
  7  4.44311
  8  0.00225187
  9  0.000255033
  10  0.000305031
  11  11.8147
  12  0.000900574
  13  0.000436772
  14  3.34103e-06
  15  14.8905
  16  0.18043
  17  0.104353
Done.

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

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  2.998e-09  2.550e-04  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:  9.515e-01  1.044e-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:  1.130e+00  1.804e-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: 2.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.31e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/111913/likelihoodResults_696038401_696297601_4FGL_J1418.4-0233_daily_bin1762.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): 102
logL (Free Index) = 9236.28885595
delta logL = -5.72162007302e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9236.28879885
delta logL = -1.13333953777e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .51292E-07   1.0000          .0000       .10000E+07
     2 'alpha     '    1.0547       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1301       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95151       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9236.289     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      241 TOTAL
                     EDM=   .23E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.7856        .42118E-03** at limit **
   2  alpha         2.6167        1.3916        .27361E-04     .0000    
   3  Normalizat    1.1301        1.1366       -.10126E-04    .15580E-04
   4  Prefactor     .95148        1.2936        .69741E-05    .25666E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.6167
  Normalizat = 1.13007
  Prefactor  = 0.951479
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9236.289     FROM HESSE     STATUS=FAILED         7 CALLS      248 TOTAL
                     EDM=   .23E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.7856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3827        1.3916        .27361E-04    .46697E-01
   3  Normalizat    1.1301        1.1366       -.10126E-04   -.88792    
   4  Prefactor     .95148        1.2936        .69741E-05   -.94365    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.30778e-13
Minuit parameter uncertainties:
  1  2.01445e-06
  2  1.47602
  3  1.16277
  4  1.3397
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/111913': 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) = 9236.28879873
delta logL = 2.78305378743e-10

Extracting fit parameters...

4FGL J1418.4-0233
   Spectrum: LogParabola
269         norm:  0.000e+00  2.014e-06  0.000e+00  1.000e+06 ( 1.000e-13)
270        alpha:  2.617e+00  1.476e+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:  9.515e-01  1.340e+00  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:  1.130e+00  1.163e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 214.606 -2.559

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/111913/cmap_HighResolution_696038401_696297601_4FGL_J1418.4-0233_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-05', job_status='DONE', photon_flux_upper_limit='2.52e-08', time_completed='2023-01-25 01:18:56.220252', job_id='111913', GAL2='0.95', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1674638336.22', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.78e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.64' WHERE bin_id='1762' AND source_name='4FGL J1418.4-0233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:18:56 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 111913: <4FGL_J1418.4-0233_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1418.4-0233_daily_bin1762> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Wed Jan 25 01:05:16 2023
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:06:09 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:06:09 2023
Terminated at Wed Jan 25 01:18:57 2023
Results reported at Wed Jan 25 01:18:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4-0233_daily_bin1762 214.606 -2.5594 696038401 696297601 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 :                                   562.54 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             237.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   767 sec.
    Turnaround time :                            821 sec.

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

