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


Performing analysis on: 4FGL_J0206.4-1151_daily_bin1415
RA = 31.6018, Dec = -11.8576
tmin = 606096001, tmax = 606355201
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='130382', job_status='RUN', time_executed='2021-08-15 08:06:36.588447', time_epoch_executed='1629039996.59' WHERE source_name='4FGL J0206.4-1151' and cadence='daily' and bin_id='1415'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/130382

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/130382/ft1_4FGL_J0206.4-1151_daily_bin1415.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/130382/ft2_4FGL_J0206.4-1151_daily_bin1415.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/130382/ft1_4FGL_J0206.4-1151_daily_bin1415.fits outfile=/scratch/kocevski/130382/ft1_filteredMKT_4FGL_J0206.4-1151_daily_bin1415.fits ra=31.6018 dec=-11.8576 rad=12.0 tmin=606096001.0 tmax=606355201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.69
user 3.45
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/130382/ft1_filtered_4FGL_J0206.4-1151_daily_bin1415.fits" evtable="EVENTS" scfile=/scratch/kocevski/130382/ft2_4FGL_J0206.4-1151_daily_bin1415.fits sctable="SC_DATA" outfile=/scratch/kocevski/130382/ltcube_606096001_606355201_4FGL_J0206.4-1151_daily_bin1415.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/130382/ft2_4FGL_J0206.4-1151_daily_bin1415.fits
.....................!
real 14.27
user 13.90
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/130382/ft1_filtered_4FGL_J0206.4-1151_daily_bin1415.fits evtable="EVENTS" scfile=/scratch/kocevski/130382/ft2_4FGL_J0206.4-1151_daily_bin1415.fits sctable="SC_DATA" expcube=/scratch/kocevski/130382/ltcube_606096001_606355201_4FGL_J0206.4-1151_daily_bin1415.fits outfile=/scratch/kocevski/130382/expmap_606096001_606355201_4FGL_J0206.4-1151_daily_bin1415.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/130382/ltcube_606096001_606355201_4FGL_J0206.4-1151_daily_bin1415.fits
.....................!
real 190.98
user 186.11
sys 4.31

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/130382/ft1_filtered_4FGL_J0206.4-1151_daily_bin1415.fits scfile=/scratch/kocevski/130382/ft2_4FGL_J0206.4-1151_daily_bin1415.fits outfile=/scratch/kocevski/130382/cmap_606096001_606355201_4FGL_J0206.4-1151_daily_bin1415.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/130382/ft1_filtered_4FGL_J0206.4-1151_daily_bin1415.fits scfile=/scratch/kocevski/130382/ft2_4FGL_J0206.4-1151_daily_bin1415.fits outfile=/scratch/kocevski/130382/cmap_HighResolution_606096001_606355201_4FGL_J0206.4-1151_daily_bin1415.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/130382/ft1_filtered_4FGL_J0206.4-1151_daily_bin1415.fits evtable="EVENTS" scfile=/scratch/kocevski/130382/ft2_4FGL_J0206.4-1151_daily_bin1415.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/130382/Model_4FGL_J0206.4-1151_daily_bin1415.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/130382/ft1_filtered_4FGL_J0206.4-1151_daily_bin1415.fits.....................!
real 50.09
user 48.60
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/130382/ft1_filtered_4FGL_J0206.4-1151_daily_bin1415.fits', '/scratch/kocevski/130382/ft2_4FGL_J0206.4-1151_daily_bin1415.fits', expMap='/scratch/kocevski/130382/expmap_606096001_606355201_4FGL_J0206.4-1151_daily_bin1415.fits', expCube='/scratch/kocevski/130382/ltcube_606096001_606355201_4FGL_J0206.4-1151_daily_bin1415.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/130382/Model_4FGL_J0206.4-1151_daily_bin1415.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/130382/ft1_filtered_4FGL_J0206.4-1151_daily_bin1415.fits
Spacecraft file(s): /scratch/kocevski/130382/ft2_4FGL_J0206.4-1151_daily_bin1415.fits
Exposure map: /scratch/kocevski/130382/expmap_606096001_606355201_4FGL_J0206.4-1151_daily_bin1415.fits
Exposure cube: /scratch/kocevski/130382/ltcube_606096001_606355201_4FGL_J0206.4-1151_daily_bin1415.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/130382/Model_4FGL_J0206.4-1151_daily_bin1415.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5076.71284954

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .41350       1.0000         .10000E-03   10000.    
     4 'norm      '    3.7831       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .35864       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.612       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.111       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.2086       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10216E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11615E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.6558       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .44367E-02   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .95655       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .86672       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=   5076.343     FROM MIGRAD    STATUS=FAILED       585 CALLS     1691 TOTAL
                     EDM=   .67E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.9306        .18142E-02** at limit **
   2  norm          .10000E-03    11.026        .18142E-02** at limit **
   3  norm          .41303        .70693        .43650E-04   -.11981E-04
   4  norm          3.7830        3.8263        .13587E-03   -.12970E-04
   5  Prefactor     .10000E-03    28.802        .18142E-02** at limit **
   6  norm          .10000E-03    1.3480        .15794E-03** at limit **
   7  Prefactor     .35793        3.9495        .26512E-02    .63512E-02
   8  Prefactor     11.612        12.509        .11756E-03    .16053E-04
   9  Prefactor     10.110        7.7901        .12602E-03   -.18576E-03
  10  Prefactor     2.2065        7.3137        .27680E-03   -.57050E-03
  11  Prefactor     .10000E-03    11.126        .18142E-02** at limit **
  12  norm          .10000E-03    47.037        .18142E-02** at limit **
  13  Prefactor     .10000E-03    93.627        .18142E-02** at limit **
  14  Prefactor     2.6553        11.267        .12506E-02    .12863E-03
  15  Prefactor     .10000E-03    15.582        .58474E-01** at limit **
  16  Normalizat    .95653        .19053        .21150E-03   -.28441E-03
  17  Prefactor     .86678        .19436        .23306E-03    .22238E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5076.343     FROM SIMPLEX   STATUS=UNCHANGED    907 CALLS     2598 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.9306        .29974E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    11.026        .38108E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .41303        .70693        .10257E-06   -1.5579    
   4  norm          3.7830        3.8263        .93920E-07   -1.5319    
   5  Prefactor     .10000E-03    28.802        .85753E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.3480        .37590E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .35793        3.9495        .10547E-06   -1.5588    
   8  Prefactor     11.612        12.509        .12019E-06   -1.5026    
   9  Prefactor     10.110        7.7901        .11655E-06   -1.5072    
  10  Prefactor     2.2065        7.3137        .20334E-06   -1.5411    
  11  Prefactor     .10000E-03    11.126        .65427E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    47.037        .70223E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    93.627        .11205E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.6553        11.267        .96714E-07   -1.5382    
  15  Prefactor     .10000E-03    15.582        .28068E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .95653        .19053        .62684E-07   -.94501    
  17  Prefactor     .86678        .19436        .63089E-07   -.97312    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5076.343     FROM MIGRAD    STATUS=CONVERGED    222 CALLS     2820 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.9323        .36285E-03** at limit **
   2  norm          .10000E-03    11.027        .36285E-03** at limit **
   3  norm          .41303        .70690        .17460E-05     .0000    
   4  norm          3.7830        3.8262        .54346E-05   -.83676E-06
   5  Prefactor     .10000E-03    28.802        .36285E-03** at limit **
   6  norm          .10000E-03    1.3480        .31587E-04** at limit **
   7  Prefactor     .35794        3.9406        .53024E-03    .25689E-03
   8  Prefactor     11.612        12.506        .47025E-05   -.19341E-05
   9  Prefactor     10.110        7.7892        .50406E-05   -.45108E-06
  10  Prefactor     2.2067        7.3112        .11072E-04   -.61609E-06
  11  Prefactor     .10000E-03    11.126        .36285E-03** at limit **
  12  norm          .10000E-03    47.036        .36285E-03** at limit **
  13  Prefactor     .10000E-03    93.686        .36285E-03** at limit **
  14  Prefactor     2.6552        11.248        .50026E-04   -.15908E-05
  15  Prefactor     .10000E-03    11.940        .69117E-01** at limit **
  16  Normalizat    .95654        .19050        .42300E-04   -.88693E-05
  17  Prefactor     .86678        .19452        .46612E-04   -.59512E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.413031
  norm       = 3.78296
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.357943
  Prefactor  = 11.6121
  Prefactor  = 10.1101
  Prefactor  = 2.20666
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.65523
  Prefactor  = 0.0001
  Normalizat = 0.95654
  Prefactor  = 0.866778
 **********
 **   18 **HESSE 
 **********

 FCN=   5076.343     FROM HESSE     STATUS=OK           217 CALLS     3037 TOTAL
                     EDM=   .30E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.9324        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    11.027        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .41303        .70690        .17460E-05   -1.5579    
   4  norm          3.7830        3.8262        .10869E-05   -1.5319    
   5  Prefactor     .10000E-03    28.802        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.3480        .63175E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .35794        3.9373        .10605E-03   -1.5588    
   8  Prefactor     11.612        12.514        .94051E-06   -1.5026    
   9  Prefactor     10.110        7.7881        .10081E-05   -1.5072    
  10  Prefactor     2.2067        7.3106        .22144E-05   -1.5411    
  11  Prefactor     .10000E-03    11.126        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    47.036        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    93.690        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.6552        11.245        .20010E-05   -1.5382    
  15  Prefactor     .10000E-03    13.154        .64977E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .95654        .19050        .84599E-05   -.94501    
  17  Prefactor     .86678        .19455        .93224E-05   -.97312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98552e-13
