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


Performing analysis on: 4FGL_J0206.4-1151_daily_bin1433
RA = 31.6018, Dec = -11.8576
tmin = 610761601, tmax = 611020801
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='130412', job_status='RUN', time_executed='2021-08-15 08:07:11.224992', time_epoch_executed='1629040031.23' WHERE source_name='4FGL J0206.4-1151' and cadence='daily' and bin_id='1433'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/130412

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/130412/ft1_4FGL_J0206.4-1151_daily_bin1433.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/130412/ft2_4FGL_J0206.4-1151_daily_bin1433.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/130412/ft1_4FGL_J0206.4-1151_daily_bin1433.fits outfile=/scratch/kocevski/130412/ft1_filteredMKT_4FGL_J0206.4-1151_daily_bin1433.fits ra=31.6018 dec=-11.8576 rad=12.0 tmin=610761601.0 tmax=611020801.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.13
user 3.34
sys 1.74

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/130412/ft1_filtered_4FGL_J0206.4-1151_daily_bin1433.fits" evtable="EVENTS" scfile=/scratch/kocevski/130412/ft2_4FGL_J0206.4-1151_daily_bin1433.fits sctable="SC_DATA" outfile=/scratch/kocevski/130412/ltcube_610761601_611020801_4FGL_J0206.4-1151_daily_bin1433.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/130412/ft2_4FGL_J0206.4-1151_daily_bin1433.fits
.....................!
real 15.79
user 13.68
sys 2.04

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/130412/ft1_filtered_4FGL_J0206.4-1151_daily_bin1433.fits evtable="EVENTS" scfile=/scratch/kocevski/130412/ft2_4FGL_J0206.4-1151_daily_bin1433.fits sctable="SC_DATA" expcube=/scratch/kocevski/130412/ltcube_610761601_611020801_4FGL_J0206.4-1151_daily_bin1433.fits outfile=/scratch/kocevski/130412/expmap_610761601_611020801_4FGL_J0206.4-1151_daily_bin1433.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/130412/ltcube_610761601_611020801_4FGL_J0206.4-1151_daily_bin1433.fits
.....................!
real 195.29
user 186.38
sys 7.84

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/130412/ft1_filtered_4FGL_J0206.4-1151_daily_bin1433.fits scfile=/scratch/kocevski/130412/ft2_4FGL_J0206.4-1151_daily_bin1433.fits outfile=/scratch/kocevski/130412/cmap_610761601_611020801_4FGL_J0206.4-1151_daily_bin1433.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.02
user 0.37
sys 1.63

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/130412/ft1_filtered_4FGL_J0206.4-1151_daily_bin1433.fits scfile=/scratch/kocevski/130412/ft2_4FGL_J0206.4-1151_daily_bin1433.fits outfile=/scratch/kocevski/130412/cmap_HighResolution_610761601_611020801_4FGL_J0206.4-1151_daily_bin1433.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.04
user 0.39
sys 1.63

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/130412/ft1_filtered_4FGL_J0206.4-1151_daily_bin1433.fits evtable="EVENTS" scfile=/scratch/kocevski/130412/ft2_4FGL_J0206.4-1151_daily_bin1433.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/130412/Model_4FGL_J0206.4-1151_daily_bin1433.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/130412/ft1_filtered_4FGL_J0206.4-1151_daily_bin1433.fits.....................!
real 54.78
user 51.09
sys 3.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35179E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.8337       1.0000         .10000E-03   10000.    
     4 'norm      '    2.5934       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .29136E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.4529       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.2629       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.2361       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15972E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .59830       1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.102       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1029       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .67234       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=   5296.508     FROM MIGRAD    STATUS=CONVERGED    364 CALLS     1690 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .45858E-01    5.3812        .13347E-05   -.52150E-03
   2  norm          .10000E-03    8.8202        .63966E-07** at limit **
   3  norm          1.8333        1.2606        .59940E-07   -.55585E-04
   4  norm          2.5936        4.0325        .15237E-06   -.12705E-04
   5  Prefactor     .10000E-03    111.31       -.46884E-04** at limit **
   6  norm          3.4529        1.9961       -.24285E-07    .46925E-05
   7  Prefactor     1.2636        3.7887       -.46966E-07   -.79460E-04
   8  Prefactor     1.2179        3.8297        .10250E-05   -.75615E-03
   9  Prefactor     .10000E-03    3.6906       -.31382E-07** at limit **
  10  Prefactor     .10361E-03    7.3540        .19344E-05** at limit **
  11  Prefactor     .10000E-03    4.7553       -.15891E-07** at limit **
  12  norm          .50731        36.124       -.63565E-05    .12263E-03
  13  Prefactor     16.084        39.338        .14267E-04    .84896E-04
  14  Prefactor     .10000E-03    2.6559       -.51942E-08** at limit **
  15  Prefactor     .10000E-03    8.8811       -.13450E-07** at limit **
  16  Normalizat    1.1030        .16367       -.84374E-06    .11031E-03
  17  Prefactor     .67239        .16210       -.40990E-06    .33393E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.045858
  norm       = 0.0001
  norm       = 1.83333
  norm       = 2.59361
  Prefactor  = 0.0001
  norm       = 3.45289
  Prefactor  = 1.26358
  Prefactor  = 1.21792
  Prefactor  = 0.0001
  Prefactor  = 0.000103609
  Prefactor  = 0.0001
  norm       = 0.507307
  Prefactor  = 16.0844
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.10303
  Prefactor  = 0.67239
 **********
 **   18 **HESSE 
 **********

 FCN=   5296.508     FROM HESSE     STATUS=OK           249 CALLS     1939 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .45858E-01    8.7075        .59960E-01   -1.5665    
   2  norm          .10000E-03    8.8329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.8333        1.2571        .64660E-04   -1.5437    
   4  norm          2.5936        4.0210        .17573E-03   -1.5386    
   5  Prefactor     .10000E-03    110.59        .21402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4529        1.9994        .73919E-04   -1.5336    
   7  Prefactor     1.2636        3.7991        .22617E-03   -1.5483    
   8  Prefactor     1.2179        33.230        .20192E-02   -1.5487    
   9  Prefactor     .10000E-03    3.7491        .13650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10361E-03    7.6911        .54262E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.7558        .15500E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .50731        42.836        .12371       -1.5566    
  13  Prefactor     16.084        39.655        .99811E-04   -1.4906    
  14  Prefactor     .10000E-03    2.6581        .11583E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.9877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1030        .19105        .19857E-03   -.89655    
  17  Prefactor     .67239        .18765        .25652E-03   -1.0462    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12324e-08
