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


Performing analysis on: 4FGL_J0206.4-1151_daily_bin1096
RA = 31.6018, Dec = -11.8576
tmin = 523411201, tmax = 523670401
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='127593', job_status='RUN', time_executed='2021-08-15 08:01:37.164183', time_epoch_executed='1629039697.16' WHERE source_name='4FGL J0206.4-1151' and cadence='daily' and bin_id='1096'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/127593

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/127593/ft1_4FGL_J0206.4-1151_daily_bin1096.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/127593/ft2_4FGL_J0206.4-1151_daily_bin1096.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/127593/ft1_4FGL_J0206.4-1151_daily_bin1096.fits outfile=/scratch/kocevski/127593/ft1_filteredMKT_4FGL_J0206.4-1151_daily_bin1096.fits ra=31.6018 dec=-11.8576 rad=12.0 tmin=523411201.0 tmax=523670401.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 5.89
user 3.34
sys 2.50

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/127593/ft2_4FGL_J0206.4-1151_daily_bin1096.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/127593/ft1_filteredMKT_4FGL_J0206.4-1151_daily_bin1096.fits evtable="EVENTS" outfile="/scratch/kocevski/127593/ft1_filtered_4FGL_J0206.4-1151_daily_bin1096.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 2.65
user 0.35
sys 2.26

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/127593/ft1_filtered_4FGL_J0206.4-1151_daily_bin1096.fits" evtable="EVENTS" scfile=/scratch/kocevski/127593/ft2_4FGL_J0206.4-1151_daily_bin1096.fits sctable="SC_DATA" outfile=/scratch/kocevski/127593/ltcube_523411201_523670401_4FGL_J0206.4-1151_daily_bin1096.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/127593/ft2_4FGL_J0206.4-1151_daily_bin1096.fits
.....................!
real 16.19
user 13.44
sys 2.70

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/127593/ft1_filtered_4FGL_J0206.4-1151_daily_bin1096.fits evtable="EVENTS" scfile=/scratch/kocevski/127593/ft2_4FGL_J0206.4-1151_daily_bin1096.fits sctable="SC_DATA" expcube=/scratch/kocevski/127593/ltcube_523411201_523670401_4FGL_J0206.4-1151_daily_bin1096.fits outfile=/scratch/kocevski/127593/expmap_523411201_523670401_4FGL_J0206.4-1151_daily_bin1096.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/127593/ltcube_523411201_523670401_4FGL_J0206.4-1151_daily_bin1096.fits
.....................!
real 194.51
user 186.13
sys 7.87

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/127593/ft1_filtered_4FGL_J0206.4-1151_daily_bin1096.fits scfile=/scratch/kocevski/127593/ft2_4FGL_J0206.4-1151_daily_bin1096.fits outfile=/scratch/kocevski/127593/cmap_523411201_523670401_4FGL_J0206.4-1151_daily_bin1096.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 2.87
user 0.40
sys 2.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/127593/ft1_filtered_4FGL_J0206.4-1151_daily_bin1096.fits scfile=/scratch/kocevski/127593/ft2_4FGL_J0206.4-1151_daily_bin1096.fits outfile=/scratch/kocevski/127593/cmap_HighResolution_523411201_523670401_4FGL_J0206.4-1151_daily_bin1096.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 2.65
user 0.38
sys 2.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/127593/ft1_filtered_4FGL_J0206.4-1151_daily_bin1096.fits evtable="EVENTS" scfile=/scratch/kocevski/127593/ft2_4FGL_J0206.4-1151_daily_bin1096.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/127593/Model_4FGL_J0206.4-1151_daily_bin1096.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/127593/ft1_filtered_4FGL_J0206.4-1151_daily_bin1096.fits.....................!
real 52.39
user 47.81
sys 4.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/127593/ft1_filtered_4FGL_J0206.4-1151_daily_bin1096.fits', '/scratch/kocevski/127593/ft2_4FGL_J0206.4-1151_daily_bin1096.fits', expMap='/scratch/kocevski/127593/expmap_523411201_523670401_4FGL_J0206.4-1151_daily_bin1096.fits', expCube='/scratch/kocevski/127593/ltcube_523411201_523670401_4FGL_J0206.4-1151_daily_bin1096.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/127593/Model_4FGL_J0206.4-1151_daily_bin1096.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/127593/ft1_filtered_4FGL_J0206.4-1151_daily_bin1096.fits
Spacecraft file(s): /scratch/kocevski/127593/ft2_4FGL_J0206.4-1151_daily_bin1096.fits
Exposure map: /scratch/kocevski/127593/expmap_523411201_523670401_4FGL_J0206.4-1151_daily_bin1096.fits
Exposure cube: /scratch/kocevski/127593/ltcube_523411201_523670401_4FGL_J0206.4-1151_daily_bin1096.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/127593/Model_4FGL_J0206.4-1151_daily_bin1096.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) = 5082.9098873

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10311E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.3585       1.0000         .10000E-03   10000.    
     4 'norm      '    15.726       1.0000         .10000E-03   10000.    
     5 'Prefactor '    24.067       1.0000         .10000E-03   10000.    
     6 'norm      '    .21071       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    24.391       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.1056       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .64290E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    42.675       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.0351       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.910       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .57100       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2041       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=   5082.891     FROM MIGRAD    STATUS=CONVERGED    338 CALLS     1618 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.0926       -.41887E-06** at limit **
   2  norm          .10000E-03    40.942        .28656E-05** at limit **
   3  norm          1.3587        1.2731        .10277E-06    .34049E-04
   4  norm          15.726        6.6789        .13884E-06   -.75434E-04
   5  Prefactor     24.069        57.279       -.35982E-06   -.34399E-04
   6  norm          .21122        1.2079        .47681E-06    .14416E-03
   7  Prefactor     .10000E-03    1.8317        .50844E-07** at limit **
   8  Prefactor     24.391        14.513        .30850E-07   -.10447E-03
   9  Prefactor     4.1058        6.9892       -.76259E-06    .43645E-03
  10  Prefactor     .10001E-03    32.383        .86223E-05** at limit **
  11  Prefactor     .10000E-03    7.6427        .12598E-06** at limit **
  12  norm          42.647        41.580       -.56056E-06    .44206E-04
  13  Prefactor     .10000E-03    13.197        .11957E-05** at limit **
  14  Prefactor     1.0164        12.057        .22234E-05    .10690E-03
  15  Prefactor     16.910        12.279        .24737E-06   -.11475E-04
  16  Normalizat    .57091        .17158       -.15247E-05   -.48614E-03
  17  Prefactor     1.2041        .18044       -.56922E-06   -.57863E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.000100003
  norm       = 1.35875
  norm       = 15.7265
  Prefactor  = 24.0685
  norm       = 0.211224
  Prefactor  = 0.0001
  Prefactor  = 24.3915
  Prefactor  = 4.10582
  Prefactor  = 0.000100012
  Prefactor  = 0.0001
  norm       = 42.6472
  Prefactor  = 0.0001
  Prefactor  = 1.01638
  Prefactor  = 16.9097
  Normalizat = 0.570912
  Prefactor  = 1.20407
 **********
 **   18 **HESSE 
 **********

 FCN=   5082.891     FROM HESSE     STATUS=OK           225 CALLS     1843 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.2814        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    42.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.3587        1.2585        .74343E-04   -1.5475    
   4  norm          15.726        6.6838        .10100E-03   -1.4915    
   5  Prefactor     24.069        57.252        .81653E-04   -1.4726    
   6  norm          .21122        2.1770        .14656E-02   -1.5616    
   7  Prefactor     .10000E-03    1.8595        .94201E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     24.391        14.506        .81108E-04   -1.4720    
   9  Prefactor     4.1058        7.2311        .99479E-03   -1.5303    
  10  Prefactor     .10001E-03    34.711        .37205E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.6484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          42.647        42.056        .61367E-04   -1.4401    
  13  Prefactor     .10000E-03    13.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.0164        30.492        .43320E-02   -1.5506    
  15  Prefactor     16.910        12.245        .97398E-04   -1.4885    
  16  Normalizat    .57091        .19787        .27194E-03   -1.0923    
  17  Prefactor     1.2041        .20773        .20972E-03   -.86206    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17544e-09
