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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin620
RA = 28.4972, Dec = 8.3931
tmin = 400032001, tmax = 400291201
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='906167', job_status='RUN', time_executed='2021-08-14 20:03:40.087505', time_epoch_executed='1628996620.09' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='620'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906167

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906167/ft1_4FGL_J0153.9+0823_daily_bin620.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906167/ft2_4FGL_J0153.9+0823_daily_bin620.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906167/ft1_4FGL_J0153.9+0823_daily_bin620.fits outfile=/scratch/kocevski/906167/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin620.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=400032001.0 tmax=400291201.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 8.02
user 4.19
sys 3.73

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/906167/ft2_4FGL_J0153.9+0823_daily_bin620.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/906167/ft2_4FGL_J0153.9+0823_daily_bin620.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/906167/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin620.fits evtable="EVENTS" outfile="/scratch/kocevski/906167/ft1_filtered_4FGL_J0153.9+0823_daily_bin620.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.03
user 0.35
sys 3.63

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906167/ft1_filtered_4FGL_J0153.9+0823_daily_bin620.fits" evtable="EVENTS" scfile=/scratch/kocevski/906167/ft2_4FGL_J0153.9+0823_daily_bin620.fits sctable="SC_DATA" outfile=/scratch/kocevski/906167/ltcube_400032001_400291201_4FGL_J0153.9+0823_daily_bin620.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/906167/ft2_4FGL_J0153.9+0823_daily_bin620.fits
.....................!
real 18.16
user 13.81
sys 4.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906167/ft1_filtered_4FGL_J0153.9+0823_daily_bin620.fits evtable="EVENTS" scfile=/scratch/kocevski/906167/ft2_4FGL_J0153.9+0823_daily_bin620.fits sctable="SC_DATA" expcube=/scratch/kocevski/906167/ltcube_400032001_400291201_4FGL_J0153.9+0823_daily_bin620.fits outfile=/scratch/kocevski/906167/expmap_400032001_400291201_4FGL_J0153.9+0823_daily_bin620.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/906167/ltcube_400032001_400291201_4FGL_J0153.9+0823_daily_bin620.fits
.....................!
real 196.62
user 186.73
sys 9.32

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 174 point sources and 0 extended sources

Setting source of interest to:
4FGL J0153.9+0823 @ 28.4972 8.3931

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/906167/ft1_filtered_4FGL_J0153.9+0823_daily_bin620.fits scfile=/scratch/kocevski/906167/ft2_4FGL_J0153.9+0823_daily_bin620.fits outfile=/scratch/kocevski/906167/cmap_400032001_400291201_4FGL_J0153.9+0823_daily_bin620.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=28.4972 yref=8.3931 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.29
user 0.35
sys 3.52

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/906167/ft1_filtered_4FGL_J0153.9+0823_daily_bin620.fits scfile=/scratch/kocevski/906167/ft2_4FGL_J0153.9+0823_daily_bin620.fits outfile=/scratch/kocevski/906167/cmap_HighResolution_400032001_400291201_4FGL_J0153.9+0823_daily_bin620.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=28.4972 yref=8.3931 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.01
user 0.37
sys 3.60

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/906167/ft1_filtered_4FGL_J0153.9+0823_daily_bin620.fits evtable="EVENTS" scfile=/scratch/kocevski/906167/ft2_4FGL_J0153.9+0823_daily_bin620.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/906167/Model_4FGL_J0153.9+0823_daily_bin620.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/906167/ft1_filtered_4FGL_J0153.9+0823_daily_bin620.fits.....................!
real 78.36
user 71.52
sys 5.87

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/906167/ft1_filtered_4FGL_J0153.9+0823_daily_bin620.fits', '/scratch/kocevski/906167/ft2_4FGL_J0153.9+0823_daily_bin620.fits', expMap='/scratch/kocevski/906167/expmap_400032001_400291201_4FGL_J0153.9+0823_daily_bin620.fits', expCube='/scratch/kocevski/906167/ltcube_400032001_400291201_4FGL_J0153.9+0823_daily_bin620.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/906167/Model_4FGL_J0153.9+0823_daily_bin620.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0153.9+0823'

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  7.272e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.822e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  7.988e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/906167/ft1_filtered_4FGL_J0153.9+0823_daily_bin620.fits
Spacecraft file(s): /scratch/kocevski/906167/ft2_4FGL_J0153.9+0823_daily_bin620.fits
Exposure map: /scratch/kocevski/906167/expmap_400032001_400291201_4FGL_J0153.9+0823_daily_bin620.fits
Exposure cube: /scratch/kocevski/906167/ltcube_400032001_400291201_4FGL_J0153.9+0823_daily_bin620.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/906167/Model_4FGL_J0153.9+0823_daily_bin620.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) = 6339.17408754

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3140       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10227E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    14.790       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.6033       1.0000         .10000E-03   10000.    
     9 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    46.854       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12455E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12913E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.8287       1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.138       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.2734       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .64043       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0990       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6339.138     FROM MIGRAD    STATUS=CONVERGED    329 CALLS     1661 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3195        15.985        .16120E-05    .13735E-05
   2  Prefactor     .10000E-03    33.200        .33961E-07** at limit **
   3  Prefactor     .10000E-03    .99982        .12090E-07** at limit **
   4  norm          .10000E-03    4.2513        .31227E-07** at limit **
   5  Prefactor     .10000E-03    2.3075        .13350E-06** at limit **
   6  Prefactor     .10000E-03    .66882        .51858E-07** at limit **
   7  norm          14.795        6.6859       -.20512E-06    .91593E-04
   8  Prefactor     2.6005        3.8030       -.14523E-06    .17619E-03
   9  norm          .10000E-03    .42572        .16803E-06** at limit **
  10  Prefactor     46.878        33.755       -.18124E-05    .70383E-04
  11  Prefactor     .10000E-03    4.4625        .24626E-06** at limit **
  12  Prefactor     .10001E-03    889.22       -.17238E-04** at limit **
  13  Prefactor     5.8220        8.7078       -.88537E-07   -.30693E-04
  14  Prefactor     18.119        23.952       -.76394E-06   -.99268E-05
  15  Prefactor     1.2600        17.477       -.10576E-06    .43780E-04
  16  Normalizat    .64054        .17929       -.14025E-05   -.44825E-04
  17  Prefactor     1.0989        .12484       -.15801E-06   -.11729E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.31951
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.795
  Prefactor  = 2.60048
  norm       = 0.0001
  Prefactor  = 46.8777
  Prefactor  = 0.000100001
  Prefactor  = 0.000100005
  Prefactor  = 5.82196
  Prefactor  = 18.1194
  Prefactor  = 1.26003
  Normalizat = 0.640543
  Prefactor  = 1.09887
 **********
 **   18 **HESSE 
 **********

 FCN=   6339.138     FROM HESSE     STATUS=OK           223 CALLS     1884 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3195        16.081        .26970E-03   -1.5403    
   2  Prefactor     .10000E-03    33.230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.0009        .77748E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.2531        .16034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.3203        .11817E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .67301        .63604E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          14.795        6.6491        .10415E-03   -1.4938    
   8  Prefactor     2.6005        3.7131        .15451E-03   -1.5385    
   9  norm          .10000E-03    1.0849        .10039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     46.878        33.610        .58578E-04   -1.4338    
  11  Prefactor     .10000E-03    14.612        .31762E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    878.10        .41170E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.8220        8.4876        .16635E-03   -1.5225    
  14  Prefactor     18.119        23.849        .94042E-04   -1.4856    
  15  Prefactor     1.2600        17.415        .39401E-03   -1.5483    
  16  Normalizat    .64054        .19821        .33150E-03   -1.0629    
  17  Prefactor     1.0989        .13992        .18083E-03   -.89503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24904e-10
