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


Performing analysis on: 4FGL_J1018.3-3124_daily_bin1776
RA = 154.591, Dec = -31.4032
tmin = 699667201, tmax = 699926401
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='830148', job_status='RUN', time_executed='2023-03-08 00:28:00.381587', time_epoch_executed='1678264080.38' WHERE source_name='4FGL J1018.3-3124' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/830148

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/830148/ft1_4FGL_J1018.3-3124_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/830148/ft2_4FGL_J1018.3-3124_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/830148/ft1_4FGL_J1018.3-3124_daily_bin1776.fits outfile=/scratch/kocevski/830148/ft1_filteredMKT_4FGL_J1018.3-3124_daily_bin1776.fits ra=154.591 dec=-31.4032 rad=12.0 tmin=699667201.0 tmax=699926401.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.88
user 3.65
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/830148/ft2_4FGL_J1018.3-3124_daily_bin1776.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/830148/ft1_filteredMKT_4FGL_J1018.3-3124_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/830148/ft1_filtered_4FGL_J1018.3-3124_daily_bin1776.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.13

Number of photons that the gtmktime cut: 658

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/830148/ft1_filtered_4FGL_J1018.3-3124_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/830148/ft2_4FGL_J1018.3-3124_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/830148/ltcube_699667201_699926401_4FGL_J1018.3-3124_daily_bin1776.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/830148/ft2_4FGL_J1018.3-3124_daily_bin1776.fits
.....................!
real 11.76
user 11.38
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/830148/ft1_filtered_4FGL_J1018.3-3124_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/830148/ft2_4FGL_J1018.3-3124_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/830148/ltcube_699667201_699926401_4FGL_J1018.3-3124_daily_bin1776.fits outfile=/scratch/kocevski/830148/expmap_699667201_699926401_4FGL_J1018.3-3124_daily_bin1776.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/830148/ltcube_699667201_699926401_4FGL_J1018.3-3124_daily_bin1776.fits
.....................!
real 190.82
user 185.76
sys 4.75

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/830148/ft1_filtered_4FGL_J1018.3-3124_daily_bin1776.fits scfile=/scratch/kocevski/830148/ft2_4FGL_J1018.3-3124_daily_bin1776.fits outfile=/scratch/kocevski/830148/cmap_699667201_699926401_4FGL_J1018.3-3124_daily_bin1776.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/830148/ft1_filtered_4FGL_J1018.3-3124_daily_bin1776.fits scfile=/scratch/kocevski/830148/ft2_4FGL_J1018.3-3124_daily_bin1776.fits outfile=/scratch/kocevski/830148/cmap_HighResolution_699667201_699926401_4FGL_J1018.3-3124_daily_bin1776.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.57
user 0.41
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/830148/ft1_filtered_4FGL_J1018.3-3124_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/830148/ft2_4FGL_J1018.3-3124_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/830148/Model_4FGL_J1018.3-3124_daily_bin1776.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/830148/ft1_filtered_4FGL_J1018.3-3124_daily_bin1776.fits.....................!
real 78.77
user 77.43
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/830148/ft1_filtered_4FGL_J1018.3-3124_daily_bin1776.fits', '/scratch/kocevski/830148/ft2_4FGL_J1018.3-3124_daily_bin1776.fits', expMap='/scratch/kocevski/830148/expmap_699667201_699926401_4FGL_J1018.3-3124_daily_bin1776.fits', expCube='/scratch/kocevski/830148/ltcube_699667201_699926401_4FGL_J1018.3-3124_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/830148/Model_4FGL_J1018.3-3124_daily_bin1776.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/830148/ft1_filtered_4FGL_J1018.3-3124_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/830148/ft2_4FGL_J1018.3-3124_daily_bin1776.fits
Exposure map: /scratch/kocevski/830148/expmap_699667201_699926401_4FGL_J1018.3-3124_daily_bin1776.fits
Exposure cube: /scratch/kocevski/830148/ltcube_699667201_699926401_4FGL_J1018.3-3124_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/830148/Model_4FGL_J1018.3-3124_daily_bin1776.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) = 7094.27998514

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10456E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .17768E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .21368       1.0000          .0000       .10000E+07
     4 'norm      '    2.5900       1.0000          .0000       .10000E+07
     5 'Prefactor '    49.062       1.0000          .0000       .10000E+07
     6 'Prefactor '    .14390E-02   1.0000          .0000       .10000E+07
     7 'norm      '    1.6528       1.0000          .0000       .10000E+07
     8 'norm      '    .56540E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    8.5869       1.0000          .0000       .10000E+07
    10 'norm      '    .48562       1.0000          .0000       .10000E+07
    11 'Prefactor '    .32357E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .79977E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .94186E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .10459E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    9.9662       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.3012       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .86952       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=   7094.276     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1226 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16992E-06    4.1123       -.33588E-07** at limit **
   2  norm          .16098E-08    2.4049       -.28193E-07** at limit **
   3  norm          .21260        2.5279        .35936E-06** at limit **
   4  norm          2.5812        2.7716       -.15321E-08   -.24432E-01
   5  Prefactor     49.391        2.3020        .14117E-07   -.83971E-01
   6  Prefactor     .17036E-06    3.9148        .13742E-07** at limit **
   7  norm          1.6095        6.2624       -.33209E-09   -.35936E-01
   8  norm          .28866E-08    2.9368        .27720E-07** at limit **
   9  Prefactor     8.6639        2.5242       -.13165E-07    .60486E-01
  10  norm          .48001        3.5740       -.31970E-07   -.34832E-02
  11  Prefactor     .18485E-07    39.662       -.51544E-06** at limit **
  12  Prefactor     .22204E-09    2.1972        .15609E-06** at limit **
  13  Prefactor     .24980E-08    8.8562       -.27671E-07** at limit **
  14  Prefactor     .61062E-08    2.5327        .18661E-07** at limit **
  15  Prefactor     9.9727        1.4318        .33575E-09   -.13840E-01
  16  Normalizat    1.3009        .25699        .16858E-05    .76705E-04
  17  Prefactor     .86962        .10788       -.40635E-08    .12969E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.6992e-07
  norm       = 1.60982e-09
  norm       = 0.212605
  norm       = 2.58124
  Prefactor  = 49.3913
  Prefactor  = 1.70364e-07
  norm       = 1.60955
  norm       = 2.88658e-09
  Prefactor  = 8.66392
  norm       = 0.480014
  Prefactor  = 1.84852e-08
  Prefactor  = 2.22045e-10
  Prefactor  = 2.498e-09
  Prefactor  = 6.10623e-09
  Prefactor  = 9.97269
  Normalizat = 1.30092
  Prefactor  = 0.869615
 **********
 **   18 **HESSE 
 **********

 FCN=   7094.276     FROM HESSE     STATUS=OK           259 CALLS     1485 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16992E-06    5.5628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .16098E-08    2.4317        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .21260        1.0994        .28614E-02   -1.5717    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.5812        9.8415        .63378E-03   -1.5676    
   5  Prefactor     49.391        32.543        .14278E-03   -1.5567    
   6  Prefactor     .17036E-06    5.2480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.6095        14.573        .82079E-03   -1.5683    
   8  norm          .28866E-08    2.9764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.6639        16.566        .34184E-03   -1.5649    
  10  norm          .48001        4.5213        .80169E-03   -1.5694    
  11  Prefactor     .18485E-07    39.695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .22204E-09    2.1928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .24980E-08    8.8719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .61062E-08    2.5799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.9727        7.9817        .31717E-03   -1.5645    
  16  Normalizat    1.3009        .22306        .75220E-01   -.83539    
  17  Prefactor     .86962        .93033E-01    .44615E-01   -.97211    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.33664e-06
