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


Performing analysis on: 4FGL_J0315.9-1033_daily_bin1121
RA = 48.9922, Dec = -10.5522
tmin = 529891201, tmax = 530150401
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='307663', job_status='RUN', time_executed='2021-08-17 22:56:28.174957', time_epoch_executed='1629266188.17' WHERE source_name='4FGL J0315.9-1033' and cadence='daily' and bin_id='1121'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/307663

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/307663/ft1_4FGL_J0315.9-1033_daily_bin1121.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/307663/ft2_4FGL_J0315.9-1033_daily_bin1121.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/307663/ft1_4FGL_J0315.9-1033_daily_bin1121.fits outfile=/scratch/kocevski/307663/ft1_filteredMKT_4FGL_J0315.9-1033_daily_bin1121.fits ra=48.9922 dec=-10.5522 rad=12.0 tmin=529891201.0 tmax=530150401.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 6.71
user 2.72
sys 0.70

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/307663/ft2_4FGL_J0315.9-1033_daily_bin1121.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/307663/ft2_4FGL_J0315.9-1033_daily_bin1121.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/307663/ft1_filteredMKT_4FGL_J0315.9-1033_daily_bin1121.fits evtable="EVENTS" outfile="/scratch/kocevski/307663/ft1_filtered_4FGL_J0315.9-1033_daily_bin1121.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 3.56
user 0.29
sys 0.67

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/307663/ft1_filtered_4FGL_J0315.9-1033_daily_bin1121.fits" evtable="EVENTS" scfile=/scratch/kocevski/307663/ft2_4FGL_J0315.9-1033_daily_bin1121.fits sctable="SC_DATA" outfile=/scratch/kocevski/307663/ltcube_529891201_530150401_4FGL_J0315.9-1033_daily_bin1121.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/307663/ft2_4FGL_J0315.9-1033_daily_bin1121.fits
.....................!
real 12.78
user 10.71
sys 0.88

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/307663/ft1_filtered_4FGL_J0315.9-1033_daily_bin1121.fits evtable="EVENTS" scfile=/scratch/kocevski/307663/ft2_4FGL_J0315.9-1033_daily_bin1121.fits sctable="SC_DATA" expcube=/scratch/kocevski/307663/ltcube_529891201_530150401_4FGL_J0315.9-1033_daily_bin1121.fits outfile=/scratch/kocevski/307663/expmap_529891201_530150401_4FGL_J0315.9-1033_daily_bin1121.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/307663/ltcube_529891201_530150401_4FGL_J0315.9-1033_daily_bin1121.fits
.....................!
real 169.05
user 150.72
sys 4.65

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

Setting source of interest to:
4FGL J0315.9-1033 @ 48.9922 -10.5522

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/307663/ft1_filtered_4FGL_J0315.9-1033_daily_bin1121.fits scfile=/scratch/kocevski/307663/ft2_4FGL_J0315.9-1033_daily_bin1121.fits outfile=/scratch/kocevski/307663/cmap_529891201_530150401_4FGL_J0315.9-1033_daily_bin1121.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=48.9922 yref=-10.5522 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 1.79
user 0.30
sys 0.64

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/307663/ft1_filtered_4FGL_J0315.9-1033_daily_bin1121.fits scfile=/scratch/kocevski/307663/ft2_4FGL_J0315.9-1033_daily_bin1121.fits outfile=/scratch/kocevski/307663/cmap_HighResolution_529891201_530150401_4FGL_J0315.9-1033_daily_bin1121.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=48.9922 yref=-10.5522 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.01
user 0.31
sys 0.65

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/307663/ft1_filtered_4FGL_J0315.9-1033_daily_bin1121.fits evtable="EVENTS" scfile=/scratch/kocevski/307663/ft2_4FGL_J0315.9-1033_daily_bin1121.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/307663/Model_4FGL_J0315.9-1033_daily_bin1121.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/307663/ft1_filtered_4FGL_J0315.9-1033_daily_bin1121.fits.....................!
real 73.92
user 60.98
sys 1.91

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/307663/ft1_filtered_4FGL_J0315.9-1033_daily_bin1121.fits', '/scratch/kocevski/307663/ft2_4FGL_J0315.9-1033_daily_bin1121.fits', expMap='/scratch/kocevski/307663/expmap_529891201_530150401_4FGL_J0315.9-1033_daily_bin1121.fits', expCube='/scratch/kocevski/307663/ltcube_529891201_530150401_4FGL_J0315.9-1033_daily_bin1121.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/307663/Model_4FGL_J0315.9-1033_daily_bin1121.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0315.9-1033'

