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


Performing analysis on: 4FGL_J1018.3-3124_daily_bin1713
RA = 154.591, Dec = -31.4032
tmin = 683337601, tmax = 683596801
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='91709', job_status='RUN', time_executed='2022-09-16 15:17:13.167456', time_epoch_executed='1663366633.17' WHERE source_name='4FGL J1018.3-3124' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/91709

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/91709/ft1_4FGL_J1018.3-3124_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/91709/ft2_4FGL_J1018.3-3124_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/91709/ft1_4FGL_J1018.3-3124_daily_bin1713.fits outfile=/scratch/kocevski/91709/ft1_filteredMKT_4FGL_J1018.3-3124_daily_bin1713.fits ra=154.591 dec=-31.4032 rad=12.0 tmin=683337601.0 tmax=683596801.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.50
user 3.31
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/91709/ft2_4FGL_J1018.3-3124_daily_bin1713.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/91709/ft2_4FGL_J1018.3-3124_daily_bin1713.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/91709/ft1_filteredMKT_4FGL_J1018.3-3124_daily_bin1713.fits evtable="EVENTS" outfile="/scratch/kocevski/91709/ft1_filtered_4FGL_J1018.3-3124_daily_bin1713.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.50
user 0.35
sys 0.14

Number of photons that the gtmktime cut: 1066

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/91709/ft1_filtered_4FGL_J1018.3-3124_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/91709/ft2_4FGL_J1018.3-3124_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/91709/ltcube_683337601_683596801_4FGL_J1018.3-3124_daily_bin1713.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/91709/ft2_4FGL_J1018.3-3124_daily_bin1713.fits
.....................!
real 14.47
user 14.01
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/91709/ft1_filtered_4FGL_J1018.3-3124_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/91709/ft2_4FGL_J1018.3-3124_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/91709/ltcube_683337601_683596801_4FGL_J1018.3-3124_daily_bin1713.fits outfile=/scratch/kocevski/91709/expmap_683337601_683596801_4FGL_J1018.3-3124_daily_bin1713.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/91709/ltcube_683337601_683596801_4FGL_J1018.3-3124_daily_bin1713.fits
.....................!
real 193.00
user 187.14
sys 5.31

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 182 point sources and 0 extended sources

