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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin524
RA = 28.4972, Dec = 8.3931
tmin = 375148801, tmax = 375408001
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='906012', job_status='RUN', time_executed='2021-08-14 20:03:28.896491', time_epoch_executed='1628996608.9' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='524'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906012

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906012/ft1_4FGL_J0153.9+0823_daily_bin524.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906012/ft2_4FGL_J0153.9+0823_daily_bin524.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906012/ft1_4FGL_J0153.9+0823_daily_bin524.fits outfile=/scratch/kocevski/906012/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin524.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=375148801.0 tmax=375408001.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 13.16
user 4.37
sys 7.98

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/906012/ft2_4FGL_J0153.9+0823_daily_bin524.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/906012/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin524.fits evtable="EVENTS" outfile="/scratch/kocevski/906012/ft1_filtered_4FGL_J0153.9+0823_daily_bin524.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 8.73
user 0.34
sys 8.11

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906012/ft1_filtered_4FGL_J0153.9+0823_daily_bin524.fits" evtable="EVENTS" scfile=/scratch/kocevski/906012/ft2_4FGL_J0153.9+0823_daily_bin524.fits sctable="SC_DATA" outfile=/scratch/kocevski/906012/ltcube_375148801_375408001_4FGL_J0153.9+0823_daily_bin524.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/906012/ft2_4FGL_J0153.9+0823_daily_bin524.fits
.....................!
real 24.42
user 14.65
sys 9.20

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906012/ft1_filtered_4FGL_J0153.9+0823_daily_bin524.fits evtable="EVENTS" scfile=/scratch/kocevski/906012/ft2_4FGL_J0153.9+0823_daily_bin524.fits sctable="SC_DATA" expcube=/scratch/kocevski/906012/ltcube_375148801_375408001_4FGL_J0153.9+0823_daily_bin524.fits outfile=/scratch/kocevski/906012/expmap_375148801_375408001_4FGL_J0153.9+0823_daily_bin524.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/906012/ltcube_375148801_375408001_4FGL_J0153.9+0823_daily_bin524.fits
.....................!
real 202.75
user 186.20
sys 15.63

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/906012/ft1_filtered_4FGL_J0153.9+0823_daily_bin524.fits scfile=/scratch/kocevski/906012/ft2_4FGL_J0153.9+0823_daily_bin524.fits outfile=/scratch/kocevski/906012/cmap_375148801_375408001_4FGL_J0153.9+0823_daily_bin524.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 8.71
user 0.40
sys 8.26

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/906012/ft1_filtered_4FGL_J0153.9+0823_daily_bin524.fits scfile=/scratch/kocevski/906012/ft2_4FGL_J0153.9+0823_daily_bin524.fits outfile=/scratch/kocevski/906012/cmap_HighResolution_375148801_375408001_4FGL_J0153.9+0823_daily_bin524.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 8.79
user 0.39
sys 8.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/906012/ft1_filtered_4FGL_J0153.9+0823_daily_bin524.fits', '/scratch/kocevski/906012/ft2_4FGL_J0153.9+0823_daily_bin524.fits', expMap='/scratch/kocevski/906012/expmap_375148801_375408001_4FGL_J0153.9+0823_daily_bin524.fits', expCube='/scratch/kocevski/906012/ltcube_375148801_375408001_4FGL_J0153.9+0823_daily_bin524.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/906012/Model_4FGL_J0153.9+0823_daily_bin524.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/906012/ft1_filtered_4FGL_J0153.9+0823_daily_bin524.fits
Spacecraft file(s): /scratch/kocevski/906012/ft2_4FGL_J0153.9+0823_daily_bin524.fits
Exposure map: /scratch/kocevski/906012/expmap_375148801_375408001_4FGL_J0153.9+0823_daily_bin524.fits
Exposure cube: /scratch/kocevski/906012/ltcube_375148801_375408001_4FGL_J0153.9+0823_daily_bin524.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/906012/Model_4FGL_J0153.9+0823_daily_bin524.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) = 5472.65826409

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2244       1.0000         .10000E-03   10000.    
     2 'Prefactor '    51.097       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.4418       1.0000         .10000E-03   10000.    
     4 'norm      '    .10403E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.7462       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    7.0527       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.1013       1.0000         .10000E-03   10000.    
     9 'norm      '    1.9949       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17222E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .29044E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .47096E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.5365       1.0000         .10000E-03   10000.    
    14 'Prefactor '    26.495       1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.742       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .94718       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .88677       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.

 FCN=   5472.658     FROM MIGRAD    STATUS=CONVERGED    339 CALLS     1579 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2487        10.628        .37308E-02    .58393E-03
   2  Prefactor     51.099        55.048        .14026E-02   -.10626E-02
   3  Prefactor     3.4399        5.3573        .54503E-02    .54539E-03
   4  norm          .10000E-03    4.1499        .90712E-02** at limit **
   5  Prefactor     7.7467        5.0808        .36019E-02    .12482E-02
   6  Prefactor     .10000E-03    .85565        .90712E-02** at limit **
   7  norm          7.0499        4.3242        .37764E-02   -.34151E-03
   8  Prefactor     4.0819        2.7829        .49766E-02    .26943E-03
   9  norm          1.9944        1.2733        .73322E-02    .38879E-03
  10  Prefactor     .10000E-03    22.527        .90712E-02** at limit **
  11  Prefactor     .10000E-03    3.9467        .47936E-01** at limit **
  12  Prefactor     .10000E-03    20.183        .10593E-01** at limit **
  13  Prefactor     4.5342        7.3534        .47253E-02   -.10511E-02
  14  Prefactor     26.437        23.511        .19457E-02   -.39803E-04
  15  Prefactor     11.752        9.7227        .29227E-02   -.55339E-03
  16  Normalizat    .94722        .19730        .45502E-01    .15551E-04
  17  Prefactor     .88682        .13376        .44836E-01    .52986E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.24871
  Prefactor  = 51.099
  Prefactor  = 3.43995
  norm       = 0.0001
  Prefactor  = 7.74673
  Prefactor  = 0.0001
  norm       = 7.04988
  Prefactor  = 4.08187
  norm       = 1.99439
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.53417
  Prefactor  = 26.4367
  Prefactor  = 11.7519
  Normalizat = 0.947217
  Prefactor  = 0.886819
 **********
 **   18 **HESSE 
 **********

 FCN=   5472.658     FROM HESSE     STATUS=OK           225 CALLS     1804 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2487        10.624        .14923E-03   -1.5169    
   2  Prefactor     51.099        55.057        .56104E-04   -1.4277    
   3  Prefactor     3.4399        5.3569        .20447E-03   -1.5337    
   4  norm          .10000E-03    4.1505        .14718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.7467        5.0810        .13113E-03   -1.5151    
   6  Prefactor     .10000E-03    .86520        .66791E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.0499        4.3240        .11597E-03   -1.5177    
   8  Prefactor     4.0819        2.7760        .96828E-04   -1.5304    
   9  norm          1.9944        1.2677        .63185E-04   -1.5426    
  10  Prefactor     .10000E-03    22.594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.887        .28186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    20.187        .21187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.5342        7.2825        .18901E-03   -1.5282    
  14  Prefactor     26.437        23.492        .77827E-04   -1.4679    
  15  Prefactor     11.752        9.7216        .11691E-03   -1.5022    
  16  Normalizat    .94722        .22455        .28208E-03   -.94820    
  17  Prefactor     .88682        .15261        .19843E-03   -.96603    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00522e-08
