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


Performing analysis on: 4FGL_J1018.4+0528_weekly_bin760
RA = 154.617, Dec = 5.4702
tmin = 698630401, tmax = 699235201
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='19997', job_status='RUN', time_executed='2023-02-28 01:01:43.658255', time_epoch_executed='1677574903.66' WHERE source_name='4FGL J1018.4+0528' and cadence='weekly' and bin_id='760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/19997

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/19997/ft1_4FGL_J1018.4+0528_weekly_bin760.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/19997/ft2_4FGL_J1018.4+0528_weekly_bin760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/19997/ft1_4FGL_J1018.4+0528_weekly_bin760.fits outfile=/scratch/kocevski/19997/ft1_filteredMKT_4FGL_J1018.4+0528_weekly_bin760.fits ra=154.617 dec=5.4702 rad=12.0 tmin=698630401.0 tmax=699235201.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.25
user 5.94
sys 0.25

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

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

Number of photons that the gtmktime cut: 20

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/19997/ft1_filtered_4FGL_J1018.4+0528_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/19997/ft2_4FGL_J1018.4+0528_weekly_bin760.fits sctable="SC_DATA" expcube=/scratch/kocevski/19997/ltcube_698630401_699235201_4FGL_J1018.4+0528_weekly_bin760.fits outfile=/scratch/kocevski/19997/expmap_698630401_699235201_4FGL_J1018.4+0528_weekly_bin760.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/19997/ltcube_698630401_699235201_4FGL_J1018.4+0528_weekly_bin760.fits
.....................!
real 191.62
user 185.84
sys 5.36

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/19997/ft1_filtered_4FGL_J1018.4+0528_weekly_bin760.fits scfile=/scratch/kocevski/19997/ft2_4FGL_J1018.4+0528_weekly_bin760.fits outfile=/scratch/kocevski/19997/cmap_698630401_699235201_4FGL_J1018.4+0528_weekly_bin760.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.60
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/19997/ft1_filtered_4FGL_J1018.4+0528_weekly_bin760.fits scfile=/scratch/kocevski/19997/ft2_4FGL_J1018.4+0528_weekly_bin760.fits outfile=/scratch/kocevski/19997/cmap_HighResolution_698630401_699235201_4FGL_J1018.4+0528_weekly_bin760.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.59
user 0.42
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/19997/ft1_filtered_4FGL_J1018.4+0528_weekly_bin760.fits', '/scratch/kocevski/19997/ft2_4FGL_J1018.4+0528_weekly_bin760.fits', expMap='/scratch/kocevski/19997/expmap_698630401_699235201_4FGL_J1018.4+0528_weekly_bin760.fits', expCube='/scratch/kocevski/19997/ltcube_698630401_699235201_4FGL_J1018.4+0528_weekly_bin760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/19997/Model_4FGL_J1018.4+0528_weekly_bin760.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/19997/ft1_filtered_4FGL_J1018.4+0528_weekly_bin760.fits
Spacecraft file(s): /scratch/kocevski/19997/ft2_4FGL_J1018.4+0528_weekly_bin760.fits
Exposure map: /scratch/kocevski/19997/expmap_698630401_699235201_4FGL_J1018.4+0528_weekly_bin760.fits
Exposure cube: /scratch/kocevski/19997/ltcube_698630401_699235201_4FGL_J1018.4+0528_weekly_bin760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/19997/Model_4FGL_J1018.4+0528_weekly_bin760.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 282.163687159

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 280.988062612

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4519       1.0000          .0000       .10000E+07
     2 'norm      '    .62738       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.9609       1.0000          .0000       .10000E+07
     4 'Prefactor '    .26648       1.0000          .0000       .10000E+07
     5 'Prefactor '    101.99       1.0000          .0000       .10000E+07
     6 'Prefactor '    .29730       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.9241       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.2297       1.0000          .0000       .10000E+07
     9 'Prefactor '    .79176E-05   1.0000          .0000       .10000E+07
    10 'norm      '    5.6430       1.0000          .0000       .10000E+07
    11 'Prefactor '    19.904       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.4865       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.0911       1.0000          .0000       .10000E+07
    14 'Prefactor '    4.3082       1.0000          .0000       .10000E+07
    15 'norm      '    .13435E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.3705       1.0000          .0000       .10000E+07
    17 'Normalizat'    .10016E-01   1.0000         .10000E-01   10.000    
    18 'Prefactor '    .80001       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=   280.9671     FROM MIGRAD    STATUS=CONVERGED    155 CALLS      321 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4519        1.0768         .0000         .0000    
   2  norm          .68808        6.2663        .39216E-06    .30797E-03
   3  Prefactor     .13648        1374.7       -.48131E-05** at limit **
   4  Prefactor     .11102E-08    92.531        .52413E-05** at limit **
   5  Prefactor     110.85        145.05        .16760E-05    .18242E-01
   6  Prefactor     .55511E-10    283.75        .18251E-05** at limit **
   7  Prefactor     7.9241        1.0020         .0000         .0000    
   8  Prefactor     .63319E-04    2675.2       -.75043E-05** at limit **
   9  Prefactor     .41379E-02    1255.3       -.49845E-05** at limit **
  10  norm          5.6577        6.4703       -.26081E-06    .67107E-03
  11  Prefactor     19.927        25.054        .21955E-06    .44988E-03
  12  Prefactor     .18698        1209.8       -.64768E-05** at limit **
  13  Prefactor     4.0911        1.0077         .0000         .0000    
  14  Prefactor      .0000        160.23        .25690E-05** at limit **
  15  norm           .0000        1.4829        .19725E-06** at limit **
  16  Prefactor     .44875E-06    976.49       -.78400E-05** at limit **
  17  Normalizat    .10000E-01    .19818        .29144E-04** at limit **
  18  Prefactor     .78425        .39262       -.41155E-04    .36517E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.45191
  norm       = 0.688078
  Prefactor  = 0.136479
  Prefactor  = 1.11022e-09
  Prefactor  = 110.846
  Prefactor  = 5.55112e-11
  Prefactor  = 7.92413
  Prefactor  = 6.33189e-05
  Prefactor  = 0.00413786
  norm       = 5.65774
  Prefactor  = 19.9274
  Prefactor  = 0.186975
  Prefactor  = 4.09108
  Prefactor  = 0
  norm       = 0
  Prefactor  = 4.48752e-07
  Normalizat = 0.01
  Prefactor  = 0.784248
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   280.9671     FROM HESSE     STATUS=FAILED        11 CALLS      332 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          63041.        63039.         .0000       -1.5684    
   2  norm          .68808        .55420        .39216E-06   -1.5691    
   3  Prefactor     .13648        .15185       -.48131E-05   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-08    .28597        .52413E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     110.85        1.0425        .16760E-05   -1.5497    
   6  Prefactor     .55511E-10    .26268        .18251E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.9241        1.0020         .0000       -1.5652    
   8  Prefactor     .63319E-04    .27167E-01   -.75043E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .41379E-02    .44347E-01   -.49845E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.6577        1.0053       -.26081E-06   -1.5660    
  11  Prefactor     19.927        1.0009        .21955E-06   -1.5619    
  12  Prefactor     .18698        .28020       -.64768E-05   -1.5717    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.0911        1.0077         .0000       -1.5668    
  14  Prefactor      .0000        .58833E-01    .25690E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        .44347E-01    .19725E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .44875E-06    .75883E-01   -.78400E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .10000E-01    .25505        .29144E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .78425        1.1382       -.41155E-04   -1.0031    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.65092e-10
