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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin682
RA = 28.4972, Dec = 8.3931
tmin = 416102401, tmax = 416361601
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='906267', job_status='RUN', time_executed='2021-08-14 20:06:33.724447', time_epoch_executed='1628996793.72' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='682'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906267

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906267/ft1_4FGL_J0153.9+0823_daily_bin682.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906267/ft2_4FGL_J0153.9+0823_daily_bin682.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906267/ft1_4FGL_J0153.9+0823_daily_bin682.fits outfile=/scratch/kocevski/906267/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin682.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=416102401.0 tmax=416361601.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.50
user 6.20
sys 4.12

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906267/ft1_filtered_4FGL_J0153.9+0823_daily_bin682.fits" evtable="EVENTS" scfile=/scratch/kocevski/906267/ft2_4FGL_J0153.9+0823_daily_bin682.fits sctable="SC_DATA" outfile=/scratch/kocevski/906267/ltcube_416102401_416361601_4FGL_J0153.9+0823_daily_bin682.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/906267/ft2_4FGL_J0153.9+0823_daily_bin682.fits
.....................!
real 21.97
user 17.06
sys 4.72

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906267/ft1_filtered_4FGL_J0153.9+0823_daily_bin682.fits evtable="EVENTS" scfile=/scratch/kocevski/906267/ft2_4FGL_J0153.9+0823_daily_bin682.fits sctable="SC_DATA" expcube=/scratch/kocevski/906267/ltcube_416102401_416361601_4FGL_J0153.9+0823_daily_bin682.fits outfile=/scratch/kocevski/906267/expmap_416102401_416361601_4FGL_J0153.9+0823_daily_bin682.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/906267/ltcube_416102401_416361601_4FGL_J0153.9+0823_daily_bin682.fits
.....................!
real 197.47
user 185.92
sys 10.29

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/906267/ft1_filtered_4FGL_J0153.9+0823_daily_bin682.fits scfile=/scratch/kocevski/906267/ft2_4FGL_J0153.9+0823_daily_bin682.fits outfile=/scratch/kocevski/906267/cmap_416102401_416361601_4FGL_J0153.9+0823_daily_bin682.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=28.4972 yref=8.3931 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 4.37
user 0.37
sys 3.96

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/906267/ft1_filtered_4FGL_J0153.9+0823_daily_bin682.fits scfile=/scratch/kocevski/906267/ft2_4FGL_J0153.9+0823_daily_bin682.fits outfile=/scratch/kocevski/906267/cmap_HighResolution_416102401_416361601_4FGL_J0153.9+0823_daily_bin682.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=28.4972 yref=8.3931 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 4.39
user 0.39
sys 3.96

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    72.673       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.0677       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.9520       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.4165       1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.6016       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.3457       1.0000         .10000E-03   10000.    
    12 'Prefactor '    37.802       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .84124E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0437       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0064       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=   5864.370     FROM MIGRAD    STATUS=CONVERGED    325 CALLS     1398 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.9212        .16975E-06** at limit **
   2  Prefactor     72.672        60.431        .57773E-06   -.16403E-04
   3  Prefactor     .10000E-03    2.1722        .12859E-06** at limit **
   4  norm          5.0695        12.261        .78668E-06    .17175E-03
   5  Prefactor     .10000E-03    7.2317        .48164E-07** at limit **
   6  Prefactor     .10000E-03    1.1469        .14418E-06** at limit **
   7  norm          9.9538        7.2980        .15878E-06    .37421E-03
   8  Prefactor     2.4171        3.1519        .50287E-06    .10207E-02
   9  norm          .10000E-03    .37374        .21466E-07** at limit **
  10  Prefactor     9.5976        21.390        .17014E-05    .53924E-04
  11  Prefactor     9.3487        7.2427        .98875E-06    .21185E-02
  12  Prefactor     37.798        44.469        .81038E-07   -.61316E-04
  13  Prefactor     .10001E-03    28.755       -.19035E-04** at limit **
  14  Prefactor     .10000E-03    13.433       -.22175E-05** at limit **
  15  Prefactor     .10000E-03    9.6818        .97399E-06** at limit **
  16  Normalizat    1.0438        .20206       -.44960E-06   -.16553E-03
  17  Prefactor     1.0064        .13859       -.13585E-05   -.19634E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 72.6722
  Prefactor  = 0.0001
  norm       = 5.06947
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.95377
  Prefactor  = 2.41705
  norm       = 0.0001
  Prefactor  = 9.59761
  Prefactor  = 9.34865
  Prefactor  = 37.7978
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.04381
  Prefactor  = 1.00636
 **********
 **   18 **HESSE 
 **********

 FCN=   5864.370     FROM HESSE     STATUS=OK           221 CALLS     1619 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.9289        .16593E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     72.672        60.484        .23547E-03   -1.4001    
   3  Prefactor     .10000E-03    2.1967        .11023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.0695        12.263        .17861E-03   -1.5258    
   5  Prefactor     .10000E-03    7.3446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.1652        .80089E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.9538        7.2704        .12702E-03   -1.5077    
   8  Prefactor     2.4171        3.1294        .13998E-03   -1.5397    
   9  norm          .10000E-03    .68168        .90778E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.5976        21.311        .12933E-03   -1.5088    
  11  Prefactor     9.3487        7.3171        .65547E-03   -1.5096    
  12  Prefactor     37.798        44.377        .32594E-03   -1.4478    
  13  Prefactor     .10001E-03    28.951        .38518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.7539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0438        .23376        .29261E-03   -.91577    
  17  Prefactor     1.0064        .16065        .20185E-03   -.92518    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.74207e-09
