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


Performing analysis on: 4FGL_J0216.6-1015_daily_bin1615
RA = 34.1653, Dec = -10.2662
tmin = 657936001, tmax = 658195201
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='158781', job_status='RUN', time_executed='2021-12-07 13:10:42.930828', time_epoch_executed='1638911442.93' WHERE source_name='4FGL J0216.6-1015' and cadence='daily' and bin_id='1615'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158781

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158781/ft1_4FGL_J0216.6-1015_daily_bin1615.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158781/ft2_4FGL_J0216.6-1015_daily_bin1615.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158781/ft1_4FGL_J0216.6-1015_daily_bin1615.fits outfile=/scratch/kocevski/158781/ft1_filteredMKT_4FGL_J0216.6-1015_daily_bin1615.fits ra=34.1653 dec=-10.2662 rad=12.0 tmin=657936001.0 tmax=658195201.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 4.18
user 3.95
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/158781/ft2_4FGL_J0216.6-1015_daily_bin1615.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/158781/ft2_4FGL_J0216.6-1015_daily_bin1615.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/158781/ft1_filteredMKT_4FGL_J0216.6-1015_daily_bin1615.fits evtable="EVENTS" outfile="/scratch/kocevski/158781/ft1_filtered_4FGL_J0216.6-1015_daily_bin1615.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.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158781/ft1_filtered_4FGL_J0216.6-1015_daily_bin1615.fits" evtable="EVENTS" scfile=/scratch/kocevski/158781/ft2_4FGL_J0216.6-1015_daily_bin1615.fits sctable="SC_DATA" outfile=/scratch/kocevski/158781/ltcube_657936001_658195201_4FGL_J0216.6-1015_daily_bin1615.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/158781/ft2_4FGL_J0216.6-1015_daily_bin1615.fits
.....................!
real 14.48
user 14.10
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158781/ft1_filtered_4FGL_J0216.6-1015_daily_bin1615.fits evtable="EVENTS" scfile=/scratch/kocevski/158781/ft2_4FGL_J0216.6-1015_daily_bin1615.fits sctable="SC_DATA" expcube=/scratch/kocevski/158781/ltcube_657936001_658195201_4FGL_J0216.6-1015_daily_bin1615.fits outfile=/scratch/kocevski/158781/expmap_657936001_658195201_4FGL_J0216.6-1015_daily_bin1615.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/158781/ltcube_657936001_658195201_4FGL_J0216.6-1015_daily_bin1615.fits
.....................!
real 191.73
user 186.08
sys 5.25

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 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J0216.6-1015 @ 34.1653 -10.2662

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/158781/ft1_filtered_4FGL_J0216.6-1015_daily_bin1615.fits scfile=/scratch/kocevski/158781/ft2_4FGL_J0216.6-1015_daily_bin1615.fits outfile=/scratch/kocevski/158781/cmap_657936001_658195201_4FGL_J0216.6-1015_daily_bin1615.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=34.1653 yref=-10.2662 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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158781/ft1_filtered_4FGL_J0216.6-1015_daily_bin1615.fits scfile=/scratch/kocevski/158781/ft2_4FGL_J0216.6-1015_daily_bin1615.fits outfile=/scratch/kocevski/158781/cmap_HighResolution_657936001_658195201_4FGL_J0216.6-1015_daily_bin1615.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=34.1653 yref=-10.2662 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.55
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/158781/ft1_filtered_4FGL_J0216.6-1015_daily_bin1615.fits evtable="EVENTS" scfile=/scratch/kocevski/158781/ft2_4FGL_J0216.6-1015_daily_bin1615.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158781/Model_4FGL_J0216.6-1015_daily_bin1615.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/158781/ft1_filtered_4FGL_J0216.6-1015_daily_bin1615.fits.....................!
real 54.16
user 52.80
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/158781/ft1_filtered_4FGL_J0216.6-1015_daily_bin1615.fits', '/scratch/kocevski/158781/ft2_4FGL_J0216.6-1015_daily_bin1615.fits', expMap='/scratch/kocevski/158781/expmap_657936001_658195201_4FGL_J0216.6-1015_daily_bin1615.fits', expCube='/scratch/kocevski/158781/ltcube_657936001_658195201_4FGL_J0216.6-1015_daily_bin1615.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/158781/Model_4FGL_J0216.6-1015_daily_bin1615.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0216.6-1015'

4FGL J0216.6-1015
   Spectrum: PowerLaw
