aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 37 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 = 7542
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0206.4-1151_daily_bin1703
RA = 31.6018, Dec = -11.8576
tmin = 680745601, tmax = 681004801
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='302500', job_status='RUN', time_executed='2022-08-01 00:08:39.575685', time_epoch_executed='1659337719.58' WHERE source_name='4FGL J0206.4-1151' and cadence='daily' and bin_id='1703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/302500

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/302500/ft1_4FGL_J0206.4-1151_daily_bin1703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/302500/ft2_4FGL_J0206.4-1151_daily_bin1703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/302500/ft1_4FGL_J0206.4-1151_daily_bin1703.fits outfile=/scratch/kocevski/302500/ft1_filteredMKT_4FGL_J0206.4-1151_daily_bin1703.fits ra=31.6018 dec=-11.8576 rad=12.0 tmin=680745601.0 tmax=681004801.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.01
user 2.79
sys 0.18

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

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

Number of photons that the gtmktime cut: 594

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/302500/ft1_filtered_4FGL_J0206.4-1151_daily_bin1703.fits" evtable="EVENTS" scfile=/scratch/kocevski/302500/ft2_4FGL_J0206.4-1151_daily_bin1703.fits sctable="SC_DATA" outfile=/scratch/kocevski/302500/ltcube_680745601_681004801_4FGL_J0206.4-1151_daily_bin1703.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/302500/ft2_4FGL_J0206.4-1151_daily_bin1703.fits
.....................!
real 16.45
user 15.99
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/302500/ft1_filtered_4FGL_J0206.4-1151_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/302500/ft2_4FGL_J0206.4-1151_daily_bin1703.fits sctable="SC_DATA" expcube=/scratch/kocevski/302500/ltcube_680745601_681004801_4FGL_J0206.4-1151_daily_bin1703.fits outfile=/scratch/kocevski/302500/expmap_680745601_681004801_4FGL_J0206.4-1151_daily_bin1703.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/302500/ltcube_680745601_681004801_4FGL_J0206.4-1151_daily_bin1703.fits
.....................!
real 193.05
user 186.45
sys 5.75

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/302500/ft1_filtered_4FGL_J0206.4-1151_daily_bin1703.fits scfile=/scratch/kocevski/302500/ft2_4FGL_J0206.4-1151_daily_bin1703.fits outfile=/scratch/kocevski/302500/cmap_680745601_681004801_4FGL_J0206.4-1151_daily_bin1703.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/302500/ft1_filtered_4FGL_J0206.4-1151_daily_bin1703.fits scfile=/scratch/kocevski/302500/ft2_4FGL_J0206.4-1151_daily_bin1703.fits outfile=/scratch/kocevski/302500/cmap_HighResolution_680745601_681004801_4FGL_J0206.4-1151_daily_bin1703.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/302500/ft1_filtered_4FGL_J0206.4-1151_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/302500/ft2_4FGL_J0206.4-1151_daily_bin1703.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/302500/Model_4FGL_J0206.4-1151_daily_bin1703.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/302500/ft1_filtered_4FGL_J0206.4-1151_daily_bin1703.fits.....................!
real 59.76
user 57.74
sys 1.35

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28988E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.6599       1.0000         .10000E-03   10000.    
     4 'norm      '    43.534       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.7693       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12690E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11093E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.8590       1.0000         .10000E-03   10000.    
    12 'norm      '    116.56       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.1194       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .72401       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0591       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=   6635.040     FROM MIGRAD    STATUS=CONVERGED    598 CALLS     1933 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10009E-03    32.856        .40321E-02** at limit **
   2  norm          .10000E-03    13.556        .18142E-02** at limit **
   3  norm          2.6596        1.1618        .55948E-04   -.53035E-04
   4  norm          43.533        8.3471        .60761E-04   -.29492E-03
   5  Prefactor     .10000E-03    27.361        .18142E-02** at limit **
   6  norm          1.7690        2.0004        .11363E-03    .23691E-03
   7  Prefactor     .10000E-03    9.7446        .18414E-02** at limit **
   8  Prefactor     .10000E-03    7.2761        .18142E-02** at limit **
   9  Prefactor     .10000E-03    1.3513        .92420E-03** at limit **
  10  Prefactor     .10000E-03    15.433        .36285E-03** at limit **
  11  Prefactor     9.8603        10.388        .12762E-03   -.16302E-04
  12  norm          116.67        53.869        .18634E-03    .65891E-04
  13  Prefactor     .89650        49.720        .12559        .28046E-03
  14  Prefactor     .10000E-03    3.8851        .15625E-02** at limit **
  15  Prefactor     .10000E-03    5.6591        .18142E-02** at limit **
  16  Normalizat    .72423        .17294        .24771E-03   -.30171E-03
  17  Prefactor     1.0591        .17983        .22678E-03   -.23010E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100089
  norm       = 0.0001
  norm       = 2.65961
  norm       = 43.5325
  Prefactor  = 0.0001
  norm       = 1.76897
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 9.8603
  norm       = 116.67
  Prefactor  = 0.896497
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.724225
  Prefactor  = 1.05905
 **********
 **   18 **HESSE 
 **********

 FCN=   6635.040     FROM HESSE     STATUS=OK           215 CALLS     2148 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10009E-03    33.401        .80641E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    13.561        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.6596        1.1618        .22379E-05   -1.5382    
   4  norm          43.533        8.3469        .12152E-04   -1.4387    
   5  Prefactor     .10000E-03    27.361        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.7690        2.0003        .45453E-05   -1.5442    
   7  Prefactor     .10000E-03    9.8501        .36828E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.2790        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.3514        .18484E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.433        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.8603        10.388        .51048E-05   -1.5080    
  12  norm          116.67        53.778        .74536E-05   -1.3543    
  13  Prefactor     .89650        47.036        .12974       -1.5519    
  14  Prefactor     .10000E-03    3.8858        .31249E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.6610        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .72423        .17302        .99086E-05   -1.0294    
  17  Prefactor     1.0591        .17997        .90714E-05   -.90786    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.74097e-09
