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


Performing analysis on: 4FGL_J1018.1+1905_weekly_bin751
RA = 154.548, Dec = 19.0963
tmin = 693187201, tmax = 693792001
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='668966', job_status='RUN', time_executed='2022-12-27 00:52:31.919982', time_epoch_executed='1672131151.92' WHERE source_name='4FGL J1018.1+1905' and cadence='weekly' and bin_id='751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/668966

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/668966/ft1_4FGL_J1018.1+1905_weekly_bin751.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/668966/ft2_4FGL_J1018.1+1905_weekly_bin751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/668966/ft1_4FGL_J1018.1+1905_weekly_bin751.fits outfile=/scratch/kocevski/668966/ft1_filteredMKT_4FGL_J1018.1+1905_weekly_bin751.fits ra=154.548 dec=19.0963 rad=12.0 tmin=693187201.0 tmax=693792001.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 7.71
user 7.34
sys 0.31

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/668966/ft2_4FGL_J1018.1+1905_weekly_bin751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/668966/ft2_4FGL_J1018.1+1905_weekly_bin751.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/668966/ft1_filteredMKT_4FGL_J1018.1+1905_weekly_bin751.fits evtable="EVENTS" outfile="/scratch/kocevski/668966/ft1_filtered_4FGL_J1018.1+1905_weekly_bin751.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.58
user 0.38
sys 0.17

