/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 229 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 = 7469
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0153.9+0823_daily_bin221
RA = 28.4972, Dec = 8.3931
tmin = 296611201, tmax = 296870401
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='904499', job_status='RUN', time_executed='2021-08-14 20:01:48.670822', time_epoch_executed='1628996508.67' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='221'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904499

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904499/ft1_4FGL_J0153.9+0823_daily_bin221.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904499/ft2_4FGL_J0153.9+0823_daily_bin221.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904499/ft1_4FGL_J0153.9+0823_daily_bin221.fits outfile=/scratch/kocevski/904499/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin221.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=296611201.0 tmax=296870401.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 10.95
user 4.08
sys 5.82

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/904499/ft2_4FGL_J0153.9+0823_daily_bin221.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/904499/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin221.fits evtable="EVENTS" outfile="/scratch/kocevski/904499/ft1_filtered_4FGL_J0153.9+0823_daily_bin221.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 6.12
user 0.32
sys 5.76

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904499/ft1_filtered_4FGL_J0153.9+0823_daily_bin221.fits" evtable="EVENTS" scfile=/scratch/kocevski/904499/ft2_4FGL_J0153.9+0823_daily_bin221.fits sctable="SC_DATA" outfile=/scratch/kocevski/904499/ltcube_296611201_296870401_4FGL_J0153.9+0823_daily_bin221.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/904499/ft2_4FGL_J0153.9+0823_daily_bin221.fits
.....................!
real 18.56
user 11.90
sys 6.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904499/ft1_filtered_4FGL_J0153.9+0823_daily_bin221.fits evtable="EVENTS" scfile=/scratch/kocevski/904499/ft2_4FGL_J0153.9+0823_daily_bin221.fits sctable="SC_DATA" expcube=/scratch/kocevski/904499/ltcube_296611201_296870401_4FGL_J0153.9+0823_daily_bin221.fits outfile=/scratch/kocevski/904499/expmap_296611201_296870401_4FGL_J0153.9+0823_daily_bin221.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/904499/ltcube_296611201_296870401_4FGL_J0153.9+0823_daily_bin221.fits
.....................!
real 197.97
user 185.19
sys 12.27

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/904499/ft1_filtered_4FGL_J0153.9+0823_daily_bin221.fits scfile=/scratch/kocevski/904499/ft2_4FGL_J0153.9+0823_daily_bin221.fits outfile=/scratch/kocevski/904499/cmap_296611201_296870401_4FGL_J0153.9+0823_daily_bin221.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 6.06
user 0.39
sys 5.61

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904499/ft1_filtered_4FGL_J0153.9+0823_daily_bin221.fits scfile=/scratch/kocevski/904499/ft2_4FGL_J0153.9+0823_daily_bin221.fits outfile=/scratch/kocevski/904499/cmap_HighResolution_296611201_296870401_4FGL_J0153.9+0823_daily_bin221.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 6.01
user 0.39
sys 5.60

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.374       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .81847       1.0000         .10000E-03   10000.    
     4 'norm      '    29.787       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    19.611       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.6353       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.4585       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9877       1.0000         .10000E-03   10000.    
    12 'Prefactor '    177.59       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.6882       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.4283       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .67642       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=   5878.854     FROM MIGRAD    STATUS=CONVERGED    338 CALLS     1581 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.374        10.744        .62649E-06   -.84042E-05
   2  Prefactor     .10000E-03    18.176        .64399E-06** at limit **
   3  Prefactor     .80657        4.0734        .44558E-06   -.23963E-03
   4  norm          29.789        17.187       -.26047E-05   -.13523E-05
   5  Prefactor     .10000E-03    2.1067        .31004E-08** at limit **
   6  Prefactor     .10000E-03    1.5201        .68625E-08** at limit **
   7  norm          19.611        7.2967       -.14266E-05    .41236E-04
   8  Prefactor     .10000E-03    .93433       -.20273E-06** at limit **
   9  norm          1.6354        .94816        .51304E-07   -.44053E-04
  10  Prefactor     3.3991        65.111       -.33815E-04   -.15001E-03
  11  Prefactor     1.9871        5.3658       -.29344E-05   -.74518E-03
  12  Prefactor     177.73        94.366        .92274E-04    .71141E-04
  13  Prefactor     7.6856        9.9775       -.32098E-05   -.11656E-03
  14  Prefactor     .10000E-03    19.681       -.11163E-05** at limit **
  15  Prefactor     .10000E-03    4.8269       -.46490E-06** at limit **
  16  Normalizat    1.4285        .20309       -.46966E-06   -.16079E-04
  17  Prefactor     .67638        .13163       -.39615E-05    .12705E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.3735
  Prefactor  = 0.0001
  Prefactor  = 0.806568
  norm       = 29.7891
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.6109
  Prefactor  = 0.0001
  norm       = 1.63535
  Prefactor  = 3.39905
  Prefactor  = 1.98715
  Prefactor  = 177.727
  Prefactor  = 7.68561
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Normalizat = 1.42851
  Prefactor  = 0.676383
 **********
 **   18 **HESSE 
 **********

 FCN=   5878.854     FROM HESSE     STATUS=OK           227 CALLS     1808 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.374        10.746        .98978E-04   -1.4898    
   2  Prefactor     .10000E-03    18.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .80657        14.610        .28939E-02   -1.5528    
   4  norm          29.789        17.190        .73410E-04   -1.4616    
   5  Prefactor     .10000E-03    2.1108        .10867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.5586        .18443E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          19.611        7.2944        .90444E-04   -1.4822    
   8  Prefactor     .10000E-03    .93945        .72270E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.6354        .94631        .54844E-04   -1.5452    
  10  Prefactor     3.3991        65.053        .21746E-03   -1.5339    
  11  Prefactor     1.9871        5.2994        .27108E-03   -1.5426    
  12  Prefactor     177.73        94.406        .15143E-03   -1.3034    
  13  Prefactor     7.6856        9.8975        .14462E-03   -1.5153    
  14  Prefactor     .10000E-03    19.747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.8391        .16452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4285        .23154        .25499E-03   -.79808    
  17  Prefactor     .67638        .15011        .23380E-03   -1.0446    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.38726e-09
