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


Performing analysis on: 4FGL_J1018.4+0528_weekly_bin741
RA = 154.617, Dec = 5.4702
tmin = 687139201, tmax = 687744001
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='384201', job_status='RUN', time_executed='2022-10-18 00:57:05.972146', time_epoch_executed='1666079825.97' WHERE source_name='4FGL J1018.4+0528' and cadence='weekly' and bin_id='741'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/384201

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/384201/ft1_4FGL_J1018.4+0528_weekly_bin741.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/384201/ft2_4FGL_J1018.4+0528_weekly_bin741.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/384201/ft1_4FGL_J1018.4+0528_weekly_bin741.fits outfile=/scratch/kocevski/384201/ft1_filteredMKT_4FGL_J1018.4+0528_weekly_bin741.fits ra=154.617 dec=5.4702 rad=12.0 tmin=687139201.0 tmax=687744001.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 6.59
user 6.30
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/384201/ft2_4FGL_J1018.4+0528_weekly_bin741.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/384201/ft1_filteredMKT_4FGL_J1018.4+0528_weekly_bin741.fits evtable="EVENTS" outfile="/scratch/kocevski/384201/ft1_filtered_4FGL_J1018.4+0528_weekly_bin741.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.57
user 0.38
sys 0.15

Number of photons that the gtmktime cut: 1545

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/384201/ft1_filtered_4FGL_J1018.4+0528_weekly_bin741.fits" evtable="EVENTS" scfile=/scratch/kocevski/384201/ft2_4FGL_J1018.4+0528_weekly_bin741.fits sctable="SC_DATA" outfile=/scratch/kocevski/384201/ltcube_687139201_687744001_4FGL_J1018.4+0528_weekly_bin741.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/384201/ft2_4FGL_J1018.4+0528_weekly_bin741.fits
.....................!
real 27.29
user 26.88
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/384201/ft1_filtered_4FGL_J1018.4+0528_weekly_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/384201/ft2_4FGL_J1018.4+0528_weekly_bin741.fits sctable="SC_DATA" expcube=/scratch/kocevski/384201/ltcube_687139201_687744001_4FGL_J1018.4+0528_weekly_bin741.fits outfile=/scratch/kocevski/384201/expmap_687139201_687744001_4FGL_J1018.4+0528_weekly_bin741.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/384201/ltcube_687139201_687744001_4FGL_J1018.4+0528_weekly_bin741.fits
.....................!
real 190.43
user 185.57
sys 4.49

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/384201/ft1_filtered_4FGL_J1018.4+0528_weekly_bin741.fits scfile=/scratch/kocevski/384201/ft2_4FGL_J1018.4+0528_weekly_bin741.fits outfile=/scratch/kocevski/384201/cmap_687139201_687744001_4FGL_J1018.4+0528_weekly_bin741.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.61
user 0.42
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/384201/ft1_filtered_4FGL_J1018.4+0528_weekly_bin741.fits scfile=/scratch/kocevski/384201/ft2_4FGL_J1018.4+0528_weekly_bin741.fits outfile=/scratch/kocevski/384201/cmap_HighResolution_687139201_687744001_4FGL_J1018.4+0528_weekly_bin741.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.61
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/384201/ft1_filtered_4FGL_J1018.4+0528_weekly_bin741.fits', '/scratch/kocevski/384201/ft2_4FGL_J1018.4+0528_weekly_bin741.fits', expMap='/scratch/kocevski/384201/expmap_687139201_687744001_4FGL_J1018.4+0528_weekly_bin741.fits', expCube='/scratch/kocevski/384201/ltcube_687139201_687744001_4FGL_J1018.4+0528_weekly_bin741.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/384201/Model_4FGL_J1018.4+0528_weekly_bin741.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/384201/ft1_filtered_4FGL_J1018.4+0528_weekly_bin741.fits
Spacecraft file(s): /scratch/kocevski/384201/ft2_4FGL_J1018.4+0528_weekly_bin741.fits
Exposure map: /scratch/kocevski/384201/expmap_687139201_687744001_4FGL_J1018.4+0528_weekly_bin741.fits
Exposure cube: /scratch/kocevski/384201/ltcube_687139201_687744001_4FGL_J1018.4+0528_weekly_bin741.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/384201/Model_4FGL_J1018.4+0528_weekly_bin741.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) = 17246.1161635

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .68731       1.0000          .0000       .10000E+07
     2 'norm      '    .39635E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .33850       1.0000          .0000       .10000E+07
     4 'Prefactor '    .27670E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.7902       1.0000          .0000       .10000E+07
     6 'Prefactor '    .35195E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.4167       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11267E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .82483E-03   1.0000          .0000       .10000E+07
    10 'norm      '    4.1782       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10674E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.2360       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.603       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.9769       1.0000          .0000       .10000E+07
    15 'norm      '    .54977       1.0000          .0000       .10000E+07
    16 'Prefactor '    8.9494       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2162       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .90878       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=   17246.05     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1056 TOTAL
                     EDM=   .34E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68608        .62552       -.23996E-06   -.18925E-02
   2  norm           .0000        .16457       -.34528E-06** at limit **
   3  Prefactor     .36097        8.0011       -.33229E-06   -.54361E-03
   4  Prefactor      .0000        6.0876       -.10553E-05** at limit **
   5  Prefactor     4.5064        1.1851       -.80251E-07    .53368E-02
   6  Prefactor      .0000        2.1477       -.52087E-06** at limit **
   7  Prefactor     3.2369        51.321       -.59356E-06   -.10866E-03
   8  Prefactor     .11102E-09    17.702       -.66314E-07** at limit **
   9  Prefactor      .0000        3.6466        .56831E-06** at limit **
  10  norm          4.1781        .98156       -.77890E-07   -.26088E-03
  11  Prefactor      .0000        7.1653       -.32300E-06** at limit **
  12  Prefactor     5.2350        2.0961        .78390E-08   -.38580E-03
  13  Prefactor     14.598        6.9968        .62513E-07   -.95324E-04
  14  Prefactor     2.9930        4.2770        .73018E-07   -.19783E-03
  15  norm          .54925        .27397        .33972E-07    .36501E-02
  16  Prefactor     8.9554        8.4926       -.11448E-05   -.11072E-03
  17  Normalizat    1.2174        .13679       -.45593E-05   -.19629E-03
  18  Prefactor     .90851        .10991        .22337E-05   -.91374E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.686085
  norm       = 0
  Prefactor  = 0.360975
  Prefactor  = 0
  Prefactor  = 4.5064
  Prefactor  = 0
  Prefactor  = 3.23693
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  norm       = 4.17809
  Prefactor  = 0
  Prefactor  = 5.235
  Prefactor  = 14.5977
  Prefactor  = 2.99304
  norm       = 0.549246
  Prefactor  = 8.95542
  Normalizat = 1.21742
  Prefactor  = 0.90851
 **********
 **   18 **HESSE 
 **********

 FCN=   17246.05     FROM HESSE     STATUS=OK           294 CALLS     1350 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .68608        .63268        .61745E-03   -1.5691    
   2  norm           .0000        .94857E-01    .15048E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .36097        1.8701        .96989E-02   -1.5696    
   4  Prefactor      .0000        6.1141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.5064        11.870        .45944E-03   -1.5666    
   6  Prefactor      .0000        2.1611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.2369        53.842        .47895E-03   -1.5672    
   8  Prefactor     .11102E-09    17.854        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        3.6725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.1781        .98209        .49282E-03   -1.5667    
  11  Prefactor      .0000        6.8940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.2350        2.1087        .43905E-03   -1.5662    
  13  Prefactor     14.598        6.9823        .26184E-03   -1.5632    
  14  Prefactor     2.9930        4.3099        .58820E-03   -1.5673    
  15  norm          .54925        .27323        .73853E-03   -1.5693    
  16  Prefactor     8.9554        8.4978        .33480E-03   -1.5648    
  17  Normalizat    1.2174        .11546        .56421E-01   -.86066    
  18  Prefactor     .90851        .92636E-01    .45117E-01   -.95844    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60105e-07
