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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin591
RA = 28.4972, Dec = 8.3931
tmin = 392515201, tmax = 392774401
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='906120', job_status='RUN', time_executed='2021-08-14 20:05:17.454664', time_epoch_executed='1628996717.45' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='591'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906120

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906120/ft1_4FGL_J0153.9+0823_daily_bin591.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906120/ft2_4FGL_J0153.9+0823_daily_bin591.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906120/ft1_4FGL_J0153.9+0823_daily_bin591.fits outfile=/scratch/kocevski/906120/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin591.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=392515201.0 tmax=392774401.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 4.33
user 3.17
sys 1.09

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/906120/ft2_4FGL_J0153.9+0823_daily_bin591.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/906120/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin591.fits evtable="EVENTS" outfile="/scratch/kocevski/906120/ft1_filtered_4FGL_J0153.9+0823_daily_bin591.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 1.39
user 0.35
sys 1.01

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906120/ft1_filtered_4FGL_J0153.9+0823_daily_bin591.fits" evtable="EVENTS" scfile=/scratch/kocevski/906120/ft2_4FGL_J0153.9+0823_daily_bin591.fits sctable="SC_DATA" outfile=/scratch/kocevski/906120/ltcube_392515201_392774401_4FGL_J0153.9+0823_daily_bin591.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/906120/ft2_4FGL_J0153.9+0823_daily_bin591.fits
.....................!
real 14.54
user 13.15
sys 1.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906120/ft1_filtered_4FGL_J0153.9+0823_daily_bin591.fits evtable="EVENTS" scfile=/scratch/kocevski/906120/ft2_4FGL_J0153.9+0823_daily_bin591.fits sctable="SC_DATA" expcube=/scratch/kocevski/906120/ltcube_392515201_392774401_4FGL_J0153.9+0823_daily_bin591.fits outfile=/scratch/kocevski/906120/expmap_392515201_392774401_4FGL_J0153.9+0823_daily_bin591.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/906120/ltcube_392515201_392774401_4FGL_J0153.9+0823_daily_bin591.fits
.....................!
real 192.18
user 185.51
sys 6.03

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/906120/ft1_filtered_4FGL_J0153.9+0823_daily_bin591.fits scfile=/scratch/kocevski/906120/ft2_4FGL_J0153.9+0823_daily_bin591.fits outfile=/scratch/kocevski/906120/cmap_392515201_392774401_4FGL_J0153.9+0823_daily_bin591.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 1.44
user 0.41
sys 1.00

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/906120/ft1_filtered_4FGL_J0153.9+0823_daily_bin591.fits scfile=/scratch/kocevski/906120/ft2_4FGL_J0153.9+0823_daily_bin591.fits outfile=/scratch/kocevski/906120/cmap_HighResolution_392515201_392774401_4FGL_J0153.9+0823_daily_bin591.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 1.41
user 0.41
sys 0.97

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.693       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2517       1.0000         .10000E-03   10000.    
     4 'norm      '    .10093E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10299E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.7860       1.0000         .10000E-03   10000.    
     7 'norm      '    7.5626       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.3293       1.0000         .10000E-03   10000.    
     9 'norm      '    3.0751       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .16941E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10216E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.779       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .18790E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .84030       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1396       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=   6893.090     FROM MIGRAD    STATUS=CONVERGED    353 CALLS     1622 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.687        16.397       -.28143E-06   -.32988E-04
   2  Prefactor     .10000E-03    10.307        .23906E-06** at limit **
   3  Prefactor     1.2517        2.2521       -.34034E-06   -.50968E-03
   4  norm          .10000E-03    12.749       -.84807E-06** at limit **
   5  Prefactor     .10000E-03    6.2619       -.80911E-07** at limit **
   6  Prefactor     1.7868        2.6461       -.68918E-06   -.81055E-03
   7  norm          7.5620        4.8987        .43739E-06   -.49989E-03
   8  Prefactor     3.3300        2.9610        .19364E-06   -.18356E-02
   9  norm          3.0749        1.1439       -.11286E-07   -.76594E-03
  10  Prefactor     .10000E-03    120.45        .81920E-04** at limit **
  11  Prefactor     .10000E-03    2.7142       -.44743E-08** at limit **
  12  Prefactor     .10000E-03    27.428       -.26830E-05** at limit **
  13  Prefactor     .10000E-03    2.9672        .18689E-07** at limit **
  14  Prefactor     16.687        28.800       -.33809E-04   -.19367E-04
  15  Prefactor     .10001E-03    18.326        .38685E-05** at limit **
  16  Normalizat    .84022        .19014        .16393E-05   -.40467E-03
  17  Prefactor     1.1397        .13200        .18788E-05   -.71700E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.6871
  Prefactor  = 0.0001
  Prefactor  = 1.2517
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.7868
  norm       = 7.56199
  Prefactor  = 3.32998
  norm       = 3.07491
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 16.6873
  Prefactor  = 0.000100007
  Normalizat = 0.840222
  Prefactor  = 1.13971
 **********
 **   18 **HESSE 
 **********

 FCN=   6893.090     FROM HESSE     STATUS=OK           221 CALLS     1843 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.687        16.402        .90256E-04   -1.4820    
   2  Prefactor     .10000E-03    10.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2517        2.2017        .16285E-03   -1.5484    
   4  norm          .10000E-03    12.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.4485        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.7868        2.6295        .15614E-03   -1.5441    
   7  norm          7.5620        4.8973        .14138E-03   -1.5158    
   8  Prefactor     3.3300        2.9453        .12630E-03   -1.5343    
   9  norm          3.0749        1.1448        .51610E-04   -1.5357    
  10  Prefactor     .10000E-03    128.44        .40745E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.7246        .13357E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    27.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.9762        .13966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.687        29.303        .97778E-04   -1.4891    
  15  Prefactor     .10001E-03    18.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .84022        .21311        .32570E-03   -.98594    
  17  Prefactor     1.1397        .14881        .19701E-03   -.88207    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67116e-09
