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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin392
RA = 28.4972, Dec = 8.3931
tmin = 340934401, tmax = 341193601
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='904770', job_status='RUN', time_executed='2021-08-14 20:01:49.481747', time_epoch_executed='1628996509.48' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='392'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904770

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904770/ft1_4FGL_J0153.9+0823_daily_bin392.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904770/ft2_4FGL_J0153.9+0823_daily_bin392.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904770/ft1_4FGL_J0153.9+0823_daily_bin392.fits outfile=/scratch/kocevski/904770/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin392.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=340934401.0 tmax=341193601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.45
user 3.18
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/904770/ft2_4FGL_J0153.9+0823_daily_bin392.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/904770/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin392.fits evtable="EVENTS" outfile="/scratch/kocevski/904770/ft1_filtered_4FGL_J0153.9+0823_daily_bin392.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904770/ft1_filtered_4FGL_J0153.9+0823_daily_bin392.fits" evtable="EVENTS" scfile=/scratch/kocevski/904770/ft2_4FGL_J0153.9+0823_daily_bin392.fits sctable="SC_DATA" outfile=/scratch/kocevski/904770/ltcube_340934401_341193601_4FGL_J0153.9+0823_daily_bin392.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/904770/ft2_4FGL_J0153.9+0823_daily_bin392.fits
.....................!
real 13.64
user 13.23
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904770/ft1_filtered_4FGL_J0153.9+0823_daily_bin392.fits evtable="EVENTS" scfile=/scratch/kocevski/904770/ft2_4FGL_J0153.9+0823_daily_bin392.fits sctable="SC_DATA" expcube=/scratch/kocevski/904770/ltcube_340934401_341193601_4FGL_J0153.9+0823_daily_bin392.fits outfile=/scratch/kocevski/904770/expmap_340934401_341193601_4FGL_J0153.9+0823_daily_bin392.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/904770/ltcube_340934401_341193601_4FGL_J0153.9+0823_daily_bin392.fits
.....................!
real 192.83
user 186.54
sys 5.83

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/904770/ft1_filtered_4FGL_J0153.9+0823_daily_bin392.fits scfile=/scratch/kocevski/904770/ft2_4FGL_J0153.9+0823_daily_bin392.fits outfile=/scratch/kocevski/904770/cmap_340934401_341193601_4FGL_J0153.9+0823_daily_bin392.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 0.56
user 0.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904770/ft1_filtered_4FGL_J0153.9+0823_daily_bin392.fits scfile=/scratch/kocevski/904770/ft2_4FGL_J0153.9+0823_daily_bin392.fits outfile=/scratch/kocevski/904770/cmap_HighResolution_340934401_341193601_4FGL_J0153.9+0823_daily_bin392.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 0.56
user 0.37
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.7751       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11680E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.3169       1.0000         .10000E-03   10000.    
     4 'norm      '    .12087E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.1087       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10221E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    8.8937       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.1150       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .82549E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.1917       1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.787       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.0476       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .78051       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0335       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=   6794.697     FROM MIGRAD    STATUS=CONVERGED    338 CALLS     1376 TOTAL
                     EDM=   .57E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7753        8.7384        .91211E-07    .72436E-05
   2  Prefactor     .10000E-03    24.470        .27005E-05** at limit **
   3  Prefactor     3.3173        4.3454        .34465E-06    .62750E-04
   4  norm          .10000E-03    25.156       -.27491E-05** at limit **
   5  Prefactor     6.1098        7.9276        .74496E-06    .19289E-03
   6  Prefactor     .10000E-03    1.3460       -.52459E-07** at limit **
   7  norm          8.8900        4.1983       -.60534E-07   -.28472E-04
   8  Prefactor     .10000E-03    .57889        .26844E-08** at limit **
   9  norm          1.1151        .63361        .13275E-07   -.24524E-04
  10  Prefactor     .10000E-03    5.1541        .23789E-07** at limit **
  11  Prefactor     .10000E-03    2.7800        .71886E-07** at limit **
  12  Prefactor     .10000E-03    127.03        .37337E-05** at limit **
  13  Prefactor     3.1830        8.1844        .41281E-05   -.10147E-03
  14  Prefactor     17.784        14.652       -.22867E-06   -.54227E-04
  15  Prefactor     4.0382        8.0374       -.24747E-06   -.48641E-04
  16  Normalizat    .78038        .16914        .11960E-06    .25297E-04
  17  Prefactor     1.0335        .12114       -.60156E-06    .45944E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.77526
  Prefactor  = 0.0001
  Prefactor  = 3.31731
  norm       = 0.0001
  Prefactor  = 6.10979
  Prefactor  = 0.0001
  norm       = 8.89002
  Prefactor  = 0.0001
  norm       = 1.11512
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 3.18298
  Prefactor  = 17.7836
  Prefactor  = 4.03817
  Normalizat = 0.780385
  Prefactor  = 1.03346
 **********
 **   18 **HESSE 
 **********

 FCN=   6794.697     FROM HESSE     STATUS=OK           225 CALLS     1601 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7753        8.7381        .13531E-03   -1.5115    
   2  Prefactor     .10000E-03    24.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.3173        4.3401        .18824E-03   -1.5344    
   4  norm          .10000E-03    25.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.1098        7.9639        .16244E-03   -1.5214    
   6  Prefactor     .10000E-03    2.2484        .18440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.8900        4.1973        .11201E-03   -1.5112    
   8  Prefactor     .10000E-03    .58464        .61226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1151        .63050        .47804E-04   -1.5497    
  10  Prefactor     .10000E-03    5.1576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.7967        .13425E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    128.15        .20883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.1830        8.2019        .11340E-02   -1.5351    
  14  Prefactor     17.784        14.659        .94966E-04   -1.4864    
  15  Prefactor     4.0382        8.0398        .20042E-03   -1.5306    
  16  Normalizat    .78038        .19300        .30008E-03   -1.0080    
  17  Prefactor     1.0335        .13864        .18686E-03   -.91622    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00583e-10
