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


Performing analysis on: 4FGL_J1018.1+1905_daily_bin1751
RA = 154.548, Dec = 19.0963
tmin = 693187201, tmax = 693446401
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='75123', job_status='RUN', time_executed='2022-12-23 00:33:55.042124', time_epoch_executed='1671784435.04' WHERE source_name='4FGL J1018.1+1905' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/75123

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

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=693187201.0 && nMetStart<693446401.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<693446401.0' /Data/Flight/Level1/LPA

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/75123/ft1_4FGL_J1018.1+1905_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/75123/ft2_4FGL_J1018.1+1905_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/75123/ft1_4FGL_J1018.1+1905_daily_bin1751.fits outfile=/scratch/kocevski/75123/ft1_filteredMKT_4FGL_J1018.1+1905_daily_bin1751.fits ra=154.548 dec=19.0963 rad=12.0 tmin=693187201.0 tmax=693446401.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.62
user 3.42
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/75123/ft2_4FGL_J1018.1+1905_daily_bin1751.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/75123/ft1_filteredMKT_4FGL_J1018.1+1905_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/75123/ft1_filtered_4FGL_J1018.1+1905_daily_bin1751.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 497

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/75123/ft1_filtered_4FGL_J1018.1+1905_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/75123/ft2_4FGL_J1018.1+1905_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/75123/ltcube_693187201_693446401_4FGL_J1018.1+1905_daily_bin1751.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/75123/ft2_4FGL_J1018.1+1905_daily_bin1751.fits
.....................!
real 12.64
user 12.26
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/75123/ft1_filtered_4FGL_J1018.1+1905_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/75123/ft2_4FGL_J1018.1+1905_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/75123/ltcube_693187201_693446401_4FGL_J1018.1+1905_daily_bin1751.fits outfile=/scratch/kocevski/75123/expmap_693187201_693446401_4FGL_J1018.1+1905_daily_bin1751.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/75123/ltcube_693187201_693446401_4FGL_J1018.1+1905_daily_bin1751.fits
.....................!
real 190.59
user 185.66
sys 4.55

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/75123/ft1_filtered_4FGL_J1018.1+1905_daily_bin1751.fits scfile=/scratch/kocevski/75123/ft2_4FGL_J1018.1+1905_daily_bin1751.fits outfile=/scratch/kocevski/75123/cmap_693187201_693446401_4FGL_J1018.1+1905_daily_bin1751.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/75123/ft1_filtered_4FGL_J1018.1+1905_daily_bin1751.fits scfile=/scratch/kocevski/75123/ft2_4FGL_J1018.1+1905_daily_bin1751.fits outfile=/scratch/kocevski/75123/cmap_HighResolution_693187201_693446401_4FGL_J1018.1+1905_daily_bin1751.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.56
user 0.37
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/75123/ft1_filtered_4FGL_J1018.1+1905_daily_bin1751.fits', '/scratch/kocevski/75123/ft2_4FGL_J1018.1+1905_daily_bin1751.fits', expMap='/scratch/kocevski/75123/expmap_693187201_693446401_4FGL_J1018.1+1905_daily_bin1751.fits', expCube='/scratch/kocevski/75123/ltcube_693187201_693446401_4FGL_J1018.1+1905_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/75123/Model_4FGL_J1018.1+1905_daily_bin1751.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/75123/ft1_filtered_4FGL_J1018.1+1905_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/75123/ft2_4FGL_J1018.1+1905_daily_bin1751.fits
Exposure map: /scratch/kocevski/75123/expmap_693187201_693446401_4FGL_J1018.1+1905_daily_bin1751.fits
Exposure cube: /scratch/kocevski/75123/ltcube_693187201_693446401_4FGL_J1018.1+1905_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/75123/Model_4FGL_J1018.1+1905_daily_bin1751.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) = 5641.5420434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.478       1.0000          .0000       .10000E+07
     2 'norm      '    2.8967       1.0000          .0000       .10000E+07
     3 'Prefactor '    38.393       1.0000          .0000       .10000E+07
     4 'Prefactor '    .34823E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .94369E-09   1.0000          .0000       .10000E+07
     6 'norm      '    3.5187       1.0000          .0000       .10000E+07
     7 'Prefactor '    .14622E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    22.627       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.977       1.0000          .0000       .10000E+07
    10 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.735       1.0000          .0000       .10000E+07
    12 'Prefactor '    22.747       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.9992       1.0000          .0000       .10000E+07
    14 'Prefactor '    .18412E-05   1.0000          .0000       .10000E+07
    15 'Normalizat'    .70195       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1202       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=   5641.511     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     1319 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.446        1.1242        .10103E-07   -.33035E-01
   2  norm          2.8963        1.6229       -.19906E-07   -.74533E-03
   3  Prefactor     38.389        1.6736       -.15486E-07    .11546    
   4  Prefactor     .13323E-08    12.761        .77960E-06** at limit **
   5  Prefactor      .0000        .75261       -.18647E-07** at limit **
   6  norm          3.5184        3.7243       -.18156E-06   -.10491E-03
   7  Prefactor     .60507E-08    39.616        .10770E-05** at limit **
   8  Prefactor     22.621        1.2272       -.10888E-07    .39804E-01
   9  Prefactor     10.972        8.5473       -.25833E-06   -.16087E-02
  10  Prefactor      .0000        .91381        .23128E-06** at limit **
  11  Prefactor     11.732        7.4206        .45566E-07   -.43695E-02
  12  Prefactor     22.742        11.628        .58111E-07    .79526E-02
  13  Prefactor     6.9982        8.0736       -.44352E-06   -.45623E-02
  14  Prefactor     .55511E-10    6.0517        .67188E-06** at limit **
  15  Normalizat    .70254        .20361       -.11327E-04   -.84674E-04
  16  Prefactor     1.1197        .19531        .13510E-04   -.67286E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.4458
  norm       = 2.89634
  Prefactor  = 38.3895
  Prefactor  = 1.33227e-09
  Prefactor  = 0
  norm       = 3.51836
  Prefactor  = 6.05072e-09
  Prefactor  = 22.6213
  Prefactor  = 10.972
  Prefactor  = 0
  Prefactor  = 11.7315
  Prefactor  = 22.7419
  Prefactor  = 6.99824
  Prefactor  = 5.55112e-11
  Normalizat = 0.702537
  Prefactor  = 1.11966
 **********
 **   18 **HESSE 
 **********

 FCN=   5641.511     FROM HESSE     STATUS=OK           239 CALLS     1558 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.446        34.568        .19815E-03   -1.5607    
   2  norm          2.8963        1.6252        .59680E-03   -1.5674    
   3  Prefactor     38.389        40.579        .16141E-03   -1.5584    
   4  Prefactor     .13323E-08    12.394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        .75044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.5184        3.7167        .53868E-03   -1.5670    
   7  Prefactor     .60507E-08    39.694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.621        33.542        .21028E-03   -1.5613    
   9  Prefactor     10.972        8.5717        .30215E-03   -1.5642    
  10  Prefactor      .0000        .91351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.732        7.4313        .29219E-03   -1.5639    
  12  Prefactor     22.742        11.661        .20972E-03   -1.5613    
  13  Prefactor     6.9982        8.0934        .37896E-03   -1.5655    
  14  Prefactor     .55511E-10    6.0646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .70254        .18085        .61067E-01   -1.0379    
  16  Prefactor     1.1197        .16804        .36864E-01   -.88841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.01227e-07
