/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 25 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 = 7473
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0905.6+1358_daily_bin83
RA = 136.402, Dec = 13.975
tmin = 260841601, tmax = 261100801
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='6659', job_status='RUN', time_executed='2021-08-31 00:37:08.277796', time_epoch_executed='1630395428.28' WHERE source_name='4FGL J0905.6+1358' and cadence='daily' and bin_id='83'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/6659

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/6659/ft1_4FGL_J0905.6+1358_daily_bin83.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/6659/ft2_4FGL_J0905.6+1358_daily_bin83.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/6659/ft1_4FGL_J0905.6+1358_daily_bin83.fits outfile=/scratch/kocevski/6659/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin83.fits ra=136.402 dec=13.975 rad=12.0 tmin=260841601.0 tmax=261100801.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 5.98
user 1.40
sys 4.55

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/6659/ft2_4FGL_J0905.6+1358_daily_bin83.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/6659/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin83.fits evtable="EVENTS" outfile="/scratch/kocevski/6659/ft1_filtered_4FGL_J0905.6+1358_daily_bin83.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 4.95
user 0.33
sys 4.54

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/6659/ft1_filtered_4FGL_J0905.6+1358_daily_bin83.fits" evtable="EVENTS" scfile=/scratch/kocevski/6659/ft2_4FGL_J0905.6+1358_daily_bin83.fits sctable="SC_DATA" outfile=/scratch/kocevski/6659/ltcube_260841601_261100801_4FGL_J0905.6+1358_daily_bin83.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/6659/ft2_4FGL_J0905.6+1358_daily_bin83.fits
.....................!
real 17.40
user 12.17
sys 5.17

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/6659/ft1_filtered_4FGL_J0905.6+1358_daily_bin83.fits evtable="EVENTS" scfile=/scratch/kocevski/6659/ft2_4FGL_J0905.6+1358_daily_bin83.fits sctable="SC_DATA" expcube=/scratch/kocevski/6659/ltcube_260841601_261100801_4FGL_J0905.6+1358_daily_bin83.fits outfile=/scratch/kocevski/6659/expmap_260841601_261100801_4FGL_J0905.6+1358_daily_bin83.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/6659/ltcube_260841601_261100801_4FGL_J0905.6+1358_daily_bin83.fits
.....................!
real 196.00
user 185.12
sys 10.38

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/6659/ft1_filtered_4FGL_J0905.6+1358_daily_bin83.fits scfile=/scratch/kocevski/6659/ft2_4FGL_J0905.6+1358_daily_bin83.fits outfile=/scratch/kocevski/6659/cmap_260841601_261100801_4FGL_J0905.6+1358_daily_bin83.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 5.09
user 0.38
sys 4.43

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/6659/ft1_filtered_4FGL_J0905.6+1358_daily_bin83.fits scfile=/scratch/kocevski/6659/ft2_4FGL_J0905.6+1358_daily_bin83.fits outfile=/scratch/kocevski/6659/cmap_HighResolution_260841601_261100801_4FGL_J0905.6+1358_daily_bin83.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 5.11
user 0.38
sys 4.44

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2204       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.9457       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.465       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .22423E-01   1.0000         .10000E-03   10000.    
     5 'norm      '    .40307       1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.965       1.0000         .10000E-03   10000.    
     7 'norm      '    2.9050       1.0000         .10000E-03   10000.    
     8 'norm      '    30.968       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.2115       1.0000         .10000E-03   10000.    
    11 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .18811E-02   1.0000         .10000E-03   10000.    
    13 'Normalizat'    .91635       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.1454       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=   9037.453     FROM MIGRAD    STATUS=CONVERGED    452 CALLS     1277 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2171        9.7822        .17593E-03    .18959E-03
   2  Prefactor     3.9435        7.0142        .20308E-03    .17825E-03
   3  Prefactor     11.462        7.0499        .11831E-03    .64495E-03
   4  Prefactor     .10009E-03    10.081        .10328    ** at limit **
   5  norm          .40331        .55724        .80808E-03    .96330E-02
   6  Prefactor     21.953        11.251        .85465E-04    .32212E-03
   7  norm          2.9053        3.1343        .17039E-03   -.12263E-03
   8  norm          30.948        24.506        .72000E-04    .10996E-03
   9  Prefactor     .10000E-03    25.594        .18142E-02** at limit **
  10  Prefactor     3.2101        2.7153        .13897E-03    .24313E-03
  11  norm          .10000E-03    .83748        .12546E-02** at limit **
  12  Prefactor     .10000E-03    214.31        .87725E-02** at limit **
  13  Normalizat    .91655        .17411        .26893E-03    .56122E-03
  14  Prefactor     1.1455        .14913        .21241E-03    .36152E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.21708
  Prefactor  = 3.94349
  Prefactor  = 11.4622
  Prefactor  = 0.000100091
  norm       = 0.403306
  Prefactor  = 21.9532
  norm       = 2.90534
  norm       = 30.948
  Prefactor  = 0.0001
  Prefactor  = 3.21011
  norm       = 0.000100001
  Prefactor  = 0.000100004
  Normalizat = 0.916546
  Prefactor  = 1.1455
 **********
 **   18 **HESSE 
 **********

 FCN=   9037.453     FROM HESSE     STATUS=OK           160 CALLS     1437 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2171        9.7819        .70373E-05   -1.5251    
   2  Prefactor     3.9435        7.0128        .81231E-05   -1.5311    
   3  Prefactor     11.462        7.0488        .47325E-05   -1.5031    
   4  Prefactor     .10009E-03    9.8360        .10610       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .40331        .55634        .16162E-03   -1.5581    
   6  Prefactor     21.953        11.243        .17093E-04   -1.4771    
   7  norm          2.9053        3.1342        .68158E-05   -1.5367    
   8  norm          30.948        24.505        .14400E-04   -1.4595    
   9  Prefactor     .10000E-03    25.599        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.2101        2.7152        .55587E-05   -1.5350    
  11  norm          .10000E-03    .83961        .25091E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    224.05        .35090E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    .91655        .17408        .53785E-04   -.95881    
  14  Prefactor     1.1455        .14924        .42481E-04   -.88025    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45689e-09
