/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 127 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 = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0153.9+0823_daily_bin563
RA = 28.4972, Dec = 8.3931
tmin = 385257601, tmax = 385516801
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='906076', job_status='RUN', time_executed='2021-08-14 20:04:42.710755', time_epoch_executed='1628996682.71' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='563'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906076

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906076/ft1_4FGL_J0153.9+0823_daily_bin563.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906076/ft2_4FGL_J0153.9+0823_daily_bin563.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906076/ft1_4FGL_J0153.9+0823_daily_bin563.fits outfile=/scratch/kocevski/906076/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin563.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=385257601.0 tmax=385516801.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.78
user 3.28
sys 3.42

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906076/ft1_filtered_4FGL_J0153.9+0823_daily_bin563.fits" evtable="EVENTS" scfile=/scratch/kocevski/906076/ft2_4FGL_J0153.9+0823_daily_bin563.fits sctable="SC_DATA" outfile=/scratch/kocevski/906076/ltcube_385257601_385516801_4FGL_J0153.9+0823_daily_bin563.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/906076/ft2_4FGL_J0153.9+0823_daily_bin563.fits
.....................!
real 15.86
user 11.82
sys 3.91

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906076/ft1_filtered_4FGL_J0153.9+0823_daily_bin563.fits evtable="EVENTS" scfile=/scratch/kocevski/906076/ft2_4FGL_J0153.9+0823_daily_bin563.fits sctable="SC_DATA" expcube=/scratch/kocevski/906076/ltcube_385257601_385516801_4FGL_J0153.9+0823_daily_bin563.fits outfile=/scratch/kocevski/906076/expmap_385257601_385516801_4FGL_J0153.9+0823_daily_bin563.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/906076/ltcube_385257601_385516801_4FGL_J0153.9+0823_daily_bin563.fits
.....................!
real 195.04
user 185.35
sys 9.08

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/906076/ft1_filtered_4FGL_J0153.9+0823_daily_bin563.fits scfile=/scratch/kocevski/906076/ft2_4FGL_J0153.9+0823_daily_bin563.fits outfile=/scratch/kocevski/906076/cmap_385257601_385516801_4FGL_J0153.9+0823_daily_bin563.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.79
user 0.38
sys 3.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/906076/ft1_filtered_4FGL_J0153.9+0823_daily_bin563.fits scfile=/scratch/kocevski/906076/ft2_4FGL_J0153.9+0823_daily_bin563.fits outfile=/scratch/kocevski/906076/cmap_HighResolution_385257601_385516801_4FGL_J0153.9+0823_daily_bin563.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.81
user 0.40
sys 3.39

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.7713       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10367E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    17.010       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.2235       1.0000         .10000E-03   10000.    
     9 'norm      '    .67712       1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.458       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    50.794       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .15559E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.1450       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.3199       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .86839       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=   5876.766     FROM MIGRAD    STATUS=CONVERGED    593 CALLS     1903 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10005E-03    35.880        .37525E-02** at limit **
   2  Prefactor     .10000E-03    35.651        .18142E-02** at limit **
   3  Prefactor     3.7714        3.9957        .15334E-03   -.39814E-04
   4  norm          .10000E-03    10.681        .18142E-02** at limit **
   5  Prefactor     .10000E-03    8.2705        .36285E-03** at limit **
   6  Prefactor     .10000E-03    3.2572        .18891E-02** at limit **
   7  norm          17.010        6.5518        .97111E-04    .39921E-04
   8  Prefactor     1.2239        2.1260        .14121E-03   -.28178E-04
   9  norm          .67733        .91672        .87749E-03    .62748E-03
  10  Prefactor     21.460        27.451        .86467E-04    .16567E-04
  11  Prefactor     .10000E-03    7.0271        .36285E-03** at limit **
  12  Prefactor     50.786        61.472        .56271E-04   -.32366E-04
  13  Prefactor     .10000E-03    6.5132        .56961E-01** at limit **
  14  Prefactor     .10000E-03    15.219        .18142E-02** at limit **
  15  Prefactor     5.1449        6.8699        .88620E-03   -.31014E-03
  16  Normalizat    1.3198        .23004        .26517E-03    .85147E-04
  17  Prefactor     .86845        .15669        .21690E-03    .69081E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100048
  Prefactor  = 0.0001
  Prefactor  = 3.77138
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 17.01
  Prefactor  = 1.22387
  norm       = 0.677335
  Prefactor  = 21.4599
  Prefactor  = 0.0001
  Prefactor  = 50.7864
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 5.14487
  Normalizat = 1.31976
  Prefactor  = 0.868454
 **********
 **   18 **HESSE 
 **********

 FCN=   5876.766     FROM HESSE     STATUS=OK           217 CALLS     2120 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10005E-03    36.392        .75051E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    35.652        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.7714        3.9957        .61334E-05   -1.5320    
   4  norm          .10000E-03    10.686        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.2711        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.2699        .37782E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          17.010        6.5516        .38844E-05   -1.4883    
   8  Prefactor     1.2239        2.1257        .56485E-05   -1.5487    
   9  norm          .67733        .91615        .35099E-04   -1.5543    
  10  Prefactor     21.460        27.453        .34587E-05   -1.4781    
  11  Prefactor     .10000E-03    7.0274        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     50.786        61.469        .11254E-04   -1.4281    
  13  Prefactor     .10000E-03    6.3964        .57757E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.221        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.1449        6.8693        .35448E-04   -1.5254    
  16  Normalizat    1.3198        .23018        .10607E-04   -.82979    
  17  Prefactor     .86845        .15682        .86761E-05   -.97252    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71761e-09