Minuit parameter uncertainties:
  1  0.00194435
  2  0.000124815
  3  0.966924
  4  9.84159
  5  32.5434
  6  0.00189102
  7  9.68634
  8  0.000184528
  9  16.5664
  10  2.94639
  11  0.00171349
  12  4.41687e-05
  13  0.000298999
  14  0.000250966
  15  7.98169
  16  0.22323
  17  0.0930497
Done.

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

Extracting fit parameters...

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  1.610e+00  9.686e+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.696e-01  9.305e-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.301e+00  2.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 154.591 -31.403
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.19e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/830148/likelihoodResults_699667201_699926401_4FGL_J1018.3-3124_daily_bin1776.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7094.27072982
delta logL = 0.00502527178651

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7094.26922447
delta logL = 0.0065306150118

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1993       1.0000          .0000       .10000E+07
     2 'alpha     '    2.0820       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3025       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86877       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.

 FCN=   7094.269     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      241 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1993        2375.2        .69353E-03    .34071E-02
   2  alpha         2.0820        2.7472        .41903        .14981E-04
   3  Normalizat    1.3026        .11826        .75179E-01    .52571E-03
   4  Prefactor     .86876        .66811E-01    .44606E-01    .11242E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.19933
  alpha      = 2.08201
  Normalizat = 1.30257
  Prefactor  = 0.868763
 **********
 **   18 **HESSE 
 **********

 FCN=   7094.269     FROM HESSE     STATUS=OK            29 CALLS      270 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1993        14.979        .27741E-04   -1.5678    
   2  alpha         2.0820        3.5217        .75850E-01   -.16799    
   3  Normalizat    1.3026        .25292        .33270E-03   -.83490    
   4  Prefactor     .86876        .10777        .16849E-03   -.97241    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1486e-09
Minuit parameter uncertainties:
  1  11.4792
  2  3.02415
  3  0.253158
  4  0.107799
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/830148': 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) = 7094.26922447
delta logL = 0.00653062250512

Extracting fit parameters...

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  2.199e+00  1.148e+01  0.000e+00  1.000e+06 ( 1.000e-12)
339        alpha:  2.082e+00  3.024e+00  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.688e-01  1.078e-01  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.303e+00  2.532e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 154.591 -31.403

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/830148/cmap_HighResolution_699667201_699926401_4FGL_J1018.3-3124_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.19e-05', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2023-03-08 00:37:21.603733', job_id='830148', GAL2='0.87', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1678264641.6', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='6.53e-03', ts2='0.04', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1776' AND source_name='4FGL J1018.3-3124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:37:21 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0146>
Subject: Job 830148: <4FGL_J1018.3-3124_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1018.3-3124_daily_bin1776> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Mar  8 00:25:36 2023
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:25:41 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:25:41 2023
Terminated at Wed Mar  8 00:37:22 2023
Results reported at Wed Mar  8 00:37:22 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.3-3124_daily_bin1776 154.591 -31.4032 699667201 699926401 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 :                                   563.30 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             265.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   700 sec.
    Turnaround time :                            706 sec.

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