Minuit parameter uncertainties:
  1  0.00345454
  2  5.30272e-05
  3  1.16182
  4  8.34711
  5  4.24712e-05
  6  2.00034
  7  6.68356e-05
  8  3.27352e-05
  9  2.88582e-06
  10  0.000242358
  11  10.3895
  12  53.8002
  13  12.9973
  14  1.90707e-05
  15  2.47288e-05
  16  0.173153
  17  0.180076
Done.

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

Extracting fit parameters...

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  6.684e-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.059e+00  1.801e-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:  7.242e-01  1.732e-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: 5.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/302500/likelihoodResults_680745601_681004801_4FGL_J0206.4-1151_daily_bin1703.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) = 6635.04030291
delta logL = -0.000489813623062

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6635.03981324
delta logL = -1.36697963171e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11689E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3373       1.0000          .0000       10.000    
     3 'Normalizat'    .72428       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0590       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=   6635.040     FROM MIGRAD    STATUS=FAILED       103 CALLS      274 TOTAL
                     EDM=   .67E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10296E-03    112.05        .19398E-02** at limit **
   2  Index         2.1842        5.1186        .50000        .92713E-05
   3  Normalizat    .72423        .10002E-01    .24772E-03   -.19647E-03
   4  Prefactor     1.0591        .10952E-01    .22678E-03   -.98907E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6635.040     FROM SIMPLEX   STATUS=PROGRESS     122 CALLS      396 TOTAL
                     EDM=   .52E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10050E-03    112.05        .45337E-03** at limit **
   2  Index         2.1833        5.1186        .31504E-03    .92713E-05
   3  Normalizat    .72422        .10002E-01    .20700E-05   -.19647E-03
   4  Prefactor     1.0590        .10952E-01    .20961E-05   -.98907E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6635.040     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      437 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10007E-03    566.10        .38796E-03** at limit **
   2  Index         2.1631        6.1100        .50000        .41836E-05
   3  Normalizat    .72423        .23151E-01    .99087E-05    .82838E-03
   4  Prefactor     1.0591        .25349E-01    .90714E-05    .98932E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100068
  Index      = 2.16308
  Normalizat = 0.724229
  Prefactor  = 1.05905
 **********
 **   18 **HESSE 
 **********

 FCN=   6635.040     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      466 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10007E-03    1921.2        .77593E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1631        5.6976        .50000       -.60333    
   3  Normalizat    .72423        .52047E-01    .19817E-05   -1.0294    
   4  Prefactor     1.0591        .56973E-01    .18143E-05   -.90786    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.1295e-09
Minuit parameter uncertainties:
  1  0.02367
  2  777.758
  3  0.0520504
  4  0.0569762
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/302500': 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) = 6635.03981136
delta logL = 1.74202068592e-06

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  1.059e+00  5.698e-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:  7.242e-01  5.205e-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/302500/cmap_HighResolution_680745601_681004801_4FGL_J0206.4-1151_daily_bin1703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.51e-03', job_status='DONE', photon_flux_upper_limit='5.83e-08', time_completed='2022-08-01 00:18:58.562856', job_id='302500', GAL2='1.06', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1659338338.56', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.74e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1703' AND source_name='4FGL J0206.4-1151' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug  1 00:18:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 302500: <4FGL_J0206.4-1151_daily_bin1703> in cluster <slac> Done

Job <4FGL_J0206.4-1151_daily_bin1703> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Aug  1 00:05:12 2022
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug  1 00:07:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug  1 00:07:47 2022
Terminated at Mon Aug  1 00:18:59 2022
Results reported at Mon Aug  1 00:18:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0206.4-1151_daily_bin1703 31.6018 -11.8576 680745601 681004801 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 :                                   615.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             359.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   671 sec.
    Turnaround time :                            827 sec.

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

