/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 188 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 = 7420
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0905.6+1358_daily_bin359
RA = 136.402, Dec = 13.975
tmin = 332380801, tmax = 332640001
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='8235', job_status='RUN', time_executed='2021-08-31 00:44:10.647699', time_epoch_executed='1630395850.65' WHERE source_name='4FGL J0905.6+1358' and cadence='daily' and bin_id='359'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/8235

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/8235/ft1_4FGL_J0905.6+1358_daily_bin359.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/8235/ft2_4FGL_J0905.6+1358_daily_bin359.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/8235/ft1_4FGL_J0905.6+1358_daily_bin359.fits outfile=/scratch/kocevski/8235/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin359.fits ra=136.402 dec=13.975 rad=12.0 tmin=332380801.0 tmax=332640001.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.88
user 3.04
sys 0.79

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/8235/ft2_4FGL_J0905.6+1358_daily_bin359.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/8235/ft2_4FGL_J0905.6+1358_daily_bin359.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/8235/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin359.fits evtable="EVENTS" outfile="/scratch/kocevski/8235/ft1_filtered_4FGL_J0905.6+1358_daily_bin359.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 1.01
user 0.31
sys 0.69

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/8235/ft1_filtered_4FGL_J0905.6+1358_daily_bin359.fits" evtable="EVENTS" scfile=/scratch/kocevski/8235/ft2_4FGL_J0905.6+1358_daily_bin359.fits sctable="SC_DATA" outfile=/scratch/kocevski/8235/ltcube_332380801_332640001_4FGL_J0905.6+1358_daily_bin359.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/8235/ft2_4FGL_J0905.6+1358_daily_bin359.fits
.....................!
real 12.34
user 11.38
sys 0.92

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/8235/ft1_filtered_4FGL_J0905.6+1358_daily_bin359.fits evtable="EVENTS" scfile=/scratch/kocevski/8235/ft2_4FGL_J0905.6+1358_daily_bin359.fits sctable="SC_DATA" expcube=/scratch/kocevski/8235/ltcube_332380801_332640001_4FGL_J0905.6+1358_daily_bin359.fits outfile=/scratch/kocevski/8235/expmap_332380801_332640001_4FGL_J0905.6+1358_daily_bin359.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/8235/ltcube_332380801_332640001_4FGL_J0905.6+1358_daily_bin359.fits
.....................!
real 192.11
user 185.36
sys 6.34

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