Number of photons that the gtmktime cut: 1222

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/668966/ft1_filtered_4FGL_J1018.1+1905_weekly_bin751.fits" evtable="EVENTS" scfile=/scratch/kocevski/668966/ft2_4FGL_J1018.1+1905_weekly_bin751.fits sctable="SC_DATA" outfile=/scratch/kocevski/668966/ltcube_693187201_693792001_4FGL_J1018.1+1905_weekly_bin751.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/668966/ft2_4FGL_J1018.1+1905_weekly_bin751.fits
.....................!
real 34.48
user 34.02
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/668966/ft1_filtered_4FGL_J1018.1+1905_weekly_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/668966/ft2_4FGL_J1018.1+1905_weekly_bin751.fits sctable="SC_DATA" expcube=/scratch/kocevski/668966/ltcube_693187201_693792001_4FGL_J1018.1+1905_weekly_bin751.fits outfile=/scratch/kocevski/668966/expmap_693187201_693792001_4FGL_J1018.1+1905_weekly_bin751.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/668966/ltcube_693187201_693792001_4FGL_J1018.1+1905_weekly_bin751.fits
.....................!
real 192.39
user 186.94
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 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J1018.1+1905 @ 154.548 19.0963

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/668966/ft1_filtered_4FGL_J1018.1+1905_weekly_bin751.fits scfile=/scratch/kocevski/668966/ft2_4FGL_J1018.1+1905_weekly_bin751.fits outfile=/scratch/kocevski/668966/cmap_693187201_693792001_4FGL_J1018.1+1905_weekly_bin751.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.548 yref=19.0963 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.60
user 0.41
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/668966/ft1_filtered_4FGL_J1018.1+1905_weekly_bin751.fits scfile=/scratch/kocevski/668966/ft2_4FGL_J1018.1+1905_weekly_bin751.fits outfile=/scratch/kocevski/668966/cmap_HighResolution_693187201_693792001_4FGL_J1018.1+1905_weekly_bin751.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.548 yref=19.0963 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.61
user 0.43
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/668966/ft1_filtered_4FGL_J1018.1+1905_weekly_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/668966/ft2_4FGL_J1018.1+1905_weekly_bin751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/668966/Model_4FGL_J1018.1+1905_weekly_bin751.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/668966/ft1_filtered_4FGL_J1018.1+1905_weekly_bin751.fits.....................!
real 103.76
user 102.22
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/668966/ft1_filtered_4FGL_J1018.1+1905_weekly_bin751.fits', '/scratch/kocevski/668966/ft2_4FGL_J1018.1+1905_weekly_bin751.fits', expMap='/scratch/kocevski/668966/expmap_693187201_693792001_4FGL_J1018.1+1905_weekly_bin751.fits', expCube='/scratch/kocevski/668966/ltcube_693187201_693792001_4FGL_J1018.1+1905_weekly_bin751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/668966/Model_4FGL_J1018.1+1905_weekly_bin751.xml', optimizer='MINUIT')

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

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  4.691e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/668966/ft1_filtered_4FGL_J1018.1+1905_weekly_bin751.fits
Spacecraft file(s): /scratch/kocevski/668966/ft2_4FGL_J1018.1+1905_weekly_bin751.fits
Exposure map: /scratch/kocevski/668966/expmap_693187201_693792001_4FGL_J1018.1+1905_weekly_bin751.fits
Exposure cube: /scratch/kocevski/668966/ltcube_693187201_693792001_4FGL_J1018.1+1905_weekly_bin751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/668966/Model_4FGL_J1018.1+1905_weekly_bin751.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) = 13589.5404857

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.879       1.0000          .0000       .10000E+07
     2 'norm      '    .94689       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.2913       1.0000          .0000       .10000E+07
     4 'Prefactor '    .92149E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.1046       1.0000          .0000       .10000E+07
     6 'norm      '    9.0328       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18518       1.0000          .0000       .10000E+07
     8 'Prefactor '    .21268E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.816       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.1657       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.046       1.0000          .0000       .10000E+07
    12 'Prefactor '    20.296       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1993       1.0000          .0000       .10000E+07
    14 'Prefactor '    .19831E-04   1.0000          .0000       .10000E+07
    15 'Normalizat'    .84459       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1530       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13589.49     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      869 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.668        1.8474       -.16221E-06    .98652E-01
   2  norm          .94671        .78307        .99373E-08    .87756E-03
   3  Prefactor     6.3714        1.0945       -.56522E-07    .10066E-01
   4  Prefactor     .12768E-08    3.0145       -.29954E-06** at limit **
   5  Prefactor     1.1051        1.1220        .48152E-07    .20999E-02
   6  norm          9.0702        4.5945       -.36212E-08    .75098E-03
   7  Prefactor     .31485E-04    4.4275       -.10254E-05** at limit **
   8  Prefactor     .13889E-06    16.719       -.41139E-06** at limit **
   9  Prefactor     10.806        5.4921        .48345E-06    .27337E-01
  10  Prefactor     1.1644        .99823       -.45024E-08    .28282E-04
  11  Prefactor     11.020        5.2573       -.31635E-06   -.79704E-02
  12  Prefactor     20.383        6.6414        .48669E-06    .31821E-01
  13  Prefactor     1.1925        2.8161       -.13271E-06    .19672E-04
  14  Prefactor     .12768E-08    2.2859       -.10563E-06** at limit **
  15  Normalizat    .84442        .13564       -.11730E-04   -.84817E-04
  16  Prefactor     1.1531        .13068        .38369E-05   -.67497E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.6677
  norm       = 0.946706
  Prefactor  = 6.37142
  Prefactor  = 1.27676e-09
  Prefactor  = 1.10509
  norm       = 9.07019
  Prefactor  = 3.14845e-05
  Prefactor  = 1.38889e-07
  Prefactor  = 10.8062
  Prefactor  = 1.16442
  Prefactor  = 11.0202
  Prefactor  = 20.3828
  Prefactor  = 1.19247
  Prefactor  = 1.27676e-09
  Normalizat = 0.844416
  Prefactor  = 1.1531
 **********
 **   18 **HESSE 
 **********

 FCN=   13589.49     FROM HESSE     STATUS=OK           239 CALLS     1108 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.668        19.439        .23023E-03   -1.5622    
   2  norm          .94671        .78489        .42571E-03   -1.5689    
   3  Prefactor     6.3714        24.340        .39996E-03   -1.5657    
   4  Prefactor     .12768E-08    2.9840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.1051        1.1525        .11273E-02   -1.5687    
   6  norm          9.0702        4.6029        .33324E-03   -1.5648    
   7  Prefactor     .31485E-04    133.84        .12046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .13889E-06    17.125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.806        5.5327        .30440E-03   -1.5642    
  10  Prefactor     1.1644        1.0270        .10646E-02   -1.5686    
  11  Prefactor     11.020        5.2720        .30119E-03   -1.5642    
  12  Prefactor     20.383        6.7015        .22204E-03   -1.5618    
  13  Prefactor     1.1925        2.8961        .10366E-02   -1.5686    
  14  Prefactor     .12768E-08    2.2872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .84442        .11897        .44189E-01   -.98442    
  16  Prefactor     1.1531        .11127        .51451E-01   -.87787    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.59183e-07
