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


Performing analysis on: 4FGL_J0206.4-1151_daily_bin1074
RA = 31.6018, Dec = -11.8576
tmin = 517708801, tmax = 517968001
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='127557', job_status='RUN', time_executed='2021-08-15 08:02:07.065872', time_epoch_executed='1629039727.07' WHERE source_name='4FGL J0206.4-1151' and cadence='daily' and bin_id='1074'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/127557

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/127557/ft1_4FGL_J0206.4-1151_daily_bin1074.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/127557/ft2_4FGL_J0206.4-1151_daily_bin1074.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/127557/ft1_4FGL_J0206.4-1151_daily_bin1074.fits outfile=/scratch/kocevski/127557/ft1_filteredMKT_4FGL_J0206.4-1151_daily_bin1074.fits ra=31.6018 dec=-11.8576 rad=12.0 tmin=517708801.0 tmax=517968001.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.68
user 3.45
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/127557/ft1_filtered_4FGL_J0206.4-1151_daily_bin1074.fits" evtable="EVENTS" scfile=/scratch/kocevski/127557/ft2_4FGL_J0206.4-1151_daily_bin1074.fits sctable="SC_DATA" outfile=/scratch/kocevski/127557/ltcube_517708801_517968001_4FGL_J0206.4-1151_daily_bin1074.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/127557/ft2_4FGL_J0206.4-1151_daily_bin1074.fits
.....................!
real 13.69
user 13.34
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/127557/ft1_filtered_4FGL_J0206.4-1151_daily_bin1074.fits evtable="EVENTS" scfile=/scratch/kocevski/127557/ft2_4FGL_J0206.4-1151_daily_bin1074.fits sctable="SC_DATA" expcube=/scratch/kocevski/127557/ltcube_517708801_517968001_4FGL_J0206.4-1151_daily_bin1074.fits outfile=/scratch/kocevski/127557/expmap_517708801_517968001_4FGL_J0206.4-1151_daily_bin1074.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/127557/ltcube_517708801_517968001_4FGL_J0206.4-1151_daily_bin1074.fits
.....................!
real 190.81
user 185.88
sys 4.39

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/127557/ft1_filtered_4FGL_J0206.4-1151_daily_bin1074.fits scfile=/scratch/kocevski/127557/ft2_4FGL_J0206.4-1151_daily_bin1074.fits outfile=/scratch/kocevski/127557/cmap_517708801_517968001_4FGL_J0206.4-1151_daily_bin1074.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/127557/ft1_filtered_4FGL_J0206.4-1151_daily_bin1074.fits scfile=/scratch/kocevski/127557/ft2_4FGL_J0206.4-1151_daily_bin1074.fits outfile=/scratch/kocevski/127557/cmap_HighResolution_517708801_517968001_4FGL_J0206.4-1151_daily_bin1074.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.41
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/127557/ft1_filtered_4FGL_J0206.4-1151_daily_bin1074.fits evtable="EVENTS" scfile=/scratch/kocevski/127557/ft2_4FGL_J0206.4-1151_daily_bin1074.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/127557/Model_4FGL_J0206.4-1151_daily_bin1074.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/127557/ft1_filtered_4FGL_J0206.4-1151_daily_bin1074.fits......................!
real 40.98
user 39.65
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    .10285E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.5605       1.0000         .10000E-03   10000.    
     4 'norm      '    11.173       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.2289       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.0747       1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.148       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10408E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10204E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    45.873       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.7446       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .69880       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0445       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=   3679.465     FROM MIGRAD    STATUS=CONVERGED    336 CALLS     1562 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.7610        .62468E-07** at limit **
   2  norm          .10000E-03    46.768       -.23847E-04** at limit **
   3  norm          2.5605        1.5955        .96656E-08    .46756E-04
   4  norm          11.163        7.4119        .62085E-07    .24590E-03
   5  Prefactor     .10000E-03    105.61       -.31842E-04** at limit **
   6  norm          3.2293        2.4226       -.67857E-06   -.30478E-02
   7  Prefactor     1.0751        3.2091       -.56102E-06   -.60092E-03
   8  Prefactor     25.142        17.879        .13931E-06   -.23079E-03
   9  Prefactor     .10000E-03    7.0646       -.21559E-06** at limit **
  10  Prefactor     .10000E-03    4.3874       -.72520E-07** at limit **
  11  Prefactor     .10000E-03    61.716        .39441E-04** at limit **
  12  norm          .10000E-03    35.654        .24139E-05** at limit **
  13  Prefactor     45.883        54.707        .10060E-04   -.66313E-05
  14  Prefactor     .10000E-03    3.2151        .45113E-07** at limit **
  15  Prefactor     1.7467        14.278       -.10171E-04   -.27783E-03
  16  Normalizat    .69867        .20367        .22033E-06    .83273E-04
  17  Prefactor     1.0445        .20918        .30876E-07    .46663E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.56053
  norm       = 11.1633
  Prefactor  = 0.0001
  norm       = 3.22928
  Prefactor  = 1.07509
  Prefactor  = 25.1417
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 45.8833
  Prefactor  = 0.0001
  Prefactor  = 1.74672
  Normalizat = 0.698669
  Prefactor  = 1.04447
 **********
 **   18 **HESSE 
 **********

 FCN=   3679.465     FROM HESSE     STATUS=OK           221 CALLS     1783 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.7870        .12926E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    46.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.5605        1.5952        .58028E-04   -1.5388    
   4  norm          11.163        7.4098        .11986E-03   -1.5040    
   5  Prefactor     .10000E-03    105.24        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.2293        2.4617        .39671E-03   -1.5349    
   7  Prefactor     1.0751        3.1294        .17945E-03   -1.5501    
   8  Prefactor     25.142        17.843        .79880E-04   -1.4705    
   9  Prefactor     .10000E-03    7.1426        .15742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.3957        .12406E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    60.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    35.642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     45.883        54.599        .59198E-04   -1.4352    
  14  Prefactor     .10000E-03    3.2163        .10623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.7467        14.824        .31755E-03   -1.5444    
  16  Normalizat    .69867        .23610        .25189E-03   -1.0395    
  17  Prefactor     1.0445        .24336        .22077E-03   -.91261    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.80897e-09
