aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 114 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 = 7471
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0153.9+0823_daily_bin1686
RA = 28.4972, Dec = 8.3931
tmin = 676339201, tmax = 676598401
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='508800', job_status='RUN', time_executed='2022-06-11 00:08:23.917077', time_epoch_executed='1654931303.92' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='1686'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/508800

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/508800/ft1_4FGL_J0153.9+0823_daily_bin1686.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/508800/ft2_4FGL_J0153.9+0823_daily_bin1686.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/508800/ft1_4FGL_J0153.9+0823_daily_bin1686.fits outfile=/scratch/kocevski/508800/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin1686.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=676339201.0 tmax=676598401.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.35
user 2.59
sys 0.21

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

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

Number of photons that the gtmktime cut: 968

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/508800/ft1_filtered_4FGL_J0153.9+0823_daily_bin1686.fits evtable="EVENTS" scfile=/scratch/kocevski/508800/ft2_4FGL_J0153.9+0823_daily_bin1686.fits sctable="SC_DATA" expcube=/scratch/kocevski/508800/ltcube_676339201_676598401_4FGL_J0153.9+0823_daily_bin1686.fits outfile=/scratch/kocevski/508800/expmap_676339201_676598401_4FGL_J0153.9+0823_daily_bin1686.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/508800/ltcube_676339201_676598401_4FGL_J0153.9+0823_daily_bin1686.fits
.....................!
real 191.82
user 185.83
sys 5.19

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/508800/ft1_filtered_4FGL_J0153.9+0823_daily_bin1686.fits scfile=/scratch/kocevski/508800/ft2_4FGL_J0153.9+0823_daily_bin1686.fits outfile=/scratch/kocevski/508800/cmap_676339201_676598401_4FGL_J0153.9+0823_daily_bin1686.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/508800/ft1_filtered_4FGL_J0153.9+0823_daily_bin1686.fits scfile=/scratch/kocevski/508800/ft2_4FGL_J0153.9+0823_daily_bin1686.fits outfile=/scratch/kocevski/508800/cmap_HighResolution_676339201_676598401_4FGL_J0153.9+0823_daily_bin1686.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.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.044       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.9121       1.0000         .10000E-03   10000.    
     4 'norm      '    10.386       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.0177       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.7108       1.0000         .10000E-03   10000.    
     7 'norm      '    15.884       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16846E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.5663       1.0000         .10000E-03   10000.    
    10 'Prefactor '    43.030       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .61347E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.4072       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .93275       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=   10437.06     FROM MIGRAD    STATUS=CONVERGED    339 CALLS     1603 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.044        9.0855       -.25751E-07    .43553E-04
   2  Prefactor     .10000E-03    28.760        .67149E-07** at limit **
   3  Prefactor     4.9124        3.2370       -.12617E-07   -.68268E-05
   4  norm          10.386        11.518        .36615E-07    .19610E-04
   5  Prefactor     8.0179        5.2537       -.65060E-08    .65357E-05
   6  Prefactor     1.7110        1.8847        .17100E-05    .11354E-02
   7  norm          15.882        5.4749        .18834E-06    .12224E-02
   8  Prefactor     .10000E-03    .92794       -.79147E-06** at limit **
   9  norm          2.5664        .81359       -.61473E-08    .16852E-03
  10  Prefactor     43.013        24.241        .12239E-05    .57418E-04
  11  Prefactor     .10000E-03    1.6435       -.11965E-07** at limit **
  12  Prefactor     .10000E-03    35.147       -.31492E-06** at limit **
  13  Prefactor     .10000E-03    4.4424       -.26659E-07** at limit **
  14  Prefactor     .10000E-03    7.0754       -.44775E-06** at limit **
  15  Prefactor     .10008E-03    9.0737       -.49609E-05** at limit **
  16  Normalizat    1.4071        .16236        .57842E-06    .89826E-03
  17  Prefactor     .93273        .11479       -.43177E-06    .10297E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.0444
  Prefactor  = 0.0001
  Prefactor  = 4.91239
  norm       = 10.3863
  Prefactor  = 8.01785
  Prefactor  = 1.71097
  norm       = 15.8817
  Prefactor  = 0.000100001
  norm       = 2.5664
  Prefactor  = 43.0125
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100078
  Normalizat = 1.4071
  Prefactor  = 0.932734
 **********
 **   18 **HESSE 
 **********

 FCN=   10437.06     FROM HESSE     STATUS=OK           223 CALLS     1826 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.044        9.0896        .10688E-03   -1.4958    
   2  Prefactor     .10000E-03    28.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.9124        3.2412        .14467E-03   -1.5265    
   4  norm          10.386        11.518        .12433E-03   -1.5063    
   5  Prefactor     8.0179        5.2522        .14160E-03   -1.5142    
   6  Prefactor     1.7110        1.9758        .74689E-03   -1.5446    
   7  norm          15.882        5.4669        .10050E-03   -1.4911    
   8  Prefactor     .10000E-03    4.1853        .18034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.5664        .81470        .49992E-04   -1.5388    
  10  Prefactor     43.013        24.436        .61114E-04   -1.4395    
  11  Prefactor     .10000E-03    1.6484        .12790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    35.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.4834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.1025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10008E-03    32.333        .45111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.4071        .18569        .28429E-03   -.80424    
  17  Prefactor     .93273        .12957        .23647E-03   -.95006    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5378e-09