Minuit parameter uncertainties:
  1  19.4392
  2  0.784887
  3  24.3404
  4  0.000123867
  5  1.15255
  6  4.60285
  7  0.129832
  8  0.00308477
  9  5.53271
  10  1.02696
  11  5.27204
  12  6.70153
  13  2.89606
  14  0.000108095
  15  0.11901
  16  0.11129
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  1.389e-07  3.085e-03  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.153e+00  1.113e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.444e-01  1.190e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.548 19.096
Photon Flux Upper Limit: 2.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/668966/likelihoodResults_693187201_693792001_4FGL_J1018.1+1905_weekly_bin751.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) = 13589.5167662
delta logL = -0.02923838879

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13589.487528
delta logL = -2.59964508587e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42599E-06   1.0000          .0000       .10000E+07
     2 'Index     '    3.7559       1.0000          .0000       10.000    
     3 'Normalizat'    .84449       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1530       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13589.49     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      269 TOTAL
                     EDM=   .23E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    .16324        .42118E-03** at limit **
   2  Index         .47318        6.1391        .50000       -.30923E-09
   3  Normalizat    .84441        .77116E-03    .44188E-01   -.16090E-05
   4  Prefactor     1.1531        .78126E-03    .51451E-01    .36436E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 0.47318
  Normalizat = 0.844414
  Prefactor  = 1.1531
 **********
 **   18 **HESSE 
 **********

 FCN=   13589.49     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      296 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .81495        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .47318        9.1717        .50000       -1.1322    
   3  Normalizat    .84441        .17221E-02    .25945E-03   -.98442    
   4  Prefactor     1.1531        .17449E-02    .22746E-03   -.87787    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.16076e-11
Minuit parameter uncertainties:
  1  2.93507e-05
  2  69536
  3  0.00172212
  4  0.0017449
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/668966': 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) = 13589.4875278
delta logL = 3.85261955671e-09

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  2.776e-10  2.935e-05  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  4.732e-01  6.954e+04  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.153e+00  1.745e-03  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  8.444e-01  1.722e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.548 19.096

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/668966/cmap_HighResolution_693187201_693792001_4FGL_J1018.1+1905_weekly_bin751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.11e-03', job_status='DONE', photon_flux_upper_limit='2.80e-08', time_completed='2022-12-27 01:04:52.035874', job_id='668966', GAL2='1.15', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1672131892.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='3.85e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='751' AND source_name='4FGL J1018.1+1905' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 27 01:04:52 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 668966: <4FGL_J1018.1+1905_weekly_bin751> in cluster <slac> Done

Job <4FGL_J1018.1+1905_weekly_bin751> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 27 00:50:25 2022
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 27 00:51:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 27 00:51:29 2022
Terminated at Tue Dec 27 01:04:52 2022
Results reported at Tue Dec 27 01:04:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.1+1905_weekly_bin751 154.548 19.0963 693187201 693792001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1018.1+1905 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   739.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             324.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            867 sec.

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