Minuit parameter uncertainties:
  1  9.78485
  2  7.01424
  3  7.04927
  4  0.00189214
  5  0.556349
  6  11.2443
  7  3.13443
  8  24.5131
  9  3.16556e-05
  10  2.71526
  11  4.45074e-05
  12  0.00187732
  13  0.174183
  14  0.14929
Done.

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

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  2.905e+00  3.134e+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:  1.146e+00  1.493e-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:  9.165e-01  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.14
Ra Dec: 136.402 13.975
Photon Index (Fixed Index): 1.59 +/- 0.00
Photon Flux (Fixed Index): 4.71e-09 +/- 5.08e-09
Energy Flux (Fixed Index): 1.02e-05 +/- 1.10e-05

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

Saving results to:
/scratch/kocevski/6659/likelihoodResults_260841601_261100801_4FGL_J0905.6+1358_daily_bin83.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) = 9037.07121169
delta logL = 0.381683491389

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9037.07051598
delta logL = 0.382379197716

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8304       1.0000         .10000E-03   10000.    
     2 'alpha     '    .86034       1.0000          .0000       5.0000    
     3 'Normalizat'    .91491       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1475       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.

 FCN=   9037.071     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      194 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8304        2.8463        .60431E-02   -.19688E-02
   2  alpha         .86039        .63386        .50000       -.41112E-04
   3  Normalizat    .91491        .14769        .45092E-01    .22120E-04
   4  Prefactor     1.1475        .12949        .36009E-01    .38741E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.83044
  alpha      = 0.860386
  Normalizat = 0.914914
  Prefactor  = 1.14749
 **********
 **   18 **HESSE 
 **********

 FCN=   9037.071     FROM HESSE     STATUS=OK            31 CALLS      225 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8304        3.1793        .15533E-03   -1.5371    
   2  alpha         .86039        .71031        .31440E-02   -.71530    
   3  Normalizat    .91491        .16937        .26911E-03   -.95938    
   4  Prefactor     1.1475        .14857        .21223E-03   -.87963    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11891e-09
Minuit parameter uncertainties:
  1  3.17951
  2  0.728245
  3  0.169467
  4  0.148623
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/6659': 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) = 9037.07051598
delta logL = 0.382379200228

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  2.830e+00  3.180e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  8.604e-01  7.282e-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.147e+00  1.486e-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:  9.149e-01  1.695e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.90
Ra Dec: 136.402 13.975
Photon Index (Free Index): 0.86 +/- 0.73
Photon Flux (Free Index): 3.28e-09 +/- 3.33e-09
Energy Flux (Free Index): 3.77e-05 +/- 5.90e-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/6659/cmap_HighResolution_260841601_261100801_4FGL_J0905.6+1358_daily_bin83.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.94e-05', comment='SUCCESS', photon_flux='4.71e-09', energy_flux2='3.77e-05', photon_flux_error='5.08e-09', dlogl='3.82e-01', energy_flux='1.02e-05', photon_flux2='3.28e-09', job_status='DONE', time_completed='2021-08-31 00:47:42.746260', photon_index_error2='0.73', photon_index2='0.86', ts='3.14', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='2.28e-08', energy_flux_error2='5.90e-05', EG='0.92', time_epoch_completed='1630396062.75', return_code='0', job_id='6659', GAL2='1.15', EG2='0.91', return_code2='0', energy_flux_error='1.10e-05', photon_flux_error2='3.33e-09', ts2='3.90', photon_index='1.59' WHERE bin_id='83' AND source_name='4FGL J0905.6+1358' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 00:47:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 6659: <4FGL_J0905.6+1358_daily_bin83> in cluster <slac> Done

Job <4FGL_J0905.6+1358_daily_bin83> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 31 00:35:24 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 00:35:25 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:35:25 2021
Terminated at Tue Aug 31 00:47:44 2021
Results reported at Tue Aug 31 00:47:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0905.6+1358_daily_bin83 136.402 13.975 260841601 261100801 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 :                                   689.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   738 sec.
    Turnaround time :                            740 sec.

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

