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


Performing analysis on: 4FGL_J0206.4-1151_daily_bin1458
RA = 31.6018, Dec = -11.8576
tmin = 617241601, tmax = 617500801
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='130451', job_status='RUN', time_executed='2021-08-15 08:07:42.006841', time_epoch_executed='1629040062.01' WHERE source_name='4FGL J0206.4-1151' and cadence='daily' and bin_id='1458'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/130451

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/130451/ft1_4FGL_J0206.4-1151_daily_bin1458.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/130451/ft2_4FGL_J0206.4-1151_daily_bin1458.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/130451/ft1_4FGL_J0206.4-1151_daily_bin1458.fits outfile=/scratch/kocevski/130451/ft1_filteredMKT_4FGL_J0206.4-1151_daily_bin1458.fits ra=31.6018 dec=-11.8576 rad=12.0 tmin=617241601.0 tmax=617500801.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.66
user 2.78
sys 2.81

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/130451/ft2_4FGL_J0206.4-1151_daily_bin1458.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/130451/ft1_filteredMKT_4FGL_J0206.4-1151_daily_bin1458.fits evtable="EVENTS" outfile="/scratch/kocevski/130451/ft1_filtered_4FGL_J0206.4-1151_daily_bin1458.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 3.19
user 0.34
sys 2.82

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/130451/ft1_filtered_4FGL_J0206.4-1151_daily_bin1458.fits" evtable="EVENTS" scfile=/scratch/kocevski/130451/ft2_4FGL_J0206.4-1151_daily_bin1458.fits sctable="SC_DATA" outfile=/scratch/kocevski/130451/ltcube_617241601_617500801_4FGL_J0206.4-1151_daily_bin1458.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/130451/ft2_4FGL_J0206.4-1151_daily_bin1458.fits
.....................!
real 17.89
user 14.56
sys 3.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/130451/ft1_filtered_4FGL_J0206.4-1151_daily_bin1458.fits evtable="EVENTS" scfile=/scratch/kocevski/130451/ft2_4FGL_J0206.4-1151_daily_bin1458.fits sctable="SC_DATA" expcube=/scratch/kocevski/130451/ltcube_617241601_617500801_4FGL_J0206.4-1151_daily_bin1458.fits outfile=/scratch/kocevski/130451/expmap_617241601_617500801_4FGL_J0206.4-1151_daily_bin1458.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/130451/ltcube_617241601_617500801_4FGL_J0206.4-1151_daily_bin1458.fits
.....................!
real 198.26
user 189.52
sys 8.27

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/130451/ft1_filtered_4FGL_J0206.4-1151_daily_bin1458.fits scfile=/scratch/kocevski/130451/ft2_4FGL_J0206.4-1151_daily_bin1458.fits outfile=/scratch/kocevski/130451/cmap_617241601_617500801_4FGL_J0206.4-1151_daily_bin1458.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 3.19
user 0.39
sys 2.71

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/130451/ft1_filtered_4FGL_J0206.4-1151_daily_bin1458.fits scfile=/scratch/kocevski/130451/ft2_4FGL_J0206.4-1151_daily_bin1458.fits outfile=/scratch/kocevski/130451/cmap_HighResolution_617241601_617500801_4FGL_J0206.4-1151_daily_bin1458.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 3.45
user 0.39
sys 2.74

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/130451/ft1_filtered_4FGL_J0206.4-1151_daily_bin1458.fits evtable="EVENTS" scfile=/scratch/kocevski/130451/ft2_4FGL_J0206.4-1151_daily_bin1458.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/130451/Model_4FGL_J0206.4-1151_daily_bin1458.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/130451/ft1_filtered_4FGL_J0206.4-1151_daily_bin1458.fits.....................!
real 53.64
user 47.65
sys 4.67

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.1832       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.6325       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10244E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .57918       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .56944       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.104       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.1159       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .72799E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .28231E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.8163       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .89540       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .77623       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=   4751.347     FROM MIGRAD    STATUS=CONVERGED    346 CALLS     1441 TOTAL
                     EDM=   .60E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.269       -.52723E-07** at limit **
   2  norm          2.1923        37.998        .20943E-06   -.28858E-04
   3  norm          .10000E-03    .45982       -.99631E-08** at limit **
   4  norm          4.6322        4.0830       -.35175E-07   -.48828E-04
   5  Prefactor     .10000E-03    28.001       -.20861E-06** at limit **
   6  norm          .57800        1.7219        .64115E-06   -.84355E-04
   7  Prefactor     .56719        4.5965        .20040E-05   -.92111E-04
   8  Prefactor     13.103        11.265       -.24639E-06   -.85837E-04
   9  Prefactor     .10000E-03    2.8870        .46521E-07** at limit **
  10  Prefactor     9.1199        8.3441        .36346E-06    .21201E-04
  11  Prefactor     .10000E-03    6.1950       -.60785E-09** at limit **
  12  norm          .10000E-03    177.77        .54650E-05** at limit **
  13  Prefactor     .10000E-03    77.724        .66975E-05** at limit **
  14  Prefactor     5.8196        11.115        .30734E-06   -.31242E-04
  15  Prefactor     .10000E-03    3.2215       -.78384E-08** at limit **
  16  Normalizat    .89545        .15768       -.76367E-06   -.19333E-03
  17  Prefactor     .77621        .16283       -.13171E-06   -.18316E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.19234
  norm       = 0.0001
  norm       = 4.63223
  Prefactor  = 0.0001
  norm       = 0.578001
  Prefactor  = 0.567194
  Prefactor  = 13.1029
  Prefactor  = 0.0001
  Prefactor  = 9.11993
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 0.000100004
  Prefactor  = 5.81957
  Prefactor  = 0.0001
  Normalizat = 0.895449
  Prefactor  = 0.776207
 **********
 **   18 **HESSE 
 **********

 FCN=   4751.347     FROM HESSE     STATUS=OK           223 CALLS     1664 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.891        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1923        38.379        .27860E-03   -1.5412    
   3  norm          .10000E-03    .47520        .91216E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.6322        4.0686        .12512E-03   -1.5277    
   5  Prefactor     .10000E-03    28.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .57800        1.6835        .14701E-03   -1.5556    
   7  Prefactor     .56719        4.7329        .27635E-02   -1.5557    
   8  Prefactor     13.103        11.256        .11065E-03   -1.4984    
   9  Prefactor     .10000E-03    2.8993        .11437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.1199        8.3227        .13274E-03   -1.5104    
  11  Prefactor     .10000E-03    6.1984        .16757E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    179.12        .18636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    81.770        .21415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.8196        11.118        .16653E-03   -1.5225    
  15  Prefactor     .10000E-03    3.2282        .12081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .89545        .18618        .20513E-03   -.96620    
  17  Prefactor     .77621        .19269        .22978E-03   -1.0061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.62479e-08