273    Prefactor:  4.047e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.163e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.308e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/158781/ft1_filtered_4FGL_J0216.6-1015_daily_bin1615.fits
Spacecraft file(s): /scratch/kocevski/158781/ft2_4FGL_J0216.6-1015_daily_bin1615.fits
Exposure map: /scratch/kocevski/158781/expmap_657936001_658195201_4FGL_J0216.6-1015_daily_bin1615.fits
Exposure cube: /scratch/kocevski/158781/ltcube_657936001_658195201_4FGL_J0216.6-1015_daily_bin1615.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/158781/Model_4FGL_J0216.6-1015_daily_bin1615.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) = 5256.77016908

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    24.071       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.6081       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .57836       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.419       1.0000         .10000E-03   10000.    
     8 'Prefactor '    31.941       1.0000         .10000E-03   10000.    
     9 'norm      '    .99288E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    169.42       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.2247       1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.209       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .45905E-02   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .90919       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95742       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5256.722     FROM MIGRAD    STATUS=CONVERGED    296 CALLS     1499 TOTAL
                     EDM=   .79E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    12.757        .16570E-06** at limit **
   2  norm          24.070        8.2264       -.59458E-09   -.23157E-04
   3  Prefactor     .10000E-03    41.617        .31745E-06** at limit **
   4  norm          4.6075        1.9640        .47188E-08   -.12370E-03
   5  Prefactor     .57687        4.4499        .25775E-05    .48430E-05
   6  Prefactor     .10000E-03    5.1894       -.61144E-07** at limit **
   7  Prefactor     11.378        13.093       -.84754E-06   -.65276E-04
   8  Prefactor     31.932        25.683       -.23025E-06   -.48766E-04
   9  norm          .10000E-03    119.77       -.72528E-05** at limit **
  10  Prefactor     169.36        64.971       -.45411E-06   -.13262E-03
  11  Prefactor     .10000E-03    6.2209        .19088E-06** at limit **
  12  Prefactor     3.2226        11.983        .87706E-06    .87716E-05
  13  Prefactor     15.214        36.979        .35294E-06    .40855E-05
  14  Prefactor     .10002E-03    5.9569        .46388E-06** at limit **
  15  Normalizat    .90974        .19491        .12505E-05   -.22589E-03
  16  Prefactor     .95688        .18470       -.21535E-05   -.77362E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 24.0697
  Prefactor  = 0.0001
  norm       = 4.60748
  Prefactor  = 0.576865
  Prefactor  = 0.0001
  Prefactor  = 11.3785
  Prefactor  = 31.9318
  norm       = 0.0001
  Prefactor  = 169.361
  Prefactor  = 0.0001
  Prefactor  = 3.2226
  Prefactor  = 15.2137
  Prefactor  = 0.000100015
  Normalizat = 0.909742
  Prefactor  = 0.956877
 **********
 **   18 **HESSE 
 **********

 FCN=   5256.722     FROM HESSE     STATUS=OK           201 CALLS     1700 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    12.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          24.070        8.2273        .81645E-04   -1.4726    
   3  Prefactor     .10000E-03    41.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.6075        1.9632        .31897E-03   -1.5279    
   5  Prefactor     .57687        4.6913        .29414E-03   -1.5556    
   6  Prefactor     .10000E-03    5.2008        .16130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.378        12.962        .11855E-03   -1.5033    
   8  Prefactor     31.932        25.696        .70898E-04   -1.4577    
   9  norm          .10000E-03    118.03        .20767E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     169.36        65.647        .15498E-03   -1.3098    
  11  Prefactor     .10000E-03    6.2499        .17662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.2226        12.000        .22559E-03   -1.5349    
  13  Prefactor     15.214        36.965        .10270E-03   -1.4928    
  14  Prefactor     .10002E-03    71.262        .33668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .90974        .22073        .24954E-03   -.96119    
  16  Prefactor     .95688        .20791        .24123E-03   -.94181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.74926e-10
Minuit parameter uncertainties:
  1  2.73039e-06
  2  8.22772
  3  9.94272e-05
  4  1.96321
  5  3.29021
  6  6.22152e-06
  7  12.9656
  8  25.7048
  9  0.000239059
  10  65.6756
  11  3.13874e-06
  12  12.0086
  13  37.0206
  14  0.00208838
  15  0.22095
  16  0.208088
Done.

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

Extracting fit parameters...

4FGL J0216.6-1015
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  6.222e-06  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.163e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.308e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  9.569e-01  2.081e-01  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.097e-01  2.210e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 34.165 -10.266
Photon Flux Upper Limit: 5.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/158781/likelihoodResults_657936001_658195201_4FGL_J0216.6-1015_daily_bin1615.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) = 5256.72287859
delta logL = -0.000914201006708

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5256.7219644
delta logL = -4.56202542409e-09

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 'Index     '    2.1646       1.0000          .0000       10.000    
     3 'Normalizat'    .90975       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95688       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5256.722     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      199 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    925.81        .90712E-02** at limit **
   2  Index         2.1659        6.0797        .50000       -.21480E-05
   3  Normalizat    .90974        .88217E-01    .45026E-01    .53085E-05
   4  Prefactor     .95688        .87310E-01    .45726E-01    .67148E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.16589
  Normalizat = 0.909745
  Prefactor  = 0.956875
 **********
 **   18 **HESSE 
 **********

 FCN=   5256.722     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      232 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1001.7        .16131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1659        5.6477        .50000       -.60264    
   3  Normalizat    .90974        .10054        .24954E-03   -.96119    
   4  Prefactor     .95688        .99961E-01    .24123E-03   -.94181    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.06307e-10
Minuit parameter uncertainties:
  1  2.04256e-05
  2  58.2188
  3  0.100565
  4  0.0999806
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158781': 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) = 5256.72196439
delta logL = 1.30239641294e-09

Extracting fit parameters...

4FGL J0216.6-1015
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  2.043e-05  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.166e+00  5.822e+01  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.308e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  9.569e-01  9.998e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.097e-01  1.006e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 34.165 -10.266

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/158781/cmap_HighResolution_657936001_658195201_4FGL_J0216.6-1015_daily_bin1615.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.05e-03', job_status='DONE', photon_flux_upper_limit='5.33e-08', time_completed='2021-12-07 13:19:14.714665', job_id='158781', GAL2='0.96', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1638911954.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.30e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1615' AND source_name='4FGL J0216.6-1015' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 13:19:14 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 158781: <4FGL_J0216.6-1015_daily_bin1615> in cluster <slac> Done

Job <4FGL_J0216.6-1015_daily_bin1615> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec  7 13:05:47 2021
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 13:07:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 13:07:26 2021
Terminated at Tue Dec  7 13:19:15 2021
Results reported at Tue Dec  7 13:19:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0216.6-1015_daily_bin1615 34.1653 -10.2662 657936001 658195201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0216.6-1015 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   511.15 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             277.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            808 sec.

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