Minuit parameter uncertainties:
  1  1.26262
  2  3.57297e-06
  3  1.25717
  4  4.02145
  5  0.000147186
  6  1.99944
  7  3.79985
  8  12.7308
  9  1.18376e-05
  10  0.0105381
  11  6.64694e-07
  12  9.32927
  13  39.7205
  14  1.6912e-06
  15  1.44152e-05
  16  0.191168
  17  0.187825
Done.

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

Extracting fit parameters...

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  1.264e+00  3.800e+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

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  6.724e-01  1.878e-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:  1.103e+00  1.912e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/130412/likelihoodResults_610761601_611020801_4FGL_J0206.4-1151_daily_bin1433.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) = 5295.54496398
delta logL = 0.963441533939

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5295.47548313
delta logL = 1.03292238784

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73974       1.0000         .10000E-03   10000.    
     2 'Index     '    3.9501       1.0000          .0000       10.000    
     3 'Normalizat'    1.0308       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71759       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=   5295.475     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      210 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .74038        8.6388        .10266E-01    .11261E-02
   2  Index         3.9492        2.9851        .14274        .13133E-03
   3  Normalizat    1.0308        .39029E-01    .42087E-01   -.22348E-05
   4  Prefactor     .71759        .40445E-01    .42635E-01   -.10414E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.740376
  Index      = 3.9492
  Normalizat = 1.03076
  Prefactor  = 0.717587
 **********
 **   18 **HESSE 
 **********

 FCN=   5295.475     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .74038        2.4987        .46495E-04   -1.5536    
   2  Index         3.9492        1.9231        .51938E-02   -.21174    
   3  Normalizat    1.0308        .18674        .20430E-03   -.92007    
   4  Prefactor     .71759        .18817        .24890E-03   -1.0284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.21732e-11
Minuit parameter uncertainties:
  1  2.49909
  2  1.97649
  3  0.186859
  4  0.188332
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/130412': 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) = 5295.47548244
delta logL = 1.03292307338

Extracting fit parameters...

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  7.404e-01  2.499e+00  1.000e-04  1.000e+04 ( 1.000e-12)
286        Index:  3.949e+00  1.976e+00  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:  7.176e-01  1.883e-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:  1.031e+00  1.869e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.35
Ra Dec: 31.602 -11.858
Photon Index (Free Index): 3.95 +/- 1.98
Photon Flux (Free Index): 6.83e-08 +/- 5.38e-08
Energy Flux (Free Index): 1.03e-05 +/- 8.86e-06

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/130412/cmap_HighResolution_610761601_611020801_4FGL_J0206.4-1151_daily_bin1433.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.82e-03', comment='SUCCESS', energy_flux2='1.03e-05', dlogl='1.03e+00', photon_flux2='6.83e-08', job_status='DONE', time_completed='2021-08-15 08:16:44.821385', photon_index_error2='1.98', photon_index2='3.95', ts='0.14', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='8.82e-08', energy_flux_error2='8.86e-06', EG='1.10', time_epoch_completed='1629040604.82', return_code='0', job_id='130412', GAL2='0.72', EG2='1.03', return_code2='0', photon_flux_error2='5.38e-08', ts2='2.35', photon_index='2.40' WHERE bin_id='1433' AND source_name='4FGL J0206.4-1151' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 08:16:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 130412: <4FGL_J0206.4-1151_daily_bin1433> in cluster <slac> Done

Job <4FGL_J0206.4-1151_daily_bin1433> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Aug 15 08:05:40 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 08:06:14 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:06:14 2021
Terminated at Sun Aug 15 08:16:45 2021
Results reported at Sun Aug 15 08:16:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0206.4-1151_daily_bin1433 31.6018 -11.8576 610761601 611020801 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 :                                   581.05 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   632 sec.
    Turnaround time :                            665 sec.

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

