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


Performing analysis on: 4FGL_J1018.3-3124_daily_bin1746
RA = 154.591, Dec = -31.4032
tmin = 691891201, tmax = 692150401
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='719999', job_status='RUN', time_executed='2022-12-08 00:36:02.138750', time_epoch_executed='1670488562.14' WHERE source_name='4FGL J1018.3-3124' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/719999

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/719999/ft1_4FGL_J1018.3-3124_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/719999/ft2_4FGL_J1018.3-3124_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/719999/ft1_4FGL_J1018.3-3124_daily_bin1746.fits outfile=/scratch/kocevski/719999/ft1_filteredMKT_4FGL_J1018.3-3124_daily_bin1746.fits ra=154.591 dec=-31.4032 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.76
user 4.55
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/719999/ft2_4FGL_J1018.3-3124_daily_bin1746.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/719999/ft2_4FGL_J1018.3-3124_daily_bin1746.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/719999/ft1_filteredMKT_4FGL_J1018.3-3124_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/719999/ft1_filtered_4FGL_J1018.3-3124_daily_bin1746.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: 1215

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/719999/ft1_filtered_4FGL_J1018.3-3124_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/719999/ft2_4FGL_J1018.3-3124_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/719999/ltcube_691891201_692150401_4FGL_J1018.3-3124_daily_bin1746.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/719999/ft2_4FGL_J1018.3-3124_daily_bin1746.fits
.....................!
real 11.82
user 11.47
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/719999/ft1_filtered_4FGL_J1018.3-3124_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/719999/ft2_4FGL_J1018.3-3124_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/719999/ltcube_691891201_692150401_4FGL_J1018.3-3124_daily_bin1746.fits outfile=/scratch/kocevski/719999/expmap_691891201_692150401_4FGL_J1018.3-3124_daily_bin1746.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/719999/ltcube_691891201_692150401_4FGL_J1018.3-3124_daily_bin1746.fits
.....................!
real 190.15
user 184.84
sys 4.98

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

Setting source of interest to:
4FGL J1018.3-3124 @ 154.591 -31.4032

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/719999/ft1_filtered_4FGL_J1018.3-3124_daily_bin1746.fits scfile=/scratch/kocevski/719999/ft2_4FGL_J1018.3-3124_daily_bin1746.fits outfile=/scratch/kocevski/719999/cmap_691891201_692150401_4FGL_J1018.3-3124_daily_bin1746.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=154.591 yref=-31.4032 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/719999/ft1_filtered_4FGL_J1018.3-3124_daily_bin1746.fits scfile=/scratch/kocevski/719999/ft2_4FGL_J1018.3-3124_daily_bin1746.fits outfile=/scratch/kocevski/719999/cmap_HighResolution_691891201_692150401_4FGL_J1018.3-3124_daily_bin1746.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=154.591 yref=-31.4032 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/719999/ft1_filtered_4FGL_J1018.3-3124_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/719999/ft2_4FGL_J1018.3-3124_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/719999/Model_4FGL_J1018.3-3124_daily_bin1746.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/719999/ft1_filtered_4FGL_J1018.3-3124_daily_bin1746.fits.....................!
real 124.99
user 123.65
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/719999/ft1_filtered_4FGL_J1018.3-3124_daily_bin1746.fits', '/scratch/kocevski/719999/ft2_4FGL_J1018.3-3124_daily_bin1746.fits', expMap='/scratch/kocevski/719999/expmap_691891201_692150401_4FGL_J1018.3-3124_daily_bin1746.fits', expCube='/scratch/kocevski/719999/ltcube_691891201_692150401_4FGL_J1018.3-3124_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/719999/Model_4FGL_J1018.3-3124_daily_bin1746.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.3-3124'

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  6.868e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
339        alpha:  2.461e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
340         beta:  1.460e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
341           Eb:  5.841e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/719999/ft1_filtered_4FGL_J1018.3-3124_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/719999/ft2_4FGL_J1018.3-3124_daily_bin1746.fits
Exposure map: /scratch/kocevski/719999/expmap_691891201_692150401_4FGL_J1018.3-3124_daily_bin1746.fits
Exposure cube: /scratch/kocevski/719999/ltcube_691891201_692150401_4FGL_J1018.3-3124_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/719999/Model_4FGL_J1018.3-3124_daily_bin1746.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) = 12692.7716527

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24991E-05   1.0000          .0000       .10000E+07
     2 'norm      '    7.8547       1.0000          .0000       .10000E+07
     3 'norm      '    .82601E-07   1.0000          .0000       .10000E+07
     4 'norm      '    .22632E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .90705E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.4285       1.0000          .0000       .10000E+07
     7 'norm      '    .28791E-05   1.0000          .0000       .10000E+07
     8 'norm      '    8.1483       1.0000          .0000       .10000E+07
     9 'Prefactor '    .65204E-03   1.0000          .0000       .10000E+07
    10 'norm      '    1.3147       1.0000          .0000       .10000E+07
    11 'Prefactor '    12.360       1.0000          .0000       .10000E+07
    12 'Prefactor '    .41221E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.1214       1.0000          .0000       .10000E+07
    14 'Prefactor '    .66565E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    7.2541       1.0000          .0000       .10000E+07
    16 'Normalizat'    .98642       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .94053       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12692.68     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1021 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .90610        .28939E-07** at limit **
   2  norm          7.8567        5.6849        .22390E-07   -.14754E-01
   3  norm          .38338E-05    821.89       -.34591E-05** at limit **
   4  norm          .36526E-07    2.5760       -.20568E-06** at limit **
   5  Prefactor     .33307E-09    6.6962        .26890E-06** at limit **
   6  Prefactor     6.4537        1.4959       -.15199E-07    .59049E-02
   7  norm          .35527E-08    2.5888        .60232E-07** at limit **
   8  norm          8.1616        5.0833       -.84221E-07   -.45366E-02
   9  Prefactor     .57732E-08    6.3031        .94373E-07** at limit **
  10  norm          1.3247        2.5239       -.62131E-07   -.19187E-02
  11  Prefactor     12.285        4.0371       -.16341E-07   -.34125E-01
  12  Prefactor     .13878E-08    2.8512       -.11695E-06** at limit **
  13  Prefactor     5.1059        5.8789        .33093E-07    .18473E-01
  14  Prefactor     .64226E-07    1.2330       -.60020E-07** at limit **
  15  Prefactor     7.2554        3.7621       -.36017E-07    .64520E-01
  16  Normalizat    .98684        .18510       -.13965E-05   -.79790E-04
  17  Prefactor     .94041        .79656E-01    .65057E-06    .16271E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 7.85669
  norm       = 3.83382e-06
  norm       = 3.65263e-08
  Prefactor  = 3.33067e-10
  Prefactor  = 6.45367
  norm       = 3.55271e-09
  norm       = 8.16163
  Prefactor  = 5.77316e-09
  norm       = 1.32473
  Prefactor  = 12.2848
  Prefactor  = 1.38778e-09
  Prefactor  = 5.10587
  Prefactor  = 6.42264e-08
  Prefactor  = 7.25541
  Normalizat = 0.986839
  Prefactor  = 0.940413
 **********
 **   18 **HESSE 
 **********

 FCN=   12692.68     FROM HESSE     STATUS=OK           261 CALLS     1282 TOTAL
                     EDM=   .73E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .92224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.8567        5.7509        .35754E-03   -1.5652    
   3  norm          .38338E-05    .63905        .30124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .36526E-07    3.4232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33307E-09    7.3286        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.4537        7.9170        .39562E-03   -1.5657    
   7  norm          .35527E-08    2.8003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.1616        5.1436        .35099E-03   -1.5651    
   9  Prefactor     .57732E-08    6.7474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.3247        2.5680        .96046E-03   -1.5685    
  11  Prefactor     12.285        11.665        .28468E-03   -1.5638    
  12  Prefactor     .13878E-08    2.8588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.1059        7.1233        .44402E-03   -1.5663    
  14  Prefactor     .64226E-07    3.3723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.2554        6.0035        .37218E-03   -1.5654    
  16  Normalizat    .98684        .16241        .77019E-01   -.93473    
  17  Prefactor     .94041        .68769E-01    .45520E-01   -.94743    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.31583e-08
