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


Performing analysis on: 4FGL_J0905.6+1358_daily_bin751
RA = 136.402, Dec = 13.975
tmin = 433987201, tmax = 434246401
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='11452', job_status='RUN', time_executed='2021-08-31 00:56:17.521882', time_epoch_executed='1630396577.52' WHERE source_name='4FGL J0905.6+1358' and cadence='daily' and bin_id='751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/11452

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/11452/ft1_4FGL_J0905.6+1358_daily_bin751.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/11452/ft2_4FGL_J0905.6+1358_daily_bin751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/11452/ft1_4FGL_J0905.6+1358_daily_bin751.fits outfile=/scratch/kocevski/11452/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin751.fits ra=136.402 dec=13.975 rad=12.0 tmin=433987201.0 tmax=434246401.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 14.93
user 5.88
sys 8.93

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/11452/ft1_filtered_4FGL_J0905.6+1358_daily_bin751.fits" evtable="EVENTS" scfile=/scratch/kocevski/11452/ft2_4FGL_J0905.6+1358_daily_bin751.fits sctable="SC_DATA" outfile=/scratch/kocevski/11452/ltcube_433987201_434246401_4FGL_J0905.6+1358_daily_bin751.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/11452/ft2_4FGL_J0905.6+1358_daily_bin751.fits
.....................!
real 22.54
user 12.35
sys 10.07

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/11452/ft1_filtered_4FGL_J0905.6+1358_daily_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/11452/ft2_4FGL_J0905.6+1358_daily_bin751.fits sctable="SC_DATA" expcube=/scratch/kocevski/11452/ltcube_433987201_434246401_4FGL_J0905.6+1358_daily_bin751.fits outfile=/scratch/kocevski/11452/expmap_433987201_434246401_4FGL_J0905.6+1358_daily_bin751.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/11452/ltcube_433987201_434246401_4FGL_J0905.6+1358_daily_bin751.fits
.....................!
real 204.46
user 186.22
sys 16.20

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/11452/ft1_filtered_4FGL_J0905.6+1358_daily_bin751.fits scfile=/scratch/kocevski/11452/ft2_4FGL_J0905.6+1358_daily_bin751.fits outfile=/scratch/kocevski/11452/cmap_433987201_434246401_4FGL_J0905.6+1358_daily_bin751.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 9.02
user 0.38
sys 8.60

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/11452/ft1_filtered_4FGL_J0905.6+1358_daily_bin751.fits scfile=/scratch/kocevski/11452/ft2_4FGL_J0905.6+1358_daily_bin751.fits outfile=/scratch/kocevski/11452/cmap_HighResolution_433987201_434246401_4FGL_J0905.6+1358_daily_bin751.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 9.09
user 0.38
sys 8.61

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12032E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .93983       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10452E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    22.254       1.0000         .10000E-03   10000.    
     9 'Prefactor '    56.782       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .25905       1.0000         .10000E-03   10000.    
    11 'norm      '    3.6682       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.4939       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .58694       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=   4247.473     FROM MIGRAD    STATUS=CONVERGED    254 CALLS     1059 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.6178       -.11493E-05** at limit **
   2  Prefactor     .10000E-03    11.022        .14076E-04** at limit **
   3  Prefactor     .10000E-03    2.1592        .22311E-06** at limit **
   4  Prefactor     .10000E-03    37.808       -.76331E-05** at limit **
   5  norm          .94003        .62362        .36887E-07    .37689E-03
   6  Prefactor     .10000E-03    12.369       -.17673E-04** at limit **
   7  norm          .10000E-03    3.7448        .13483E-06** at limit **
   8  norm          22.250        26.837       -.52731E-05    .34204E-04
   9  Prefactor     56.803        50.062        .24623E-04    .83370E-05
  10  Prefactor     .28972        3.3602        .13459E-05   -.10131E-02
  11  norm          3.6689        1.8413        .55410E-07   -.22428E-03
  12  Prefactor     .10000E-03    19.454        .11395E-04** at limit **
  13  Normalizat    1.4934        .20257       -.17150E-05   -.18799E-03
  14  Prefactor     .58724        .16485        .48389E-06   -.19535E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.940035
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 22.2496
  Prefactor  = 56.8034
  Prefactor  = 0.289724
  norm       = 3.66889
  Prefactor  = 0.0001
  Normalizat = 1.49338
  Prefactor  = 0.587244
 **********
 **   18 **HESSE 
 **********

 FCN=   4247.473     FROM HESSE     STATUS=OK           160 CALLS     1219 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.6454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.267        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.1642        .93520E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    38.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .94003        .61522        .40551E-04   -1.5514    
   6  Prefactor     .10000E-03    12.504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.7600        .12317E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          22.250        26.824        .84908E-04   -1.4764    
   9  Prefactor     56.803        50.225        .26618E-03   -1.4199    
  10  Prefactor     .28972        20.914        .22514E-02   -1.5600    
  11  norm          3.6689        1.8441        .60510E-04   -1.5325    
  12  Prefactor     .10000E-03    19.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    1.4934        .23472        .20946E-03   -.77965    
  14  Prefactor     .58724        .19078        .26251E-03   -1.0813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.67653e-09
