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


Performing analysis on: 4FGL_J1018.3-3124_daily_bin360
RA = 154.591, Dec = -31.4032
tmin = 332640001, tmax = 332899201
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='795836', job_status='RUN', time_executed='2021-09-01 17:05:46.520416', time_epoch_executed='1630541146.52' WHERE source_name='4FGL J1018.3-3124' and cadence='daily' and bin_id='360'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/795836

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/795836/ft1_4FGL_J1018.3-3124_daily_bin360.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/795836/ft2_4FGL_J1018.3-3124_daily_bin360.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/795836/ft1_4FGL_J1018.3-3124_daily_bin360.fits outfile=/scratch/kocevski/795836/ft1_filteredMKT_4FGL_J1018.3-3124_daily_bin360.fits ra=154.591 dec=-31.4032 rad=12.0 tmin=332640001.0 tmax=332899201.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.40
user 3.13
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/795836/ft1_filtered_4FGL_J1018.3-3124_daily_bin360.fits" evtable="EVENTS" scfile=/scratch/kocevski/795836/ft2_4FGL_J1018.3-3124_daily_bin360.fits sctable="SC_DATA" outfile=/scratch/kocevski/795836/ltcube_332640001_332899201_4FGL_J1018.3-3124_daily_bin360.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/795836/ft2_4FGL_J1018.3-3124_daily_bin360.fits
.....................!
real 14.82
user 14.31
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/795836/ft1_filtered_4FGL_J1018.3-3124_daily_bin360.fits evtable="EVENTS" scfile=/scratch/kocevski/795836/ft2_4FGL_J1018.3-3124_daily_bin360.fits sctable="SC_DATA" expcube=/scratch/kocevski/795836/ltcube_332640001_332899201_4FGL_J1018.3-3124_daily_bin360.fits outfile=/scratch/kocevski/795836/expmap_332640001_332899201_4FGL_J1018.3-3124_daily_bin360.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/795836/ltcube_332640001_332899201_4FGL_J1018.3-3124_daily_bin360.fits
.....................!
real 192.08
user 185.55
sys 4.64

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/795836/ft1_filtered_4FGL_J1018.3-3124_daily_bin360.fits scfile=/scratch/kocevski/795836/ft2_4FGL_J1018.3-3124_daily_bin360.fits outfile=/scratch/kocevski/795836/cmap_332640001_332899201_4FGL_J1018.3-3124_daily_bin360.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.60
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/795836/ft1_filtered_4FGL_J1018.3-3124_daily_bin360.fits scfile=/scratch/kocevski/795836/ft2_4FGL_J1018.3-3124_daily_bin360.fits outfile=/scratch/kocevski/795836/cmap_HighResolution_332640001_332899201_4FGL_J1018.3-3124_daily_bin360.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.58
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/795836/ft1_filtered_4FGL_J1018.3-3124_daily_bin360.fits evtable="EVENTS" scfile=/scratch/kocevski/795836/ft2_4FGL_J1018.3-3124_daily_bin360.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/795836/Model_4FGL_J1018.3-3124_daily_bin360.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/795836/ft1_filtered_4FGL_J1018.3-3124_daily_bin360.fits.....................!
real 71.80
user 69.77
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.216       1.0000         .10000E-03   10000.    
     2 'norm      '    6.4327       1.0000         .10000E-03   10000.    
     3 'norm      '    .47005E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    19.676       1.0000         .10000E-03   10000.    
     5 'norm      '    .40095       1.0000         .10000E-03   10000.    
     6 'norm      '    8.4891       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10368E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.4705       1.0000         .10000E-03   10000.    
     9 'norm      '    3.8665       1.0000         .10000E-03   10000.    
    10 'norm      '    29.458       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11341E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .74343E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.0080       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.2313       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10396E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.328       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .85758E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .95083       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0528       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=   6348.395     FROM MIGRAD    STATUS=CONVERGED    449 CALLS     2090 TOTAL
                     EDM=   .77E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.092        46.718        .43548E-05    .88107E-05
   2  norm          6.4214        8.8022       -.22143E-06   -.54765E-04
   3  norm          .10000E-03    73.330        .65962E-05** at limit **
   4  norm          19.674        13.947       -.20684E-07   -.15647E-04
   5  norm          .40081        1.5735        .20497E-06   -.27467E-03
   6  norm          8.4945        12.157        .58608E-06   -.16203E-04
   7  Prefactor     .10000E-03    9.0112        .22470E-07** at limit **
   8  Prefactor     8.4610        17.952        .79803E-07   -.93384E-05
   9  norm          3.8677        9.2763        .11212E-06   -.11766E-04
  10  norm          29.461        13.164       -.11552E-06   -.38058E-04
  11  Prefactor     .10000E-03    18.196        .35824E-06** at limit **
  12  Prefactor     .10000E-03    95.992        .80420E-05** at limit **
  13  norm          3.0045        3.2871        .54400E-06   -.22322E-03
  14  Prefactor     .10000E-03    11.413        .12609E-06** at limit **
  15  Prefactor     3.2275        6.8484       -.26651E-05   -.67183E-04
  16  Prefactor     .10000E-03    8.9982        .14582E-05** at limit **
  17  Prefactor     16.333        10.051        .29541E-06    .84951E-06
  18  Prefactor     .10000E-03    6.3428        .40000E-06** at limit **
  19  Normalizat    .95098        .29095       -.23229E-06   -.14666E-03
  20  Prefactor     1.0528        .11202        .34723E-06   -.38847E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.0919
  norm       = 6.4214
  norm       = 0.000100001
  norm       = 19.6739
  norm       = 0.400812
  norm       = 8.49455
  Prefactor  = 0.0001
  Prefactor  = 8.46097
  norm       = 3.86772
  norm       = 29.461
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 3.00451
  Prefactor  = 0.0001
  Prefactor  = 3.22749
  Prefactor  = 0.0001
  Prefactor  = 16.3329
  Prefactor  = 0.0001
  Normalizat = 0.950979
  Prefactor  = 1.05281
 **********
 **   18 **HESSE 
 **********

 FCN=   6348.395     FROM HESSE     STATUS=OK           303 CALLS     2393 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.092        46.986        .11461E-03   -1.5012    
   2  norm          6.4214        8.7889        .15825E-03   -1.5201    
   3  norm          .10000E-03    74.306        .38573E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          19.674        13.944        .90294E-04   -1.4821    
   5  norm          .40081        2.5766        .17624E-02   -1.5581    
   6  norm          8.4945        12.138        .13759E-03   -1.5125    
   7  Prefactor     .10000E-03    9.0162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.4610        17.909        .13774E-03   -1.5126    
   9  norm          3.8677        9.2254        .20522E-03   -1.5315    
  10  norm          29.461        13.138        .73818E-04   -1.4622    
  11  Prefactor     .10000E-03    18.307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    108.84        .62785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.0045        5.4291        .10875E-02   -1.5361    
  14  Prefactor     .10000E-03    11.438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.2275        7.2209        .22534E-03   -1.5349    
  16  Prefactor     .10000E-03    9.1457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.333        10.068        .99119E-04   -1.4899    
  18  Prefactor     .10000E-03    45.158        .37888E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .95098        .32216        .41674E-03   -.94691    
  20  Prefactor     1.0528        .12672        .16814E-03   -.90989    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30715e-08