Minuit parameter uncertainties:
  1  1.07676
  2  0.554198
  3  0.151852
  4  3.59025e-05
  5  1.04254
  6  7.79647e-06
  7  1.002
  8  0.0026231
  9  0.0270927
  10  1.00529
  11  1.00091
  12  0.280196
  13  1.00767
  14  1.11184e-06
  15  1.49155e-07
  16  0.000369067
  17  1.17476e-07
  18  1.17529
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 280.967120376

Extracting fit parameters...

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  6.332e-05  2.623e-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:  7.842e-01  1.175e+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.000e-02  1.175e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.617 5.470
Photon Flux Upper Limit: 1.54e-05 ph cm-2 s-1
Energy Flux Upper Limit: 1.18e+00 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/19997/likelihoodResults_698630401_699235201_4FGL_J1018.4+0528_weekly_bin760.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) = 280.967249058
delta logL = -0.000128682628656

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 280.96712059
delta logL = -2.14851695546e-07

Fit tolerance = 1e-08

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

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

 FCN=   280.9671     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      271 TOTAL
                     EDM=   .96E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32196E-08    87.539        .84235E-03** at limit **
   2  Index         1.7778        5.3013        .50000        .14211E-11
   3  Normalizat    .10000E-01    .50123E-05    .22834E-02** at limit **
   4  Prefactor     .78425        .13513E-02    .16398E-03    .16032E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.21965e-09
  Index      = 1.77784
  Normalizat = 0.01
  Prefactor  = 0.784247
 **********
 **   18 **HESSE 
 **********

 FCN=   280.9671     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      300 TOTAL
                     EDM=   .48E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32196E-08    438.07        .16847E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7778        9.0485        .50000       -.70028    
   3  Normalizat    .10000E-01    .25089E-04    .45668E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .78425        .30231E-02    .65594E-05   -1.0031    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.80448e-14
Minuit parameter uncertainties:
  1  0.00237118
  2  129088
  3  2.91512e-09
  4  0.00302313
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/19997': 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) = 280.967120367
delta logL = 8.54959125718e-09

Extracting fit parameters...

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  3.220e-09  2.371e-03  0.000e+00  1.000e+06 ( 1.000e-14)
217        Index:  1.778e+00  1.291e+05  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:  7.842e-01  3.023e-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.000e-02  2.915e-09  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/19997/cmap_HighResolution_698630401_699235201_4FGL_J1018.4+0528_weekly_bin760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e+00', job_status='DONE', photon_flux_upper_limit='1.54e-05', time_completed='2023-02-28 01:07:45.912655', job_id='19997', GAL2='0.78', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677575265.91', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.78', dlogl='8.55e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='760' AND source_name='4FGL J1018.4+0528' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 28 01:07:45 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 19997: <4FGL_J1018.4+0528_weekly_bin760> in cluster <slac> Done

Job <4FGL_J1018.4+0528_weekly_bin760> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 28 01:00:28 2023
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 28 01:00:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 28 01:00:29 2023
Terminated at Tue Feb 28 01:07:46 2023
Results reported at Tue Feb 28 01:07:46 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.4+0528_weekly_bin760 154.617 5.4702 698630401 699235201 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 :                                   363.03 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             435.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   437 sec.
    Turnaround time :                            438 sec.

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

