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


Performing analysis on: 4FGL_J1018.4+0528_daily_bin1750
RA = 154.617, Dec = 5.4702
tmin = 692928001, tmax = 693187201
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='5074', job_status='RUN', time_executed='2022-12-20 00:31:58.339830', time_epoch_executed='1671525118.34' WHERE source_name='4FGL J1018.4+0528' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/5074

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/5074/ft1_4FGL_J1018.4+0528_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/5074/ft2_4FGL_J1018.4+0528_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/5074/ft1_4FGL_J1018.4+0528_daily_bin1750.fits outfile=/scratch/kocevski/5074/ft1_filteredMKT_4FGL_J1018.4+0528_daily_bin1750.fits ra=154.617 dec=5.4702 rad=12.0 tmin=692928001.0 tmax=693187201.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.45
user 3.21
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/5074/ft2_4FGL_J1018.4+0528_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/5074/ft2_4FGL_J1018.4+0528_daily_bin1750.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/5074/ft1_filteredMKT_4FGL_J1018.4+0528_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/5074/ft1_filtered_4FGL_J1018.4+0528_daily_bin1750.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.32
sys 0.17

Number of photons that the gtmktime cut: 612

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/5074/ft1_filtered_4FGL_J1018.4+0528_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/5074/ft2_4FGL_J1018.4+0528_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/5074/ltcube_692928001_693187201_4FGL_J1018.4+0528_daily_bin1750.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/5074/ft2_4FGL_J1018.4+0528_daily_bin1750.fits
.....................!
real 12.14
user 11.74
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/5074/ft1_filtered_4FGL_J1018.4+0528_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/5074/ft2_4FGL_J1018.4+0528_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/5074/ltcube_692928001_693187201_4FGL_J1018.4+0528_daily_bin1750.fits outfile=/scratch/kocevski/5074/expmap_692928001_693187201_4FGL_J1018.4+0528_daily_bin1750.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/5074/ltcube_692928001_693187201_4FGL_J1018.4+0528_daily_bin1750.fits
.....................!
real 191.55
user 185.39
sys 5.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 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J1018.4+0528 @ 154.617 5.4702

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/5074/ft1_filtered_4FGL_J1018.4+0528_daily_bin1750.fits scfile=/scratch/kocevski/5074/ft2_4FGL_J1018.4+0528_daily_bin1750.fits outfile=/scratch/kocevski/5074/cmap_692928001_693187201_4FGL_J1018.4+0528_daily_bin1750.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.617 yref=5.4702 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.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/5074/ft1_filtered_4FGL_J1018.4+0528_daily_bin1750.fits scfile=/scratch/kocevski/5074/ft2_4FGL_J1018.4+0528_daily_bin1750.fits outfile=/scratch/kocevski/5074/cmap_HighResolution_692928001_693187201_4FGL_J1018.4+0528_daily_bin1750.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.617 yref=5.4702 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/5074/ft1_filtered_4FGL_J1018.4+0528_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/5074/ft2_4FGL_J1018.4+0528_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/5074/Model_4FGL_J1018.4+0528_daily_bin1750.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/5074/ft1_filtered_4FGL_J1018.4+0528_daily_bin1750.fits.....................!
real 63.89
user 62.26
sys 1.40

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/5074/ft1_filtered_4FGL_J1018.4+0528_daily_bin1750.fits', '/scratch/kocevski/5074/ft2_4FGL_J1018.4+0528_daily_bin1750.fits', expMap='/scratch/kocevski/5074/expmap_692928001_693187201_4FGL_J1018.4+0528_daily_bin1750.fits', expCube='/scratch/kocevski/5074/ltcube_692928001_693187201_4FGL_J1018.4+0528_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/5074/Model_4FGL_J1018.4+0528_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.4+0528'

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  9.961e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
217        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
218        Scale:  1.954e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/5074/ft1_filtered_4FGL_J1018.4+0528_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/5074/ft2_4FGL_J1018.4+0528_daily_bin1750.fits
Exposure map: /scratch/kocevski/5074/expmap_692928001_693187201_4FGL_J1018.4+0528_daily_bin1750.fits
Exposure cube: /scratch/kocevski/5074/ltcube_692928001_693187201_4FGL_J1018.4+0528_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/5074/Model_4FGL_J1018.4+0528_daily_bin1750.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) = 6890.07116536

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22805E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .79936E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    9.0965       1.0000          .0000       .10000E+07
     4 'Prefactor '    47.077       1.0000          .0000       .10000E+07
     5 'Prefactor '    .47460E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .18449E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .18265       1.0000          .0000       .10000E+07
     8 'Prefactor '    .79712E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .23451E-03   1.0000          .0000       .10000E+07
    10 'norm      '    2.0235       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12390E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.5417       1.0000          .0000       .10000E+07
    13 'Prefactor '    12.995       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.7287       1.0000          .0000       .10000E+07
    15 'norm      '    .82046       1.0000          .0000       .10000E+07
    16 'Prefactor '    17.390       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1481       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0873       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6890.043     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1056 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1846       -.98938E-07** at limit **
   2  norm           .0000        .17787       -.31756E-08** at limit **
   3  Prefactor     9.3055        3.6294        .38714E-08    .46534E-01
   4  Prefactor     49.340        37.738       -.13650E-06   -.23284E-02
   5  Prefactor     .12768E-08    18.023        .20045E-07** at limit **
   6  Prefactor      .0000        2.9934       -.10376E-06** at limit **
   7  Prefactor     .16548E-06    59.864       -.61833E-07** at limit **
   8  Prefactor     .22204E-08    15.706       -.31978E-06** at limit **
   9  Prefactor      .0000        4.8142        .40138E-06** at limit **
  10  norm          2.0203        1.1428        .29717E-07   -.26454E-03
  11  Prefactor      .0000        2.4113       -.52506E-07** at limit **
  12  Prefactor     1.5451        3.0190        .29762E-07    .88146E-04
  13  Prefactor     12.959        12.267       -.21508E-07   -.66288E-03
  14  Prefactor     3.8015        6.8750        .58908E-07    .55695E-03
  15  norm          .82110        .58398        .43450E-08    .42448E-03
  16  Prefactor     17.434        1.0994       -.86266E-09    .58142E-02
  17  Normalizat    1.1466        .22096        .36536E-05    .80864E-05
  18  Prefactor     1.0871        .18199       -.57336E-05    .15727E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0
  Prefactor  = 9.30551
  Prefactor  = 49.3398
  Prefactor  = 1.27676e-09
  Prefactor  = 0
  Prefactor  = 1.65479e-07
  Prefactor  = 2.22045e-09
  Prefactor  = 0
  norm       = 2.0203
  Prefactor  = 0
  Prefactor  = 1.54511
  Prefactor  = 12.9594
  Prefactor  = 3.8015
  norm       = 0.821096
  Prefactor  = 17.4339
  Normalizat = 1.14655
  Prefactor  = 1.08712
 **********
 **   18 **HESSE 
 **********

 FCN=   6890.043     FROM HESSE     STATUS=OK           282 CALLS     1338 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .17475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.3055        14.142        .33207E-03   -1.5647    
   4  Prefactor     49.340        37.682        .14576E-03   -1.5567    
   5  Prefactor     .12768E-08    18.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.9946        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16548E-06    62.795        .12093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-08    15.729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.8123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.0203        1.1487        .72713E-03   -1.5680    
  11  Prefactor      .0000        2.3963        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.5451        3.0569        .85827E-03   -1.5683    
  13  Prefactor     12.959        12.228        .27761E-03   -1.5636    
  14  Prefactor     3.8015        6.9380        .52268E-03   -1.5669    
  15  norm          .82110        .59061        .51423E-03   -1.5690    
  16  Prefactor     17.434        16.603        .23990E-03   -1.5624    
  17  Normalizat    1.1466        .19147        .60882E-01   -.88271    
  18  Prefactor     1.0871        .15543        .38089E-01   -.89879    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.36632e-08