Minuit parameter uncertainties:
  1  1.24757e-06
  2  0.000158071
  3  1.59527
  4  7.41038
  5  0.000102023
  6  2.46174
  7  3.12988
  8  17.8466
  9  2.74724e-05
  10  2.23432e-05
  11  0.000450457
  12  0.000197616
  13  54.6586
  14  3.379e-06
  15  10.1802
  16  0.236441
  17  0.243615
Done.

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

Extracting fit parameters...

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  1.075e+00  3.130e+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:  1.044e+00  2.436e-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:  6.987e-01  2.364e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/127557/likelihoodResults_517708801_517968001_4FGL_J0206.4-1151_daily_bin1074.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) = 3679.41009922
delta logL = 0.0546822513802

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3678.34769059
delta logL = 1.11709088802

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    9.1175       1.0000          .0000       10.000    
     3 'Normalizat'    .55974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1556       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3678.348     FROM MIGRAD    STATUS=CONVERGED    209 CALLS      514 TOTAL
                     EDM=   .36E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .66623E-03    .34954E-07** at limit **
   2  Index         9.1173        .38917        .55388E-06    .16536E-05
   3  Normalizat    .55989        .24566       -.20276E-05    .69336E-06
   4  Prefactor     1.1555        .25667        .17013E-05    .11885E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 9.11735
  Normalizat = 0.559888
  Prefactor  = 1.15554
 **********
 **   18 **HESSE 
 **********

 FCN=   3678.348     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      557 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .43964E-02    .26618E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.1173        8.1563        .17434        .96750    
   3  Normalizat    .55989        .63719E-01    .63033E-01   -1.0972    
   4  Prefactor     1.1555        .65639E-01    .35775E-01   -.87711    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.08374e-09
Minuit parameter uncertainties:
  1  8.1893e-09
  2  4.03404
  3  0.0637277
  4  0.0656439
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/127557': 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) = 3678.34769029
delta logL = 1.11709118903

Extracting fit parameters...

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  8.189e-09  1.000e-04  1.000e+04 ( 1.000e-12)
286        Index:  9.117e+00  4.034e+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:  1.156e+00  6.564e-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:  5.599e-01  6.373e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.73
Ra Dec: 31.602 -11.858
Photon Index (Free Index): 9.12 +/- 4.03
Photon Flux (Free Index): 1.07e-07 +/- 7.87e-07
Energy Flux (Free Index): 1.21e-05 +/- 8.89e-05

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/127557/cmap_HighResolution_517708801_517968001_4FGL_J0206.4-1151_daily_bin1074.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.36e-03', comment='SUCCESS', energy_flux2='1.21e-05', dlogl='1.12e+00', photon_flux2='1.07e-07', job_status='DONE', time_completed='2021-08-15 08:10:03.428905', photon_index_error2='4.03', photon_index2='9.12', ts='0.15', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='9.53e-08', energy_flux_error2='8.89e-05', EG='0.70', time_epoch_completed='1629040203.43', return_code='0', job_id='127557', GAL2='1.16', EG2='0.56', return_code2='102', photon_flux_error2='7.87e-07', ts2='2.73', photon_index='2.40' WHERE bin_id='1074' AND source_name='4FGL J0206.4-1151' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 08:10:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 127557: <4FGL_J0206.4-1151_daily_bin1074> in cluster <slac> Done

Job <4FGL_J0206.4-1151_daily_bin1074> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Aug 15 07:55:39 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 08:00:11 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:00:11 2021
Terminated at Sun Aug 15 08:10:04 2021
Results reported at Sun Aug 15 08:10:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0206.4-1151_daily_bin1074 31.6018 -11.8576 517708801 517968001 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 :                                   468.49 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   592 sec.
    Turnaround time :                            865 sec.

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

