/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 22 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 = 7399
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0905.6+1358_daily_bin869
RA = 136.402, Dec = 13.975
tmin = 464572801, tmax = 464832001
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='11642', job_status='RUN', time_executed='2021-08-31 00:54:25.023022', time_epoch_executed='1630396465.02' WHERE source_name='4FGL J0905.6+1358' and cadence='daily' and bin_id='869'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/11642

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/11642/ft1_4FGL_J0905.6+1358_daily_bin869.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/11642/ft2_4FGL_J0905.6+1358_daily_bin869.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/11642/ft1_4FGL_J0905.6+1358_daily_bin869.fits outfile=/scratch/kocevski/11642/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin869.fits ra=136.402 dec=13.975 rad=12.0 tmin=464572801.0 tmax=464832001.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 12.60
user 3.14
sys 8.95

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/11642/ft1_filtered_4FGL_J0905.6+1358_daily_bin869.fits evtable="EVENTS" scfile=/scratch/kocevski/11642/ft2_4FGL_J0905.6+1358_daily_bin869.fits sctable="SC_DATA" expcube=/scratch/kocevski/11642/ltcube_464572801_464832001_4FGL_J0905.6+1358_daily_bin869.fits outfile=/scratch/kocevski/11642/expmap_464572801_464832001_4FGL_J0905.6+1358_daily_bin869.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/11642/ltcube_464572801_464832001_4FGL_J0905.6+1358_daily_bin869.fits
.....................!
real 202.54
user 185.18
sys 16.43

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/11642/ft1_filtered_4FGL_J0905.6+1358_daily_bin869.fits scfile=/scratch/kocevski/11642/ft2_4FGL_J0905.6+1358_daily_bin869.fits outfile=/scratch/kocevski/11642/cmap_464572801_464832001_4FGL_J0905.6+1358_daily_bin869.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.43
user 0.39
sys 8.75

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/11642/ft1_filtered_4FGL_J0905.6+1358_daily_bin869.fits scfile=/scratch/kocevski/11642/ft2_4FGL_J0905.6+1358_daily_bin869.fits outfile=/scratch/kocevski/11642/cmap_HighResolution_464572801_464832001_4FGL_J0905.6+1358_daily_bin869.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.21
user 0.39
sys 8.73

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26560E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10528E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.8985       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.840       1.0000         .10000E-03   10000.    
     7 'norm      '    .16163E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    33.408       1.0000         .10000E-03   10000.    
     9 'Prefactor '    41.559       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.9343       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.0813       1.0000         .10000E-03   10000.    
    13 'Normalizat'    .83953       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.1018       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=   6794.399     FROM MIGRAD    STATUS=CONVERGED    267 CALLS     1214 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.5114        .10720    ** at limit **
   2  Prefactor     .10000E-03    8.0462        .90712E-02** at limit **
   3  Prefactor     .10000E-03    8.3156        .90712E-02** at limit **
   4  Prefactor     .10001E-03    34.258        .90712E-02** at limit **
   5  norm          1.8986        .78711        .75470E-02    .11120E-02
   6  Prefactor     17.840        12.050        .23706E-02    .16523E-03
   7  norm          .10000E-03    2.8926        .54615E-01** at limit **
   8  norm          33.401        34.560        .17332E-02   -.18996E-04
   9  Prefactor     41.561        46.391        .15545E-02   -.84172E-03
  10  Prefactor     .10000E-03    1.2767        .90712E-02** at limit **
  11  norm          1.9343        1.3513        .74648E-02   -.47630E-03
  12  Prefactor     2.1568        133.58        .71560E-02    .10384E-03
  13  Normalizat    .83945        .16954        .44124E-01    .94991E-03
  14  Prefactor     1.1020        .14132        .37518E-01    .75908E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 0.000100006
  norm       = 1.89857
  Prefactor  = 17.8404
  norm       = 0.000100004
  norm       = 33.4014
  Prefactor  = 41.5612
  Prefactor  = 0.0001
  norm       = 1.9343
  Prefactor  = 2.15679
  Normalizat = 0.839454
  Prefactor  = 1.10198
 **********
 **   18 **HESSE 
 **********

 FCN=   6794.399     FROM HESSE     STATUS=OK           162 CALLS     1376 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.703        .40809E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.1954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.5384        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    34.431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.8986        .78301        .44384E-04   -1.5432    
   6  Prefactor     17.840        12.056        .94825E-04   -1.4863    
   7  norm          .10000E-03    6.1154        .27345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          33.401        34.553        .69328E-04   -1.4551    
   9  Prefactor     41.561        46.396        .62182E-04   -1.4418    
  10  Prefactor     .10000E-03    1.2869        .90931E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.9343        1.3450        .76665E-04   -1.5430    
  12  Prefactor     2.1568        134.79        .28624E-03   -1.5414    
  13  Normalizat    .83945        .19344        .27230E-03   -.98622    
  14  Prefactor     1.1020        .16192        .20642E-03   -.89403    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.0628e-09
