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


Performing analysis on: 4FGL_J0206.4-1151_daily_bin1385
RA = 31.6018, Dec = -11.8576
tmin = 598320001, tmax = 598579201
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='130333', job_status='RUN', time_executed='2021-08-15 08:08:19.470012', time_epoch_executed='1629040099.47' WHERE source_name='4FGL J0206.4-1151' and cadence='daily' and bin_id='1385'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/130333

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/130333/ft1_4FGL_J0206.4-1151_daily_bin1385.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/130333/ft2_4FGL_J0206.4-1151_daily_bin1385.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/130333/ft1_4FGL_J0206.4-1151_daily_bin1385.fits outfile=/scratch/kocevski/130333/ft1_filteredMKT_4FGL_J0206.4-1151_daily_bin1385.fits ra=31.6018 dec=-11.8576 rad=12.0 tmin=598320001.0 tmax=598579201.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 12.07
user 3.12
sys 8.89

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/130333/ft2_4FGL_J0206.4-1151_daily_bin1385.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/130333/ft1_filteredMKT_4FGL_J0206.4-1151_daily_bin1385.fits evtable="EVENTS" outfile="/scratch/kocevski/130333/ft1_filtered_4FGL_J0206.4-1151_daily_bin1385.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 9.45
user 0.35
sys 9.05

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/130333/ft1_filtered_4FGL_J0206.4-1151_daily_bin1385.fits" evtable="EVENTS" scfile=/scratch/kocevski/130333/ft2_4FGL_J0206.4-1151_daily_bin1385.fits sctable="SC_DATA" outfile=/scratch/kocevski/130333/ltcube_598320001_598579201_4FGL_J0206.4-1151_daily_bin1385.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/130333/ft2_4FGL_J0206.4-1151_daily_bin1385.fits
.....................!
real 25.91
user 15.68
sys 10.15

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/130333/ft1_filtered_4FGL_J0206.4-1151_daily_bin1385.fits evtable="EVENTS" scfile=/scratch/kocevski/130333/ft2_4FGL_J0206.4-1151_daily_bin1385.fits sctable="SC_DATA" expcube=/scratch/kocevski/130333/ltcube_598320001_598579201_4FGL_J0206.4-1151_daily_bin1385.fits outfile=/scratch/kocevski/130333/expmap_598320001_598579201_4FGL_J0206.4-1151_daily_bin1385.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/130333/ltcube_598320001_598579201_4FGL_J0206.4-1151_daily_bin1385.fits
.....................!
real 203.25
user 186.35
sys 16.47

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/130333/ft1_filtered_4FGL_J0206.4-1151_daily_bin1385.fits scfile=/scratch/kocevski/130333/ft2_4FGL_J0206.4-1151_daily_bin1385.fits outfile=/scratch/kocevski/130333/cmap_598320001_598579201_4FGL_J0206.4-1151_daily_bin1385.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 8.93
user 0.39
sys 8.50

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/130333/ft1_filtered_4FGL_J0206.4-1151_daily_bin1385.fits scfile=/scratch/kocevski/130333/ft2_4FGL_J0206.4-1151_daily_bin1385.fits outfile=/scratch/kocevski/130333/cmap_HighResolution_598320001_598579201_4FGL_J0206.4-1151_daily_bin1385.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 8.82
user 0.40
sys 8.38

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/130333/ft1_filtered_4FGL_J0206.4-1151_daily_bin1385.fits evtable="EVENTS" scfile=/scratch/kocevski/130333/ft2_4FGL_J0206.4-1151_daily_bin1385.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/130333/Model_4FGL_J0206.4-1151_daily_bin1385.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/130333/ft1_filtered_4FGL_J0206.4-1151_daily_bin1385.fits.....................!
real 88.50
user 76.05
sys 12.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    3.4546       1.0000         .10000E-03   10000.    
     3 'norm      '    .10133E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.4390       1.0000         .10000E-03   10000.    
     5 'Prefactor '    34.149       1.0000         .10000E-03   10000.    
     6 'norm      '    3.1767       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.8791       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.1503       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.2793       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.793       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    98.928       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.5552       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.129       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .95854       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .85050       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=   8700.712     FROM MIGRAD    STATUS=CONVERGED    317 CALLS     1613 TOTAL
                     EDM=   .68E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.7117       -.46025E-07** at limit **
   2  norm          3.4538        15.955       -.41823E-05   -.61153E-04
   3  norm          .10000E-03    .37552       -.50318E-07** at limit **
   4  norm          1.4390        2.0033       -.92407E-07   -.17473E-03
   5  Prefactor     34.156        61.847        .10286E-04   -.58926E-04
   6  norm          3.1766        1.5484       -.28507E-07   -.36332E-03
   7  Prefactor     1.8789        1.7694        .18795E-07    .18932E-03
   8  Prefactor     5.1497        7.1933       -.37667E-06   -.72270E-04
   9  Prefactor     5.2791        3.4428       -.14808E-06    .80816E-04
  10  Prefactor     11.793        10.630       -.17124E-06    .11551E-04
  11  Prefactor     .10000E-03    7.9549        .58273E-07** at limit **
  12  norm          98.928        59.340       -.30042E-07    .73775E-04
  13  Prefactor     4.5526        26.453       -.10515E-04    .33046E-04
  14  Prefactor     .10000E-03    2.3372        .19509E-07** at limit **
  15  Prefactor     14.128        10.762       -.19838E-05    .10403E-03
  16  Normalizat    .95865        .13034        .54931E-06    .67273E-04
  17  Prefactor     .85041        .13255        .18115E-06    .84016E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.45376
  norm       = 0.0001
  norm       = 1.43905
  Prefactor  = 34.1556
  norm       = 3.17665
  Prefactor  = 1.87895
  Prefactor  = 5.14971
  Prefactor  = 5.27913
  Prefactor  = 11.7931
  Prefactor  = 0.0001
  norm       = 98.9281
  Prefactor  = 4.55265
  Prefactor  = 0.0001
  Prefactor  = 14.1283
  Normalizat = 0.958653
  Prefactor  = 0.850407
 **********
 **   18 **HESSE 
 **********

 FCN=   8700.712     FROM HESSE     STATUS=OK           227 CALLS     1840 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.7965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.4538        16.297        .21759E-03   -1.5336    
   3  norm          .10000E-03    1.9855        .10899E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.4390        1.9767        .15069E-03   -1.5468    
   5  Prefactor     34.156        61.483        .68574E-04   -1.4538    
   6  norm          3.1766        1.5467        .76736E-04   -1.5351    
   7  Prefactor     1.8789        1.7815        .11608E-03   -1.5434    
   8  Prefactor     5.1497        7.1938        .17715E-03   -1.5254    
   9  Prefactor     5.2791        3.4436        .13571E-03   -1.5248    
  10  Prefactor     11.793        10.643        .11665E-03   -1.5021    
  11  Prefactor     .10000E-03    7.9682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          98.928        59.306        .40417E-04   -1.3715    
  13  Prefactor     4.5526        26.738        .18861E-03   -1.5281    
  14  Prefactor     .10000E-03    2.3415        .13925E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.128        10.801        .10656E-03   -1.4956    
  16  Normalizat    .95865        .15251        .21747E-03   -.94429    
  17  Prefactor     .85041        .15548        .24395E-03   -.97896    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38168e-10
