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


Performing analysis on: 4FGL_J0905.6+1358_daily_bin424
RA = 136.402, Dec = 13.975
tmin = 349228801, tmax = 349488001
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='9616', job_status='RUN', time_executed='2021-08-31 00:48:23.231769', time_epoch_executed='1630396103.23' WHERE source_name='4FGL J0905.6+1358' and cadence='daily' and bin_id='424'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/9616

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/9616/ft1_4FGL_J0905.6+1358_daily_bin424.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/9616/ft2_4FGL_J0905.6+1358_daily_bin424.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/9616/ft1_4FGL_J0905.6+1358_daily_bin424.fits outfile=/scratch/kocevski/9616/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin424.fits ra=136.402 dec=13.975 rad=12.0 tmin=349228801.0 tmax=349488001.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.87
user 3.19
sys 0.55

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/9616/ft1_filtered_4FGL_J0905.6+1358_daily_bin424.fits" evtable="EVENTS" scfile=/scratch/kocevski/9616/ft2_4FGL_J0905.6+1358_daily_bin424.fits sctable="SC_DATA" outfile=/scratch/kocevski/9616/ltcube_349228801_349488001_4FGL_J0905.6+1358_daily_bin424.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/9616/ft2_4FGL_J0905.6+1358_daily_bin424.fits
.....................!
real 12.82
user 11.86
sys 0.71

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/9616/ft1_filtered_4FGL_J0905.6+1358_daily_bin424.fits evtable="EVENTS" scfile=/scratch/kocevski/9616/ft2_4FGL_J0905.6+1358_daily_bin424.fits sctable="SC_DATA" expcube=/scratch/kocevski/9616/ltcube_349228801_349488001_4FGL_J0905.6+1358_daily_bin424.fits outfile=/scratch/kocevski/9616/expmap_349228801_349488001_4FGL_J0905.6+1358_daily_bin424.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/9616/ltcube_349228801_349488001_4FGL_J0905.6+1358_daily_bin424.fits
.....................!
real 190.54
user 185.32
sys 4.64

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/9616/ft1_filtered_4FGL_J0905.6+1358_daily_bin424.fits scfile=/scratch/kocevski/9616/ft2_4FGL_J0905.6+1358_daily_bin424.fits outfile=/scratch/kocevski/9616/cmap_349228801_349488001_4FGL_J0905.6+1358_daily_bin424.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 0.91
user 0.37
sys 0.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/9616/ft1_filtered_4FGL_J0905.6+1358_daily_bin424.fits scfile=/scratch/kocevski/9616/ft2_4FGL_J0905.6+1358_daily_bin424.fits outfile=/scratch/kocevski/9616/cmap_HighResolution_349228801_349488001_4FGL_J0905.6+1358_daily_bin424.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.13
user 0.39
sys 0.48

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.529       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .15336E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.745       1.0000         .10000E-03   10000.    
     5 'norm      '    1.0632       1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.997       1.0000         .10000E-03   10000.    
     7 'norm      '    7.7314       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    71.267       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .84987       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.2036       1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.0020       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .98266       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=   6299.045     FROM MIGRAD    STATUS=CONVERGED    267 CALLS     1238 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.525        19.120        .10006E-04   -.51754E-05
   2  Prefactor     .10001E-03    6.1004       -.20914E-06** at limit **
   3  Prefactor     .10000E-03    2.7627        .18358E-07** at limit **
   4  Prefactor     15.682        39.671       -.76538E-05   -.92675E-05
   5  norm          1.0632        .80137        .16263E-06   -.36573E-04
   6  Prefactor     25.996        16.784       -.20610E-05   -.10599E-04
   7  norm          7.7313        6.2628       -.13692E-06   -.16586E-04
   8  norm          .10000E-03    27.770        .49319E-06** at limit **
   9  Prefactor     71.261        60.512       -.54746E-05   -.95205E-06
  10  Prefactor     .10000E-03    1.3583       -.88913E-08** at limit **
  11  norm          .85042        1.1326       -.13603E-06   -.10391E-02
  12  Prefactor     7.2004        27.835       -.14554E-05   -.13500E-04
  13  Normalizat    1.0022        .18371       -.10366E-06    .23055E-04
  14  Prefactor     .98250        .14758        .26345E-06   -.14236E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.5255
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 15.6816
  norm       = 1.06317
  Prefactor  = 25.9965
  norm       = 7.7313
  norm       = 0.0001
  Prefactor  = 71.2615
  Prefactor  = 0.0001
  norm       = 0.850418
  Prefactor  = 7.20042
  Normalizat = 1.0022
  Prefactor  = 0.982496
 **********
 **   18 **HESSE 
 **********

 FCN=   6299.045     FROM HESSE     STATUS=OK           172 CALLS     1410 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.525        19.044        .84389E-04   -1.4758    
   2  Prefactor     .10001E-03    38.873        .37223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.7717        .12880E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     15.682        39.751        .10094E-03   -1.4916    
   5  norm          1.0632        .80211        .56168E-04   -1.5502    
   6  Prefactor     25.996        16.739        .78568E-04   -1.4688    
   7  norm          7.7313        6.2621        .14422E-03   -1.5152    
   8  norm          .10000E-03    27.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     71.261        60.520        .47553E-04   -1.4018    
  10  Prefactor     .10000E-03    3.0219        .17987E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .85042        1.0256        .93457E-03   -1.5524    
  12  Prefactor     7.2004        27.828        .14945E-03   -1.5171    
  13  Normalizat    1.0022        .21141        .26132E-03   -.92957    
  14  Prefactor     .98250        .17206        .22041E-03   -.93315    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50408e-10
