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


Performing analysis on: 4FGL_J0206.4-1151_daily_bin1426
RA = 31.6018, Dec = -11.8576
tmin = 608947201, tmax = 609206401
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='130401', job_status='RUN', time_executed='2021-08-15 08:07:59.223741', time_epoch_executed='1629040079.22' WHERE source_name='4FGL J0206.4-1151' and cadence='daily' and bin_id='1426'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/130401

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/130401/ft1_4FGL_J0206.4-1151_daily_bin1426.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/130401/ft2_4FGL_J0206.4-1151_daily_bin1426.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/130401/ft1_4FGL_J0206.4-1151_daily_bin1426.fits outfile=/scratch/kocevski/130401/ft1_filteredMKT_4FGL_J0206.4-1151_daily_bin1426.fits ra=31.6018 dec=-11.8576 rad=12.0 tmin=608947201.0 tmax=609206401.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.80
user 2.94
sys 2.83

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/130401/ft2_4FGL_J0206.4-1151_daily_bin1426.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/130401/ft1_filteredMKT_4FGL_J0206.4-1151_daily_bin1426.fits evtable="EVENTS" outfile="/scratch/kocevski/130401/ft1_filtered_4FGL_J0206.4-1151_daily_bin1426.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.23
user 0.33
sys 2.86

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/130401/ft1_filtered_4FGL_J0206.4-1151_daily_bin1426.fits" evtable="EVENTS" scfile=/scratch/kocevski/130401/ft2_4FGL_J0206.4-1151_daily_bin1426.fits sctable="SC_DATA" outfile=/scratch/kocevski/130401/ltcube_608947201_609206401_4FGL_J0206.4-1151_daily_bin1426.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/130401/ft2_4FGL_J0206.4-1151_daily_bin1426.fits
.....................!
real 18.76
user 15.34
sys 3.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/130401/ft1_filtered_4FGL_J0206.4-1151_daily_bin1426.fits evtable="EVENTS" scfile=/scratch/kocevski/130401/ft2_4FGL_J0206.4-1151_daily_bin1426.fits sctable="SC_DATA" expcube=/scratch/kocevski/130401/ltcube_608947201_609206401_4FGL_J0206.4-1151_daily_bin1426.fits outfile=/scratch/kocevski/130401/expmap_608947201_609206401_4FGL_J0206.4-1151_daily_bin1426.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/130401/ltcube_608947201_609206401_4FGL_J0206.4-1151_daily_bin1426.fits
.....................!
real 196.53
user 186.75
sys 9.24

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/130401/ft1_filtered_4FGL_J0206.4-1151_daily_bin1426.fits scfile=/scratch/kocevski/130401/ft2_4FGL_J0206.4-1151_daily_bin1426.fits outfile=/scratch/kocevski/130401/cmap_608947201_609206401_4FGL_J0206.4-1151_daily_bin1426.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.20
user 0.38
sys 2.79

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/130401/ft1_filtered_4FGL_J0206.4-1151_daily_bin1426.fits scfile=/scratch/kocevski/130401/ft2_4FGL_J0206.4-1151_daily_bin1426.fits outfile=/scratch/kocevski/130401/cmap_HighResolution_608947201_609206401_4FGL_J0206.4-1151_daily_bin1426.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.16
user 0.39
sys 2.70

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/130401/ft1_filtered_4FGL_J0206.4-1151_daily_bin1426.fits evtable="EVENTS" scfile=/scratch/kocevski/130401/ft2_4FGL_J0206.4-1151_daily_bin1426.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/130401/Model_4FGL_J0206.4-1151_daily_bin1426.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/130401/ft1_filtered_4FGL_J0206.4-1151_daily_bin1426.fits.....................!
real 38.10
user 32.98
sys 4.74

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    16.950       1.0000         .10000E-03   10000.    
     3 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    9.2596       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10490E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.152       1.0000         .10000E-03   10000.    
    10 'Prefactor '    32.388       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    9.2379       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .48095       1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.792       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.841       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .48861       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2955       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=   2774.219     FROM MIGRAD    STATUS=CONVERGED    574 CALLS     2099 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.2478        .12859E-02** at limit **
   2  norm          16.985        47.106        .97282E-04   -.48440E-04
   3  norm          .10000E-03    .74811        .87560E-04** at limit **
   4  norm          9.2514        10.124        .13171E-03   -.24195E-03
   5  Prefactor     .10000E-03    122.28        .18142E-02** at limit **
   6  norm          .10000E-03    2.7195        .13381E-02** at limit **
   7  Prefactor     .10000E-03    3.3904        .94420E-03** at limit **
   8  Prefactor     .10000E-03    19.667        .18142E-02** at limit **
   9  Prefactor     28.156        11.201        .75507E-04    .43451E-03
  10  Prefactor     32.434        35.029        .70408E-04    .83602E-03
  11  Prefactor     .10000E-03    13.221        .18142E-02** at limit **
  12  norm          9.1387        871.41        .13186E-03    .64137E-04
  13  Prefactor     .22199        172.48        .12250        .64779E-04
  14  Prefactor     22.775        30.465        .83901E-04   -.52439E-04
  15  Prefactor     15.845        37.697        .10063E-03   -.21465E-04
  16  Normalizat    .48828        .29866        .32002E-03   -.13508E-03
  17  Prefactor     1.2961        .31244        .21712E-03    .56671E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 16.9855
  norm       = 0.0001
  norm       = 9.25139
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.1561
  Prefactor  = 32.4343
  Prefactor  = 0.0001
  norm       = 9.13868
  Prefactor  = 0.221988
  Prefactor  = 22.7754
  Prefactor  = 15.8452
  Normalizat = 0.488281
  Prefactor  = 1.29611
 **********
 **   18 **HESSE 
 **********

 FCN=   2774.219     FROM HESSE     STATUS=OK           215 CALLS     2314 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.2478        .25717E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          16.985        47.105        .38913E-05   -1.4883    
   3  norm          .10000E-03    .74811        .17512E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          9.2514        10.123        .52682E-05   -1.5100    
   5  Prefactor     .10000E-03    122.28        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.7238        .26763E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.3906        .18884E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.672        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     28.156        11.199        .15101E-04   -1.4646    
  10  Prefactor     32.434        34.901        .14082E-04   -1.4568    
  11  Prefactor     .10000E-03    13.222        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.1387        857.84        .26372E-04   -1.5103    
  13  Prefactor     .22199        154.97        .12916       -1.5614    
  14  Prefactor     22.775        30.464        .33560E-05   -1.4753    
  15  Prefactor     15.845        37.690        .40252E-05   -1.4912    
  16  Normalizat    .48828        .29876        .12801E-04   -1.1296    
  17  Prefactor     1.2961        .31268        .43424E-04   -.83423    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8062e-09
