/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 105 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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 = 7498
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1018.3-3124_daily_bin160
RA = 154.591, Dec = -31.4032
tmin = 280800001, tmax = 281059201
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='795557', job_status='RUN', time_executed='2021-09-01 17:03:18.650462', time_epoch_executed='1630540998.65' WHERE source_name='4FGL J1018.3-3124' and cadence='daily' and bin_id='160'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/795557

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/795557/ft1_4FGL_J1018.3-3124_daily_bin160.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/795557/ft2_4FGL_J1018.3-3124_daily_bin160.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/795557/ft1_4FGL_J1018.3-3124_daily_bin160.fits outfile=/scratch/kocevski/795557/ft1_filteredMKT_4FGL_J1018.3-3124_daily_bin160.fits ra=154.591 dec=-31.4032 rad=12.0 tmin=280800001.0 tmax=281059201.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 4.43
user 3.60
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/795557/ft1_filtered_4FGL_J1018.3-3124_daily_bin160.fits" evtable="EVENTS" scfile=/scratch/kocevski/795557/ft2_4FGL_J1018.3-3124_daily_bin160.fits sctable="SC_DATA" outfile=/scratch/kocevski/795557/ltcube_280800001_281059201_4FGL_J1018.3-3124_daily_bin160.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/795557/ft2_4FGL_J1018.3-3124_daily_bin160.fits
.....................!
real 16.33
user 15.76
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/795557/ft1_filtered_4FGL_J1018.3-3124_daily_bin160.fits evtable="EVENTS" scfile=/scratch/kocevski/795557/ft2_4FGL_J1018.3-3124_daily_bin160.fits sctable="SC_DATA" expcube=/scratch/kocevski/795557/ltcube_280800001_281059201_4FGL_J1018.3-3124_daily_bin160.fits outfile=/scratch/kocevski/795557/expmap_280800001_281059201_4FGL_J1018.3-3124_daily_bin160.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/795557/ltcube_280800001_281059201_4FGL_J1018.3-3124_daily_bin160.fits
.....................!
real 193.84
user 186.76
sys 3.90

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/795557/ft1_filtered_4FGL_J1018.3-3124_daily_bin160.fits scfile=/scratch/kocevski/795557/ft2_4FGL_J1018.3-3124_daily_bin160.fits outfile=/scratch/kocevski/795557/cmap_280800001_281059201_4FGL_J1018.3-3124_daily_bin160.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/795557/ft1_filtered_4FGL_J1018.3-3124_daily_bin160.fits scfile=/scratch/kocevski/795557/ft2_4FGL_J1018.3-3124_daily_bin160.fits outfile=/scratch/kocevski/795557/cmap_HighResolution_280800001_281059201_4FGL_J1018.3-3124_daily_bin160.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/795557/ft1_filtered_4FGL_J1018.3-3124_daily_bin160.fits evtable="EVENTS" scfile=/scratch/kocevski/795557/ft2_4FGL_J1018.3-3124_daily_bin160.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/795557/Model_4FGL_J1018.3-3124_daily_bin160.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/795557/ft1_filtered_4FGL_J1018.3-3124_daily_bin160.fits.....................!
real 91.56
user 89.68
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/795557/ft1_filtered_4FGL_J1018.3-3124_daily_bin160.fits', '/scratch/kocevski/795557/ft2_4FGL_J1018.3-3124_daily_bin160.fits', expMap='/scratch/kocevski/795557/expmap_280800001_281059201_4FGL_J1018.3-3124_daily_bin160.fits', expCube='/scratch/kocevski/795557/ltcube_280800001_281059201_4FGL_J1018.3-3124_daily_bin160.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/795557/Model_4FGL_J1018.3-3124_daily_bin160.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  1.000e-04  1.000e+04 ( 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  0.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/795557/ft1_filtered_4FGL_J1018.3-3124_daily_bin160.fits
Spacecraft file(s): /scratch/kocevski/795557/ft2_4FGL_J1018.3-3124_daily_bin160.fits
Exposure map: /scratch/kocevski/795557/expmap_280800001_281059201_4FGL_J1018.3-3124_daily_bin160.fits
Exposure cube: /scratch/kocevski/795557/ltcube_280800001_281059201_4FGL_J1018.3-3124_daily_bin160.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/795557/Model_4FGL_J1018.3-3124_daily_bin160.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) = 8612.79932431

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    7.0639       1.0000         .10000E-03   10000.    
     3 'norm      '    21.657       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .38194       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.989       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    14.392       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10270E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.7676       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .71437       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.7991       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.0837       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .84885       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1503       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8612.740     FROM MIGRAD    STATUS=CONVERGED    420 CALLS     1802 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.099       -.26347E-05** at limit **
   2  norm          7.0645        5.5212        .14214E-06    .19066E-04
   3  norm          21.655        17.399       -.50396E-06   -.11810E-04
   4  norm          .10000E-03    3.1383       -.60949E-07** at limit **
   5  norm          .38134        1.2112       -.35946E-07   -.28694E-03
   6  norm          .10000E-03    2.3455        .75418E-08** at limit **
   7  Prefactor     11.988        19.714       -.17764E-06    .24392E-04
   8  Prefactor     .10000E-03    3.0122        .42459E-07** at limit **
   9  norm          .10000E-03    7.3293       -.57468E-05** at limit **
  10  norm          14.392        8.1431        .13404E-06    .24432E-03
  11  Prefactor     .10000E-03    11.883       -.25129E-05** at limit **
  12  Prefactor     .10000E-03    7.6487        .67239E-05** at limit **
  13  norm          .10000E-03    1.7466       -.16636E-06** at limit **
  14  Prefactor     .10000E-03    19.394        .33886E-05** at limit **
  15  Prefactor     3.7665        2.3756        .38871E-06   -.29840E-02
  16  Prefactor     .72229        7.8065       -.43266E-06   -.72309E-04
  17  Prefactor     5.7989        5.9807       -.34844E-08   -.92545E-03
  18  Prefactor     5.0834        8.4183       -.42439E-07   -.28124E-04
  19  Normalizat    .84880        .23947        .33384E-06    .60063E-04
  20  Prefactor     1.1503        .98054E-01   -.54611E-07    .15557E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 7.06451
  norm       = 21.6553
  norm       = 0.0001
  norm       = 0.38134
  norm       = 0.0001
  Prefactor  = 11.9881
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 14.3924
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.76648
  Prefactor  = 0.72229
  Prefactor  = 5.79894
  Prefactor  = 5.08343
  Normalizat = 0.848802
  Prefactor  = 1.15033
 **********
 **   18 **HESSE 
 **********

 FCN=   8612.740     FROM HESSE     STATUS=OK           297 CALLS     2099 TOTAL
                     EDM=   .99E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.0645        5.5207        .15093E-03   -1.5176    
   3  norm          21.655        17.439        .86070E-04   -1.4777    
   4  norm          .10000E-03    3.1418        .16056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .38134        1.6128        .16751E-02   -1.5584    
   6  norm          .10000E-03    2.3503        .13880E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.988        19.736        .11570E-03   -1.5015    
   8  Prefactor     .10000E-03    3.0126        .15730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    7.4138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          14.392        8.1437        .10558E-03   -1.4949    
  11  Prefactor     .10000E-03    12.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.6860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.1065        .23655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    19.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.7665        4.5778        .98649E-03   -1.5320    
  16  Prefactor     .72229        38.187        .46344E-02   -1.5538    
  17  Prefactor     5.7989        6.2147        .83390E-03   -1.5226    
  18  Prefactor     5.0834        8.4141        .17833E-03   -1.5257    
  19  Normalizat    .84880        .26437        .41864E-03   -.98283    
  20  Prefactor     1.1503        .10995        .16115E-03   -.87874    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.9336e-08