4FGL J0315.9-1033
   Spectrum: PowerLaw
289    Prefactor:  2.107e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
290        Index:  2.475e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  6.885e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/307663/ft1_filtered_4FGL_J0315.9-1033_daily_bin1121.fits
Spacecraft file(s): /scratch/kocevski/307663/ft2_4FGL_J0315.9-1033_daily_bin1121.fits
Exposure map: /scratch/kocevski/307663/expmap_529891201_530150401_4FGL_J0315.9-1033_daily_bin1121.fits
Exposure cube: /scratch/kocevski/307663/ltcube_529891201_530150401_4FGL_J0315.9-1033_daily_bin1121.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/307663/Model_4FGL_J0315.9-1033_daily_bin1121.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) = 6397.81165168

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.0490       1.0000         .10000E-03   10000.    
     4 'Prefactor '    59.635       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.998       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    357.30       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .25459       1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.623       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15249E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    10.292       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.5669       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.074       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .62576       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1688       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6397.800     FROM MIGRAD    STATUS=CONVERGED    321 CALLS     1573 TOTAL
                     EDM=   .73E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.9965        .13421E-06** at limit **
   2  Prefactor     .10000E-03    13.019        .20025E-06** at limit **
   3  Prefactor     9.0511        7.9378        .79148E-07   -.55872E-04
   4  Prefactor     59.640        73.701        .68641E-05    .19646E-05
   5  Prefactor     .10000E-03    5.3471       -.10112E-06** at limit **
   6  Prefactor     11.999        11.821       -.38481E-06    .10173E-04
   7  Prefactor     .10000E-03    1.2662        .13581E-06** at limit **
   8  Prefactor     357.36        326.05        .34398E-04    .10535E-04
   9  Prefactor     .24771        2.7779       -.15337E-05   -.26233E-03
  10  Prefactor     16.623        18.868       -.92076E-06    .10080E-03
  11  Prefactor     .10000E-03    7.0090        .98863E-06** at limit **
  12  Prefactor     .10000E-03    11.921       -.16975E-06** at limit **
  13  norm          10.292        2.3012        .55433E-07   -.70245E-04
  14  Prefactor     6.5705        17.168        .46018E-05   -.21273E-04
  15  Prefactor     17.069        20.548       -.51006E-05   -.23367E-04
  16  Normalizat    .62539        .19359       -.32224E-05   -.20032E-04
  17  Prefactor     1.1690        .14028        .59505E-06   -.11533E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.05114
  Prefactor  = 59.6403
  Prefactor  = 0.0001
  Prefactor  = 11.9987
  Prefactor  = 0.0001
  Prefactor  = 357.364
  Prefactor  = 0.247705
  Prefactor  = 16.6232
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 10.2923
  Prefactor  = 6.57054
  Prefactor  = 17.0688
  Normalizat = 0.625385
  Prefactor  = 1.16901
 **********
 **   18 **HESSE 
 **********

 FCN=   6397.800     FROM HESSE     STATUS=OK           225 CALLS     1798 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.0258        .17459E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    13.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.0511        7.9458        .13324E-03   -1.5106    
   4  Prefactor     59.640        73.730        .51955E-04   -1.4162    
   5  Prefactor     .10000E-03    5.3750        .18061E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.999        11.815        .11565E-03   -1.5015    
   7  Prefactor     .10000E-03    1.2689        .87885E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     357.36        325.12        .10775E-03   -1.1904    
   9  Prefactor     .24771        7.0465        .24977E-02   -1.5608    
  10  Prefactor     16.623        18.806        .98233E-04   -1.4892    
  11  Prefactor     .10000E-03    46.894        .40102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.292        2.3014        .54946E-04   -1.5066    
  14  Prefactor     6.5705        17.103        .15660E-03   -1.5195    
  15  Prefactor     17.069        20.526        .96928E-04   -1.4881    
  16  Normalizat    .62539        .21507        .33257E-03   -1.0692    
  17  Prefactor     1.1690        .15860        .19134E-03   -.87290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.45309e-08