Minuit parameter uncertainties:
  1  8.73933
  2  0.000202708
  3  4.34051
  4  0.00018273
  5  7.96524
  6  3.97214e-06
  7  4.19747
  8  3.4167e-09
  9  0.630508
  10  2.91993e-06
  11  3.21414e-06
  12  0.000634893
  13  8.20484
  14  14.6621
  15  8.04195
  16  0.193167
  17  0.138685
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  1.827e-04  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.033e+00  1.387e-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:  7.804e-01  1.932e-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: 5.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.43e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/904770/likelihoodResults_340934401_341193601_4FGL_J0153.9+0823_daily_bin392.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) = 6794.69677121
delta logL = -0.000187533053577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6794.69658436
delta logL = -6.80008270137e-07

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.7726       1.0000          .0000       5.0000    
     3 'Normalizat'    .78039       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0335       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=   6793.062     FROM MIGRAD    STATUS=CONVERGED    145 CALLS      329 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0121        25.252        .36285E-02    .53703E-03
   2  alpha         3.6779        4.0384        .17442        .88458E-04
   3  Normalizat    .68700        .70211E-01    .30008E-02    .26914E-04
   4  Prefactor     1.0581        .47329E-01    .18686E-03    .24494E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.01213
  alpha      = 3.67793
  Normalizat = 0.687004
  Prefactor  = 1.05809
 **********
 **   18 **HESSE 
 **********

 FCN=   6793.062     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      360 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0121        37.401        .69769E-04   -1.5424    
   2  alpha         3.6779        4.2835        .93664E-02    .49062    
   3  Normalizat    .68700        .20187        .12003E-03   -1.0441    
   4  Prefactor     1.0581        .14320        .37372E-04   -.90817    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.32609e-07
Minuit parameter uncertainties:
  1  17.3622
  2  3.8865
  3  0.202084
  4  0.143251
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904770': 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) = 6793.06220843
delta logL = 1.63437525195

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  2.012e+00  1.736e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  3.678e+00  3.886e+00  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.058e+00  1.433e-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.870e-01  2.021e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.46
Ra Dec: 28.497 8.393
Photon Index (Free Index): 3.68 +/- 3.89
Photon Flux (Free Index): 9.98e-08 +/- 6.85e-08
Energy Flux (Free Index): 1.70e-05 +/- 1.72e-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/904770/cmap_HighResolution_340934401_341193601_4FGL_J0153.9+0823_daily_bin392.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.43e-05', comment='SUCCESS', energy_flux2='1.70e-05', dlogl='1.63e+00', photon_flux2='9.98e-08', job_status='DONE', time_completed='2021-08-14 20:11:23.404098', photon_index_error2='3.89', photon_index2='3.68', ts='-0.00', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='5.42e-08', energy_flux_error2='1.72e-05', EG='0.78', time_epoch_completed='1628997083.4', return_code='0', job_id='904770', GAL2='1.06', EG2='0.69', return_code2='102', photon_flux_error2='6.85e-08', ts2='3.46', photon_index='1.82' WHERE bin_id='392' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:11:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 904770: <4FGL_J0153.9+0823_daily_bin392> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin392 28.4972 8.3931 340934401 341193601 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 :                                   573.45 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             243.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            934 sec.

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