Minuit parameter uncertainties:
  1  0.000562432
  2  0.000238962
  3  0.000201815
  4  0.000938317
  5  0.783017
  6  12.0571
  7  0.000303368
  8  34.5732
  9  46.4366
  10  1.86439e-05
  11  1.34506
  12  34.1809
  13  0.193603
  14  0.161989
Done.

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

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  1.000e-04  3.034e-04  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.102e+00  1.620e-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.395e-01  1.936e-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.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.52e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/11642/likelihoodResults_464572801_464832001_4FGL_J0905.6+1358_daily_bin869.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) = 6794.39967055
delta logL = -0.000777242926233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6794.39889366
delta logL = -3.56803866453e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10276E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5800       1.0000          .0000       5.0000    
     3 'Normalizat'    .83956       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1019       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6794.399     FROM MIGRAD    STATUS=FAILED        88 CALLS      245 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10030E-03    502.02        .27441E-02** at limit **
   2  alpha         1.5223        3.1061        .18154        .22647E-05
   3  Normalizat    .83945        .41789E-01    .27230E-03    .23004E-04
   4  Prefactor     1.1020        .36012E-01    .20642E-03    .52960E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6794.399     FROM SIMPLEX   STATUS=UNCHANGED    161 CALLS      406 TOTAL
                     EDM=   .99E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10030E-03    502.02        .41964E-03** at limit **
   2  alpha         1.5223        3.1061        .16892E-04    .22647E-05
   3  Normalizat    .83945        .41789E-01    .51383E-06    .23004E-04
   4  Prefactor     1.1020        .36012E-01    .26067E-06    .52960E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6794.399     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      438 TOTAL
                     EDM=   .75E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.2873        .54882E-03** at limit **
   2  alpha         1.4966        3.1150        .72617E-02    .18161E-07
   3  Normalizat    .83945        .18656        .10892E-04   -.71602E-04
   4  Prefactor     1.1020        .16078        .41284E-04   -.78703E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.49663
  Normalizat = 0.839448
  Prefactor  = 1.10199
 **********
 **   18 **HESSE 
 **********

 FCN=   6794.399     FROM HESSE     STATUS=OK            23 CALLS      461 TOTAL
                     EDM=   .74E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.2803        .10976E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4966        3.1368        .14523E-02   -.41299    
   3  Normalizat    .83945        .18669        .21784E-05   -.98622    
   4  Prefactor     1.1020        .16087        .82568E-05   -.89403    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.44998e-12
Minuit parameter uncertainties:
  1  6.36093e-07
  2  161.886
  3  0.186831
  4  0.160939
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/11642': 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) = 6794.39889313
delta logL = 1.71115061676e-07

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  1.000e-04  6.361e-07  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  1.497e+00  1.619e+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:  1.102e+00  1.609e-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.394e-01  1.868e-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/11642/cmap_HighResolution_464572801_464832001_4FGL_J0905.6+1358_daily_bin869.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.52e-05', job_status='DONE', photon_flux_upper_limit='2.08e-08', time_completed='2021-08-31 01:05:10.615738', job_id='11642', GAL2='1.10', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1630397110.62', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.71e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.59' WHERE bin_id='869' AND source_name='4FGL J0905.6+1358' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:05:10 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0905.6+1358_daily_bin869 136.402 13.975 464572801 464832001 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 :                                   771.02 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             214.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            845 sec.

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