Setting source of interest to:
4FGL J0905.6+1358 @ 136.402 13.975

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/8235/ft1_filtered_4FGL_J0905.6+1358_daily_bin359.fits scfile=/scratch/kocevski/8235/ft2_4FGL_J0905.6+1358_daily_bin359.fits outfile=/scratch/kocevski/8235/cmap_332380801_332640001_4FGL_J0905.6+1358_daily_bin359.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=136.402 yref=13.975 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.15
user 0.37
sys 0.71

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/8235/ft1_filtered_4FGL_J0905.6+1358_daily_bin359.fits scfile=/scratch/kocevski/8235/ft2_4FGL_J0905.6+1358_daily_bin359.fits outfile=/scratch/kocevski/8235/cmap_HighResolution_332380801_332640001_4FGL_J0905.6+1358_daily_bin359.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=136.402 yref=13.975 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.12
user 0.38
sys 0.70

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/8235/ft1_filtered_4FGL_J0905.6+1358_daily_bin359.fits evtable="EVENTS" scfile=/scratch/kocevski/8235/ft2_4FGL_J0905.6+1358_daily_bin359.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/8235/Model_4FGL_J0905.6+1358_daily_bin359.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/8235/ft1_filtered_4FGL_J0905.6+1358_daily_bin359.fits.....................!
real 55.10
user 51.71
sys 2.03

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/8235/ft1_filtered_4FGL_J0905.6+1358_daily_bin359.fits', '/scratch/kocevski/8235/ft2_4FGL_J0905.6+1358_daily_bin359.fits', expMap='/scratch/kocevski/8235/expmap_332380801_332640001_4FGL_J0905.6+1358_daily_bin359.fits', expCube='/scratch/kocevski/8235/ltcube_332380801_332640001_4FGL_J0905.6+1358_daily_bin359.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/8235/Model_4FGL_J0905.6+1358_daily_bin359.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0905.6+1358'

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  1.799e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  1.592e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.283e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  2.458e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/8235/ft1_filtered_4FGL_J0905.6+1358_daily_bin359.fits
Spacecraft file(s): /scratch/kocevski/8235/ft2_4FGL_J0905.6+1358_daily_bin359.fits
Exposure map: /scratch/kocevski/8235/expmap_332380801_332640001_4FGL_J0905.6+1358_daily_bin359.fits
Exposure cube: /scratch/kocevski/8235/ltcube_332380801_332640001_4FGL_J0905.6+1358_daily_bin359.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/8235/Model_4FGL_J0905.6+1358_daily_bin359.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) = 5435.01989063

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10670E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.7101       1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.806       1.0000         .10000E-03   10000.    
     5 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    34.720       1.0000         .10000E-03   10000.    
     7 'norm      '    .10143E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    9.1550       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.6555       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11375E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.5511       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10244E-03   1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.1384       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .98644       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5434.965     FROM MIGRAD    STATUS=CONVERGED    272 CALLS     1096 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.781       -.16995E-05** at limit **
   2  Prefactor     .10000E-03    5.6216       -.34556E-07** at limit **
   3  Prefactor     4.7068        6.2769       -.33699E-05   -.28187E-03
   4  Prefactor     22.777        23.613        .31312E-04    .16463E-04
   5  norm          .10000E-03    .45427        .48657E-07** at limit **
   6  Prefactor     34.726        16.612        .36588E-05    .20063E-03
   7  norm          .10000E-03    5.3791       -.25456E-07** at limit **
   8  norm          9.0541        60.118       -.14980E-03    .27279E-05
   9  Prefactor     6.6543        78.307        .28779E-04    .58025E-04
  10  Prefactor     .10000E-03    1.6562       -.35499E-06** at limit **
  11  norm          1.5509        1.3575       -.25481E-06   -.51939E-03
  12  Prefactor     .10000E-03    13.317        .13761E-05** at limit **
  13  Normalizat    1.1385        .19013        .21358E-05    .16343E-03
  14  Prefactor     .98644        .16178        .20020E-05    .16581E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.70675
  Prefactor  = 22.7773
  norm       = 0.0001
  Prefactor  = 34.726
  norm       = 0.0001
  norm       = 9.05406
  Prefactor  = 6.65435
  Prefactor  = 0.0001
  norm       = 1.55092
  Prefactor  = 0.0001
  Normalizat = 1.1385
  Prefactor  = 0.986439
 **********
 **   18 **HESSE 
 **********

 FCN=   5434.965     FROM HESSE     STATUS=OK           162 CALLS     1258 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.6856        .17065E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.7068        6.2770        .18541E-03   -1.5274    
   4  Prefactor     22.777        23.618        .83876E-04   -1.4753    
   5  norm          .10000E-03    1.5631        .95000E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     34.726        16.437        .68009E-04   -1.4529    
   7  norm          .10000E-03    5.4507        .16698E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.0541        60.370        .13246E-03   -1.5106    
   9  Prefactor     6.6543        78.128        .15554E-03   -1.5192    
  10  Prefactor     .10000E-03    9.4993        .18438E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5509        1.3441        .77238E-04   -1.5459    
  12  Prefactor     .10000E-03    13.325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    1.1385        .22575        .24576E-03   -.88525    
  14  Prefactor     .98644        .19172        .22602E-03   -.93183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87788e-10