Minuit parameter uncertainties:
  1  34.5678
  2  1.62518
  3  40.5795
  4  0.000257888
  5  1.19736e-06
  6  3.71667
  7  0.000978215
  8  33.5423
  9  8.57172
  10  1.12688e-06
  11  7.43132
  12  11.6608
  13  8.09345
  14  3.59387e-05
  15  0.180999
  16  0.168115
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  2.262e+01  3.354e+01  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.120e+00  1.681e-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:  7.025e-01  1.810e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/75123/likelihoodResults_693187201_693446401_4FGL_J1018.1+1905_daily_bin1751.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) = 5641.13515813
delta logL = 0.375745528734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5641.12158494
delta logL = 0.389318719557

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.8840       1.0000          .0000       .10000E+07
     2 'Index     '    2.8956       1.0000          .0000       10.000    
     3 'Normalizat'    .66866       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1370       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=   5641.122     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      256 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8570        205.37        .35687E-03    .18797E-02
   2  Index         2.8967        3.0507        .90437E-01    .19308E-03
   3  Normalizat    .66860        .62265E-01    .62456E-01    .27307E-04
   4  Prefactor     1.1371        .56875E-01    .36325E-01   -.13148E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.85702
  Index      = 2.89671
  Normalizat = 0.668598
  Prefactor  = 1.13713
 **********
 **   18 **HESSE 
 **********

 FCN=   5641.122     FROM HESSE     STATUS=OK            33 CALLS      289 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8570        153.82        .14275E-04   -1.5652    
   2  Index         2.8967        3.2276        .48817E-02   -.43417    
   3  Normalizat    .66860        .21607        .27631E-03   -1.0515    
   4  Prefactor     1.1371        .21004        .21665E-03   -.88288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.51454e-10
Minuit parameter uncertainties:
  1  69.5309
  2  3.59117
  3  0.216341
  4  0.210192
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/75123': 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): 0
logL (Free Index) = 5641.12158347
delta logL = 0.389320188065

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  7.857e+00  6.953e+01  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.897e+00  3.591e+00  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.137e+00  2.102e-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:  6.686e-01  2.163e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.48
Ra Dec: 154.548 19.096
Photon Index (Free Index): 2.90 +/- 3.59
Photon Flux (Free Index): 4.58e-08 +/- 5.86e-08
Energy Flux (Free Index): 9.65e-06 +/- 1.49e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/75123/cmap_HighResolution_693187201_693446401_4FGL_J1018.1+1905_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.92e-03', comment='SUCCESS', energy_flux2='9.65e-06', dlogl='3.89e-01', photon_flux2='4.58e-08', job_status='DONE', time_completed='2022-12-23 00:41:51.556963', photon_index_error2='3.59', photon_index2='2.90', ts='0.68', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='7.85e-08', energy_flux_error2='1.49e-05', EG='0.70', time_epoch_completed='1671784911.56', return_code='0', job_id='75123', GAL2='1.14', EG2='0.67', return_code2='0', photon_flux_error2='5.86e-08', ts2='1.48', photon_index='2.06' WHERE bin_id='1751' AND source_name='4FGL J1018.1+1905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:41:51 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 75123: <4FGL_J1018.1+1905_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1018.1+1905_daily_bin1751> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec 23 00:30:15 2022
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:30:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:30:16 2022
Terminated at Fri Dec 23 00:41:52 2022
Results reported at Fri Dec 23 00:41:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.1+1905_daily_bin1751 154.548 19.0963 693187201 693446401 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 :                                   479.06 sec.
    Max Memory :                                 1160 MB
    Average Memory :                             212.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   695 sec.
    Turnaround time :                            697 sec.

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

