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


Performing analysis on: 4FGL_J1018.1+1905_daily_bin1770
RA = 154.548, Dec = 19.0963
tmin = 698112001, tmax = 698371201
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='481861', job_status='RUN', time_executed='2023-02-18 00:32:47.659791', time_epoch_executed='1676709167.66' WHERE source_name='4FGL J1018.1+1905' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/481861

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/481861/ft1_4FGL_J1018.1+1905_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/481861/ft2_4FGL_J1018.1+1905_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/481861/ft1_4FGL_J1018.1+1905_daily_bin1770.fits outfile=/scratch/kocevski/481861/ft1_filteredMKT_4FGL_J1018.1+1905_daily_bin1770.fits ra=154.548 dec=19.0963 rad=12.0 tmin=698112001.0 tmax=698371201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.33
user 4.09
sys 0.21

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

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

Number of photons that the gtmktime cut: 290

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/481861/ft1_filtered_4FGL_J1018.1+1905_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/481861/ft2_4FGL_J1018.1+1905_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/481861/ltcube_698112001_698371201_4FGL_J1018.1+1905_daily_bin1770.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/481861/ft2_4FGL_J1018.1+1905_daily_bin1770.fits
.....................!
real 11.78
user 11.47
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/481861/ft1_filtered_4FGL_J1018.1+1905_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/481861/ft2_4FGL_J1018.1+1905_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/481861/ltcube_698112001_698371201_4FGL_J1018.1+1905_daily_bin1770.fits outfile=/scratch/kocevski/481861/expmap_698112001_698371201_4FGL_J1018.1+1905_daily_bin1770.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/481861/ltcube_698112001_698371201_4FGL_J1018.1+1905_daily_bin1770.fits
.....................!
real 189.96
user 184.70
sys 4.88

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/481861/ft1_filtered_4FGL_J1018.1+1905_daily_bin1770.fits scfile=/scratch/kocevski/481861/ft2_4FGL_J1018.1+1905_daily_bin1770.fits outfile=/scratch/kocevski/481861/cmap_698112001_698371201_4FGL_J1018.1+1905_daily_bin1770.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.52
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/481861/ft1_filtered_4FGL_J1018.1+1905_daily_bin1770.fits scfile=/scratch/kocevski/481861/ft2_4FGL_J1018.1+1905_daily_bin1770.fits outfile=/scratch/kocevski/481861/cmap_HighResolution_698112001_698371201_4FGL_J1018.1+1905_daily_bin1770.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.54
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.666       1.0000          .0000       .10000E+07
     2 'norm      '    .75982E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    24.685       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10708E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.9452       1.0000          .0000       .10000E+07
     6 'norm      '    16.486       1.0000          .0000       .10000E+07
     7 'Prefactor '    .80222       1.0000          .0000       .10000E+07
     8 'Prefactor '    .56266       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.425       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10865E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    15.743       1.0000          .0000       .10000E+07
    12 'Prefactor '    .29325E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    30.160       1.0000          .0000       .10000E+07
    14 'Prefactor '    .57665E-01   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1103       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .96456       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=   3157.715     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     1171 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.368        8.1471       -.73635E-07    .42316E-01
   2  norm           .0000        2.4685       -.26990E-06** at limit **
   3  Prefactor     24.587        2.0076        .41544E-08   -.41100E-01
   4  Prefactor      .0000        5.7779       -.25861E-07** at limit **
   5  Prefactor     1.9455        2.8281       -.10851E-06   -.28961E-05
   6  norm          16.504        3.5675       -.43249E-07   -.92045E-02
   7  Prefactor     .31769E-06    113.79        .88669E-06** at limit **
   8  Prefactor     .92704E-08    40.102        .10772E-05** at limit **
   9  Prefactor     13.379        11.308       -.16229E-06    .18970E-02
  10  Prefactor      .0000        1.0399       -.13496E-06** at limit **
  11  Prefactor     15.763        10.054        .11960E-06   -.26200E-02
  12  Prefactor     .82157E-08    30.400       -.14650E-05** at limit **
  13  Prefactor     30.532        19.321        .30611E-06    .11086E-01
  14  Prefactor     .20481E-02    3.5459        .99000E-07** at limit **
  15  Normalizat    1.1097        .27544        .57881E-05   -.29635E-04
  16  Prefactor     .96498        .26624       -.58628E-05   -.89850E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.3676
  norm       = 0
  Prefactor  = 24.587
  Prefactor  = 0
  Prefactor  = 1.94546
  norm       = 16.5039
  Prefactor  = 3.1769e-07
  Prefactor  = 9.27036e-09
  Prefactor  = 13.3787
  Prefactor  = 0
  Prefactor  = 15.7634
  Prefactor  = 8.21565e-09
  Prefactor  = 30.5319
  Prefactor  = 0.00204815
  Normalizat = 1.10969
  Prefactor  = 0.96498
 **********
 **   18 **HESSE 
 **********

 FCN=   3157.715     FROM HESSE     STATUS=OK           241 CALLS     1412 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.368        40.308        .20561E-03   -1.5609    
   2  norm           .0000        2.4537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     24.587        31.247        .20132E-03   -1.5609    
   4  Prefactor      .0000        5.7828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9455        2.8451        .74395E-03   -1.5680    
   6  norm          16.504        10.918        .24641E-03   -1.5627    
   7  Prefactor     .31769E-06    118.30        .52770E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .92704E-08    40.154        .72641E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.379        11.347        .27311E-03   -1.5635    
  10  Prefactor      .0000        1.0407        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.763        10.596        .25216E-03   -1.5629    
  12  Prefactor     .82157E-08    30.287        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     30.532        20.579        .18212E-03   -1.5597    
  14  Prefactor     .20481E-02    18.888        .13277E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1097        .24143        .54172E-01   -.89441    
  16  Prefactor     .96498        .23003        .45823E-01   -.93906    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93229e-07