Minuit parameter uncertainties:
  1  5.4025e-05
  2  5.5211
  3  17.4431
  4  7.13411e-07
  5  1.56835
  6  1.82732e-07
  7  19.7464
  8  6.21134e-07
  9  3.47057e-05
  10  8.14431
  11  3.21016e-05
  12  6.49687e-05
  13  2.38417e-06
  14  3.30589e-05
  15  4.57819
  16  10.5101
  17  6.21543
  18  8.41609
  19  0.26477
  20  0.109977
Done.

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

Extracting fit parameters...

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  1.000e-04  3.471e-05  1.000e-04  1.000e+04 ( 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  0.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:  1.150e+00  1.100e-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:  8.488e-01  2.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/795557/likelihoodResults_280800001_281059201_4FGL_J1018.3-3124_daily_bin160.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) = 8612.74073138
delta logL = -0.000642984448859

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8612.74008849
delta logL = -9.81835910352e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4715       1.0000          .0000       5.0000    
     3 'Normalizat'    .84870       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1504       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8612.740     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      241 TOTAL
                     EDM=   .54E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.8021        .64810E-01** at limit **
   2  alpha         2.6993        3.6296        .16462       -.27486E-07
   3  Normalizat    .84880        .76868E-02    .41864E-03   -.12546E-03
   4  Prefactor     1.1503        .34175E-02    .16115E-03   -.34319E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.69926
  Normalizat = 0.848801
  Prefactor  = 1.15033
 **********
 **   18 **HESSE 
 **********

 FCN=   8612.740     FROM HESSE     STATUS=OK            25 CALLS      266 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.0680        .35133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6993        3.6899        .65848E-02    .79787E-01
   3  Normalizat    .84880        .24110        .16746E-04   -.98283    
   4  Prefactor     1.1503        .10731        .32231E-04   -.87874    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03373e-11
Minuit parameter uncertainties:
  1  3.124e-05
  2  284.684
  3  0.241405
  4  0.107329
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/795557': 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) = 8612.74008804
delta logL = 3.47716195392e-07

Extracting fit parameters...

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  1.000e-04  3.124e-05  1.000e-04  1.000e+04 ( 1.000e-12)
339        alpha:  2.699e+00  2.847e+02  0.000e+00  5.000e+00 ( 1.000e+00)
340         beta:  1.460e-01  0.000e+00  0.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:  1.150e+00  1.073e-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:  8.488e-01  2.414e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/795557/cmap_HighResolution_280800001_281059201_4FGL_J1018.3-3124_daily_bin160.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.16e-05', job_status='DONE', photon_flux_upper_limit='7.38e-08', time_completed='2021-09-01 17:15:42.817080', job_id='795557', GAL2='1.15', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1630541742.82', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='3.48e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='160' AND source_name='4FGL J1018.3-3124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 17:15:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 795557: <4FGL_J1018.3-3124_daily_bin160> in cluster <slac> Done

Job <4FGL_J1018.3-3124_daily_bin160> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 17:00:42 2021
Job was executed on host(s) <bullet0149>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 17:01:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 17:01:20 2021
Terminated at Wed Sep  1 17:15:43 2021
Results reported at Wed Sep  1 17:15:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.3-3124_daily_bin160 154.591 -31.4032 280800001 281059201 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 :                                   738.26 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             312.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   863 sec.
    Turnaround time :                            901 sec.

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