Minuit parameter uncertainties:
  1  8.28422e-06
  2  0.000109136
  3  3.61811e-07
  4  0.000145308
  5  0.615222
  6  0.000126282
  7  1.18114e-06
  8  26.8381
  9  50.2627
  10  4.92409
  11  1.84412
  12  3.68231e-06
  13  0.234888
  14  0.190995
Done.

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

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  1.000e-04  1.181e-06  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:  5.872e-01  1.910e-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.493e+00  2.349e-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.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.17e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/11452/likelihoodResults_433987201_434246401_4FGL_J0905.6+1358_daily_bin751.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) = 4247.47378243
delta logL = -0.00121631657112

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4247.47256624
delta logL = -1.30054104375e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10237E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5731       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4934       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58725       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=   4247.473     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      252 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    124.82        .12484E-01** at limit **
   2  alpha         1.2913        3.8259        .18185       -.17379E-07
   3  Normalizat    1.4934        .29445E-01    .20946E-03   -.14546E-04
   4  Prefactor     .58725        .24392E-01    .26251E-03   -.15677E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.29132
  Normalizat = 1.49337
  Prefactor  = 0.587245
 **********
 **   18 **HESSE 
 **********

 FCN=   4247.473     FROM HESSE     STATUS=OK            23 CALLS      275 TOTAL
                     EDM=   .26E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.2574        .13050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.2913        3.5701        .72741E-02   -.50462    
   3  Normalizat    1.4934        .23006        .83785E-05   -.77965    
   4  Prefactor     .58725        .19049        .10501E-04   -1.0813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56189e-12
Minuit parameter uncertainties:
  1  2.58368e-06
  2  171.608
  3  0.23022
  4  0.190698
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/11452': 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) = 4247.4725646
delta logL = 1.51037147589e-06

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  1.000e-04  2.584e-06  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  1.291e+00  1.716e+02  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:  5.872e-01  1.907e-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.493e+00  2.302e-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/11452/cmap_HighResolution_433987201_434246401_4FGL_J0905.6+1358_daily_bin751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.17e-05', job_status='DONE', photon_flux_upper_limit='2.84e-08', time_completed='2021-08-31 01:06:01.043222', job_id='11452', GAL2='0.59', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1630397161.04', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='1.51e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.59' WHERE bin_id='751' AND source_name='4FGL J0905.6+1358' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:06:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 11452: <4FGL_J0905.6+1358_daily_bin751> in cluster <slac> Done

Job <4FGL_J0905.6+1358_daily_bin751> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 00:50:47 2021
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 00:50:48 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:50:48 2021
Terminated at Tue Aug 31 01:06:03 2021
Results reported at Tue Aug 31 01:06:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0905.6+1358_daily_bin751 136.402 13.975 433987201 434246401 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 :                                   707.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             218.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            916 sec.

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

