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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin353
RA = 28.4972, Dec = 8.3931
tmin = 330825601, tmax = 331084801
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='904709', job_status='RUN', time_executed='2021-08-14 20:01:07.818808', time_epoch_executed='1628996467.82' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='353'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904709

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904709/ft1_4FGL_J0153.9+0823_daily_bin353.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904709/ft2_4FGL_J0153.9+0823_daily_bin353.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904709/ft1_4FGL_J0153.9+0823_daily_bin353.fits outfile=/scratch/kocevski/904709/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin353.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=330825601.0 tmax=331084801.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 6.05
user 3.16
sys 2.80

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/904709/ft2_4FGL_J0153.9+0823_daily_bin353.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/904709/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin353.fits evtable="EVENTS" outfile="/scratch/kocevski/904709/ft1_filtered_4FGL_J0153.9+0823_daily_bin353.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 3.12
user 0.33
sys 2.72

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904709/ft1_filtered_4FGL_J0153.9+0823_daily_bin353.fits" evtable="EVENTS" scfile=/scratch/kocevski/904709/ft2_4FGL_J0153.9+0823_daily_bin353.fits sctable="SC_DATA" outfile=/scratch/kocevski/904709/ltcube_330825601_331084801_4FGL_J0153.9+0823_daily_bin353.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/904709/ft2_4FGL_J0153.9+0823_daily_bin353.fits
.....................!
real 15.99
user 12.59
sys 3.21

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904709/ft1_filtered_4FGL_J0153.9+0823_daily_bin353.fits evtable="EVENTS" scfile=/scratch/kocevski/904709/ft2_4FGL_J0153.9+0823_daily_bin353.fits sctable="SC_DATA" expcube=/scratch/kocevski/904709/ltcube_330825601_331084801_4FGL_J0153.9+0823_daily_bin353.fits outfile=/scratch/kocevski/904709/expmap_330825601_331084801_4FGL_J0153.9+0823_daily_bin353.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/904709/ltcube_330825601_331084801_4FGL_J0153.9+0823_daily_bin353.fits
.....................!
real 196.66
user 185.99
sys 8.37

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/904709/ft1_filtered_4FGL_J0153.9+0823_daily_bin353.fits scfile=/scratch/kocevski/904709/ft2_4FGL_J0153.9+0823_daily_bin353.fits outfile=/scratch/kocevski/904709/cmap_330825601_331084801_4FGL_J0153.9+0823_daily_bin353.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 3.10
user 0.37
sys 2.67

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904709/ft1_filtered_4FGL_J0153.9+0823_daily_bin353.fits scfile=/scratch/kocevski/904709/ft2_4FGL_J0153.9+0823_daily_bin353.fits outfile=/scratch/kocevski/904709/cmap_HighResolution_330825601_331084801_4FGL_J0153.9+0823_daily_bin353.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 3.11
user 0.37
sys 2.68

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.160       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12139E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.5453       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    13.404       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .61057       1.0000         .10000E-03   10000.    
    10 'Prefactor '    69.893       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.5441       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .59710       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.3345       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=   7501.276     FROM MIGRAD    STATUS=CONVERGED    323 CALLS     1597 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.157        13.986       -.18241E-05   -.16826E-04
   2  Prefactor     .10000E-03    23.006       -.18407E-05** at limit **
   3  Prefactor     .10000E-03    3.4309        .44715E-06** at limit **
   4  norm          .10000E-03    5.9277        .30826E-06** at limit **
   5  Prefactor     1.5453        2.9286       -.24251E-06   -.49268E-03
   6  Prefactor     .10000E-03    .94058        .27068E-06** at limit **
   7  norm          13.404        5.4353       -.28278E-06   -.13911E-02
   8  Prefactor     .10000E-03    1.2900       -.44962E-06** at limit **
   9  norm          .61031        .81285        .13104E-06   -.11050E-02
  10  Prefactor     69.886        30.479       -.51007E-05    .19399E-04
  11  Prefactor     .10000E-03    2.5416        .10826E-06** at limit **
  12  Prefactor     .10000E-03    22.649        .31848E-05** at limit **
  13  Prefactor     .10000E-03    9.6135        .35883E-07** at limit **
  14  Prefactor     7.5425        15.105       -.73269E-07   -.30422E-04
  15  Prefactor     .10000E-03    7.9941        .18379E-06** at limit **
  16  Normalizat    .59720        .18456       -.10027E-06   -.14809E-04
  17  Prefactor     1.3345        .13213        .10606E-05   -.62770E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.1566
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.54529
  Prefactor  = 0.0001
  norm       = 13.4036
  Prefactor  = 0.0001
  norm       = 0.610311
  Prefactor  = 69.8864
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.54248
  Prefactor  = 0.0001
  Normalizat = 0.597201
  Prefactor  = 1.33447
 **********
 **   18 **HESSE 
 **********

 FCN=   7501.276     FROM HESSE     STATUS=OK           223 CALLS     1820 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.157        14.000        .99633E-04   -1.4904    
   2  Prefactor     .10000E-03    23.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.5606        .31299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    5.9361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.5453        2.9041        .19962E-03   -1.5459    
   6  Prefactor     .10000E-03    .95457        .81926E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.404        5.5608        .54702E-03   -1.4976    
   8  Prefactor     .10000E-03    1.3179        .19078E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .61031        .75596        .84605E-03   -1.5552    
  10  Prefactor     69.886        29.790        .48015E-04   -1.4034    
  11  Prefactor     .10000E-03    2.5548        .13482E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    22.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.8260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.5425        15.111        .14601E-03   -1.5159    
  15  Prefactor     .10000E-03    8.0732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .59720        .19837        .37065E-03   -1.0810    
  17  Prefactor     1.3345        .14387        .18640E-03   -.82288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.01501e-10
