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


Performing analysis on: 4FGL_J1018.3-3124_daily_bin1436
RA = 154.591, Dec = -31.4032
tmin = 611539201, tmax = 611798401
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='802048', job_status='RUN', time_executed='2021-09-01 17:22:07.061221', time_epoch_executed='1630542127.06' WHERE source_name='4FGL J1018.3-3124' and cadence='daily' and bin_id='1436'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/802048

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/802048/ft1_4FGL_J1018.3-3124_daily_bin1436.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/802048/ft2_4FGL_J1018.3-3124_daily_bin1436.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/802048/ft1_4FGL_J1018.3-3124_daily_bin1436.fits outfile=/scratch/kocevski/802048/ft1_filteredMKT_4FGL_J1018.3-3124_daily_bin1436.fits ra=154.591 dec=-31.4032 rad=12.0 tmin=611539201.0 tmax=611798401.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.55
user 3.28
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/802048/ft1_filtered_4FGL_J1018.3-3124_daily_bin1436.fits" evtable="EVENTS" scfile=/scratch/kocevski/802048/ft2_4FGL_J1018.3-3124_daily_bin1436.fits sctable="SC_DATA" outfile=/scratch/kocevski/802048/ltcube_611539201_611798401_4FGL_J1018.3-3124_daily_bin1436.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/802048/ft2_4FGL_J1018.3-3124_daily_bin1436.fits
.....................!
real 15.32
user 14.86
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/802048/ft1_filtered_4FGL_J1018.3-3124_daily_bin1436.fits evtable="EVENTS" scfile=/scratch/kocevski/802048/ft2_4FGL_J1018.3-3124_daily_bin1436.fits sctable="SC_DATA" expcube=/scratch/kocevski/802048/ltcube_611539201_611798401_4FGL_J1018.3-3124_daily_bin1436.fits outfile=/scratch/kocevski/802048/expmap_611539201_611798401_4FGL_J1018.3-3124_daily_bin1436.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/802048/ltcube_611539201_611798401_4FGL_J1018.3-3124_daily_bin1436.fits
.....................!
real 192.33
user 186.54
sys 5.25

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/802048/ft1_filtered_4FGL_J1018.3-3124_daily_bin1436.fits scfile=/scratch/kocevski/802048/ft2_4FGL_J1018.3-3124_daily_bin1436.fits outfile=/scratch/kocevski/802048/cmap_611539201_611798401_4FGL_J1018.3-3124_daily_bin1436.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/802048/ft1_filtered_4FGL_J1018.3-3124_daily_bin1436.fits scfile=/scratch/kocevski/802048/ft2_4FGL_J1018.3-3124_daily_bin1436.fits outfile=/scratch/kocevski/802048/cmap_HighResolution_611539201_611798401_4FGL_J1018.3-3124_daily_bin1436.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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/802048/ft1_filtered_4FGL_J1018.3-3124_daily_bin1436.fits evtable="EVENTS" scfile=/scratch/kocevski/802048/ft2_4FGL_J1018.3-3124_daily_bin1436.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/802048/Model_4FGL_J1018.3-3124_daily_bin1436.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/802048/ft1_filtered_4FGL_J1018.3-3124_daily_bin1436.fits.....................!
real 77.73
user 76.27
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.3904       1.0000         .10000E-03   10000.    
     4 'norm      '    4.1590       1.0000         .10000E-03   10000.    
     5 'norm      '    10.031       1.0000         .10000E-03   10000.    
     6 'norm      '    2.9538       1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.532       1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.915       1.0000         .10000E-03   10000.    
     9 'norm      '    2.1898       1.0000         .10000E-03   10000.    
    10 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.785       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.5660       1.0000         .10000E-03   10000.    
    13 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12771E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13853E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.1532       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.5996       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.2341       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .89483       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0701       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=   7094.956     FROM MIGRAD    STATUS=CONVERGED    417 CALLS     2116 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.954       -.93869E-08** at limit **
   2  norm          .10000E-03    3.4265       -.55892E-08** at limit **
   3  norm          4.3953        15.028        .48891E-05   -.83493E-04
   4  norm          4.1589        6.9303       -.65177E-06   -.10786E-03
   5  norm          10.030        2.6821       -.12736E-06   -.12692E-02
   6  norm          2.9532        6.4901        .59494E-05   -.26355E-03
   7  Prefactor     22.396        34.881       -.37281E-05   -.37427E-04
   8  Prefactor     29.926        19.832        .34197E-05   -.40529E-04
   9  norm          2.1825        8.4985        .25656E-05   -.35341E-03
  10  norm          .10000E-03    9.9712       -.24185E-06** at limit **
  11  Prefactor     33.771        22.954        .60918E-05   -.93968E-04
  12  Prefactor     4.5587        17.388       -.29834E-05   -.18375E-03
  13  norm          .10000E-03    1.3151       -.18599E-07** at limit **
  14  Prefactor     .10001E-03    49.647        .11174E-07** at limit **
  15  Prefactor     .10001E-03    3.3339        .14941E-05** at limit **
  16  Prefactor     5.1425        13.252       -.11472E-04   -.27220E-03
  17  Prefactor     7.5970        7.6076       -.56364E-06   -.12856E-03
  18  Prefactor     7.2322        10.906       -.14623E-05   -.53074E-04
  19  Normalizat    .89585        .28624        .12772E-05   -.20716E-03
  20  Prefactor     1.0698        .11136       -.66785E-06   -.17302E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.39527
  norm       = 4.1589
  norm       = 10.0298
  norm       = 2.95321
  Prefactor  = 22.3956
  Prefactor  = 29.9262
  norm       = 2.18247
  norm       = 0.0001
  Prefactor  = 33.7714
  Prefactor  = 4.55868
  norm       = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.000100006
  Prefactor  = 5.14248
  Prefactor  = 7.59703
  Prefactor  = 7.23218
  Normalizat = 0.895847
  Prefactor  = 1.06976
 **********
 **   18 **HESSE 
 **********

 FCN=   7094.956     FROM HESSE     STATUS=OK           297 CALLS     2413 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.4541        .15225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.3953        14.990        .19221E-03   -1.5289    
   4  norm          4.1589        6.9232        .19764E-03   -1.5300    
   5  norm          10.030        2.6884        .34147E-03   -1.5074    
   6  norm          2.9532        6.3711        .23629E-03   -1.5364    
   7  Prefactor     22.396        34.886        .84384E-04   -1.4761    
   8  Prefactor     29.926        19.816        .73253E-04   -1.4613    
   9  norm          2.1825        8.3965        .27813E-03   -1.5412    
  10  norm          .10000E-03    10.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     33.771        22.876        .68941E-04   -1.4545    
  12  Prefactor     4.5587        17.062        .18839E-03   -1.5281    
  13  norm          .10000E-03    1.3167        .94240E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    50.504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    6.8025        .28637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.1425        13.379        .17710E-03   -1.5254    
  17  Prefactor     7.5970        7.6116        .14547E-03   -1.5157    
  18  Prefactor     7.2322        10.903        .14913E-03   -1.5170    
  19  Normalizat    .89585        .32398        .43651E-03   -.96606    
  20  Prefactor     1.0698        .12725        .16885E-03   -.90439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10296e-09
