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


Performing analysis on: 4FGL_J1018.4+0528_daily_bin1777
RA = 154.617, Dec = 5.4702
tmin = 699926401, tmax = 700185601
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='911252', job_status='RUN', time_executed='2023-03-11 00:29:27.944124', time_epoch_executed='1678523367.94' WHERE source_name='4FGL J1018.4+0528' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/911252

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/911252/ft1_4FGL_J1018.4+0528_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/911252/ft2_4FGL_J1018.4+0528_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/911252/ft1_4FGL_J1018.4+0528_daily_bin1777.fits outfile=/scratch/kocevski/911252/ft1_filteredMKT_4FGL_J1018.4+0528_daily_bin1777.fits ra=154.617 dec=5.4702 rad=12.0 tmin=699926401.0 tmax=700185601.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.40
sys 0.20

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

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

Number of photons that the gtmktime cut: 519

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/911252/ft1_filtered_4FGL_J1018.4+0528_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/911252/ft2_4FGL_J1018.4+0528_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/911252/ltcube_699926401_700185601_4FGL_J1018.4+0528_daily_bin1777.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/911252/ft2_4FGL_J1018.4+0528_daily_bin1777.fits
.....................!
real 12.43
user 12.03
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/911252/ft1_filtered_4FGL_J1018.4+0528_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/911252/ft2_4FGL_J1018.4+0528_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/911252/ltcube_699926401_700185601_4FGL_J1018.4+0528_daily_bin1777.fits outfile=/scratch/kocevski/911252/expmap_699926401_700185601_4FGL_J1018.4+0528_daily_bin1777.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/911252/ltcube_699926401_700185601_4FGL_J1018.4+0528_daily_bin1777.fits
.....................!
real 191.54
user 185.23
sys 6.00

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/911252/ft1_filtered_4FGL_J1018.4+0528_daily_bin1777.fits scfile=/scratch/kocevski/911252/ft2_4FGL_J1018.4+0528_daily_bin1777.fits outfile=/scratch/kocevski/911252/cmap_699926401_700185601_4FGL_J1018.4+0528_daily_bin1777.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/911252/ft1_filtered_4FGL_J1018.4+0528_daily_bin1777.fits scfile=/scratch/kocevski/911252/ft2_4FGL_J1018.4+0528_daily_bin1777.fits outfile=/scratch/kocevski/911252/cmap_HighResolution_699926401_700185601_4FGL_J1018.4+0528_daily_bin1777.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.54
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16928       1.0000          .0000       .10000E+07
     2 'norm      '    .72164E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    10.739       1.0000          .0000       .10000E+07
     4 'Prefactor '    .69543E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .57065E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.8543       1.0000          .0000       .10000E+07
     7 'Prefactor '    .34694E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    16.924       1.0000          .0000       .10000E+07
     9 'Prefactor '    11.097       1.0000          .0000       .10000E+07
    10 'norm      '    2.6318       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.8318       1.0000          .0000       .10000E+07
    12 'Prefactor '    .59897E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    39.649       1.0000          .0000       .10000E+07
    14 'Prefactor '    .40135E-07   1.0000          .0000       .10000E+07
    15 'norm      '    .62617E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .52902E-02   1.0000          .0000       .10000E+07
    17 'Normalizat'    .84586       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.3211       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=   5905.613     FROM MIGRAD    STATUS=CONVERGED    216 CALLS     1485 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16656        1.5732       -.53294E-08** at limit **
   2  norm           .0000        .49895       -.24911E-08** at limit **
   3  Prefactor     10.680        17.306       -.98711E-07   -.40944E-03
   4  Prefactor      .0000        17.542       -.28339E-07** at limit **
   5  Prefactor     .88818E-09    59.830       -.21742E-06** at limit **
   6  Prefactor     3.6567        15.408        .28211E-06   -.37691E-03
   7  Prefactor      .0000        30.230       -.52950E-07** at limit **
   8  Prefactor     .10214E-07    518.59       -.11612E-05** at limit **
   9  Prefactor     13.398        18.049        .26603E-06   -.12431E-03
  10  norm          2.6335        1.5037        .23652E-08   -.71443E-03
  11  Prefactor     4.7588        8.0094       -.64707E-07    .39472E-03
  12  Prefactor      .0000        1.0003       -.93707E-08** at limit **
  13  Prefactor     39.360        15.551       -.45170E-08    .39812E-04
  14  Prefactor      .0000        4.3789       -.12539E-07** at limit **
  15  norm           .0000        .20741       -.20565E-08** at limit **
  16  Prefactor     .61062E-09    121.01        .52224E-06** at limit **
  17  Normalizat    .84981        .24299        .72772E-07    .72116E-06
  18  Prefactor     1.3194        .20334        .23735E-06   -.13722E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.166565
  norm       = 0
  Prefactor  = 10.6798
  Prefactor  = 0
  Prefactor  = 8.88178e-10
  Prefactor  = 3.65674
  Prefactor  = 0
  Prefactor  = 1.02141e-08
  Prefactor  = 13.3984
  norm       = 2.63346
  Prefactor  = 4.75884
  Prefactor  = 0
  Prefactor  = 39.3599
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.10623e-10
  Normalizat = 0.849813
  Prefactor  = 1.31939
 **********
 **   18 **HESSE 
 **********

 FCN=   5905.613     FROM HESSE     STATUS=OK           286 CALLS     1771 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16656        .79940        .25035E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .48875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.680        17.701        .30549E-03   -1.5643    
   4  Prefactor      .0000        17.578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .88818E-09    58.900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.6567        16.647        .76520E-03   -1.5670    
   7  Prefactor      .0000        31.236        .16212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10214E-07    547.92        .24319E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.398        18.489        .30050E-03   -1.5635    
  10  norm          2.6335        1.5152        .62832E-03   -1.5676    
  11  Prefactor     4.7588        8.0135        .45742E-03   -1.5664    
  12  Prefactor      .0000        1.0110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     39.360        15.518        .15883E-03   -1.5582    
  14  Prefactor      .0000        4.4003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .20697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .61062E-09    120.35        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .84981        .20377        .69382E-01   -.98247    
  18  Prefactor     1.3194        .17054        .49039E-01   -.82732    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78821e-07