Minuit parameter uncertainties:
  1  40.3082
  2  1.9011e-06
  3  31.2468
  4  1.04937e-05
  5  2.84509
  6  10.9177
  7  0.0122614
  8  0.00121843
  9  11.3468
  10  3.46711e-06
  11  10.5965
  12  0.000998448
  13  20.5791
  14  0.393377
  15  0.241672
  16  0.230265
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  9.270e-09  1.218e-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:  9.650e-01  2.303e-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:  1.110e+00  2.417e-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: 9.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/481861/likelihoodResults_698112001_698371201_4FGL_J1018.1+1905_daily_bin1770.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) = 3157.72656465
delta logL = -0.01193605548

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3157.7146286
delta logL = -3.27599991579e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11102E-09   1.0000          .0000       .10000E+07
     2 'Index     '    .12671       1.0000          .0000       10.000    
     3 'Normalizat'    1.1097       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96496       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=   3157.715     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      236 TOTAL
                     EDM=   .30E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83267E-09    .56278        .42118E-03** at limit **
   2  Index         1.6580        5.7964        .50000       -.11369E-10
   3  Normalizat    1.1097        .71306E-03    .54172E-01   -.20958E-03
   4  Prefactor     .96498        .71390E-03    .45828E-01   -.95371E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.32667e-10
  Index      = 1.65796
  Normalizat = 1.10968
  Prefactor  = 0.964981
 **********
 **   18 **HESSE 
 **********

 FCN=   3157.715     FROM HESSE     STATUS=NOT POSDEF    23 CALLS      259 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83267E-09    449.62        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6580        5.6792        .20000E-01   -.73207    
   3  Normalizat    1.1097        .20363E-01    .23953E-03   -.89441    
   4  Prefactor     .96498        .20392E-01    .25395E-03   -.93906    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.95761e-10
Minuit parameter uncertainties:
  1  0.00120979
  2  257769
  3  0.0203631
  4  0.0203922
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/481861': 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) = 3157.71462859
delta logL = 4.27462509833e-11

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  8.327e-10  1.210e-03  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  1.658e+00  2.578e+05  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:  9.650e-01  2.039e-02  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:  1.110e+00  2.036e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/481861/cmap_HighResolution_698112001_698371201_4FGL_J1018.1+1905_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.01e-03', job_status='DONE', photon_flux_upper_limit='9.30e-08', time_completed='2023-02-18 00:39:32.975766', job_id='481861', GAL2='0.96', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1676709572.98', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='4.27e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1770' AND source_name='4FGL J1018.1+1905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 00:39:32 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 481861: <4FGL_J1018.1+1905_daily_bin1770> in cluster <slac> Done

Job <4FGL_J1018.1+1905_daily_bin1770> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Sat Feb 18 00:30:45 2023
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:30:49 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:30:49 2023
Terminated at Sat Feb 18 00:39:33 2023
Results reported at Sat Feb 18 00:39:33 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.1+1905_daily_bin1770 154.548 19.0963 698112001 698371201 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 :                                   407.22 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             266.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   524 sec.
    Turnaround time :                            528 sec.

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