Setting source of interest to:
4FGL J1018.3-3124 @ 154.591 -31.4032

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/91709/ft1_filtered_4FGL_J1018.3-3124_daily_bin1713.fits scfile=/scratch/kocevski/91709/ft2_4FGL_J1018.3-3124_daily_bin1713.fits outfile=/scratch/kocevski/91709/cmap_683337601_683596801_4FGL_J1018.3-3124_daily_bin1713.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.591 yref=-31.4032 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/91709/ft1_filtered_4FGL_J1018.3-3124_daily_bin1713.fits scfile=/scratch/kocevski/91709/ft2_4FGL_J1018.3-3124_daily_bin1713.fits outfile=/scratch/kocevski/91709/cmap_HighResolution_683337601_683596801_4FGL_J1018.3-3124_daily_bin1713.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.591 yref=-31.4032 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/91709/ft1_filtered_4FGL_J1018.3-3124_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/91709/ft2_4FGL_J1018.3-3124_daily_bin1713.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/91709/Model_4FGL_J1018.3-3124_daily_bin1713.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/91709/ft1_filtered_4FGL_J1018.3-3124_daily_bin1713.fits.....................!
real 112.90
user 111.21
sys 1.46

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/91709/ft1_filtered_4FGL_J1018.3-3124_daily_bin1713.fits', '/scratch/kocevski/91709/ft2_4FGL_J1018.3-3124_daily_bin1713.fits', expMap='/scratch/kocevski/91709/expmap_683337601_683596801_4FGL_J1018.3-3124_daily_bin1713.fits', expCube='/scratch/kocevski/91709/ltcube_683337601_683596801_4FGL_J1018.3-3124_daily_bin1713.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/91709/Model_4FGL_J1018.3-3124_daily_bin1713.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.3-3124'

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  6.868e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
339        alpha:  2.461e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
340         beta:  1.460e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
341           Eb:  5.841e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/91709/ft1_filtered_4FGL_J1018.3-3124_daily_bin1713.fits
Spacecraft file(s): /scratch/kocevski/91709/ft2_4FGL_J1018.3-3124_daily_bin1713.fits
Exposure map: /scratch/kocevski/91709/expmap_683337601_683596801_4FGL_J1018.3-3124_daily_bin1713.fits
Exposure cube: /scratch/kocevski/91709/ltcube_683337601_683596801_4FGL_J1018.3-3124_daily_bin1713.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/91709/Model_4FGL_J1018.3-3124_daily_bin1713.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) = 11047.6849787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .36936E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .37405E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .50966       1.0000          .0000       .10000E+07
     4 'norm      '    .41522E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .30252E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.7754       1.0000          .0000       .10000E+07
     7 'norm      '    3.6187       1.0000          .0000       .10000E+07
     8 'norm      '    .28239E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17264E-07   1.0000          .0000       .10000E+07
    10 'norm      '    10.423       1.0000          .0000       .10000E+07
    11 'Prefactor '    .58702E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    4.0407       1.0000          .0000       .10000E+07
    13 'Prefactor '    .88313E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .28800E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    17.205       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2687       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .80407       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11047.53     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      957 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.4422        .12028E-06** at limit **
   2  norm           .0000        2.2589       -.69208E-07** at limit **
   3  norm          .51029        1.0266        .21956E-07    .11732E-03
   4  norm           .0000        2.9344        .17203E-08** at limit **
   5  Prefactor     .55511E-10    17.976       -.20842E-06** at limit **
   6  Prefactor     9.7800        1.4448       -.15180E-07    .87528E-02
   7  norm          3.6052        5.5998       -.36695E-07   -.62394E-04
   8  norm           .0000        2.7663        .29194E-07** at limit **
   9  Prefactor      .0000        14.293       -.10491E-06** at limit **
  10  norm          10.388        4.2070       -.65252E-07    .23777E-02
  11  Prefactor      .0000        10.994        .14819E-06** at limit **
  12  Prefactor     4.0725        4.0223       -.29300E-07    .13065E-02
  13  Prefactor      .0000        2.5035       -.89106E-07** at limit **
  14  Prefactor      .0000        3.7963        .25702E-06** at limit **
  15  Prefactor     17.206        1.4474        .87104E-08    .53524E-02
  16  Normalizat    1.2690        .19551       -.23146E-05    .11025E-03
  17  Prefactor     .80399        .82203E-01    .21996E-06    .15660E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0
  norm       = 0.51029
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 9.77999
  norm       = 3.60523
  norm       = 0
  Prefactor  = 0
  norm       = 10.3882
  Prefactor  = 0
  Prefactor  = 4.0725
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 17.2063
  Normalizat = 1.26898
  Prefactor  = 0.803995
 **********
 **   18 **HESSE 
 **********

 FCN=   11047.53     FROM HESSE     STATUS=OK           253 CALLS     1210 TOTAL
                     EDM=   .69E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.4364        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.2642        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .51029        1.0347        .77743E-03   -1.5694    
   4  norm           .0000        2.9375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    17.968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.7800        9.1661        .32026E-03   -1.5645    
   7  norm          3.6052        5.7039        .53088E-03   -1.5670    
   8  norm           .0000        2.7943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        14.281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.388        4.2256        .31011E-03   -1.5644    
  11  Prefactor      .0000        10.993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.0725        4.0484        .50139E-03   -1.5668    
  13  Prefactor      .0000        2.5187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        3.7748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     17.206        7.5146        .24119E-03   -1.5625    
  16  Normalizat    1.2690        .16948        .70466E-01   -.84497    
  17  Prefactor     .80399        .70917E-01    .43770E-01   -.99581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.88339e-08
