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


Performing analysis on: 4FGL_J1018.4+0528_daily_bin1748
RA = 154.617, Dec = 5.4702
tmin = 692409601, tmax = 692668801
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='881898', job_status='RUN', time_executed='2022-12-14 00:26:05.392456', time_epoch_executed='1671006365.39' WHERE source_name='4FGL J1018.4+0528' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/881898

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/881898/ft1_4FGL_J1018.4+0528_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/881898/ft2_4FGL_J1018.4+0528_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/881898/ft1_4FGL_J1018.4+0528_daily_bin1748.fits outfile=/scratch/kocevski/881898/ft1_filteredMKT_4FGL_J1018.4+0528_daily_bin1748.fits ra=154.617 dec=5.4702 rad=12.0 tmin=692409601.0 tmax=692668801.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.55
user 3.34
sys 0.19

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

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

Number of photons that the gtmktime cut: 649

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/881898/ft1_filtered_4FGL_J1018.4+0528_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/881898/ft2_4FGL_J1018.4+0528_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/881898/ltcube_692409601_692668801_4FGL_J1018.4+0528_daily_bin1748.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/881898/ft2_4FGL_J1018.4+0528_daily_bin1748.fits
.....................!
real 12.63
user 12.28
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/881898/ft1_filtered_4FGL_J1018.4+0528_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/881898/ft2_4FGL_J1018.4+0528_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/881898/ltcube_692409601_692668801_4FGL_J1018.4+0528_daily_bin1748.fits outfile=/scratch/kocevski/881898/expmap_692409601_692668801_4FGL_J1018.4+0528_daily_bin1748.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/881898/ltcube_692409601_692668801_4FGL_J1018.4+0528_daily_bin1748.fits
.....................!
real 189.82
user 184.90
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 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/881898/ft1_filtered_4FGL_J1018.4+0528_daily_bin1748.fits scfile=/scratch/kocevski/881898/ft2_4FGL_J1018.4+0528_daily_bin1748.fits outfile=/scratch/kocevski/881898/cmap_692409601_692668801_4FGL_J1018.4+0528_daily_bin1748.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.68
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/881898/ft1_filtered_4FGL_J1018.4+0528_daily_bin1748.fits scfile=/scratch/kocevski/881898/ft2_4FGL_J1018.4+0528_daily_bin1748.fits outfile=/scratch/kocevski/881898/cmap_HighResolution_692409601_692668801_4FGL_J1018.4+0528_daily_bin1748.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=154.617 yref=5.4702 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0643       1.0000          .0000       .10000E+07
     2 'norm      '    .60297       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.2825       1.0000          .0000       .10000E+07
     4 'Prefactor '    .21504E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .50594E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9717       1.0000          .0000       .10000E+07
     7 'Prefactor '    37.950       1.0000          .0000       .10000E+07
     8 'Prefactor '    .10604E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    6.1718       1.0000          .0000       .10000E+07
    10 'norm      '    2.8087       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.7546       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.2576       1.0000          .0000       .10000E+07
    13 'Prefactor '    22.972       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.285       1.0000          .0000       .10000E+07
    15 'norm      '    .60843       1.0000          .0000       .10000E+07
    16 'Prefactor '    .74135E-05   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0407       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .80167       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=   7207.010     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1266 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0651        1.1274       -.21795E-06   -.31030E-02
   2  norm          .60300        .46295        .47445E-06    .31369E-01
   3  Prefactor     2.2402        17.649        .35407E-05    .10672E-02
   4  Prefactor     .60990E-06    28.558       -.43682E-06** at limit **
   5  Prefactor     .12674E-05    19.067       -.55264E-05** at limit **
   6  Prefactor     7.9229        7.9456       -.10383E-05   -.11509E-01
   7  Prefactor     38.533        37.589        .10686E-04   -.17836E-01
   8  Prefactor     .32667E-05    10.780        .15603E-05** at limit **
   9  Prefactor     6.1541        6.2306       -.12470E-05    .11101E-01
  10  norm          2.8093        1.2420       -.45829E-06    .31380E-03
  11  Prefactor     2.7605        4.9466       -.15169E-06   -.13536E-03
  12  Prefactor     4.2526        2.6026       -.26411E-06    .72872E-02
  13  Prefactor     22.980        10.849        .38153E-06   -.10285E-02
  14  Prefactor     11.272        7.5753        .41769E-06    .27319E-02
  15  norm          .60844        .37774        .30719E-07   -.22786E-01
  16  Prefactor     .33307E-09    9.1366        .21627E-05** at limit **
  17  Normalizat    1.0405        .19716       -.35261E-04    .33416E-03
  18  Prefactor     .80187        .15586        .15372E-04    .38573E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.0651
  norm       = 0.603002
  Prefactor  = 2.24017
  Prefactor  = 6.09901e-07
  Prefactor  = 1.26738e-06
  Prefactor  = 7.92294
  Prefactor  = 38.5333
  Prefactor  = 3.26666e-06
  Prefactor  = 6.15407
  norm       = 2.80931
  Prefactor  = 2.7605
  Prefactor  = 4.25262
  Prefactor  = 22.9802
  Prefactor  = 11.2717
  norm       = 0.60844
  Prefactor  = 3.33067e-10
  Normalizat = 1.04047
  Prefactor  = 0.801875
 **********
 **   18 **HESSE 
 **********

 FCN=   7207.010     FROM HESSE     STATUS=OK           286 CALLS     1552 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0651        1.1293        .71887E-03   -1.5679    
   2  norm          .60300        .47024        .68963E-03   -1.5692    
   3  Prefactor     2.2402        21.128        .67929E-03   -1.5678    
   4  Prefactor     .60990E-06    31.492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .12674E-05    25.702        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.9229        11.077        .35488E-03   -1.5652    
   7  Prefactor     38.533        38.918        .16234E-03   -1.5584    
   8  Prefactor     .32667E-05    26.101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.1541        15.202        .40386E-03   -1.5658    
  10  norm          2.8093        1.2457        .60671E-03   -1.5674    
  11  Prefactor     2.7605        4.9630        .61306E-03   -1.5675    
  12  Prefactor     4.2526        2.6096        .48806E-03   -1.5667    
  13  Prefactor     22.980        10.834        .20869E-03   -1.5612    
  14  Prefactor     11.272        7.5823        .29798E-03   -1.5641    
  15  norm          .60844        .37563        .68476E-03   -1.5692    
  16  Prefactor     .33307E-09    9.1493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0405        .17146        .41227E-01   -.91687    
  18  Prefactor     .80187        .13546        .43739E-01   -.99659    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18992e-07