Minuit parameter uncertainties:
  1  0.000111965
  2  1.1033e-05
  3  6.27786
  4  23.6281
  5  2.82421e-06
  6  16.4387
  7  1.8671e-05
  8  46.8268
  9  45.6768
  10  1.01475e-05
  11  1.34416
  12  1.29227e-05
  13  0.225947
  14  0.191851
Done.

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

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  1.000e-04  1.867e-05  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  1.592e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.283e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  2.458e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.864e-01  1.919e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.138e+00  2.259e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 136.402 13.975
Photon Flux Upper Limit: 2.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.10e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/8235/likelihoodResults_332380801_332640001_4FGL_J0905.6+1358_daily_bin359.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) = 5434.96631423
delta logL = -0.00087301934218

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5434.96544216
delta logL = -9.5523228083e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11618E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5551       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1384       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98650       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5434.965     FROM MIGRAD    STATUS=FAILED        70 CALLS      215 TOTAL
                     EDM=   .59E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9580.9         .0000    ** at limit **
   2  alpha         1.1743        1.3744         .0000        .39474E-04
   3  Normalizat    1.1385        9.4237         .0000       -.75243E-04
   4  Prefactor     .98644        9.5006         .0000       -.73481E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5434.965     FROM SIMPLEX   STATUS=UNCHANGED    231 CALLS      446 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9580.9        .74900E-03** at limit **
   2  alpha         1.1743        1.3744        .32678E-08    .39474E-04
   3  Normalizat    1.1385        9.4237        .88298E-07   -.75243E-04
   4  Prefactor     .98644        9.5006        .24502E-08   -.73481E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5434.920     FROM MIGRAD    STATUS=FAILED       162 CALLS      608 TOTAL
                     EDM=   .33E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .53245        409.68        .32347E-02   -.12678E-01
   2  alpha         .38870        2.6153        .50000        .57318E-03
   3  Normalizat    1.1353        .15175        .98305E-05    .19660E-04
   4  Prefactor     .98785        .12853        .90407E-05    .15342E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.532452
  alpha      = 0.388704
  Normalizat = 1.13532
  Prefactor  = 0.987855
 **********
 **   18 **HESSE 
 **********

 FCN=   5434.920     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      637 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .53245        362.94        .64693E-03   -1.5854    
   2  alpha         .38870        3.1796        .45203       -2.1359    
   3  Normalizat    1.1353        .11411        .19661E-05   -.88626    
   4  Prefactor     .98785        .97324E-01    .18081E-05   -.93135    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.80547e-08
Minuit parameter uncertainties:
  1  27.9719
  2  22.7856
  3  0.114137
  4  0.0973409
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/8235': 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): 1
logL (Free Index) = 5434.92012617
delta logL = 0.0453150391868

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  5.325e-01  2.797e+01  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  3.887e-01  2.279e+01  0.000e+00  5.000e+00 ( 1.000e+00)
284         beta:  1.283e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  2.458e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.879e-01  9.734e-02  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.135e+00  1.141e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 136.402 13.975

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/8235/cmap_HighResolution_332380801_332640001_4FGL_J0905.6+1358_daily_bin359.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.10e-05', job_status='DONE', photon_flux_upper_limit='2.81e-08', time_completed='2021-08-31 00:52:20.325630', job_id='8235', GAL2='0.99', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1630396340.33', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='4.53e-02', ts2='0.09', photon_index_error='0.00', photon_index='1.59' WHERE bin_id='359' AND source_name='4FGL J0905.6+1358' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 00:52:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 8235: <4FGL_J0905.6+1358_daily_bin359> in cluster <slac> Done

Job <4FGL_J0905.6+1358_daily_bin359> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 31 00:40:41 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 00:40:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 00:40:44 2021
Terminated at Tue Aug 31 00:52:21 2021
Results reported at Tue Aug 31 00:52:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0905.6+1358_daily_bin359 136.402 13.975 332380801 332640001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0905.6+1358 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   492.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   696 sec.
    Turnaround time :                            700 sec.

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