Minuit parameter uncertainties:
  1  47.1299
  2  8.79068
  3  0.00047061
  4  13.9463
  5  2.03233
  6  12.1416
  7  1.95367e-06
  8  17.92
  9  9.22875
  10  13.1392
  11  1.13194e-05
  12  0.000587016
  13  5.42998
  14  7.14455e-07
  15  7.2228
  16  1.26999e-05
  17  10.069
  18  0.000283916
  19  0.322822
  20  0.126751
Done.

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

Extracting fit parameters...

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  3.868e+00  9.229e+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

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  1.053e+00  1.268e-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:  9.510e-01  3.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/795836/likelihoodResults_332640001_332899201_4FGL_J1018.3-3124_daily_bin360.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) = 6348.25427509
delta logL = 0.141051418072

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6348.24454234
delta logL = 0.150784169408

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0708       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7964       1.0000          .0000       5.0000    
     3 'Normalizat'    .95618       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0509       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=   6348.245     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      206 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0746        10.092        .44639E-02    .16809E-02
   2  alpha         1.7972        1.0573        .43429       -.45680E-05
   3  Normalizat    .95648        .25815        .93837E-01   -.14769E-03
   4  Prefactor     1.0508        .10966        .39855E-01   -.41458E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.07463
  alpha      = 1.79725
  Normalizat = 0.95648
  Prefactor  = 1.05081
 **********
 **   18 **HESSE 
 **********

 FCN=   6348.245     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0746        9.0328        .89279E-03   -1.5257    
   2  alpha         1.7972        1.0829        .30621E-01   -.28494    
   3  Normalizat    .95648        .28987        .41566E-03   -.94503    
   4  Prefactor     1.0508        .12348        .16825E-03   -.91055    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.70501e-10
Minuit parameter uncertainties:
  1  9.03522
  2  1.12356
  3  0.290347
  4  0.123513
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/795836': 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) = 6348.2445414
delta logL = 0.150785110342

Extracting fit parameters...

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  5.075e+00  9.035e+00  1.000e-04  1.000e+04 ( 1.000e-12)
339        alpha:  1.797e+00  1.124e+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:  1.051e+00  1.235e-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:  9.565e-01  2.903e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/795836/cmap_HighResolution_332640001_332899201_4FGL_J1018.3-3124_daily_bin360.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.79e-05', job_status='DONE', photon_flux_upper_limit='1.29e-07', time_completed='2021-09-01 17:16:23.669984', job_id='795836', GAL2='1.05', fit_tolerance='1e-08', EG2='0.96', EG='0.95', time_epoch_completed='1630541783.67', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.51e-01', ts2='0.55', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='360' AND source_name='4FGL J1018.3-3124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 17:16:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0187>
Subject: Job 795836: <4FGL_J1018.3-3124_daily_bin360> in cluster <slac> Done

Job <4FGL_J1018.3-3124_daily_bin360> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 17:01:06 2021
Job was executed on host(s) <bullet0187>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 17:02:17 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:02:17 2021
Terminated at Wed Sep  1 17:16:24 2021
Results reported at Wed Sep  1 17:16:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.3-3124_daily_bin360 154.591 -31.4032 332640001 332899201 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 :                                   630.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             246.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   846 sec.
    Turnaround time :                            918 sec.

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