Minuit parameter uncertainties:
  1  9.09045
  2  0.000225993
  3  3.24127
  4  11.5208
  5  5.25248
  6  1.97592
  7  5.46704
  8  0.00010494
  9  0.8147
  10  24.4419
  11  3.7137e-06
  12  8.25015e-05
  13  1.59496e-06
  14  7.4086e-05
  15  0.00317155
  16  0.185775
  17  0.129613
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.039e+01  1.152e+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:  9.327e-01  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:  1.407e+00  1.858e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.54
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 1.32e-08 +/- 1.46e-08
Energy Flux (Fixed Index): 1.32e-05 +/- 1.46e-05

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

Saving results to:
/scratch/kocevski/508800/likelihoodResults_676339201_676598401_4FGL_J0153.9+0823_daily_bin1686.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10436.9674066
delta logL = 0.0883506041846

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10436.9655627
delta logL = 0.0901944538236

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.7574       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1068       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4035       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93252       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=   10436.97     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      236 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.7544        11.169        .12829E-03    .20290E-02
   2  alpha         2.1061        .67305        .17068E-01    .35447E-03
   3  Normalizat    1.4035        .18289        .28459E-03   -.97607E-03
   4  Prefactor     .93249        .12780        .23647E-03   -.14983E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 9.75443
  alpha      = 2.10607
  Normalizat = 1.40351
  Prefactor  = 0.932493
 **********
 **   18 **HESSE 
 **********

 FCN=   10436.97     FROM HESSE     STATUS=OK            23 CALLS      259 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.7544        10.878        .25657E-04   -1.5083    
   2  alpha         2.1061        .65603        .68272E-03   -.15823    
   3  Normalizat    1.4035        .18295        .56918E-04   -.80527    
   4  Prefactor     .93249        .12787        .47293E-04   -.95015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07596e-08
Minuit parameter uncertainties:
  1  10.8804
  2  0.664012
  3  0.183039
  4  0.127909
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/508800': 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) = 10436.9655616
delta logL = 0.0901955740337

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  9.754e+00  1.088e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  2.106e+00  6.640e-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:  9.325e-01  1.279e-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.404e+00  1.830e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.73
Ra Dec: 28.497 8.393
Photon Index (Free Index): 2.11 +/- 0.66
Photon Flux (Free Index): 1.91e-08 +/- 2.35e-08
Energy Flux (Free Index): 1.07e-05 +/- 1.22e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/508800/cmap_HighResolution_676339201_676598401_4FGL_J0153.9+0823_daily_bin1686.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-05', comment='SUCCESS', photon_flux='1.32e-08', energy_flux2='1.07e-05', photon_flux_error='1.46e-08', dlogl='9.02e-02', energy_flux='1.32e-05', photon_flux2='1.91e-08', job_status='DONE', time_completed='2022-06-11 00:20:42.122823', photon_index_error2='0.66', photon_index2='2.11', ts='1.54', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='5.15e-08', energy_flux_error2='1.22e-05', EG='1.41', time_epoch_completed='1654932042.12', return_code='0', job_id='508800', GAL2='0.93', EG2='1.40', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='2.35e-08', ts2='1.73', photon_index='1.82' WHERE bin_id='1686' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jun 11 00:20:42 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 508800: <4FGL_J0153.9+0823_daily_bin1686> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin1686> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jun 11 00:04:58 2022
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jun 11 00:06:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jun 11 00:06:18 2022
Terminated at Sat Jun 11 00:20:43 2022
Results reported at Sat Jun 11 00:20:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin1686 28.4972 8.3931 676339201 676598401 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 :                                   738.42 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             293.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            945 sec.

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