Minuit parameter uncertainties:
  1  4.0357e-05
  2  18.3588
  3  5.74564e-07
  4  4.06883
  5  2.34811e-05
  6  1.68367
  7  3.27692
  8  11.2578
  9  3.97064e-07
  10  8.32372
  11  5.80684e-07
  12  0.00136823
  13  0.00108792
  14  11.1216
  15  1.30833e-06
  16  0.186315
  17  0.192855
Done.

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

Extracting fit parameters...

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  5.672e-01  3.277e+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:  7.762e-01  1.929e-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.954e-01  1.863e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/130451/likelihoodResults_617241601_617500801_4FGL_J0206.4-1151_daily_bin1458.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) = 4751.34661912
delta logL = 0.000627750462627

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4751.34648873
delta logL = 0.000758133573981

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53887       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4867       1.0000          .0000       10.000    
     3 'Normalizat'    .89477       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77662       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4751.346     FROM MIGRAD    STATUS=FAILED       102 CALLS      284 TOTAL
                     EDM=   .65E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54250        6.2304        .26331E-02    .50647E-02
   2  Index         2.4957        2.6434        .10364E-01   -.23902E-05
   3  Normalizat    .89487        .18368        .20519E-03   -.93579E-04
   4  Prefactor     .77662        .19233        .22973E-03   -.23655E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4751.346     FROM SIMPLEX   STATUS=UNCHANGED     77 CALLS      361 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .54250        6.2304        .16204E-03   -1.5561    
   2  Index         2.4957        2.6434        .25463E-02   -.52458    
   3  Normalizat    .89487        .18368        .25225E-03   -.96641    
   4  Prefactor     .77662        .19233        .28873E-03   -1.0060    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4751.346     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      391 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54250        4.8253        .52662E-03    .19482E-03
   2  Index         2.4957        2.3701        .41456E-03   -.27423E-07
   3  Normalizat    .89487        .18390        .82077E-05   -.27702E-06
   4  Prefactor     .77662        .19248        .91890E-05     .0000    
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.5425
  Index      = 2.49575
  Normalizat = 0.894868
  Prefactor  = 0.77662
 **********
 **   18 **HESSE 
 **********

 FCN=   4751.346     FROM HESSE     STATUS=OK            25 CALLS      416 TOTAL
                     EDM=   .13E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .54250        4.7256        .10532E-03   -1.5561    
   2  Index         2.4957        2.3494        .16582E-04   -.52458    
   3  Normalizat    .89487        .18415        .16415E-05   -.96641    
   4  Prefactor     .77662        .19268        .91890E-05   -1.0060    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33729e-13
Minuit parameter uncertainties:
  1  3.20231
  2  2.4835
  3  0.184279
  4  0.192847
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/130451': 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) = 4751.34647758
delta logL = 0.000769290632888

Extracting fit parameters...

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  5.425e-01  3.202e+00  1.000e-04  1.000e+04 ( 1.000e-12)
286        Index:  2.496e+00  2.483e+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.766e-01  1.928e-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.949e-01  1.843e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/130451/cmap_HighResolution_617241601_617500801_4FGL_J0206.4-1151_daily_bin1458.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.20e-03', job_status='DONE', photon_flux_upper_limit='8.02e-08', time_completed='2021-08-15 08:17:03.665687', job_id='130451', GAL2='0.78', fit_tolerance='1e-08', EG2='0.89', EG='0.90', time_epoch_completed='1629040623.67', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='7.69e-04', ts2='0.04', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1458' AND source_name='4FGL J0206.4-1151' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 08:17:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0294>
Subject: Job 130451: <4FGL_J0206.4-1151_daily_bin1458> in cluster <slac> Done

Job <4FGL_J0206.4-1151_daily_bin1458> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Aug 15 08:05:44 2021
Job was executed on host(s) <bullet0294>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 08:06:35 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:35 2021
Terminated at Sun Aug 15 08:17:04 2021
Results reported at Sun Aug 15 08:17:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0206.4-1151_daily_bin1458 31.6018 -11.8576 617241601 617500801 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 :                                   590.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   629 sec.
    Turnaround time :                            680 sec.

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