Minuit parameter uncertainties:
  1  14.0029
  2  8.58808e-06
  3  1.05519e-05
  4  2.29472e-06
  5  2.90432
  6  2.33261e-06
  7  5.56098
  8  2.10978e-05
  9  0.755973
  10  29.7967
  11  6.1115e-07
  12  3.38957e-05
  13  7.81682e-06
  14  15.1189
  15  1.76712e-05
  16  0.198605
  17  0.143916
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  2.295e-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.334e+00  1.439e-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:  5.972e-01  1.986e-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.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.54e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/904709/likelihoodResults_330825601_331084801_4FGL_J0153.9+0823_daily_bin353.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) = 7501.27633968
delta logL = -0.000799186162112

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7501.27554049
delta logL = -1.30148691824e-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.8214       1.0000          .0000       5.0000    
     3 'Normalizat'    .59720       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3345       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=   7501.276     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      193 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    255.62        .90712E-02** at limit **
   2  alpha         1.8213        2.8332        .43253        .10122E-06
   3  Normalizat    .59720        .31855E-01    .83679E-01    .45709E-04
   4  Prefactor     1.3345        .23185E-01    .32034E-01   -.61723E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.82128
  Normalizat = 0.597201
  Prefactor  = 1.33447
 **********
 **   18 **HESSE 
 **********

 FCN=   7501.276     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      224 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1332.6        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8213        3.0063        .17301       -.27494    
   3  Normalizat    .59720        .14612        .37065E-03   -1.0810    
   4  Prefactor     1.3345        .10670        .18640E-03   -.82288    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.55287e-08
Minuit parameter uncertainties:
  1  0.000244706
  2  5216.84
  3  0.146212
  4  0.106722
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904709': 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): 102
logL (Free Index) = 7501.27554049
delta logL = 1.36424205266e-11

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  2.447e-04  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.821e+00  5.217e+03  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.334e+00  1.067e-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:  5.972e-01  1.462e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/904709/cmap_HighResolution_330825601_331084801_4FGL_J0153.9+0823_daily_bin353.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.54e-05', job_status='DONE', photon_flux_upper_limit='3.54e-08', time_completed='2021-08-14 20:11:57.800613', job_id='904709', GAL2='1.33', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1628997117.8', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.33', dlogl='1.36e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='353' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:11:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0294>
Subject: Job 904709: <4FGL_J0153.9+0823_daily_bin353> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin353> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 19:55:46 2021
Job was executed on host(s) <bullet0294>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 19:57:59 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:57:59 2021
Terminated at Sat Aug 14 20:11:59 2021
Results reported at Sat Aug 14 20:11:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin353 28.4972 8.3931 330825601 331084801 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 :                                   685.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            973 sec.

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

