/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 26 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 = 7369
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1018.3-3124_daily_bin925
RA = 154.591, Dec = -31.4032
tmin = 479088001, tmax = 479347201
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='799060', job_status='RUN', time_executed='2021-09-01 17:12:19.899354', time_epoch_executed='1630541539.9' WHERE source_name='4FGL J1018.3-3124' and cadence='daily' and bin_id='925'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/799060

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/799060/ft1_4FGL_J1018.3-3124_daily_bin925.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/799060/ft2_4FGL_J1018.3-3124_daily_bin925.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/799060/ft1_4FGL_J1018.3-3124_daily_bin925.fits outfile=/scratch/kocevski/799060/ft1_filteredMKT_4FGL_J1018.3-3124_daily_bin925.fits ra=154.591 dec=-31.4032 rad=12.0 tmin=479088001.0 tmax=479347201.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.52
user 3.26
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/799060/ft1_filtered_4FGL_J1018.3-3124_daily_bin925.fits" evtable="EVENTS" scfile=/scratch/kocevski/799060/ft2_4FGL_J1018.3-3124_daily_bin925.fits sctable="SC_DATA" outfile=/scratch/kocevski/799060/ltcube_479088001_479347201_4FGL_J1018.3-3124_daily_bin925.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/799060/ft2_4FGL_J1018.3-3124_daily_bin925.fits
.....................!
real 15.32
user 14.91
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/799060/ft1_filtered_4FGL_J1018.3-3124_daily_bin925.fits evtable="EVENTS" scfile=/scratch/kocevski/799060/ft2_4FGL_J1018.3-3124_daily_bin925.fits sctable="SC_DATA" expcube=/scratch/kocevski/799060/ltcube_479088001_479347201_4FGL_J1018.3-3124_daily_bin925.fits outfile=/scratch/kocevski/799060/expmap_479088001_479347201_4FGL_J1018.3-3124_daily_bin925.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/799060/ltcube_479088001_479347201_4FGL_J1018.3-3124_daily_bin925.fits
.....................!
real 192.41
user 185.89
sys 5.34

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/799060/ft1_filtered_4FGL_J1018.3-3124_daily_bin925.fits scfile=/scratch/kocevski/799060/ft2_4FGL_J1018.3-3124_daily_bin925.fits outfile=/scratch/kocevski/799060/cmap_479088001_479347201_4FGL_J1018.3-3124_daily_bin925.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.71
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/799060/ft1_filtered_4FGL_J1018.3-3124_daily_bin925.fits scfile=/scratch/kocevski/799060/ft2_4FGL_J1018.3-3124_daily_bin925.fits outfile=/scratch/kocevski/799060/cmap_HighResolution_479088001_479347201_4FGL_J1018.3-3124_daily_bin925.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.59
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/799060/ft1_filtered_4FGL_J1018.3-3124_daily_bin925.fits evtable="EVENTS" scfile=/scratch/kocevski/799060/ft2_4FGL_J1018.3-3124_daily_bin925.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/799060/Model_4FGL_J1018.3-3124_daily_bin925.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/799060/ft1_filtered_4FGL_J1018.3-3124_daily_bin925.fits.....................!
real 79.05
user 77.52
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .37497       1.0000         .10000E-03   10000.    
     3 'norm      '    .23423E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .30683       1.0000         .10000E-03   10000.    
     6 'norm      '    22.641       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .18437E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10428E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.2294       1.0000         .10000E-03   10000.    
    10 'norm      '    .14909E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.066       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.853       1.0000         .10000E-03   10000.    
    13 'norm      '    10.759       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.7867       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.234       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.916       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3456       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96675       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=   6845.872     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     2147 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.8167        .24261E-07** at limit **
   2  norm          .37261        5.3411        .19520E-06   -.69227E-04
   3  norm          .10025E-03    16.520        .19136E-05** at limit **
   4  norm          .10000E-03    5.7281        .14587E-07** at limit **
   5  norm          .30771        1.1794        .34106E-06   -.35392E-03
   6  norm          22.641        15.193        .37820E-06    .23925E-03
   7  Prefactor     .10015E-03    20.406       -.96545E-06** at limit **
   8  Prefactor     .10000E-03    14.042        .62035E-08** at limit **
   9  norm          1.2175        42.490        .47322E-05    .19103E-05
  10  norm          .10000E-03    16.792       -.80740E-07** at limit **
  11  Prefactor     11.089        33.585       -.48394E-05   -.13537E-03
  12  Prefactor     14.855        25.424       -.11185E-05    .79353E-05
  13  norm          10.759        7.1091        .11083E-05   -.34021E-03
  14  Prefactor     1.7443        107.57        .16182E-05   -.86144E-04
  15  Prefactor     .10000E-03    2.1890       -.34746E-07** at limit **
  16  Prefactor     12.238        13.317        .38821E-07   -.29872E-04
  17  Prefactor     .10000E-03    2.9239       -.55013E-07** at limit **
  18  Prefactor     12.916        11.485       -.15784E-06   -.13438E-03
  19  Normalizat    1.3445        .28587       -.20251E-06   -.16482E-03
  20  Prefactor     .96735        .10837       -.65485E-06   -.25168E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.372613
  norm       = 0.000100252
  norm       = 0.0001
  norm       = 0.307708
  norm       = 22.6413
  Prefactor  = 0.000100146
  Prefactor  = 0.0001
  norm       = 1.21746
  norm       = 0.0001
  Prefactor  = 11.0892
  Prefactor  = 14.8552
  norm       = 10.7589
  Prefactor  = 1.7443
  Prefactor  = 0.0001
  Prefactor  = 12.2377
  Prefactor  = 0.0001
  Prefactor  = 12.9164
  Normalizat = 1.34447
  Prefactor  = 0.967349
 **********
 **   18 **HESSE 
 **********

 FCN=   6845.872     FROM HESSE     STATUS=OK           309 CALLS     2456 TOTAL
                     EDM=   .76E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.8197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .37261        22.383        .36623E-02   -1.5586    
   3  norm          .10025E-03    112.14        .61898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    5.7434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .30771        1.9760        .16506E-02   -1.5597    
   6  norm          22.641        15.242        .84181E-04   -1.4756    
   7  Prefactor     .10015E-03    21.699        .11928       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.2175        42.266        .40571E-03   -1.5487    
  10  norm          .10000E-03    17.114        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.089        32.331        .12044E-03   -1.5042    
  12  Prefactor     14.855        25.394        .10393E-03   -1.4937    
  13  norm          10.759        7.1351        .61073E-03   -1.5052    
  14  Prefactor     1.7443        103.88        .31299E-03   -1.5444    
  15  Prefactor     .10000E-03    2.1968        .11942E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.238        13.350        .11453E-03   -1.5008    
  17  Prefactor     .10000E-03    2.9305        .13815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     12.916        11.520        .11146E-03   -1.4989    
  19  Normalizat    1.3445        .33607        .37448E-03   -.82249    
  20  Prefactor     .96735        .12690        .17752E-03   -.93826    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.6269e-08