Minuit parameter uncertainties:
  1  1.11968e-05
  2  60.5355
  3  1.25048e-05
  4  12.2691
  5  0.000118056
  6  1.51584e-05
  7  7.27107
  8  3.12961
  9  2.18856e-06
  10  21.3279
  11  7.31781
  12  44.4156
  13  0.0010391
  14  1.30325e-05
  15  0.000173839
  16  0.233992
  17  0.160726
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  5.069e+00  1.227e+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:  1.006e+00  1.607e-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.044e+00  2.340e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/906267/likelihoodResults_416102401_416361601_4FGL_J0153.9+0823_daily_bin682.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) = 5864.22348375
delta logL = 0.146370363332

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5864.09493056
delta logL = 0.274923555757

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32673       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.2312       1.0000          .0000       5.0000    
     3 'Normalizat'    .97533       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0349       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=   5864.095     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      248 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32047        5.3947        .10542E-01    .19241E-02
   2  alpha         4.2401        4.4302        .45692        .67615E-04
   3  Normalizat    .97535        .39506E-01    .68155E-01    .17910E-04
   4  Prefactor     1.0350        .26980E-01    .40889E-01    .42432E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.320466
  alpha      = 4.24011
  Normalizat = 0.975346
  Prefactor  = 1.03498
 **********
 **   18 **HESSE 
 **********

 FCN=   5864.095     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      281 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32047        20.963        .49585E-04   -1.5595    
   2  alpha         4.2401        3.4698        .19024E-01    .76987    
   3  Normalizat    .97535        .19172        .30149E-03   -.93861    
   4  Prefactor     1.0350        .12956        .19934E-03   -.91572    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.2456e-09
Minuit parameter uncertainties:
  1  5.18489
  2  6.87774
  3  0.191858
  4  0.129602
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906267': 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) = 5864.09492452
delta logL = 0.27492959476

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  3.205e-01  5.185e+00  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  4.240e+00  6.878e+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.035e+00  1.296e-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.753e-01  1.919e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.23
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/906267/cmap_HighResolution_416102401_416361601_4FGL_J0153.9+0823_daily_bin682.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.80e-05', job_status='DONE', photon_flux_upper_limit='5.79e-08', time_completed='2021-08-14 20:16:52.578490', job_id='906267', GAL2='1.03', fit_tolerance='1e-08', EG2='0.98', EG='1.04', time_epoch_completed='1628997412.58', return_code2='102', ts='0.23', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.75e-01', ts2='0.84', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='682' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:16:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 906267: <4FGL_J0153.9+0823_daily_bin682> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin682 28.4972 8.3931 416102401 416361601 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 :                                   676.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             258.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            964 sec.

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

