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


Performing analysis on: 4FGL_J0905.6+1358_daily_bin25
RA = 136.402, Dec = 13.975
tmin = 245808001, tmax = 246067201
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='5342', job_status='RUN', time_executed='2021-08-31 00:33:54.768545', time_epoch_executed='1630395234.77' WHERE source_name='4FGL J0905.6+1358' and cadence='daily' and bin_id='25'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/5342

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/5342/ft1_4FGL_J0905.6+1358_daily_bin25.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/5342/ft2_4FGL_J0905.6+1358_daily_bin25.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/5342/ft1_4FGL_J0905.6+1358_daily_bin25.fits outfile=/scratch/kocevski/5342/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin25.fits ra=136.402 dec=13.975 rad=12.0 tmin=245808001.0 tmax=246067201.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.86
user 1.28
sys 4.50

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/5342/ft2_4FGL_J0905.6+1358_daily_bin25.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/5342/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin25.fits evtable="EVENTS" outfile="/scratch/kocevski/5342/ft1_filtered_4FGL_J0905.6+1358_daily_bin25.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.85
user 0.32
sys 4.47

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/5342/ft1_filtered_4FGL_J0905.6+1358_daily_bin25.fits" evtable="EVENTS" scfile=/scratch/kocevski/5342/ft2_4FGL_J0905.6+1358_daily_bin25.fits sctable="SC_DATA" outfile=/scratch/kocevski/5342/ltcube_245808001_246067201_4FGL_J0905.6+1358_daily_bin25.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/5342/ft2_4FGL_J0905.6+1358_daily_bin25.fits
.....................!
real 17.35
user 12.09
sys 5.19

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/5342/ft1_filtered_4FGL_J0905.6+1358_daily_bin25.fits evtable="EVENTS" scfile=/scratch/kocevski/5342/ft2_4FGL_J0905.6+1358_daily_bin25.fits sctable="SC_DATA" expcube=/scratch/kocevski/5342/ltcube_245808001_246067201_4FGL_J0905.6+1358_daily_bin25.fits outfile=/scratch/kocevski/5342/expmap_245808001_246067201_4FGL_J0905.6+1358_daily_bin25.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/5342/ltcube_245808001_246067201_4FGL_J0905.6+1358_daily_bin25.fits
.....................!
real 196.66
user 186.09
sys 10.08

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/5342/ft1_filtered_4FGL_J0905.6+1358_daily_bin25.fits scfile=/scratch/kocevski/5342/ft2_4FGL_J0905.6+1358_daily_bin25.fits outfile=/scratch/kocevski/5342/cmap_245808001_246067201_4FGL_J0905.6+1358_daily_bin25.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 4.80
user 0.37
sys 4.40

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/5342/ft1_filtered_4FGL_J0905.6+1358_daily_bin25.fits scfile=/scratch/kocevski/5342/ft2_4FGL_J0905.6+1358_daily_bin25.fits outfile=/scratch/kocevski/5342/cmap_HighResolution_245808001_246067201_4FGL_J0905.6+1358_daily_bin25.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 4.81
user 0.36
sys 4.38

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.998       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .38798       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.8719       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.998       1.0000         .10000E-03   10000.    
     7 'norm      '    5.4253       1.0000         .10000E-03   10000.    
     8 'norm      '    103.09       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12536E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13701E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.5335       1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.405       1.0000         .10000E-03   10000.    
    13 'Normalizat'    .89773       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0937       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=   5907.330     FROM MIGRAD    STATUS=CONVERGED    255 CALLS     1195 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.5152       -.23419E-06** at limit **
   2  Prefactor     16.999        11.149       -.81216E-05   -.91901E-05
   3  Prefactor     .36774        5.9280       -.21372E-06   -.27333E-04
   4  Prefactor     .10000E-03    7.5593        .14560E-06** at limit **
   5  norm          1.8718        .77142        .60973E-07    .43802E-03
   6  Prefactor     11.998        8.8577        .99026E-06    .32216E-04
   7  norm          5.4252        5.6835       -.30341E-06    .81799E-04
   8  norm          103.07        48.268       -.10927E-04    .44799E-06
   9  Prefactor     .10000E-03    99.843        .25509E-05** at limit **
  10  Prefactor     .10000E-03    1.9240       -.11829E-06** at limit **
  11  norm          1.5335        1.3876       -.24512E-06   -.65715E-03
  12  Prefactor     25.402        31.655       -.32549E-05    .26517E-05
  13  Normalizat    .89775        .18922        .37716E-05   -.17835E-04
  14  Prefactor     1.0937        .15919        .18787E-06    .14631E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 16.9987
  Prefactor  = 0.367737
  Prefactor  = 0.0001
  norm       = 1.87182
  Prefactor  = 11.9979
  norm       = 5.42518
  norm       = 103.071
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.53345
  Prefactor  = 25.4018
  Normalizat = 0.897752
  Prefactor  = 1.09369
 **********
 **   18 **HESSE 
 **********

 FCN=   5907.330     FROM HESSE     STATUS=OK           168 CALLS     1363 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.5177        .15951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.999        11.110        .97146E-04   -1.4883    
   3  Prefactor     .36774        21.459        .35183E-02   -1.5587    
   4  Prefactor     .10000E-03    7.5610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.8718        .76912        .41531E-04   -1.5434    
   6  Prefactor     11.998        8.8598        .11565E-03   -1.5015    
   7  norm          5.4252        5.6851        .17252E-03   -1.5242    
   8  norm          103.07        48.298        .39602E-04   -1.3674    
   9  Prefactor     .10000E-03    100.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.0864        .20675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5335        1.3760        .81729E-04   -1.5460    
  12  Prefactor     25.402        31.676        .79476E-04   -1.4700    
  13  Normalizat    .89775        .21691        .26983E-03   -.96539    
  14  Prefactor     1.0937        .18344        .21439E-03   -.89669    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.50152e-08