Minuit parameter uncertainties:
  1  10.7468
  2  1.46676e-05
  3  6.86699
  4  17.1924
  5  6.41799e-06
  6  1.25309e-05
  7  7.29476
  8  3.68983e-05
  9  0.946321
  10  29.7772
  11  5.30061
  12  94.4866
  13  9.89962
  14  0.000314243
  15  0.000137325
  16  0.231711
  17  0.1502
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  2.979e+01  1.719e+01  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:  6.764e-01  1.502e-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:  1.429e+00  2.317e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.69
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 3.77e-08 +/- 2.18e-08
Energy Flux (Fixed Index): 3.78e-05 +/- 2.18e-05

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) = 5878.84204078
delta logL = 0.0119346936699

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5878.84178549
delta logL = 0.0121899858477

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.789       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7381       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4314       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67620       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=   5878.842     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      201 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.823        501.29        .18352E-02   -.13759E-04
   2  alpha         1.7371        2.5463        .38098        .17052E-04
   3  Normalizat    1.4314        .23665        .57620E-01    .68201E-04
   4  Prefactor     .67620        .84655E-01    .42084E-01    .82371E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 29.8229
  alpha      = 1.73712
  Normalizat = 1.43141
  Prefactor  = 0.676198
 **********
 **   18 **HESSE 
 **********

 FCN=   5878.842     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.823        17.538        .73408E-04   -1.4615    
   2  alpha         1.7371        .53791        .12956E-01   -.31010    
   3  Normalizat    1.4314        .22356        .25479E-03   -.79724    
   4  Prefactor     .67620        .14717        .23387E-03   -1.0447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06281e-11
Minuit parameter uncertainties:
  1  17.5414
  2  0.542594
  3  0.223718
  4  0.147251
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904499': 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) = 5878.84178182
delta logL = 0.0121936534642

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  2.982e+01  1.754e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.737e+00  5.426e-01  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:  6.762e-01  1.473e-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:  1.431e+00  2.237e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.71
Ra Dec: 28.497 8.393
Photon Index (Free Index): 1.74 +/- 0.54
Photon Flux (Free Index): 3.38e-08 +/- 3.10e-08
Energy Flux (Free Index): 4.14e-05 +/- 3.55e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/904499/cmap_HighResolution_296611201_296870401_4FGL_J0153.9+0823_daily_bin221.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.77e-08', energy_flux2='4.14e-05', photon_flux_error='2.18e-08', dlogl='1.22e-02', energy_flux='3.78e-05', photon_flux2='3.38e-08', job_status='DONE', time_completed='2021-08-14 20:11:49.385770', photon_index_error2='0.54', photon_index2='1.74', ts='15.69', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', energy_flux_error2='3.55e-05', EG='1.43', time_epoch_completed='1628997109.39', return_code='0', job_id='904499', GAL2='0.68', EG2='1.43', return_code2='0', energy_flux_error='2.18e-05', photon_flux_error2='3.10e-08', ts2='15.71', photon_index='1.82' WHERE bin_id='221' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:11:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 904499: <4FGL_J0153.9+0823_daily_bin221> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin221> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 19:55:29 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 19:56:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 19:56:21 2021
Terminated at Sat Aug 14 20:11:50 2021
Results reported at Sat Aug 14 20:11:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin221 28.4972 8.3931 296611201 296870401 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 :                                   686.11 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             218.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   932 sec.
    Turnaround time :                            981 sec.

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

