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


Performing analysis on: 4FGL_J0905.6+1358_daily_bin832
RA = 136.402, Dec = 13.975
tmin = 454982401, tmax = 455241601
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='11579', job_status='RUN', time_executed='2021-08-31 00:53:09.846349', time_epoch_executed='1630396389.85' WHERE source_name='4FGL J0905.6+1358' and cadence='daily' and bin_id='832'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/11579

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/11579/ft1_4FGL_J0905.6+1358_daily_bin832.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/11579/ft2_4FGL_J0905.6+1358_daily_bin832.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/11579/ft1_4FGL_J0905.6+1358_daily_bin832.fits outfile=/scratch/kocevski/11579/ft1_filteredMKT_4FGL_J0905.6+1358_daily_bin832.fits ra=136.402 dec=13.975 rad=12.0 tmin=454982401.0 tmax=455241601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.45
user 3.22
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/11579/ft1_filtered_4FGL_J0905.6+1358_daily_bin832.fits" evtable="EVENTS" scfile=/scratch/kocevski/11579/ft2_4FGL_J0905.6+1358_daily_bin832.fits sctable="SC_DATA" outfile=/scratch/kocevski/11579/ltcube_454982401_455241601_4FGL_J0905.6+1358_daily_bin832.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/11579/ft2_4FGL_J0905.6+1358_daily_bin832.fits
.....................!
real 11.93
user 11.51
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/11579/ft1_filtered_4FGL_J0905.6+1358_daily_bin832.fits evtable="EVENTS" scfile=/scratch/kocevski/11579/ft2_4FGL_J0905.6+1358_daily_bin832.fits sctable="SC_DATA" expcube=/scratch/kocevski/11579/ltcube_454982401_455241601_4FGL_J0905.6+1358_daily_bin832.fits outfile=/scratch/kocevski/11579/expmap_454982401_455241601_4FGL_J0905.6+1358_daily_bin832.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/11579/ltcube_454982401_455241601_4FGL_J0905.6+1358_daily_bin832.fits
.....................!
real 191.12
user 184.64
sys 5.62

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/11579/ft1_filtered_4FGL_J0905.6+1358_daily_bin832.fits scfile=/scratch/kocevski/11579/ft2_4FGL_J0905.6+1358_daily_bin832.fits outfile=/scratch/kocevski/11579/cmap_454982401_455241601_4FGL_J0905.6+1358_daily_bin832.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=136.402 yref=13.975 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/11579/ft1_filtered_4FGL_J0905.6+1358_daily_bin832.fits scfile=/scratch/kocevski/11579/ft2_4FGL_J0905.6+1358_daily_bin832.fits outfile=/scratch/kocevski/11579/cmap_HighResolution_454982401_455241601_4FGL_J0905.6+1358_daily_bin832.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 0.55
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    78.192       1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    36.781       1.0000         .10000E-03   10000.    
     7 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .52470E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .16948E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.8787       1.0000         .10000E-03   10000.    
    11 'norm      '    1.5221       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13379E-03   1.0000         .10000E-03   10000.    
    13 'Normalizat'    .76702       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0943       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=   5814.063     FROM MIGRAD    STATUS=CONVERGED    459 CALLS     1382 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.4330        .18142E-02** at limit **
   2  Prefactor     .10000E-03    4.5554        .15837E-02** at limit **
   3  Prefactor     .10000E-03    3.2441        .13336E-02** at limit **
   4  Prefactor     78.130        38.072        .22707E-03    .11515E-05
   5  norm          .10000E-03    .31021        .81286E-04** at limit **
   6  Prefactor     36.776        17.989        .66083E-04   -.13457E-03
   7  norm          .10000E-03    4.2410        .15286E-02** at limit **
   8  norm          .10000E-03    42.918        .13691    ** at limit **
   9  Prefactor     .10000E-03    34.393        .18142E-02** at limit **
  10  Prefactor     1.8787        2.6454        .14305E-03   -.79394E-04
  11  norm          1.5220        1.0769        .34626E-04    .23640E-04
  12  Prefactor     .10000E-03    42.001        .18142E-02** at limit **
  13  Normalizat    .76710        .21297        .27884E-03   -.14515E-04
  14  Prefactor     1.0944        .17776        .20135E-03    .68591E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 78.1301
  norm       = 0.0001
  Prefactor  = 36.7762
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.87874
  norm       = 1.52199
  Prefactor  = 0.0001
  Normalizat = 0.767101
  Prefactor  = 1.09442
 **********
 **   18 **HESSE 
 **********

 FCN=   5814.063     FROM HESSE     STATUS=OK           158 CALLS     1540 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.4357        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.5563        .31673E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.2449        .26672E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     78.130        38.073        .90828E-05   -1.3938    
   5  norm          .10000E-03    .31021        .16257E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     36.776        17.989        .13217E-04   -1.4494    
   7  norm          .10000E-03    4.2418        .30571E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    43.110        .13648       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    34.393        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.8787        2.6454        .57220E-05   -1.5434    
  11  norm          1.5220        1.0769        .13850E-05   -1.5461    
  12  Prefactor     .10000E-03    42.006        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    .76710        .21317        .11153E-04   -1.0130    
  14  Prefactor     1.0944        .17793        .40270E-04   -.89645    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.51679e-11