Minuit parameter uncertainties:
  1  9.53318e-06
  2  5.75091
  3  0.00313049
  4  0.000707173
  5  9.52334e-05
  6  7.917
  7  0.000200163
  8  5.14358
  9  0.0003943
  10  2.56803
  11  11.6651
  12  0.000127066
  13  7.12329
  14  0.000930586
  15  6.00348
  16  0.162489
  17  0.0687753
Done.

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

Extracting fit parameters...

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  3.553e-09  2.002e-04  0.000e+00  1.000e+06 ( 1.000e-12)
339        alpha:  2.461e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
340         beta:  1.460e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
341           Eb:  5.841e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  9.404e-01  6.878e-02  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  9.868e-01  1.625e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.591 -31.403
Photon Flux Upper Limit: 4.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.32e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/719999/likelihoodResults_691891201_692150401_4FGL_J1018.3-3124_daily_bin1746.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) = 12692.6821981
delta logL = -0.000298168899462

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12692.6818999
delta logL = -1.69620761881e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
     2 'alpha     '    .78211       1.0000          .0000       5.0000    
     3 'Normalizat'    .98685       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94041       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12692.68     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      236 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.1273       -.87276E-07** at limit **
   2  alpha         3.9582        4.0870        .33484E-04     .0000    
   3  Normalizat    .98684        .17505       -.43203E-05    .16226E-04
   4  Prefactor     .94041        .79653E-01    .17695E-05    .54667E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.95823
  Normalizat = 0.98684
  Prefactor  = 0.940412
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.0861        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7813        1.2107        .33484E-04    .62277    
   3  Normalizat    .98684        1.3173       -.43203E-05   -.93473    
   4  Prefactor     .94041        1.2832        .17695E-05   -.94743    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.3128e-12
Minuit parameter uncertainties:
  1  8.00475e-06
  2  1.29717
  3  1.36498
  4  1.32861
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/719999': 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) = 12692.6818999
delta logL = 6.45741238259e-10

Extracting fit parameters...

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  0.000e+00  8.005e-06  0.000e+00  1.000e+06 ( 1.000e-12)
339        alpha:  3.958e+00  1.297e+00  0.000e+00  5.000e+00 ( 1.000e+00)
340         beta:  1.460e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
341           Eb:  5.841e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  9.404e-01  1.329e+00  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  9.868e-01  1.365e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.591 -31.403

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/719999/cmap_HighResolution_691891201_692150401_4FGL_J1018.3-3124_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.32e-05', job_status='DONE', photon_flux_upper_limit='4.50e-08', time_completed='2022-12-08 00:48:43.517435', job_id='719999', GAL2='0.94', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1670489323.52', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='6.46e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1746' AND source_name='4FGL J1018.3-3124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 00:48:43 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 719999: <4FGL_J1018.3-3124_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1018.3-3124_daily_bin1746> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Dec  8 00:35:17 2022
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:35:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:35:18 2022
Terminated at Thu Dec  8 00:48:44 2022
Results reported at Thu Dec  8 00:48:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.3-3124_daily_bin1746 154.591 -31.4032 691891201 692150401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1018.3-3124 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   763.45 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             365.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            807 sec.

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