Minuit parameter uncertainties:
  1  2.40921e-07
  2  3.35093e-07
  3  0.706911
  4  3.82649
  5  2.13982e-07
  6  1.03996e-07
  7  2.37416
  8  12.5171
  9  7.78889
  10  7.31359
  11  7.23407e-08
  12  3.38689e-05
  13  4.31172e-05
  14  10.9317
  15  9.56332e-05
  16  0.190638
  17  0.194705
Done.

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

Extracting fit parameters...

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  3.579e-01  2.374e+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:  8.668e-01  1.947e-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:  9.565e-01  1.906e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/130382/likelihoodResults_606096001_606355201_4FGL_J0206.4-1151_daily_bin1415.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) = 5076.33687071
delta logL = 0.00651089726762

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5076.33679183
delta logL = 0.00658978418596

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35856       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6956       1.0000          .0000       10.000    
     3 'Normalizat'    .95490       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86758       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=   5076.337     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      259 TOTAL
                     EDM=   .81E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .36409        3.2778        .21794E-03   -.47313E-04
   2  Index         2.6903        2.5169        .12089E-01    .27018E-05
   3  Normalizat    .95480        .18346        .21167E-03    .37059E-05
   4  Prefactor     .86766        .19295        .23295E-03    .13665E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.36409
  Index      = 2.69027
  Normalizat = 0.954799
  Prefactor  = 0.867665
 **********
 **   18 **HESSE 
 **********

 FCN=   5076.337     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .51E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .36409        2.9979        .87176E-05   -1.5587    
   2  Index         2.6903        2.4204        .48356E-03   -.48019    
   3  Normalizat    .95480        .18369        .84669E-05   -.94560    
   4  Prefactor     .86766        .19315        .93181E-05   -.97280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.05807e-12
