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


Performing analysis on: 4FGL_J0905.6+1358_daily_bin408
RA = 136.402, Dec = 13.975
tmin = 345081601, tmax = 345340801
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='9592', job_status='RUN', time_executed='2021-08-31 00:50:10.001614', time_epoch_executed='1630396210.0' WHERE source_name='4FGL J0905.6+1358' and cadence='daily' and bin_id='408'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/9592

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/9592/ft1_4FGL_J0905.6+1358_daily_bin408.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/9592/ft2_4FGL_J0905.6+1358_daily_bin408.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/9592/ft1_4FGL_J0905.6+1358_daily_bin408.fits outfile=/scratch/kocevski/9592/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin408.fits ra=136.402 dec=13.975 rad=12.0 tmin=345081601.0 tmax=345340801.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 10.60
user 3.27
sys 7.09

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/9592/ft2_4FGL_J0905.6+1358_daily_bin408.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/9592/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin408.fits evtable="EVENTS" outfile="/scratch/kocevski/9592/ft1_filtered_4FGL_J0905.6+1358_daily_bin408.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 7.59
user 0.34
sys 7.06

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/9592/ft1_filtered_4FGL_J0905.6+1358_daily_bin408.fits" evtable="EVENTS" scfile=/scratch/kocevski/9592/ft2_4FGL_J0905.6+1358_daily_bin408.fits sctable="SC_DATA" outfile=/scratch/kocevski/9592/ltcube_345081601_345340801_4FGL_J0905.6+1358_daily_bin408.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/9592/ft2_4FGL_J0905.6+1358_daily_bin408.fits
.....................!
real 20.97
user 12.78
sys 8.04

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/9592/ft1_filtered_4FGL_J0905.6+1358_daily_bin408.fits evtable="EVENTS" scfile=/scratch/kocevski/9592/ft2_4FGL_J0905.6+1358_daily_bin408.fits sctable="SC_DATA" expcube=/scratch/kocevski/9592/ltcube_345081601_345340801_4FGL_J0905.6+1358_daily_bin408.fits outfile=/scratch/kocevski/9592/expmap_345081601_345340801_4FGL_J0905.6+1358_daily_bin408.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/9592/ltcube_345081601_345340801_4FGL_J0905.6+1358_daily_bin408.fits
.....................!
real 202.16
user 187.57
sys 12.78

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/9592/ft1_filtered_4FGL_J0905.6+1358_daily_bin408.fits scfile=/scratch/kocevski/9592/ft2_4FGL_J0905.6+1358_daily_bin408.fits outfile=/scratch/kocevski/9592/cmap_345081601_345340801_4FGL_J0905.6+1358_daily_bin408.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 7.27
user 0.37
sys 6.87

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/9592/ft1_filtered_4FGL_J0905.6+1358_daily_bin408.fits scfile=/scratch/kocevski/9592/ft2_4FGL_J0905.6+1358_daily_bin408.fits outfile=/scratch/kocevski/9592/cmap_HighResolution_345081601_345340801_4FGL_J0905.6+1358_daily_bin408.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 7.29
user 0.38
sys 6.87

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/9592/ft1_filtered_4FGL_J0905.6+1358_daily_bin408.fits', '/scratch/kocevski/9592/ft2_4FGL_J0905.6+1358_daily_bin408.fits', expMap='/scratch/kocevski/9592/expmap_345081601_345340801_4FGL_J0905.6+1358_daily_bin408.fits', expCube='/scratch/kocevski/9592/ltcube_345081601_345340801_4FGL_J0905.6+1358_daily_bin408.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/9592/Model_4FGL_J0905.6+1358_daily_bin408.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/9592/ft1_filtered_4FGL_J0905.6+1358_daily_bin408.fits
Spacecraft file(s): /scratch/kocevski/9592/ft2_4FGL_J0905.6+1358_daily_bin408.fits
Exposure map: /scratch/kocevski/9592/expmap_345081601_345340801_4FGL_J0905.6+1358_daily_bin408.fits
Exposure cube: /scratch/kocevski/9592/ltcube_345081601_345340801_4FGL_J0905.6+1358_daily_bin408.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/9592/Model_4FGL_J0905.6+1358_daily_bin408.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) = 7212.11557479

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .15674E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.1522       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.614       1.0000         .10000E-03   10000.    
     5 'norm      '    2.0158       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    47.150       1.0000         .10000E-03   10000.    
     9 'Prefactor '    38.365       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .82098       1.0000         .10000E-03   10000.    
    11 'norm      '    .10745E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.2805       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0010       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=   7212.100     FROM MIGRAD    STATUS=CONVERGED    267 CALLS     1236 TOTAL
                     EDM=   .86E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.468        .42907E-06** at limit **
   2  Prefactor     .10002E-03    6.3205       -.21107E-06** at limit **
   3  Prefactor     3.1530        5.1438       -.89604E-07   -.96621E-04
   4  Prefactor     19.590        33.882       -.20928E-05   -.85411E-04
   5  norm          2.0159        .89570        .24089E-07    .78670E-04
   6  Prefactor     .10000E-03    7.7950        .93259E-08** at limit **
   7  norm          .10000E-03    2.8179        .27444E-07** at limit **
   8  norm          47.135        39.078       -.93103E-06   -.70969E-04
   9  Prefactor     38.358        56.213       -.33028E-06   -.19791E-04
  10  Prefactor     .81969        3.9211        .25600E-05   -.58316E-04
  11  norm          .10000E-03    .64632        .11605E-06** at limit **
  12  Prefactor     .10000E-03    12.624        .34166E-07** at limit **
  13  Normalizat    1.2807        .18448       -.51581E-06   -.12473E-03
  14  Prefactor     1.0009        .14973       -.20902E-06   -.14850E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.00010002
  Prefactor  = 3.15303
  Prefactor  = 19.59
  norm       = 2.0159
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 47.1346
  Prefactor  = 38.3584
  Prefactor  = 0.819688
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.28074
  Prefactor  = 1.00088
 **********
 **   18 **HESSE 
 **********

 FCN=   7212.100     FROM HESSE     STATUS=OK           166 CALLS     1402 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10002E-03    39.911        .40544E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.1530        5.1477        .22830E-03   -1.5353    
   4  Prefactor     19.590        34.487        .90437E-04   -1.4822    
   5  norm          2.0159        .88876        .50794E-04   -1.5424    
   6  Prefactor     .10000E-03    7.8252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.8299        .13923E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          47.135        39.347        .58394E-04   -1.4334    
   9  Prefactor     38.358        56.259        .64709E-04   -1.4468    
  10  Prefactor     .81969        4.0200        .31791E-03   -1.5527    
  11  norm          .10000E-03    2.7634        .13064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    1.2807        .21561        .26025E-03   -.84143    
  14  Prefactor     1.0009        .17689        .24053E-03   -.92700    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.06565e-10