Minuit parameter uncertainties:
  1  0.729798
  2  2.24433e-07
  3  17.7007
  4  3.51767e-05
  5  0.000461112
  6  15.6042
  7  2.05515e-06
  8  0.00473604
  9  18.4886
  10  1.51522
  11  8.01355
  12  1.13134e-06
  13  15.5183
  14  8.66275e-06
  15  1.31496e-07
  16  0.000534676
  17  0.203952
  18  0.170608
Done.

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

Extracting fit parameters...

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  1.021e-08  4.736e-03  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:  1.319e+00  1.706e-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:  8.498e-01  2.040e-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: 9.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/911252/likelihoodResults_699926401_700185601_4FGL_J1018.4+0528_daily_bin1777.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) = 5905.61377896
delta logL = -0.00100108028255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5905.51582145
delta logL = 0.0969564379875

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3708       1.0000          .0000       .10000E+07
     2 'Index     '    3.3061       1.0000          .0000       10.000    
     3 'Normalizat'    .81996       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3332       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5905.516     FROM MIGRAD    STATUS=FAILED        88 CALLS      278 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3745        850.13        .22036E-04    .20383E-01
   2  Index         3.3057        5.3509        .91056E-02    .68899E-03
   3  Normalizat    .82002        .19854        .31185E-03    .14483E-02
   4  Prefactor     1.3331        .16927        .21574E-03    .15070E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5905.516     FROM SIMPLEX   STATUS=UNCHANGED     92 CALLS      370 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3745        850.13        .43634E-04    .20383E-01
   2  Index         3.3057        5.3509        .16927E-02    .68899E-03
   3  Normalizat    .82002        .19854        .23958E-03    .14483E-02
   4  Prefactor     1.3331        .16927        .12999E-03    .15070E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5905.516     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      402 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3756        25.022        .88146E-06    .88605E-03
   2  Index         3.3055        2.0251        .36422E-03    .31650E-04
   3  Normalizat    .82001        .24348        .62371E-04   -.14436E-04
   4  Prefactor     1.3331        .20469        .43148E-04   -.92219E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.37563
  Index      = 3.30549
  Normalizat = 0.820013
  Prefactor  = 1.33314
 **********
 **   18 **HESSE 
 **********

 FCN=   5905.516     FROM HESSE     STATUS=OK            23 CALLS      425 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3756        23.614        .37363E-06   -1.5671    
   2  Index         3.3055        1.9707        .14569E-04   -.34575    
   3  Normalizat    .82001        .24354        .12474E-04   -.99331    
   4  Prefactor     1.3331        .20473        .86295E-05   -.82327    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.2997e-11
Minuit parameter uncertainties:
  1  17.8566
  2  2.03339
  3  0.243865
  4  0.204849
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/911252': 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) = 5905.51582137
delta logL = 0.0969565105688

Extracting fit parameters...

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  3.376e+00  1.786e+01  0.000e+00  1.000e+06 ( 1.000e-14)
217        Index:  3.305e+00  2.033e+00  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:  1.333e+00  2.048e-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:  8.200e-01  2.439e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/911252/cmap_HighResolution_699926401_700185601_4FGL_J1018.4+0528_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.52e-03', job_status='DONE', photon_flux_upper_limit='9.81e-08', time_completed='2023-03-11 00:37:55.943220', job_id='911252', GAL2='1.33', fit_tolerance='1e-08', EG2='0.82', EG='0.85', time_epoch_completed='1678523875.94', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.32', dlogl='9.70e-02', ts2='0.21', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1777' AND source_name='4FGL J1018.4+0528' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 00:37:55 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0014>
Subject: Job 911252: <4FGL_J1018.4+0528_daily_bin1777> in cluster <slac> Done

Job <4FGL_J1018.4+0528_daily_bin1777> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Mar 11 00:25:31 2023
Job was executed on host(s) <bullet0014>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 00:25:36 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 00:25:36 2023
Terminated at Sat Mar 11 00:37:56 2023
Results reported at Sat Mar 11 00:37:56 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.4+0528_daily_bin1777 154.617 5.4702 699926401 700185601 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 :                                   510.43 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             266.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            745 sec.

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