Minuit parameter uncertainties:
  1  2.08936
  2  2.56032
  3  0.183813
  4  0.193298
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/130382': 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) = 5076.33678743
delta logL = 0.00659417561565

Extracting fit parameters...

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  3.641e-01  2.089e+00  1.000e-04  1.000e+04 ( 1.000e-12)
286        Index:  2.690e+00  2.560e+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:  8.677e-01  1.933e-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:  9.548e-01  1.838e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/130382/cmap_HighResolution_606096001_606355201_4FGL_J0206.4-1151_daily_bin1415.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.12e-03', job_status='DONE', photon_flux_upper_limit='6.63e-08', time_completed='2021-08-15 08:16:30.558563', job_id='130382', GAL2='0.87', fit_tolerance='1e-08', EG2='0.95', EG='0.96', time_epoch_completed='1629040590.56', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='6.59e-03', ts2='0.04', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1415' AND source_name='4FGL J0206.4-1151' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 08:16:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0201>
Subject: Job 130382: <4FGL_J0206.4-1151_daily_bin1415> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0206.4-1151_daily_bin1415 31.6018 -11.8576 606096001 606355201 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 :                                   585.00 sec.
    Max Memory :                                 1116 MB
    Average Memory :                             362.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   629 sec.
    Turnaround time :                            653 sec.

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