Minuit parameter uncertainties:
  1  19.0489
  2  0.00121227
  3  3.05278e-06
  4  39.8177
  5  0.802118
  6  16.7422
  7  6.26262
  8  7.4507e-05
  9  60.5723
  10  6.9167e-07
  11  1.02567
  12  27.8786
  13  0.21159
  14  0.172152
Done.

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

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  7.731e+00  6.263e+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

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.825e-01  1.722e-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.002e+00  2.116e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.42
Ra Dec: 136.402 13.975
Photon Index (Fixed Index): 1.59 +/- 0.00
Photon Flux (Fixed Index): 1.25e-08 +/- 1.02e-08
Energy Flux (Fixed Index): 2.72e-05 +/- 2.20e-05

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

Saving results to:
/scratch/kocevski/9616/likelihoodResults_349228801_349488001_4FGL_J0905.6+1358_daily_bin424.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) = 6298.94354701
delta logL = 0.101354334509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6298.9433878
delta logL = 0.101513539809

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.8258       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3065       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0049       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98210       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=   6298.943     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      226 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.8262        5.3584        .13316E-05   -.23569E-02
   2  alpha         1.3065        .47310       -.13243E-04   -.22309E-03
   3  Normalizat    1.0050        .17540        .36514E-06    .15839E-03
   4  Prefactor     .98201        .14732       -.15561E-06    .20628E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.82623
  alpha      = 1.30647
  Normalizat = 1.00498
  Prefactor  = 0.982007
 **********
 **   18 **HESSE 
 **********

 FCN=   6298.943     FROM HESSE     STATUS=OK            29 CALLS      255 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.8262        6.3609        .14334E-03   -1.5148    
   2  alpha         1.3065        .59248        .18857E-01   -.49771    
   3  Normalizat    1.0050        .20444        .26098E-03   -.92864    
   4  Prefactor     .98201        .17192        .22045E-03   -.93332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.59167e-09
Minuit parameter uncertainties:
  1  6.36147
  2  0.59991
  3  0.2046
  4  0.172018
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/9616': 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) = 6298.94338765
delta logL = 0.101513692499

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  7.826e+00  6.361e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  1.306e+00  5.999e-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.820e-01  1.720e-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.005e+00  2.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.62
Ra Dec: 136.402 13.975
Photon Index (Free Index): 1.31 +/- 0.60
Photon Flux (Free Index): 9.59e-09 +/- 9.15e-09
Energy Flux (Free Index): 4.14e-05 +/- 5.08e-05

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/9616/cmap_HighResolution_349228801_349488001_4FGL_J0905.6+1358_daily_bin424.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.68e-05', comment='SUCCESS', photon_flux='1.25e-08', energy_flux2='4.14e-05', photon_flux_error='1.02e-08', dlogl='1.02e-01', energy_flux='2.72e-05', photon_flux2='9.59e-09', job_status='DONE', time_completed='2021-08-31 00:56:37.955899', photon_index_error2='0.60', photon_index2='1.31', ts='3.42', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='4.00e-08', energy_flux_error2='5.08e-05', EG='1.00', time_epoch_completed='1630396597.96', return_code='0', job_id='9616', GAL2='0.98', EG2='1.00', return_code2='0', energy_flux_error='2.20e-05', photon_flux_error2='9.15e-09', ts2='3.62', photon_index='1.59' WHERE bin_id='424' AND source_name='4FGL J0905.6+1358' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 00:56:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 9616: <4FGL_J0905.6+1358_daily_bin424> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0905.6+1358_daily_bin424 136.402 13.975 349228801 349488001 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 :                                   496.08 sec.
    Max Memory :                                 1196 MB
    Average Memory :                             283.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   669 sec.
    Turnaround time :                            672 sec.

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