Minuit parameter uncertainties:
  1  5.0074e-06
  2  11.1112
  3  5.61961
  4  5.67899e-06
  5  0.769125
  6  8.86072
  7  5.6857
  8  48.3168
  9  0.000348722
  10  0.000108813
  11  1.37603
  12  31.6974
  13  0.21712
  14  0.183546
Done.

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

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  5.425e+00  5.686e+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.094e+00  1.835e-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:  8.978e-01  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.31
Ra Dec: 136.402 13.975
Photon Index (Fixed Index): 1.59 +/- 0.00
Photon Flux (Fixed Index): 8.79e-09 +/- 9.22e-09
Energy Flux (Fixed Index): 1.91e-05 +/- 2.00e-05

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

Saving results to:
/scratch/kocevski/5342/likelihoodResults_245808001_246067201_4FGL_J0905.6+1358_daily_bin25.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) = 5907.08334028
delta logL = 0.246678339511

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5907.08277013
delta logL = 0.247248488692

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3986       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3236       1.0000          .0000       5.0000    
     3 'Normalizat'    .88520       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0932       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=   5907.083     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      277 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3963        81.561        .48007E-02    .75778E-04
   2  alpha         2.3252        3.6622        .31796        .49383E-04
   3  Normalizat    .88490        .69231E-01    .44712E-01    .16102E-04
   4  Prefactor     1.0935        .50546E-01    .37851E-01   -.19096E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 4.3963
  alpha      = 2.32522
  Normalizat = 0.884896
  Prefactor  = 1.09346
 **********
 **   18 **HESSE 
 **********

 FCN=   5907.083     FROM HESSE     STATUS=OK            33 CALLS      310 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3963        5.7095        .13215E-03   -1.5289    
   2  alpha         2.3252        .90646        .11122E-01   -.69970E-01
   3  Normalizat    .88490        .21047        .27151E-03   -.96993    
   4  Prefactor     1.0935        .18212        .21432E-03   -.89676    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.54125e-09
Minuit parameter uncertainties:
  1  5.71024
  2  0.927713
  3  0.210667
  4  0.182227
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/5342': 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) = 5907.0827664
delta logL = 0.247252220169

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  4.396e+00  5.710e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  2.325e+00  9.277e-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.093e+00  1.822e-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:  8.849e-01  2.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.80
Ra Dec: 136.402 13.975
Photon Index (Free Index): 2.33 +/- 0.93
Photon Flux (Free Index): 2.62e-08 +/- 3.48e-08
Energy Flux (Free Index): 1.34e-05 +/- 1.21e-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/5342/cmap_HighResolution_245808001_246067201_4FGL_J0905.6+1358_daily_bin25.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.50e-05', comment='SUCCESS', photon_flux='8.79e-09', energy_flux2='1.34e-05', photon_flux_error='9.22e-09', dlogl='2.47e-01', energy_flux='1.91e-05', photon_flux2='2.62e-08', job_status='DONE', time_completed='2021-08-31 00:42:51.866273', photon_index_error2='0.93', photon_index2='2.33', ts='3.31', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='3.92e-08', energy_flux_error2='1.21e-05', EG='0.90', time_epoch_completed='1630395771.87', return_code='0', job_id='5342', GAL2='1.09', EG2='0.88', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='3.48e-08', ts2='3.80', photon_index='1.59' WHERE bin_id='25' AND source_name='4FGL J0905.6+1358' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 00:42:51 PDT 2021


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

Job <4FGL_J0905.6+1358_daily_bin25> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 00:30:48 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 00:30:49 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:30:49 2021
Terminated at Tue Aug 31 00:42:53 2021
Results reported at Tue Aug 31 00:42:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0905.6+1358_daily_bin25 136.402 13.975 245808001 246067201 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 :                                   600.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             255.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   723 sec.
    Turnaround time :                            725 sec.

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