Minuit parameter uncertainties:
  1  0.632676
  2  5.45905e-07
  3  1.64323
  4  6.35093e-06
  5  11.8703
  6  6.26165e-06
  7  26.4036
  8  8.86273e-05
  9  1.58867e-05
  10  0.982086
  11  3.17051e-06
  12  2.10867
  13  6.98235
  14  4.30993
  15  0.273226
  16  8.49786
  17  0.115484
  18  0.0926523
Done.

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

Extracting fit parameters...

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  1.110e-10  8.863e-05  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:  9.085e-01  9.265e-02  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.217e+00  1.155e-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: 3.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/384201/likelihoodResults_687139201_687744001_4FGL_J1018.4+0528_weekly_bin741.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) = 17246.0814095
delta logL = -0.0273036010221

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17246.0541111
delta logL = -5.25611176272e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10160E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.6314       1.0000          .0000       10.000    
     3 'Normalizat'    1.2175       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90858       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.

 FCN=   17246.05     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      234 TOTAL
                     EDM=   .31E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .87450E-01    .42118E-03** at limit **
   2  Index         .47731        7.6364        .50000       -.72760E-10
   3  Normalizat    1.2174        .58085E-03    .56421E-01   -.35610E-03
   4  Prefactor     .90851        .48942E-03    .45114E-01   -.27629E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 0.477314
  Normalizat = 1.21742
  Prefactor  = 0.90851
 **********
 **   18 **HESSE 
 **********

 FCN=   17246.05     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      261 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .43698        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .47731        5.0534        .50000       -1.1303    
   3  Normalizat    1.2174        .12974E-02    .24950E-03   -.86066    
   4  Prefactor     .90851        .10934E-02    .23820E-03   -.95844    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.55273e-12
Minuit parameter uncertainties:
  1  7.7521e-06
  2  90621.1
  3  0.00129739
  4  0.0010934
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/384201': 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) = 17246.0541059
delta logL = -2.54658516496e-11

Extracting fit parameters...

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  5.551e-11  7.752e-06  0.000e+00  1.000e+06 ( 1.000e-14)
217        Index:  4.773e-01  9.062e+04  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:  9.085e-01  1.093e-03  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.217e+00  1.297e-03  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/384201/cmap_HighResolution_687139201_687744001_4FGL_J1018.4+0528_weekly_bin741.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.55e-03', job_status='DONE', photon_flux_upper_limit='3.33e-08', time_completed='2022-10-18 01:10:59.665115', job_id='384201', GAL2='0.91', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1666080659.67', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='-2.55e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='741' AND source_name='4FGL J1018.4+0528' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 18 01:10:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 384201: <4FGL_J1018.4+0528_weekly_bin741> in cluster <slac> Done

Job <4FGL_J1018.4+0528_weekly_bin741> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Oct 18 00:55:30 2022
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 18 00:55:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 18 00:55:31 2022
Terminated at Tue Oct 18 01:11:00 2022
Results reported at Tue Oct 18 01:11:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.4+0528_weekly_bin741 154.617 5.4702 687139201 687744001 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 :                                   834.15 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             350.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            930 sec.

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