Minuit parameter uncertainties:
  1  7.32458e-06
  2  15.0114
  3  7.36248e-06
  4  1.97681
  5  61.5978
  6  1.54672
  7  1.78157
  8  7.19497
  9  3.44376
  10  10.6449
  11  4.36823e-07
  12  59.3415
  13  22.0809
  14  1.65237e-06
  15  10.8024
  16  0.152582
  17  0.155559
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  8.504e-01  1.556e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  9.587e-01  1.526e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.18
Ra Dec: 31.602 -11.858
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.64e-08 +/- 1.55e-08
Energy Flux (Fixed Index): 5.37e-06 +/- 5.09e-06

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) = 8699.61935525
delta logL = 1.09222291513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8699.35408691
delta logL = 1.35749125391

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .67518       1.0000         .10000E-03   10000.    
     2 'Index     '    1.1530       1.0000          .0000       10.000    
     3 'Normalizat'    .97542       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84132       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=   8699.354     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      210 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .67522        .65716        .11966E-01   -.13502E-02
   2  Index         1.1531        .37181        .25577       -.11850E-03
   3  Normalizat    .97541        .12357        .45858E-01   -.11334E-03
   4  Prefactor     .84134        .13199        .44253E-01   -.22446E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.675222
  Index      = 1.15312
  Normalizat = 0.975415
  Prefactor  = 0.841336
 **********
 **   18 **HESSE 
 **********

 FCN=   8699.354     FROM HESSE     STATUS=OK            35 CALLS      245 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .67522        1.0639        .68655E-03   -1.5544    
   2  Index         1.1531        .62042        .10016E-01   -.87786    
   3  Normalizat    .97541        .14487        .21577E-03   -.93859    
   4  Prefactor     .84134        .15474        .24510E-03   -.98222    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.06804e-10
Minuit parameter uncertainties:
  1  1.0639
  2  0.624389
  3  0.144927
  4  0.154818
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/130333': 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) = 8699.35408688
delta logL = 1.35749127671

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  8.413e-01  1.548e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  9.754e-01  1.449e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.88
Ra Dec: 31.602 -11.858
Photon Index (Free Index): 1.15 +/- 0.62
Photon Flux (Free Index): 2.89e-09 +/- 3.51e-09
Energy Flux (Free Index): 2.78e-05 +/- 4.18e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/130333/cmap_HighResolution_598320001_598579201_4FGL_J0206.4-1151_daily_bin1385.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.64e-08', energy_flux2='2.78e-05', photon_flux_error='1.55e-08', dlogl='1.36e+00', energy_flux='5.37e-06', photon_flux2='2.89e-09', job_status='DONE', time_completed='2021-08-15 08:22:05.495865', photon_index_error2='0.62', photon_index2='1.15', ts='6.18', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='4.18e-05', EG='0.96', time_epoch_completed='1629040925.5', return_code='0', job_id='130333', GAL2='0.84', EG2='0.98', return_code2='0', energy_flux_error='5.09e-06', photon_flux_error2='3.51e-09', ts2='8.88', photon_index='2.40' WHERE bin_id='1385' AND source_name='4FGL J0206.4-1151' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 08:22:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 130333: <4FGL_J0206.4-1151_daily_bin1385> in cluster <slac> Done

Job <4FGL_J0206.4-1151_daily_bin1385> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Aug 15 08:05:34 2021
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 08:05:44 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:05:44 2021
Terminated at Sun Aug 15 08:22:07 2021
Results reported at Sun Aug 15 08:22:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0206.4-1151_daily_bin1385 31.6018 -11.8576 598320001 598579201 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 :                                   877.31 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             259.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   982 sec.
    Turnaround time :                            993 sec.

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