Minuit parameter uncertainties:
  1  16.4056
  2  1.24049e-05
  3  2.20187
  4  1.16101e-05
  5  4.2505e-05
  6  2.62966
  7  4.89757
  8  2.94542
  9  1.14482
  10  0.000323177
  11  1.3086e-06
  12  0.000260175
  13  2.29889e-06
  14  29.3287
  15  0.000744138
  16  0.213323
  17  0.148864
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  1.161e-05  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.140e+00  1.489e-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:  8.402e-01  2.133e-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: 4.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.17e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/906120/likelihoodResults_392515201_392774401_4FGL_J0153.9+0823_daily_bin591.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) = 6893.09054226
delta logL = -0.000369552925804

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6893.06882518
delta logL = 0.0213475286164

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17498E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.8116       1.0000          .0000       5.0000    
     3 'Normalizat'    .82593       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1449       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6893.069     FROM MIGRAD    STATUS=FAILED       113 CALLS      379 TOTAL
                     EDM=   .24E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15071E-01    .15085        .33823E-03    .37530E-02
   2  alpha         4.8731        3.0047        .50000       -.97223E-03
   3  Normalizat    .82627        .22157        .32830E-03    .15653E-04
   4  Prefactor     1.1449        .14834        .19664E-03    .35337E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6893.069     FROM SIMPLEX   STATUS=UNCHANGED     69 CALLS      448 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15071E-01    .15085        .56543E-04   -1.5683    
   2  alpha         4.8731        3.0047        .19306E-01    1.2508    
   3  Normalizat    .82627        .22157        .37673E-03   -.99101    
   4  Prefactor     1.1449        .14834        .20514E-03   -.88045    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6893.069     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      491 TOTAL
                     EDM=   .52E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .15070E-01    .93093E-01   -.26518E-07    .17589E-02
   2  alpha         4.8731        .15312        .37462E-04    .12063E-05
   3  Normalizat    .82627        .21918        .19759E-07    .77743E-04
   4  Prefactor     1.1449        .14796       -.49272E-08    .10995E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.01507
  alpha      = 4.87313
  Normalizat = 0.826274
  Prefactor  = 1.14486
 **********
 **   18 **HESSE 
 **********

 FCN=   6893.069     FROM HESSE     STATUS=OK            27 CALLS      518 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .15070E-01    .11632        .54117E-06   -1.5683    
   2  alpha         4.8731        3.6859        .50000        1.2509    
   3  Normalizat    .82627        .21953        .26264E-05   -.99101    
   4  Prefactor     1.1449        .14812        .78655E-05   -.88045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83615e-05
Minuit parameter uncertainties:
  1  0.0834568
  2  3.45416
  3  0.21977
  4  0.148175
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906120': 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) = 6893.06880276
delta logL = 0.0213699441347

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.507e-02  8.346e-02  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  4.873e+00  3.454e+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.145e+00  1.482e-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:  8.263e-01  2.198e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/906120/cmap_HighResolution_392515201_392774401_4FGL_J0153.9+0823_daily_bin591.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.17e-05', job_status='DONE', photon_flux_upper_limit='4.16e-08', time_completed='2021-08-14 20:15:33.849846', job_id='906120', GAL2='1.14', fit_tolerance='1e-08', EG2='0.83', EG='0.84', time_epoch_completed='1628997333.85', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='2.14e-02', ts2='0.05', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='591' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:15:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 906120: <4FGL_J0153.9+0823_daily_bin591> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin591> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 20:00:39 2021
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:01:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 20:01:49 2021
Terminated at Sat Aug 14 20:15:34 2021
Results reported at Sat Aug 14 20:15:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin591 28.4972 8.3931 392515201 392774401 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 :                                   628.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            895 sec.

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

