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


Performing analysis on: 4FGL_J0206.4-1151_daily_bin1601
RA = 31.6018, Dec = -11.8576
tmin = 654307201, tmax = 654566401
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='539586', job_status='RUN', time_executed='2021-09-29 00:07:06.577441', time_epoch_executed='1632899226.58' WHERE source_name='4FGL J0206.4-1151' and cadence='daily' and bin_id='1601'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/539586

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/539586/ft1_4FGL_J0206.4-1151_daily_bin1601.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/539586/ft2_4FGL_J0206.4-1151_daily_bin1601.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/539586/ft1_4FGL_J0206.4-1151_daily_bin1601.fits outfile=/scratch/kocevski/539586/ft1_filteredMKT_4FGL_J0206.4-1151_daily_bin1601.fits ra=31.6018 dec=-11.8576 rad=12.0 tmin=654307201.0 tmax=654566401.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.21
user 4.01
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/539586/ft2_4FGL_J0206.4-1151_daily_bin1601.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/539586/ft2_4FGL_J0206.4-1151_daily_bin1601.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/539586/ft1_filteredMKT_4FGL_J0206.4-1151_daily_bin1601.fits evtable="EVENTS" outfile="/scratch/kocevski/539586/ft1_filtered_4FGL_J0206.4-1151_daily_bin1601.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/539586/ft1_filtered_4FGL_J0206.4-1151_daily_bin1601.fits" evtable="EVENTS" scfile=/scratch/kocevski/539586/ft2_4FGL_J0206.4-1151_daily_bin1601.fits sctable="SC_DATA" outfile=/scratch/kocevski/539586/ltcube_654307201_654566401_4FGL_J0206.4-1151_daily_bin1601.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/539586/ft2_4FGL_J0206.4-1151_daily_bin1601.fits
.....................!
real 11.77
user 11.39
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/539586/ft1_filtered_4FGL_J0206.4-1151_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/539586/ft2_4FGL_J0206.4-1151_daily_bin1601.fits sctable="SC_DATA" expcube=/scratch/kocevski/539586/ltcube_654307201_654566401_4FGL_J0206.4-1151_daily_bin1601.fits outfile=/scratch/kocevski/539586/expmap_654307201_654566401_4FGL_J0206.4-1151_daily_bin1601.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/539586/ltcube_654307201_654566401_4FGL_J0206.4-1151_daily_bin1601.fits
.....................!
real 190.57
user 185.39
sys 4.76

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 181 point sources and 0 extended sources

Setting source of interest to:
4FGL J0206.4-1151 @ 31.6018 -11.8576

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/539586/ft1_filtered_4FGL_J0206.4-1151_daily_bin1601.fits scfile=/scratch/kocevski/539586/ft2_4FGL_J0206.4-1151_daily_bin1601.fits outfile=/scratch/kocevski/539586/cmap_654307201_654566401_4FGL_J0206.4-1151_daily_bin1601.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=31.6018 yref=-11.8576 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/539586/ft1_filtered_4FGL_J0206.4-1151_daily_bin1601.fits scfile=/scratch/kocevski/539586/ft2_4FGL_J0206.4-1151_daily_bin1601.fits outfile=/scratch/kocevski/539586/cmap_HighResolution_654307201_654566401_4FGL_J0206.4-1151_daily_bin1601.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=31.6018 yref=-11.8576 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/539586/ft1_filtered_4FGL_J0206.4-1151_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/539586/ft2_4FGL_J0206.4-1151_daily_bin1601.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/539586/Model_4FGL_J0206.4-1151_daily_bin1601.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/539586/ft1_filtered_4FGL_J0206.4-1151_daily_bin1601.fits.....................!
real 41.37
user 40.14
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/539586/ft1_filtered_4FGL_J0206.4-1151_daily_bin1601.fits', '/scratch/kocevski/539586/ft2_4FGL_J0206.4-1151_daily_bin1601.fits', expMap='/scratch/kocevski/539586/expmap_654307201_654566401_4FGL_J0206.4-1151_daily_bin1601.fits', expCube='/scratch/kocevski/539586/ltcube_654307201_654566401_4FGL_J0206.4-1151_daily_bin1601.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/539586/Model_4FGL_J0206.4-1151_daily_bin1601.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0206.4-1151'

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  3.081e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
286        Index:  2.399e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  7.401e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/539586/ft1_filtered_4FGL_J0206.4-1151_daily_bin1601.fits
Spacecraft file(s): /scratch/kocevski/539586/ft2_4FGL_J0206.4-1151_daily_bin1601.fits
Exposure map: /scratch/kocevski/539586/expmap_654307201_654566401_4FGL_J0206.4-1151_daily_bin1601.fits
Exposure cube: /scratch/kocevski/539586/ltcube_654307201_654566401_4FGL_J0206.4-1151_daily_bin1601.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/539586/Model_4FGL_J0206.4-1151_daily_bin1601.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) = 3759.80036516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    40.030       1.0000         .10000E-03   10000.    
     3 'norm      '    1.8734       1.0000         .10000E-03   10000.    
     4 'norm      '    12.729       1.0000         .10000E-03   10000.    
     5 'Prefactor '    38.154       1.0000         .10000E-03   10000.    
     6 'norm      '    4.5053       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.577       1.0000         .10000E-03   10000.    
    12 'norm      '    118.24       1.0000         .10000E-03   10000.    
    13 'Prefactor '    66.600       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13675E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.695       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .84445       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .94567       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3759.798     FROM MIGRAD    STATUS=CONVERGED    316 CALLS     1832 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.5352       -.13072E-05** at limit **
   2  norm          40.038        39.508        .10108E-04    .94738E-04
   3  norm          1.8741        2.0239       -.21308E-05   -.47711E-03
   4  norm          12.731        9.4730        .34272E-05    .24706E-03
   5  Prefactor     37.904        110.55       -.39697E-03    .57900E-04
   6  norm          4.5059        2.7120       -.14681E-05    .59577E-04
   7  Prefactor     .10000E-03    1.5720       -.17307E-06** at limit **
   8  Prefactor     .10000E-03    4.9242       -.87605E-06** at limit **
   9  Prefactor     .10000E-03    4.2187       -.23711E-06** at limit **
  10  Prefactor     .10000E-03    6.3915        .16108E-05** at limit **
  11  Prefactor     23.577        25.139       -.98969E-06    .32973E-04
  12  norm          118.24        74.814       -.30063E-05   -.22153E-05
  13  Prefactor     66.621        71.777        .23529E-04    .26233E-04
  14  Prefactor     .10000E-03    30.137        .44233E-05** at limit **
  15  Prefactor     23.668        19.024       -.23474E-04    .40528E-04
  16  Normalizat    .84426        .22670        .15170E-04    .98822E-05
  17  Prefactor     .94568        .21925        .11702E-04    .10868E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 40.0382
  norm       = 1.87414
  norm       = 12.7315
  Prefactor  = 37.9036
  norm       = 4.50585
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 23.5775
  norm       = 118.236
  Prefactor  = 66.621
  Prefactor  = 0.0001
  Prefactor  = 23.6679
  Normalizat = 0.844265
  Prefactor  = 0.945682
 **********
 **   18 **HESSE 
 **********

 FCN=   3759.798     FROM HESSE     STATUS=OK           223 CALLS     2055 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.5594        .16437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          40.038        39.551        .63354E-04   -1.4442    
   3  norm          1.8741        2.0177        .84832E-04   -1.5434    
   4  norm          12.731        9.4711        .11227E-03   -1.4994    
   5  Prefactor     37.904        110.81        .32444E-03   -1.4476    
   6  norm          4.5059        2.7134        .74699E-04   -1.5283    
   7  Prefactor     .10000E-03    1.5828        .75068E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.9279        .13288E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.2290        .12299E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.3977        .15117E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     23.577        25.151        .82494E-04   -1.4736    
  12  norm          118.24        74.712        .18503E-03   -1.3529    
  13  Prefactor     66.621        71.886        .49180E-04   -1.4074    
  14  Prefactor     .10000E-03    30.902        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     23.668        19.090        .82289E-04   -1.4735    
  16  Normalizat    .84426        .26674        .25132E-03   -.98447    
  17  Prefactor     .94568        .25760        .24361E-03   -.94563    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.19041e-10