Minuit parameter uncertainties:
  1  2.46956e-05
  2  0.000741515
  3  1.25857
  4  6.68414
  5  57.3829
  6  1.35595
  7  6.98853e-06
  8  14.508
  9  7.23266
  10  0.00126723
  11  1.58704e-05
  12  42.0849
  13  0.000155393
  14  11.1396
  15  12.2466
  16  0.198118
  17  0.207875
Done.

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

Extracting fit parameters...

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  6.989e-06  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:  1.204e+00  2.079e-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:  5.709e-01  1.981e-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.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/127593/likelihoodResults_523411201_523670401_4FGL_J0206.4-1151_daily_bin1096.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) = 5082.89361768
delta logL = -0.00254867659442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5082.89107343
delta logL = -4.42923828814e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12279E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3628       1.0000          .0000       10.000    
     3 'Normalizat'    .57089       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2041       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5082.891     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      252 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.255        .99680E-02** at limit **
   2  Index         1.8524        5.0864        .50000       -.17653E-06
   3  Normalizat    .57091        .76420E-02    .27194E-03   -.26325E-03
   4  Prefactor     1.2041        .83543E-02    .20972E-03   -.31923E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.85239
  Normalizat = 0.570913
  Prefactor  = 1.20407
 **********
 **   18 **HESSE 
 **********

 FCN=   5082.891     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      281 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    366.38        .24582E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8524        5.3107        .50000       -.68094    
   3  Normalizat    .57091        .51031E-01    .10878E-04   -1.0923    
   4  Prefactor     1.2041        .55788E-01    .41943E-04   -.86206    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.30112e-09
Minuit parameter uncertainties:
  1  0.000244992
  2  593.333
  3  0.0510348
  4  0.0557911
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/127593': 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) = 5082.89105775
delta logL = 1.125009112e-05

Extracting fit parameters...

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  2.450e-04  1.000e-04  1.000e+04 ( 1.000e-12)
286        Index:  1.852e+00  5.933e+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:  1.204e+00  5.579e-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:  5.709e-01  5.103e-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/127593/cmap_HighResolution_523411201_523670401_4FGL_J0206.4-1151_daily_bin1096.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.64e-03', job_status='DONE', photon_flux_upper_limit='6.00e-08', time_completed='2021-08-15 08:10:52.058738', job_id='127593', GAL2='1.20', fit_tolerance='1e-08', EG2='0.57', EG='0.57', time_epoch_completed='1629040252.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='1.13e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1096' AND source_name='4FGL J0206.4-1151' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 08:10:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0010>
Subject: Job 127593: <4FGL_J0206.4-1151_daily_bin1096> in cluster <slac> Done

Job <4FGL_J0206.4-1151_daily_bin1096> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Aug 15 07:55:42 2021
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 08:00:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 08:00:25 2021
Terminated at Sun Aug 15 08:10:53 2021
Results reported at Sun Aug 15 08:10:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0206.4-1151_daily_bin1096 31.6018 -11.8576 523411201 523670401 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 :                                   583.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   627 sec.
    Turnaround time :                            911 sec.

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

