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


Performing analysis on: 4FGL_J0206.4-1151_daily_bin1185
RA = 31.6018, Dec = -11.8576
tmin = 546480001, tmax = 546739201
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='127735', job_status='RUN', time_executed='2021-08-15 08:03:12.165010', time_epoch_executed='1629039792.17' WHERE source_name='4FGL J0206.4-1151' and cadence='daily' and bin_id='1185'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/127735

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/127735/ft1_4FGL_J0206.4-1151_daily_bin1185.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/127735/ft2_4FGL_J0206.4-1151_daily_bin1185.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/127735/ft1_4FGL_J0206.4-1151_daily_bin1185.fits outfile=/scratch/kocevski/127735/ft1_filteredMKT_4FGL_J0206.4-1151_daily_bin1185.fits ra=31.6018 dec=-11.8576 rad=12.0 tmin=546480001.0 tmax=546739201.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.67
user 2.97
sys 0.65

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/127735/ft2_4FGL_J0206.4-1151_daily_bin1185.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/127735/ft1_filteredMKT_4FGL_J0206.4-1151_daily_bin1185.fits evtable="EVENTS" outfile="/scratch/kocevski/127735/ft1_filtered_4FGL_J0206.4-1151_daily_bin1185.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.89
user 0.28
sys 0.60

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/127735/ft1_filtered_4FGL_J0206.4-1151_daily_bin1185.fits" evtable="EVENTS" scfile=/scratch/kocevski/127735/ft2_4FGL_J0206.4-1151_daily_bin1185.fits sctable="SC_DATA" outfile=/scratch/kocevski/127735/ltcube_546480001_546739201_4FGL_J0206.4-1151_daily_bin1185.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/127735/ft2_4FGL_J0206.4-1151_daily_bin1185.fits
.....................!
real 10.90
user 9.99
sys 0.85

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/127735/ft1_filtered_4FGL_J0206.4-1151_daily_bin1185.fits evtable="EVENTS" scfile=/scratch/kocevski/127735/ft2_4FGL_J0206.4-1151_daily_bin1185.fits sctable="SC_DATA" expcube=/scratch/kocevski/127735/ltcube_546480001_546739201_4FGL_J0206.4-1151_daily_bin1185.fits outfile=/scratch/kocevski/127735/expmap_546480001_546739201_4FGL_J0206.4-1151_daily_bin1185.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/127735/ltcube_546480001_546739201_4FGL_J0206.4-1151_daily_bin1185.fits
.....................!
real 157.27
user 150.89
sys 5.41

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/127735/ft1_filtered_4FGL_J0206.4-1151_daily_bin1185.fits scfile=/scratch/kocevski/127735/ft2_4FGL_J0206.4-1151_daily_bin1185.fits outfile=/scratch/kocevski/127735/cmap_546480001_546739201_4FGL_J0206.4-1151_daily_bin1185.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.92
user 0.31
sys 0.59

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/127735/ft1_filtered_4FGL_J0206.4-1151_daily_bin1185.fits scfile=/scratch/kocevski/127735/ft2_4FGL_J0206.4-1151_daily_bin1185.fits outfile=/scratch/kocevski/127735/cmap_HighResolution_546480001_546739201_4FGL_J0206.4-1151_daily_bin1185.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.92
user 0.32
sys 0.60

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/127735/ft1_filtered_4FGL_J0206.4-1151_daily_bin1185.fits evtable="EVENTS" scfile=/scratch/kocevski/127735/ft2_4FGL_J0206.4-1151_daily_bin1185.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/127735/Model_4FGL_J0206.4-1151_daily_bin1185.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/127735/ft1_filtered_4FGL_J0206.4-1151_daily_bin1185.fits.....................!
real 61.83
user 58.76
sys 1.62

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0629       1.0000         .10000E-03   10000.    
     2 'norm      '    28.819       1.0000         .10000E-03   10000.    
     3 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    8.4277       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.2773       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.4296       1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.351       1.0000         .10000E-03   10000.    
    12 'norm      '    26.350       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .45378       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.794       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .90419       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .95443       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=   8283.793     FROM MIGRAD    STATUS=CONVERGED    335 CALLS     1606 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0657        10.359        .17971E-06    .85169E-06
   2  norm          28.813        23.478        .41307E-06    .68768E-06
   3  norm          .10000E-03    .38780        .33196E-07** at limit **
   4  norm          8.4293        5.0997       -.11571E-07   -.59742E-05
   5  Prefactor     .10000E-03    33.138       -.49144E-06** at limit **
   6  norm          5.2778        1.8053       -.13269E-07   -.30913E-04
   7  Prefactor     .10000E-03    2.3300       -.98455E-08** at limit **
   8  Prefactor     .10000E-03    6.4853        .22883E-07** at limit **
   9  Prefactor     .10000E-03    1.4198        .27081E-07** at limit **
  10  Prefactor     4.4373        6.5257       -.63738E-07    .79392E-05
  11  Prefactor     21.349        18.467        .76117E-07   -.11646E-04
  12  norm          26.310        31.140        .35466E-05    .20250E-04
  13  Prefactor     .10000E-03    8.0582       -.47214E-07** at limit **
  14  Prefactor     .51411        6.6598        .60833E-06   -.16850E-03
  15  Prefactor     13.792        10.309       -.25044E-06   -.67532E-04
  16  Normalizat    .90405        .13454       -.16022E-06   -.74970E-04
  17  Prefactor     .95452        .13855       -.39098E-07   -.78786E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.06567
  norm       = 28.8133
  norm       = 0.0001
  norm       = 8.42927
  Prefactor  = 0.0001
  norm       = 5.27781
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.43733
  Prefactor  = 21.3494
  norm       = 26.3098
  Prefactor  = 0.0001
  Prefactor  = 0.514114
  Prefactor  = 13.7919
  Normalizat = 0.904046
  Prefactor  = 0.954517
 **********
 **   18 **HESSE 
 **********

 FCN=   8283.793     FROM HESSE     STATUS=OK           231 CALLS     1837 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0657        10.350        .16306E-03   -1.5215    
   2  norm          28.813        23.469        .74630E-04   -1.4634    
   3  norm          .10000E-03    .66990        .10964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          8.4293        5.0958        .13809E-03   -1.5127    
   5  Prefactor     .10000E-03    33.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.2778        1.8106        .67237E-04   -1.5248    
   7  Prefactor     .10000E-03    2.4203        .27094E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.6417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.4307        .10588E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.4373        6.5432        .95669E-03   -1.5287    
  11  Prefactor     21.349        18.463        .86684E-04   -1.4784    
  12  norm          26.310        31.203        .78041E-04   -1.4682    
  13  Prefactor     .10000E-03    8.0686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .51411        33.239        .42940E-02   -1.5565    
  15  Prefactor     13.792        10.279        .10784E-03   -1.4965    
  16  Normalizat    .90405        .15588        .23082E-03   -.96318    
  17  Prefactor     .95452        .16142        .23865E-03   -.94261    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03539e-10