Minuit parameter uncertainties:
  1  0.000157371
  2  39.5765
  3  2.01777
  4  9.47217
  5  111.417
  6  2.71351
  7  2.29796e-05
  8  2.86363e-05
  9  9.00493e-05
  10  0.000148446
  11  25.1618
  12  74.7713
  13  71.9804
  14  9.49339e-06
  15  19.0945
  16  0.26716
  17  0.257938
Done.

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

Extracting fit parameters...

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  2.298e-05  1.000e-04  1.000e+04 ( 1.000e-12)
286        Index:  2.399e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  7.401e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.457e-01  2.579e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  8.443e-01  2.672e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 31.602 -11.858
Photon Flux Upper Limit: 6.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/539586/likelihoodResults_654307201_654566401_4FGL_J0206.4-1151_daily_bin1601.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) = 3759.80053025
delta logL = -0.00295099454797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3759.79757928
delta logL = -2.1477262635e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10245E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3748       1.0000          .0000       10.000    
     3 'Normalizat'    .84421       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94577       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3759.798     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      221 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.744        .33311E-01** at limit **
   2  Index         1.4049        5.6974        .50000       -.11012E-05
   3  Normalizat    .84427        .13138E-01    .44185E-01    .55668E-04
   4  Prefactor     .94568        .13485E-01    .45586E-01    .21380E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 1.40487
  Normalizat = 0.844267
  Prefactor  = 0.94568
 **********
 **   18 **HESSE 
 **********

 FCN=   3759.798     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      256 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    481.15        .17634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4049        5.5667        .50000       -.80240    
   3  Normalizat    .84427        .55070E-01    .25131E-03   -.98447    
   4  Prefactor     .94568        .56553E-01    .24361E-03   -.94563    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.01694e-10
Minuit parameter uncertainties:
  1  0.00151532
  2  501.172
  3  0.0550739
  4  0.0565566
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/539586': 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): 102
logL (Free Index) = 3759.79755675
delta logL = 2.2509198061e-05

Extracting fit parameters...

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  1.515e-03  1.000e-04  1.000e+04 ( 1.000e-12)
286        Index:  1.405e+00  5.012e+02  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  7.401e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.457e-01  5.656e-02  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  8.443e-01  5.507e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 31.602 -11.858

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/539586/cmap_HighResolution_654307201_654566401_4FGL_J0206.4-1151_daily_bin1601.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.97e-03', job_status='DONE', photon_flux_upper_limit='6.43e-08', time_completed='2021-09-29 00:14:50.356238', job_id='539586', GAL2='0.95', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1632899690.36', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.25e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1601' AND source_name='4FGL J0206.4-1151' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 00:14:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 539586: <4FGL_J0206.4-1151_daily_bin1601> in cluster <slac> Done

Job <4FGL_J0206.4-1151_daily_bin1601> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 00:05:16 2021
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 00:05:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 00:05:18 2021
Terminated at Wed Sep 29 00:14:51 2021
Results reported at Wed Sep 29 00:14:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0206.4-1151_daily_bin1601 31.6018 -11.8576 654307201 654566401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0206.4-1151 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   466.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             228.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   572 sec.
    Turnaround time :                            575 sec.

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