Minuit parameter uncertainties:
  1  1.12927
  2  0.470242
  3  13.7594
  4  0.00876501
  5  0.0114146
  6  11.0773
  7  38.9179
  8  0.0184677
  9  15.2021
  10  1.24574
  11  4.96306
  12  2.60959
  13  10.8338
  14  7.58235
  15  0.375632
  16  0.000113001
  17  0.17155
  18  0.135519
Done.

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

Extracting fit parameters...

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  3.267e-06  1.847e-02  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:  8.019e-01  1.355e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.040e+00  1.716e-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: 6.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/881898/likelihoodResults_692409601_692668801_4FGL_J1018.4+0528_daily_bin1748.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7207.02845759
delta logL = -0.0183862950689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7207.01007191
delta logL = -6.12066287431e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7207.010     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      249 TOTAL
                     EDM=   .24E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.1320        .42118E-03** at limit **
   2  Index         .40438        .52884       -.68906E-04     .0000    
   3  Normalizat    1.0405        1.2184       -.26840E-05   -.24824E-05
   4  Prefactor     .80187        1.1505        .86040E-05   -.56551E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.404382
  Normalizat = 1.04047
  Prefactor  = 0.801874
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7207.010     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .24E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.1320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .27565E-01    .54553       -.68906E-04   -1.1659    
   3  Normalizat    1.0405        1.2184       -.26840E-05   -.91687    
   4  Prefactor     .80187        1.1505        .86040E-05   -.99659    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.42882e-13
Minuit parameter uncertainties:
  1  2.06916e-06
  2  0.535413
  3  1.25369
  4  1.188
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/881898': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7207.01007123
delta logL = 6.26350811217e-08

Extracting fit parameters...

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  0.000e+00  2.069e-06  0.000e+00  1.000e+06 ( 1.000e-14)
217        Index:  4.044e-01  5.354e-01  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:  8.019e-01  1.188e+00  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.040e+00  1.254e+00  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/881898/cmap_HighResolution_692409601_692668801_4FGL_J1018.4+0528_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.69e-03', job_status='DONE', photon_flux_upper_limit='6.11e-08', time_completed='2022-12-14 00:35:01.378911', job_id='881898', GAL2='0.80', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1671006901.38', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='6.26e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1748' AND source_name='4FGL J1018.4+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:35:01 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 881898: <4FGL_J1018.4+0528_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1018.4+0528_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:25:35 2022
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:25:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:25:36 2022
Terminated at Wed Dec 14 00:35:02 2022
Results reported at Wed Dec 14 00:35:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.4+0528_daily_bin1748 154.617 5.4702 692409601 692668801 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 :                                   538.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             346.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   565 sec.
    Turnaround time :                            567 sec.

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