Minuit parameter uncertainties:
  1  3.91661e-06
  2  3.3659e-06
  3  1.0347
  4  6.24356e-06
  5  6.43135e-05
  6  9.16615
  7  5.70396
  8  1.79648e-06
  9  1.37439e-05
  10  4.22565
  11  1.02262e-05
  12  4.04841
  13  4.735e-06
  14  1.02797e-05
  15  7.51462
  16  0.169555
  17  0.0709254
Done.

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

Extracting fit parameters...

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  3.605e+00  5.704e+00  0.000e+00  1.000e+06 ( 1.000e-12)
339        alpha:  2.461e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
340         beta:  1.460e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
341           Eb:  5.841e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  8.040e-01  7.093e-02  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.269e+00  1.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.57
Ra Dec: 154.591 -31.403
Photon Flux Upper Limit: 7.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.23e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/91709/likelihoodResults_683337601_683596801_4FGL_J1018.3-3124_daily_bin1713.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) = 11047.5133495
delta logL = 0.011969520132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11047.1364459
delta logL = 0.388873099777

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .42423       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2126       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82063       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11047.14     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      286 TOTAL
                     EDM=   .95E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .42426        .40779        .61230E-05   -.18381E-02
   2  alpha         5.0000        3.1736        .91629E-01** at limit **
   3  Normalizat    1.2126        .19411        .31786E-03   -.12876E-05
   4  Prefactor     .82061        .82917E-01    .16531E-03   -.16506E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.42426
  alpha      = 5
  Normalizat = 1.21259
  Prefactor  = 0.820612
 **********
 **   18 **HESSE 
 **********

 FCN=   11047.14     FROM HESSE     STATUS=OK            23 CALLS      309 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .42426        .40229        .24492E-06   -1.5695    
   2  alpha         5.0000        3.1728        .36651E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.2126        .19424        .12715E-04   -.86215    
   4  Prefactor     .82061        .82977E-01    .66123E-05   -.98973    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04574e-11
Minuit parameter uncertainties:
  1  0.402286
  2  9.08823e-06
  3  0.194354
  4  0.0829897
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/91709': 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) = 11047.1364458
delta logL = 0.388873215496

Extracting fit parameters...

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  4.243e-01  4.023e-01  0.000e+00  1.000e+06 ( 1.000e-12)
339        alpha:  5.000e+00  9.088e-06  0.000e+00  5.000e+00 ( 1.000e+00)
340         beta:  1.460e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
341           Eb:  5.841e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  8.206e-01  8.299e-02  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  1.213e+00  1.944e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.45
Ra Dec: 154.591 -31.403
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 5.16e-08 +/- 4.87e-08
Energy Flux (Free Index): 7.08e-06 +/- 6.69e-06

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/91709/cmap_HighResolution_683337601_683596801_4FGL_J1018.3-3124_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.23e-05', comment='SUCCESS', energy_flux2='7.08e-06', dlogl='3.89e-01', photon_flux2='5.16e-08', job_status='DONE', time_completed='2022-09-16 15:28:36.802281', photon_index_error2='0.00', photon_index2='5.00', ts='0.57', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='7.61e-08', energy_flux_error2='6.69e-06', EG='1.27', time_epoch_completed='1663367316.8', return_code='0', job_id='91709', GAL2='0.82', EG2='1.21', return_code2='0', photon_flux_error2='4.87e-08', ts2='1.45', photon_index='2.46' WHERE bin_id='1713' AND source_name='4FGL J1018.3-3124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:28:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 91709: <4FGL_J1018.3-3124_daily_bin1713> in cluster <slac> Done

Job <4FGL_J1018.3-3124_daily_bin1713> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 15:15:15 2022
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:16:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:16:46 2022
Terminated at Fri Sep 16 15:28:37 2022
Results reported at Fri Sep 16 15:28:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.3-3124_daily_bin1713 154.591 -31.4032 683337601 683596801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1018.3-3124 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   685.48 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             353.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   711 sec.
    Turnaround time :                            802 sec.

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