Minuit parameter uncertainties:
  1  3.35505e-05
  2  47.2084
  3  1.10156e-05
  4  10.1252
  5  5.24981e-06
  6  9.18116e-06
  7  1.69322e-05
  8  0.000100044
  9  11.1995
  10  34.9231
  11  6.25229e-06
  12  179.803
  13  11.7585
  14  30.4843
  15  37.7465
  16  0.29975
  17  0.31313
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  1.296e+00  3.131e-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:  4.883e-01  2.997e-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: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/130401/likelihoodResults_608947201_609206401_4FGL_J0206.4-1151_daily_bin1426.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) = 2774.22087814
delta logL = -0.00138972924242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2774.21948846
delta logL = -5.12586666446e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3933       1.0000          .0000       10.000    
     3 'Normalizat'    .48837       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2961       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=   2774.219     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      239 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10030E-03    140.74        .94545E-03** at limit **
   2  Index         2.3564        5.8987        .50000        .11801E-04
   3  Normalizat    .48829        .39809E-01    .32000E-03   -.31016E-04
   4  Prefactor     1.2961        .42629E-01    .21712E-03   -.24662E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100299
  Index      = 2.35641
  Normalizat = 0.488287
  Prefactor  = 1.2961
 **********
 **   18 **HESSE 
 **********

 FCN=   2774.219     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      268 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10030E-03    493.03        .18909E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3564        7.9825        .50000       -.55709    
   3  Normalizat    .48829        .91479E-01    .12800E-04   -1.1296    
   4  Prefactor     1.2961        .97936E-01    .43424E-04   -.83423    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.70324e-08
Minuit parameter uncertainties:
  1  0.0244953
  2  1274.51
  3  0.091507
  4  0.0979497
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/130401': 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) = 2774.21948831
delta logL = 9.16879798751e-08

Extracting fit parameters...

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  1.003e-04  2.450e-02  1.000e-04  1.000e+04 ( 1.000e-12)
286        Index:  2.356e+00  1.275e+03  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.296e+00  9.795e-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:  4.883e-01  9.151e-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/130401/cmap_HighResolution_608947201_609206401_4FGL_J0206.4-1151_daily_bin1426.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.05e-03', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2021-08-15 08:16:08.738377', job_id='130401', GAL2='1.30', fit_tolerance='1e-08', EG2='0.49', EG='0.49', time_epoch_completed='1629040568.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.30', dlogl='9.17e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1426' AND source_name='4FGL J0206.4-1151' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 08:16:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 130401: <4FGL_J0206.4-1151_daily_bin1426> in cluster <slac> Done

Job <4FGL_J0206.4-1151_daily_bin1426> 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) <bullet0022>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 08:06:10 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:10 2021
Terminated at Sun Aug 15 08:16:09 2021
Results reported at Sun Aug 15 08:16:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0206.4-1151_daily_bin1426 31.6018 -11.8576 608947201 609206401 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 :                                   519.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   599 sec.
    Turnaround time :                            629 sec.

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