Minuit parameter uncertainties:
  1  10.6265
  2  55.1123
  3  5.35761
  4  5.65186e-08
  5  5.08125
  6  2.14502e-07
  7  4.32417
  8  2.77605
  9  1.26776
  10  6.02422e-05
  11  1.82025e-05
  12  0.000157722
  13  7.28395
  14  23.5002
  15  9.72286
  16  0.224775
  17  0.152681
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  5.652e-08  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:  8.868e-01  1.527e-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:  9.472e-01  2.248e-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.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.06e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/906012/likelihoodResults_375148801_375408001_4FGL_J0153.9+0823_daily_bin524.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) = 5472.65871875
delta logL = -0.00112213355078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5472.65759656
delta logL = 5.41558620171e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8105       1.0000          .0000       5.0000    
     3 'Normalizat'    .94722       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88681       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.

 FCN=   5472.658     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      236 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    146.95        .14790E-01** at limit **
   2  alpha         1.5336        2.8233        .17332        .10987E-06
   3  Normalizat    .94722        .30355E-01    .28208E-03    .15678E-04
   4  Prefactor     .88682        .20843E-01    .19843E-03    .24923E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.5336
  Normalizat = 0.947217
  Prefactor  = 0.88682
 **********
 **   18 **HESSE 
 **********

 FCN=   5472.658     FROM HESSE     STATUS=OK            27 CALLS      263 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.7117        .15228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5336        3.2209        .69326E-01   -.39690    
   3  Normalizat    .94722        .21678        .11283E-04   -.94820    
   4  Prefactor     .88682        .14892        .79370E-05   -.96603    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90431e-10
Minuit parameter uncertainties:
  1  7.77944e-06
  2  277.331
  3  0.216977
  4  0.148986
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906012': 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) = 5472.65759582
delta logL = 7.94062543719e-07

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  7.779e-06  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.534e+00  2.773e+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:  8.868e-01  1.490e-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:  9.472e-01  2.170e-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/906012/cmap_HighResolution_375148801_375408001_4FGL_J0153.9+0823_daily_bin524.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.06e-05', job_status='DONE', photon_flux_upper_limit='3.06e-08', time_completed='2021-08-14 20:14:31.251243', job_id='906012', GAL2='0.89', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1628997271.25', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='7.94e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='524' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:14:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 906012: <4FGL_J0153.9+0823_daily_bin524> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin524> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 20:00:28 2021
Job was executed on host(s) <bullet0188>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:01:02 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:01:02 2021
Terminated at Sat Aug 14 20:14:33 2021
Results reported at Sat Aug 14 20:14:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin524 28.4972 8.3931 375148801 375408001 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 :                                   774.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            845 sec.

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