Minuit parameter uncertainties:
  1  9.74165e-07
  2  7.28133e-07
  3  15.003
  4  6.92457
  5  2.68848
  6  6.37252
  7  34.9175
  8  19.8206
  9  8.40106
  10  3.34889e-05
  11  22.8824
  12  17.0801
  13  5.47638e-07
  14  0.00126515
  15  0.000399182
  16  13.3864
  17  7.61257
  18  10.9057
  19  0.324691
  20  0.127283
Done.

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

Extracting fit parameters...

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  2.182e+00  8.401e+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.070e+00  1.273e-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.958e-01  3.247e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/802048/likelihoodResults_611539201_611798401_4FGL_J1018.3-3124_daily_bin1436.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.73236973
delta logL = 0.223650510262

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7094.7257803
delta logL = 0.230239938948

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .43718       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .83594       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0865       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=   7094.726     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      397 TOTAL
                     EDM=   .97E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .43720        .75991        .79300E-03    .30869E-03
   2  alpha         5.0000        4.0833        .50000    ** at limit **
   3  Normalizat    .83627        .30729        .45044E-03    .69785E-04
   4  Prefactor     1.0863        .12618        .16771E-03   -.61349E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.437201
  alpha      = 5
  Normalizat = 0.836266
  Prefactor  = 1.08633
 **********
 **   18 **HESSE 
 **********

 FCN=   7094.726     FROM HESSE     STATUS=OK            31 CALLS      428 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .43720        .71839        .31720E-04   -1.5576    
   2  alpha         5.0000        3.9644        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .83627        .30795        .18018E-04   -.98737    
   4  Prefactor     1.0863        .12635        .67083E-05   -.89905    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.97435e-11
Minuit parameter uncertainties:
  1  0.718401
  2  6.90069e-06
  3  0.3086
  4  0.126381
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/802048': 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.72577931
delta logL = 0.230240936985

Extracting fit parameters...

4FGL J1018.3-3124
   Spectrum: LogParabola
338         norm:  4.372e-01  7.184e-01  1.000e-04  1.000e+04 ( 1.000e-12)
339        alpha:  5.000e+00  6.901e-06  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.086e+00  1.264e-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.363e-01  3.086e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
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/802048/cmap_HighResolution_611539201_611798401_4FGL_J1018.3-3124_daily_bin1436.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.27e-05', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2021-09-01 17:33:39.186234', job_id='802048', GAL2='1.09', fit_tolerance='1e-08', EG2='0.84', EG='0.90', time_epoch_completed='1630542819.19', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.30e-01', ts2='0.59', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1436' AND source_name='4FGL J1018.3-3124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 17:33:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 802048: <4FGL_J1018.3-3124_daily_bin1436> in cluster <slac> Done

Job <4FGL_J1018.3-3124_daily_bin1436> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Sep  1 17:20:38 2021
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 17:21:06 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:21:06 2021
Terminated at Wed Sep  1 17:33:39 2021
Results reported at Wed Sep  1 17:33:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.3-3124_daily_bin1436 154.591 -31.4032 611539201 611798401 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 :                                   688.45 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             325.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   753 sec.
    Turnaround time :                            781 sec.

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