Minuit parameter uncertainties:
  1  2.79928e-05
  2  1.25254e-05
  3  1.4756e-05
  4  38.085
  5  1.15682e-06
  6  17.9916
  7  7.02353e-06
  8  7.84376e-05
  9  2.37639e-05
  10  2.64552
  11  1.07689
  12  7.88524e-05
  13  0.213406
  14  0.17803
Done.

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

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  1.000e-04  7.024e-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:  1.094e+00  1.780e-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:  7.671e-01  2.134e-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.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.92e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/11579/likelihoodResults_454982401_455241601_4FGL_J0905.6+1358_daily_bin832.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) = 5814.06374229
delta logL = -0.0011203129734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5814.06262195
delta logL = 1.95868778974e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5990       1.0000          .0000       5.0000    
     3 'Normalizat'    .76711       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0944       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=   5814.001     FROM MIGRAD    STATUS=FAILED       206 CALLS      342 TOTAL
                     EDM=   .30E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99434E-02    .38307        .42667E-02   -.94952E-04
   2  alpha         4.6288        3.6651        .18071        .13422E-02
   3  Normalizat    .73604        .26773E-01    .27883E-03    .32210E-05
   4  Prefactor     1.1094        .22848E-01    .20135E-03    .12378E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5814.001     FROM SIMPLEX   STATUS=UNCHANGED     72 CALLS      414 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99434E-02    .38307        .34746E-04   -.94952E-04
   2  alpha         4.6288        3.6651        .90597E-02    .13422E-02
   3  Normalizat    .73604        .26773E-01    .66854E-04    .32210E-05
   4  Prefactor     1.1094        .22848E-01    .36283E-04    .12378E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5814.001     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      447 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99419E-02    3.0926        .15857E-03   -.19299E-02
   2  alpha         4.6288        4.7393        .26136E-01   -.76470E-05
   3  Normalizat    .73604        .12240        .11153E-04    .14617E-03
   4  Prefactor     1.1094        .10221        .40270E-04    .22924E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00994189
  alpha      = 4.62884
  Normalizat = 0.736036
  Prefactor  = 1.10943
 **********
 **   18 **HESSE 
 **********

 FCN=   5814.001     FROM HESSE     STATUS=OK            27 CALLS      474 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99419E-02    .47788        .63428E-05   -1.5688    
   2  alpha         4.6288        4.2012        .10454E-02    1.0189    
   3  Normalizat    .73604        .22596        .22307E-05   -1.0249    
   4  Prefactor     1.1094        .18351        .80539E-05   -.89166    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41349e-10
Minuit parameter uncertainties:
  1  0.137162
  2  4.75273
  3  0.226246
  4  0.183616
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/11579': 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) = 5814.00057984
delta logL = 0.0620421371596

Extracting fit parameters...

4FGL J0905.6+1358
   Spectrum: LogParabola
282         norm:  9.942e-03  1.372e-01  1.000e-04  1.000e+04 ( 1.000e-13)
283        alpha:  4.629e+00  4.753e+00  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.109e+00  1.836e-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:  7.360e-01  2.262e-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/11579/cmap_HighResolution_454982401_455241601_4FGL_J0905.6+1358_daily_bin832.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.92e-05', job_status='DONE', photon_flux_upper_limit='2.73e-08', time_completed='2021-08-31 01:01:25.247203', job_id='11579', GAL2='1.11', fit_tolerance='1e-08', EG2='0.74', EG='0.77', time_epoch_completed='1630396885.25', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='6.20e-02', ts2='0.15', photon_index_error='0.00', photon_index='1.59' WHERE bin_id='832' AND source_name='4FGL J0905.6+1358' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:01:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 11579: <4FGL_J0905.6+1358_daily_bin832> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0905.6+1358_daily_bin832 136.402 13.975 454982401 455241601 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 :                                   489.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   625 sec.
    Turnaround time :                            627 sec.

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

