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


Performing analysis on: 4FGL_J0206.4-1151_daily_bin1098
RA = 31.6018, Dec = -11.8576
tmin = 523929601, tmax = 524188801
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='127596', job_status='RUN', time_executed='2021-08-15 08:02:10.767013', time_epoch_executed='1629039730.77' WHERE source_name='4FGL J0206.4-1151' and cadence='daily' and bin_id='1098'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/127596

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/127596/ft1_4FGL_J0206.4-1151_daily_bin1098.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/127596/ft2_4FGL_J0206.4-1151_daily_bin1098.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/127596/ft1_4FGL_J0206.4-1151_daily_bin1098.fits outfile=/scratch/kocevski/127596/ft1_filteredMKT_4FGL_J0206.4-1151_daily_bin1098.fits ra=31.6018 dec=-11.8576 rad=12.0 tmin=523929601.0 tmax=524188801.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.12
user 3.28
sys 1.82

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/127596/ft1_filtered_4FGL_J0206.4-1151_daily_bin1098.fits" evtable="EVENTS" scfile=/scratch/kocevski/127596/ft2_4FGL_J0206.4-1151_daily_bin1098.fits sctable="SC_DATA" outfile=/scratch/kocevski/127596/ltcube_523929601_524188801_4FGL_J0206.4-1151_daily_bin1098.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/127596/ft2_4FGL_J0206.4-1151_daily_bin1098.fits
.....................!
real 15.40
user 13.23
sys 2.12

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/127596/ft1_filtered_4FGL_J0206.4-1151_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/127596/ft2_4FGL_J0206.4-1151_daily_bin1098.fits sctable="SC_DATA" expcube=/scratch/kocevski/127596/ltcube_523929601_524188801_4FGL_J0206.4-1151_daily_bin1098.fits outfile=/scratch/kocevski/127596/expmap_523929601_524188801_4FGL_J0206.4-1151_daily_bin1098.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/127596/ltcube_523929601_524188801_4FGL_J0206.4-1151_daily_bin1098.fits
.....................!
real 193.98
user 186.29
sys 7.08

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/127596/ft1_filtered_4FGL_J0206.4-1151_daily_bin1098.fits scfile=/scratch/kocevski/127596/ft2_4FGL_J0206.4-1151_daily_bin1098.fits outfile=/scratch/kocevski/127596/cmap_523929601_524188801_4FGL_J0206.4-1151_daily_bin1098.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 2.11
user 0.38
sys 1.71

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/127596/ft1_filtered_4FGL_J0206.4-1151_daily_bin1098.fits scfile=/scratch/kocevski/127596/ft2_4FGL_J0206.4-1151_daily_bin1098.fits outfile=/scratch/kocevski/127596/cmap_HighResolution_523929601_524188801_4FGL_J0206.4-1151_daily_bin1098.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 2.13
user 0.40
sys 1.70

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/127596/ft1_filtered_4FGL_J0206.4-1151_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/127596/ft2_4FGL_J0206.4-1151_daily_bin1098.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/127596/Model_4FGL_J0206.4-1151_daily_bin1098.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/127596/ft1_filtered_4FGL_J0206.4-1151_daily_bin1098.fits.....................!
real 57.66
user 54.19
sys 3.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10124E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.3656       1.0000         .10000E-03   10000.    
     4 'norm      '    5.4320       1.0000         .10000E-03   10000.    
     5 'Prefactor '    47.572       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7888       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.823       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.2510       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.8866       1.0000         .10000E-03   10000.    
    12 'norm      '    8.4604       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.9077       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .76487       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1093       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=   6042.727     FROM MIGRAD    STATUS=CONVERGED    326 CALLS     1567 TOTAL
                     EDM=   .84E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.580        .28365E-05** at limit **
   2  norm          .10000E-03    20.793       -.22342E-05** at limit **
   3  norm          2.3656        1.2408        .31373E-07   -.57267E-04
   4  norm          5.4314        4.2085        .80115E-06    .19148E-03
   5  Prefactor     47.571        58.142       -.52665E-06   -.15023E-04
   6  norm          .10000E-03    .61715       -.26542E-07** at limit **
   7  Prefactor     2.7887        3.1463        .90678E-07   -.14076E-03
   8  Prefactor     .10000E-03    8.5530        .19707E-05** at limit **
   9  Prefactor     10.823        7.2398       -.22481E-09   -.32787E-04
  10  Prefactor     1.2490        11.384        .35274E-05   -.16052E-03
  11  Prefactor     9.8861        11.699       -.90254E-08   -.29764E-04
  12  norm          8.4676        31.712       -.17540E-05   -.11038E-05
  13  Prefactor     .10000E-03    9.2068       -.25373E-05** at limit **
  14  Prefactor     .10000E-03    4.5899       -.94685E-08** at limit **
  15  Prefactor     4.9084        8.7152        .23398E-06   -.30398E-04
  16  Normalizat    .76485        .15656       -.53961E-06   -.97568E-04
  17  Prefactor     1.1093        .16376       -.28941E-06   -.96172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.36565
  norm       = 5.43142
  Prefactor  = 47.5705
  norm       = 0.0001
  Prefactor  = 2.78871
  Prefactor  = 0.0001
  Prefactor  = 10.8225
  Prefactor  = 1.249
  Prefactor  = 9.88613
  norm       = 8.4676
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.90838
  Normalizat = 0.764845
  Prefactor  = 1.10935
 **********
 **   18 **HESSE 
 **********

 FCN=   6042.727     FROM HESSE     STATUS=OK           223 CALLS     1790 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.162        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    21.420        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.3656        1.2389        .60108E-04   -1.5400    
   4  norm          5.4314        4.2451        .13689E-03   -1.5242    
   5  Prefactor     47.571        58.209        .58136E-04   -1.4327    
   6  norm          .10000E-03    .62918        .59571E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.7887        3.1384        .13959E-03   -1.5374    
   8  Prefactor     .10000E-03    8.7151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.823        7.2512        .12179E-03   -1.5050    
  10  Prefactor     1.2490        13.875        .39979E-03   -1.5484    
  11  Prefactor     9.8861        11.695        .12744E-03   -1.5079    
  12  norm          8.4676        33.281        .13782E-03   -1.5126    
  13  Prefactor     .10000E-03    9.3662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.6044        .16262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.9084        8.7154        .18156E-03   -1.5265    
  16  Normalizat    .76485        .18033        .24067E-03   -1.0139    
  17  Prefactor     1.1093        .18888        .22032E-03   -.89168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83268e-10