Minuit parameter uncertainties:
  1  3.29919e-06
  2  5.77742
  3  0.0106455
  4  2.34597e-06
  5  1.55934
  6  15.2442
  7  0.00355607
  8  4.37596e-05
  9  14.3572
  10  0.000135708
  11  32.382
  12  25.4129
  13  7.13571
  14  26.97
  15  1.16904e-07
  16  13.3536
  17  3.74105e-06
  18  11.522
  19  0.336618
  20  0.126937
Done.

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

Extracting fit parameters...

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  1.217e+00  1.436e+01  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:  9.673e-01  1.269e-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.344e+00  3.366e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/799060/likelihoodResults_479088001_479347201_4FGL_J1018.3-3124_daily_bin925.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) = 6845.8380507
delta logL = 0.0339769948478

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6845.82474844
delta logL = 0.047279250859

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7031       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0981       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3269       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97027       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=   6845.825     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      271 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7041        12.972        .24776E-03   -.51860E-03
   2  alpha         3.0988        1.9205        .46684E-01   -.46217E-04
   3  Normalizat    1.3276        .30671        .37641E-03    .38311E-03
   4  Prefactor     .97004        .12438        .17727E-03    .56346E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.70407
  alpha      = 3.09876
  Normalizat = 1.32757
  Prefactor  = 0.970036
 **********
 **   18 **HESSE 
 **********

 FCN=   6845.825     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7041        9.9976        .99105E-05   -1.5379    
   2  alpha         3.0988        1.6910        .18673E-02    .24185    
   3  Normalizat    1.3276        .30723        .75283E-04   -.82747    
   4  Prefactor     .97004        .12448        .35454E-04   -.93735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10193e-09
Minuit parameter uncertainties:
  1  10.0038
  2  1.87084
  3  0.307654
  4  0.124512
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/799060': 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) = 6845.82474597
delta logL = 0.04728171839

Extracting fit parameters...

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  2.704e+00  1.000e+01  1.000e-04  1.000e+04 ( 1.000e-12)
339        alpha:  3.099e+00  1.871e+00  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:  9.700e-01  1.245e-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.328e+00  3.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/799060/cmap_HighResolution_479088001_479347201_4FGL_J1018.3-3124_daily_bin925.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-05', job_status='DONE', photon_flux_upper_limit='1.44e-07', time_completed='2021-09-01 17:23:39.900861', job_id='799060', GAL2='0.97', fit_tolerance='1e-08', EG2='1.33', EG='1.34', time_epoch_completed='1630542219.9', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='4.73e-02', ts2='0.11', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='925' AND source_name='4FGL J1018.3-3124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 17:23:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 799060: <4FGL_J1018.3-3124_daily_bin925> in cluster <slac> Done

Job <4FGL_J1018.3-3124_daily_bin925> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 17:10:36 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 17:11:45 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:11:45 2021
Terminated at Wed Sep  1 17:23:40 2021
Results reported at Wed Sep  1 17:23:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.3-3124_daily_bin925 154.591 -31.4032 479088001 479347201 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 :                                   678.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            784 sec.

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