Minuit parameter uncertainties:
  1  12.2193
  2  2.16395e-05
  3  9.73539e-07
  4  2.39946e-06
  5  4.56552e-06
  6  1.56542e-06
  7  6.64939
  8  3.71347
  9  3.98823e-07
  10  33.6235
  11  0.000237671
  12  0.00428581
  13  8.48936
  14  23.8612
  15  9.37179
  16  0.198433
  17  0.139971
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  2.399e-06  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.822e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  7.988e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.099e+00  1.400e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  6.405e-01  1.984e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 28.497 8.393
Photon Flux Upper Limit: 3.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.03e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/906167/likelihoodResults_400032001_400291201_4FGL_J0153.9+0823_daily_bin620.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) = 6339.13904732
delta logL = -0.00110455918912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6339.13794276
delta logL = 3.25599103235e-09

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.8189       1.0000          .0000       5.0000    
     3 'Normalizat'    .64054       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0989       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+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=   6339.138     FROM MIGRAD    STATUS=FAILED        84 CALLS      234 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10011E-03    834.86        .16038E-02** at limit **
   2  alpha         1.7757        3.3833        .17308        .15221E-05
   3  Normalizat    .64054        .10288        .33150E-03   -.70990E-05
   4  Prefactor     1.0989        .72426E-01    .18083E-03   -.90531E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6339.138     FROM SIMPLEX   STATUS=UNCHANGED    162 CALLS      396 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10011E-03    834.86        .32191E-03** at limit **
   2  alpha         1.7757        3.3833        .82549E-05    .15221E-05
   3  Normalizat    .64054        .10288        .11918E-05   -.70990E-05
   4  Prefactor     1.0989        .72426E-01    .31423E-06   -.90531E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6339.138     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      427 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.2746        .32076E-03** at limit **
   2  alpha         1.7294        3.9877        .69233E-02   -.13465E-07
   3  Normalizat    .64054        .19402        .13260E-04    .11146E-04
   4  Prefactor     1.0989        .13667        .72332E-05    .22004E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.72941
  Normalizat = 0.640543
  Prefactor  = 1.09887
 **********
 **   18 **HESSE 
 **********

 FCN=   6339.138     FROM HESSE     STATUS=OK            23 CALLS      450 TOTAL
                     EDM=   .28E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.2742        .64152E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7294        3.7521        .13847E-02   -.31334    
   3  Normalizat    .64054        .19409        .26520E-05   -1.0629    
   4  Prefactor     1.0989        .13673        .14466E-05   -.89503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77347e-12
Minuit parameter uncertainties:
  1  4.98276e-06
  2  266.409
  3  0.194299
  4  0.13677
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906167': 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) = 6339.1379427
delta logL = 5.79739207751e-08

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  4.983e-06  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.729e+00  2.664e+02  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  7.988e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.099e+00  1.368e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  6.405e-01  1.943e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 28.497 8.393

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/906167/cmap_HighResolution_400032001_400291201_4FGL_J0153.9+0823_daily_bin620.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.03e-05', job_status='DONE', photon_flux_upper_limit='3.02e-08', time_completed='2021-08-14 20:14:24.906833', job_id='906167', GAL2='1.10', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1628997264.91', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='5.80e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='620' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:14:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 906167: <4FGL_J0153.9+0823_daily_bin620> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin620> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 20:00:42 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:02:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 20:02:13 2021
Terminated at Sat Aug 14 20:14:26 2021
Results reported at Sat Aug 14 20:14:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin620 28.4972 8.3931 400032001 400291201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0153.9+0823 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   692.13 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             329.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            824 sec.

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