Minuit parameter uncertainties:
  1  6.14714e-05
  2  7.86436e-05
  3  1.23894
  4  4.24535
  5  58.2785
  6  2.32293e-08
  7  3.13855
  8  4.58054e-05
  9  7.25179
  10  8.3278
  11  11.6982
  12  33.3545
  13  6.81911e-05
  14  2.69176e-06
  15  8.71768
  16  0.180475
  17  0.188997
Done.

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

Extracting fit parameters...

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  2.789e+00  3.139e+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.109e+00  1.890e-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.648e-01  1.805e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.09
Ra Dec: 31.602 -11.858
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 2.43e-08 +/- 2.73e-08
Energy Flux (Fixed Index): 7.97e-06 +/- 8.97e-06

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

Saving results to:
/scratch/kocevski/127596/likelihoodResults_523929601_524188801_4FGL_J0206.4-1151_daily_bin1098.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) = 6042.72681742
delta logL = 5.74837031309e-08

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6042.72681738
delta logL = 9.5881659945e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7887       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3989       1.0000          .0000       10.000    
     3 'Normalizat'    .76485       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1094       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.

 FCN=   6042.727     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      191 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7893        92.836        .60913E-02    .45962E-03
   2  Index         2.3984        5.8577        .23908        .31902E-04
   3  Normalizat    .76487        .57193E-01    .43150E-01    .18255E-04
   4  Prefactor     1.1093        .50620E-01    .37242E-01   -.10568E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.78935
  Index      = 2.39844
  Normalizat = 0.764869
  Prefactor  = 1.10933
 **********
 **   18 **HESSE 
 **********

 FCN=   6042.727     FROM HESSE     STATUS=OK            33 CALLS      224 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7893        3.3806        .13963E-03   -1.5374    
   2  Index         2.3984        1.0863        .11193E-01   -.54722    
   3  Normalizat    .76487        .17787        .24067E-03   -1.0139    
   4  Prefactor     1.1093        .18973        .22032E-03   -.89169    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13332e-09
Minuit parameter uncertainties:
  1  3.3808
  2  1.09842
  3  0.178003
  4  0.189841
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/127596': 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) = 6042.72681728
delta logL = 1.96520886675e-07

Extracting fit parameters...

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  2.789e+00  3.381e+00  1.000e-04  1.000e+04 ( 1.000e-12)
286        Index:  2.398e+00  1.098e+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.109e+00  1.898e-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.649e-01  1.780e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.09
Ra Dec: 31.602 -11.858
Photon Index (Free Index): 2.40 +/- 1.10
Photon Flux (Free Index): 2.43e-08 +/- 3.58e-08
Energy Flux (Free Index): 7.97e-06 +/- 9.79e-06

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/127596/cmap_HighResolution_523929601_524188801_4FGL_J0206.4-1151_daily_bin1098.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.67e-03', comment='SUCCESS', photon_flux='2.43e-08', energy_flux2='7.97e-06', photon_flux_error='2.73e-08', dlogl='1.97e-07', energy_flux='7.97e-06', photon_flux2='2.43e-08', job_status='DONE', time_completed='2021-08-15 08:11:41.734785', photon_index_error2='1.10', photon_index2='2.40', ts='1.09', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='8.63e-08', energy_flux_error2='9.79e-06', EG='0.76', time_epoch_completed='1629040301.73', return_code='0', job_id='127596', GAL2='1.11', EG2='0.76', return_code2='0', energy_flux_error='8.97e-06', photon_flux_error2='3.58e-08', ts2='1.09', photon_index='2.40' WHERE bin_id='1098' AND source_name='4FGL J0206.4-1151' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 08:11:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 127596: <4FGL_J0206.4-1151_daily_bin1098> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0206.4-1151_daily_bin1098 31.6018 -11.8576 523929601 524188801 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 :                                   593.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   675 sec.
    Turnaround time :                            960 sec.

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