Minuit parameter uncertainties:
  1  1.07399e-06
  2  3.77225e-08
  3  14.1424
  4  37.6826
  5  0.000303192
  6  5.26409e-06
  7  0.00644684
  8  0.000372197
  9  1.83922e-05
  10  1.14874
  11  1.43206e-06
  12  3.05693
  13  12.2276
  14  6.93799
  15  0.590609
  16  16.6029
  17  0.191582
  18  0.155491
Done.

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

Extracting fit parameters...

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  2.220e-09  3.722e-04  0.000e+00  1.000e+06 ( 1.000e-14)
217        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
218        Scale:  1.954e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.087e+00  1.555e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.147e+00  1.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.617 5.470
Photon Flux Upper Limit: 5.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/5074/likelihoodResults_692928001_693187201_4FGL_J1018.4+0528_daily_bin1750.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) = 6890.07365398
delta logL = -0.0303612386751

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6890.0432932
delta logL = -4.65945959149e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25757E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .47416       1.0000          .0000       10.000    
     3 'Normalizat'    1.1467       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0870       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6890.043     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      216 TOTAL
                     EDM=   .44E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        16.230        .42118E-03** at limit **
   2  Index         2.2392        1.5968       -.90601E-03     .0000    
   3  Normalizat    1.1466        1.1279       -.10828E-05   -.72007E-04
   4  Prefactor     1.0871        1.1576       -.70723E-05    .73545E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.2392
  Normalizat = 1.14655
  Prefactor  = 1.08713
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6890.043     FROM HESSE     STATUS=FAILED         9 CALLS      225 TOTAL
                     EDM=   .44E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        16.230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .55547        1.8943       -.90601E-03   -.58495    
   3  Normalizat    1.1466        1.1279       -.10828E-05   -.88271    
   4  Prefactor     1.0871        1.1576       -.70723E-05   -.89879    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.44605e-11
Minuit parameter uncertainties:
  1  2.54273e-06
  2  1.63868
  3  1.15315
  4  1.18604
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/5074': 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) = 6890.04329274
delta logL = 3.18323145621e-11

Extracting fit parameters...

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  0.000e+00  2.543e-06  0.000e+00  1.000e+06 ( 1.000e-14)
217        Index:  2.239e+00  1.639e+00  0.000e+00  1.000e+01 (-1.000e+00)
218        Scale:  1.954e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.087e+00  1.186e+00  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.147e+00  1.153e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.617 5.470

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/5074/cmap_HighResolution_692928001_693187201_4FGL_J1018.4+0528_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.15e-03', job_status='DONE', photon_flux_upper_limit='5.41e-08', time_completed='2022-12-20 00:40:14.762775', job_id='5074', GAL2='1.09', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1671525614.76', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='3.18e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1750' AND source_name='4FGL J1018.4+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:40:14 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 5074: <4FGL_J1018.4+0528_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1018.4+0528_daily_bin1750> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Dec 20 00:30:16 2022
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:30:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:30:16 2022
Terminated at Tue Dec 20 00:40:15 2022
Results reported at Tue Dec 20 00:40:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.4+0528_daily_bin1750 154.617 5.4702 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1018.4+0528 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   499.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             280.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   599 sec.
    Turnaround time :                            599 sec.

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