Minuit parameter uncertainties:
  1  0.00265503
  2  0.000237092
  3  3.99601
  4  3.81147e-05
  5  1.09113e-05
  6  0.000100873
  7  6.55188
  8  2.12584
  9  0.916172
  10  27.4689
  11  1.12275e-05
  12  61.5458
  13  0.000226362
  14  7.67409e-05
  15  6.87033
  16  0.230357
  17  0.156903
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  3.811e-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:  8.685e-01  1.569e-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.320e+00  2.304e-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.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.91e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/906076/likelihoodResults_385257601_385516801_4FGL_J0153.9+0823_daily_bin563.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) = 5876.76627512
delta logL = -0.000445954016868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5876.76582909
delta logL = 7.02630131855e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10305E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8550       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3198       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86845       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=   5876.765     FROM MIGRAD    STATUS=CONVERGED    167 CALLS      316 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11075        22.086        .39667E-01    .78171E-03
   2  alpha         2.9028        2.9780        .50000        .34895E-04
   3  Normalizat    1.3191        .15306E-01    .26517E-03    .13891E-04
   4  Prefactor     .86843        .10460E-01    .21690E-03    .16458E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.110751
  alpha      = 2.90284
  Normalizat = 1.31909
  Prefactor  = 0.868431
 **********
 **   18 **HESSE 
 **********

 FCN=   5876.765     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      349 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11075        462.35        .24724E-02   -1.5641    
   2  alpha         2.9028        3.9510        .50000        .16184    
   3  Normalizat    1.3191        .32479E-01    .10607E-04   -.82998    
   4  Prefactor     .86843        .22221E-01    .86761E-05   -.97253    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.00183e-08
Minuit parameter uncertainties:
  1  14.4179
  2  19.7139
  3  0.0324791
  4  0.0222214
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906076': 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) = 5876.76482366
delta logL = 0.00100549897888

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.108e-01  1.442e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  2.903e+00  1.971e+01  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  7.988e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  8.684e-01  2.222e-02  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.319e+00  3.248e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/906076/cmap_HighResolution_385257601_385516801_4FGL_J0153.9+0823_daily_bin563.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.91e-05', job_status='DONE', photon_flux_upper_limit='3.91e-08', time_completed='2021-08-14 20:15:07.787569', job_id='906076', GAL2='0.87', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1628997307.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.01e-03', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='563' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:15:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 906076: <4FGL_J0153.9+0823_daily_bin563> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin563> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 20:00:34 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:01:34 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:34 2021
Terminated at Sat Aug 14 20:15:09 2021
Results reported at Sat Aug 14 20:15:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin563 28.4972 8.3931 385257601 385516801 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 :                                 1256 MB
    Average Memory :                             302.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            875 sec.

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