Minuit parameter uncertainties:
  1  1.12054e-05
  2  3.84063e-06
  3  7.94677
  4  73.8436
  5  9.2303e-06
  6  11.8174
  7  1.64092e-06
  8  326.806
  9  2.64212
  10  18.8122
  11  0.000749608
  12  1.47501e-06
  13  2.30146
  14  17.116
  15  20.534
  16  0.215355
  17  0.15866
Done.

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

Extracting fit parameters...

4FGL J0315.9-1033
   Spectrum: PowerLaw
289    Prefactor:  1.000e-04  1.641e-06  1.000e-04  1.000e+04 ( 1.000e-12)
290        Index:  2.475e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  6.885e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  1.169e+00  1.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  6.254e-01  2.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 48.992 -10.552
Photon Flux Upper Limit: 5.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.24e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/307663/likelihoodResults_529891201_530150401_4FGL_J0315.9-1033_daily_bin1121.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) = 6397.80336701
delta logL = -0.00367350544093

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6397.79969338
delta logL = 1.30776243168e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6397.800     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      249 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.083        .88256E-02** at limit **
   2  Index         2.1113        6.5008        .50000       -.44747E-07
   3  Normalizat    .62538        .13638E-01    .33258E-03   -.13913E-03
   4  Prefactor     1.1690        .10521E-01    .19134E-03   -.22602E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.11132
  Normalizat = 0.625384
  Prefactor  = 1.16901
 **********
 **   18 **HESSE 
 **********

 FCN=   6397.800     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      278 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    111.60        .91585E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1113        5.7591        .50000       -.61595    
   3  Normalizat    .62538        .45580E-01    .13303E-04   -1.0692    
   4  Prefactor     1.1690        .35162E-01    .38268E-04   -.87290    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28684e-09
Minuit parameter uncertainties:
  1  7.74319e-05
  2  694.234
  3  0.0455827
  4  0.0351624
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/307663': 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) = 6397.79969044
delta logL = 3.06970468955e-06

Extracting fit parameters...

4FGL J0315.9-1033
   Spectrum: PowerLaw
289    Prefactor:  1.000e-04  7.743e-05  1.000e-04  1.000e+04 ( 1.000e-12)
290        Index:  2.111e+00  6.942e+02  0.000e+00  1.000e+01 (-1.000e+00)
291        Scale:  6.885e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  1.169e+00  3.516e-02  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  6.254e-01  4.558e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 48.992 -10.552

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/307663/cmap_HighResolution_529891201_530150401_4FGL_J0315.9-1033_daily_bin1121.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.24e-03', job_status='DONE', photon_flux_upper_limit='5.46e-08', time_completed='2021-08-17 23:05:12.035534', job_id='307663', GAL2='1.17', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1629266712.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='3.07e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1121' AND source_name='4FGL J0315.9-1033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 17 23:05:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 307663: <4FGL_J0315.9-1033_daily_bin1121> in cluster <slac> Done

Job <4FGL_J0315.9-1033_daily_bin1121> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 17 22:52:24 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 17 22:53:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 17 22:53:34 2021
Terminated at Tue Aug 17 23:05:15 2021
Results reported at Tue Aug 17 23:05:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0315.9-1033_daily_bin1121 48.9922 -10.5522 529891201 530150401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0315.9-1033 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   478.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             260.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            771 sec.

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