Minuit parameter uncertainties:
  1  10.353
  2  23.476
  3  9.66884e-07
  4  5.09604
  5  5.03921e-06
  6  1.81064
  7  2.0128e-07
  8  1.23072e-06
  9  2.59152e-07
  10  6.54421
  11  18.4682
  12  31.2224
  13  1.00499e-05
  14  8.27169
  15  10.2801
  16  0.155958
  17  0.161504
Done.

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

Extracting fit parameters...

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  2.013e-07  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:  9.545e-01  1.615e-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.040e-01  1.560e-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.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/127735/likelihoodResults_546480001_546739201_4FGL_J0206.4-1151_daily_bin1185.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) = 8283.79534
delta logL = -0.00197254072191

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8283.79336771
delta logL = -2.56248313235e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3959       1.0000          .0000       10.000    
     3 'Normalizat'    .90405       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95457       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=   8283.793     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    195.96        .90712E-02** at limit **
   2  Index         2.3927        7.1294        .50000        .11399E-04
   3  Normalizat    .90405        .34548E-01    .44953E-01    .54182E-04
   4  Prefactor     .95452        .36506E-01    .45697E-01    .54269E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.39271
  Normalizat = 0.904046
  Prefactor  = 0.954517
 **********
 **   18 **HESSE 
 **********

 FCN=   8283.793     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.6631        .27111E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3927        6.1955        .50000       -.54856    
   3  Normalizat    .90405        .14967        .23082E-03   -.96318    
   4  Prefactor     .95452        .15945        .23865E-03   -.94261    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41607e-10
Minuit parameter uncertainties:
  1  0.000101805
  2  4.47559
  3  0.149739
  4  0.159531
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/127735': 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) = 8283.79336744
delta logL = 1.69984559761e-08

Extracting fit parameters...

4FGL J0206.4-1151
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  1.018e-04  1.000e-04  1.000e+04 ( 1.000e-12)
286        Index:  2.393e+00  4.476e+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:  9.545e-01  1.595e-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.040e-01  1.497e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/127735/cmap_HighResolution_546480001_546739201_4FGL_J0206.4-1151_daily_bin1185.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.31e-08', time_completed='2021-08-15 08:12:10.408038', job_id='127735', GAL2='0.95', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1629040330.41', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.70e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1185' AND source_name='4FGL J0206.4-1151' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 08:12:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 127735: <4FGL_J0206.4-1151_daily_bin1185> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0206.4-1151_daily_bin1185 31.6018 -11.8576 546480001 546739201 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 :                                   530.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   651 sec.
    Turnaround time :                            975 sec.

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