Minuit parameter uncertainties:
  1  6.30288e-05
  2  0.00176751
  3  5.14842
  4  34.5225
  5  0.888769
  6  9.35719e-06
  7  4.22904e-07
  8  39.3685
  9  56.3368
  10  3.63066
  11  4.02147e-05
  12  4.04784e-07
  13  0.215763
  14  0.176988
Done.

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

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  1.000e-04  4.229e-07  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:  1.001e+00  1.770e-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.281e+00  2.158e-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.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.70e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/9592/likelihoodResults_345081601_345340801_4FGL_J0905.6+1358_daily_bin408.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): 0
logL (Free Index) = 7212.10139614
delta logL = -0.00166153106784

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7211.55057051
delta logL = 0.54916409289

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .98002E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.9833       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1976       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0409       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7211.551     FROM MIGRAD    STATUS=CONVERGED    121 CALLS      389 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .95023E-02    .10732E-01    .80113E-05    .73083E-03
   2  alpha         4.9942        .90732        .50000       -.78805E-04
   3  Normalizat    1.1970        .22810        .26788E-03   -.94045E-04
   4  Prefactor     1.0413        .18140        .23634E-03    .96784E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00950227
  alpha      = 4.99421
  Normalizat = 1.19704
  Prefactor  = 1.04127
 **********
 **   18 **HESSE 
 **********

 FCN=   7211.551     FROM HESSE     STATUS=OK            29 CALLS      418 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .95023E-02    .10705E-01    .32045E-06   -1.5689    
   2  alpha         4.9942        .90329        .50000        1.5027    
   3  Normalizat    1.1970        .22840        .10715E-04   -.86694    
   4  Prefactor     1.0413        .18161        .94536E-05   -.91366    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.12725e-09
Minuit parameter uncertainties:
  1  0.0107048
  2  0.149509
  3  0.228587
  4  0.181721
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/9592': 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) = 7211.5505431
delta logL = 0.549191508111

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  9.502e-03  1.070e-02  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  4.994e+00  1.495e-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:  1.041e+00  1.817e-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.197e+00  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.20
Ra Dec: 136.402 13.975
Photon Index (Free Index): 4.99 +/- 0.15
Photon Flux (Free Index): 6.94e-08 +/- 9.32e-08
Energy Flux (Free Index): 9.87e-06 +/- 1.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/9592/cmap_HighResolution_345081601_345340801_4FGL_J0905.6+1358_daily_bin408.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.70e-05', comment='SUCCESS', energy_flux2='9.87e-06', dlogl='5.49e-01', photon_flux2='6.94e-08', job_status='DONE', time_completed='2021-08-31 01:00:43.397277', photon_index_error2='0.15', photon_index2='4.99', ts='-0.00', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='2.16e-08', energy_flux_error2='1.32e-05', EG='1.28', time_epoch_completed='1630396843.4', return_code='0', job_id='9592', GAL2='1.04', EG2='1.20', return_code2='0', photon_flux_error2='9.32e-08', ts2='1.20', photon_index='1.59' WHERE bin_id='408' AND source_name='4FGL J0905.6+1358' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:00:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 9592: <4FGL_J0905.6+1358_daily_bin408> in cluster <slac> Done

Job <4FGL_J0905.6+1358_daily_bin408> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 00:45:26 2021
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 00:45:28 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:45:28 2021
Terminated at Tue Aug 31 01:00:46 2021
Results reported at Tue Aug 31 01:00:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0905.6+1358_daily_bin408 136.402 13.975 345081601 345340801 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 :                                   737.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             242.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            920 sec.

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

