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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin235
RA = 28.4972, Dec = 8.3931
tmin = 300240001, tmax = 300499201
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='904522', job_status='RUN', time_executed='2021-08-14 19:59:47.741182', time_epoch_executed='1628996387.74' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='235'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904522

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904522/ft1_4FGL_J0153.9+0823_daily_bin235.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904522/ft2_4FGL_J0153.9+0823_daily_bin235.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904522/ft1_4FGL_J0153.9+0823_daily_bin235.fits outfile=/scratch/kocevski/904522/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin235.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=300240001.0 tmax=300499201.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 5.68
user 3.20
sys 2.41

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/904522/ft2_4FGL_J0153.9+0823_daily_bin235.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/904522/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin235.fits evtable="EVENTS" outfile="/scratch/kocevski/904522/ft1_filtered_4FGL_J0153.9+0823_daily_bin235.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 2.66
user 0.34
sys 2.30

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904522/ft1_filtered_4FGL_J0153.9+0823_daily_bin235.fits" evtable="EVENTS" scfile=/scratch/kocevski/904522/ft2_4FGL_J0153.9+0823_daily_bin235.fits sctable="SC_DATA" outfile=/scratch/kocevski/904522/ltcube_300240001_300499201_4FGL_J0153.9+0823_daily_bin235.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/904522/ft2_4FGL_J0153.9+0823_daily_bin235.fits
.....................!
real 15.47
user 12.45
sys 2.74

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904522/ft1_filtered_4FGL_J0153.9+0823_daily_bin235.fits evtable="EVENTS" scfile=/scratch/kocevski/904522/ft2_4FGL_J0153.9+0823_daily_bin235.fits sctable="SC_DATA" expcube=/scratch/kocevski/904522/ltcube_300240001_300499201_4FGL_J0153.9+0823_daily_bin235.fits outfile=/scratch/kocevski/904522/expmap_300240001_300499201_4FGL_J0153.9+0823_daily_bin235.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/904522/ltcube_300240001_300499201_4FGL_J0153.9+0823_daily_bin235.fits
.....................!
real 195.07
user 186.53
sys 7.79

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/904522/ft1_filtered_4FGL_J0153.9+0823_daily_bin235.fits scfile=/scratch/kocevski/904522/ft2_4FGL_J0153.9+0823_daily_bin235.fits outfile=/scratch/kocevski/904522/cmap_300240001_300499201_4FGL_J0153.9+0823_daily_bin235.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 2.69
user 0.37
sys 2.29

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904522/ft1_filtered_4FGL_J0153.9+0823_daily_bin235.fits scfile=/scratch/kocevski/904522/ft2_4FGL_J0153.9+0823_daily_bin235.fits outfile=/scratch/kocevski/904522/cmap_HighResolution_300240001_300499201_4FGL_J0153.9+0823_daily_bin235.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 2.73
user 0.37
sys 2.30

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5196       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.027       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.7343       1.0000         .10000E-03   10000.    
     4 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11343E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.7198       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16473E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .30481       1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.775       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .65299E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    36.159       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    38.259       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12484E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0591       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0367       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=   7040.976     FROM MIGRAD    STATUS=CONVERGED    341 CALLS     1677 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5202        10.145        .24250E-06    .30974E-04
   2  Prefactor     12.038        26.009       -.30071E-05   -.17404E-03
   3  Prefactor     3.7349        3.9817        .88976E-06    .15665E-02
   4  norm          .10000E-03    5.6550        .55102E-08** at limit **
   5  Prefactor     .10000E-03    2.2037       -.18110E-07** at limit **
   6  Prefactor     .10000E-03    2.3257        .37984E-07** at limit **
   7  norm          4.7222        4.4979        .10021E-06    .15342E-03
   8  Prefactor     .10000E-03    1.5444       -.85842E-06** at limit **
   9  norm          .30569        .53068       -.97556E-07   -.81794E-03
  10  Prefactor     31.777        35.061       -.96940E-06    .14877E-03
  11  Prefactor     .10016E-03    15.633        .64693E-05** at limit **
  12  Prefactor     36.146        64.152        .29347E-05    .10842E-03
  13  Prefactor     .10000E-03    8.6952        .13688E-06** at limit **
  14  Prefactor     38.235        28.661        .37802E-05    .59993E-03
  15  Prefactor     .10000E-03    24.095       -.12651E-05** at limit **
  16  Normalizat    1.0590        .18369       -.98125E-06   -.33341E-04
  17  Prefactor     1.0367        .12743        .36929E-06   -.24025E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.52018
  Prefactor  = 12.0376
  Prefactor  = 3.73485
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.72217
  Prefactor  = 0.0001
  norm       = 0.305695
  Prefactor  = 31.7768
  Prefactor  = 0.000100158
  Prefactor  = 36.1463
  Prefactor  = 0.0001
  Prefactor  = 38.2355
  Prefactor  = 0.000100004
  Normalizat = 1.05899
  Prefactor  = 1.03673
 **********
 **   18 **HESSE 
 **********

 FCN=   7040.976     FROM HESSE     STATUS=OK           227 CALLS     1904 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5202        10.131        .21548E-03   -1.5333    
   2  Prefactor     12.038        26.146        .11551E-03   -1.5014    
   3  Prefactor     3.7349        4.1971        .87965E-03   -1.5321    
   4  norm          .10000E-03    5.6647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.2101        .12163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.4268        .24953E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.7222        4.4664        .16589E-03   -1.5273    
   8  Prefactor     .10000E-03    4.4780        .18496E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .30569        .44947        .78335E-03   -1.5597    
  10  Prefactor     31.777        33.967        .71083E-04   -1.4580    
  11  Prefactor     .10016E-03    27.109        .37846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     36.146        64.180        .66647E-04   -1.4505    
  13  Prefactor     .10000E-03    8.7882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     38.235        29.328        .64799E-04   -1.4470    
  15  Prefactor     .10000E-03    24.990        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0590        .20858        .29246E-03   -.91080    
  17  Prefactor     1.0367        .14477        .20336E-03   -.91515    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.03543e-09
Minuit parameter uncertainties:
  1  10.1355
  2  26.1708
  3  4.19747
  4  2.07858e-06
  5  1.03491e-07
  6  2.81397e-06
  7  4.46668
  8  8.02019e-07
  9  0.449479
  10  33.9878
  11  0.0041358
  12  64.3026
  13  5.33948e-05
  14  29.3394
  15  0.000618241
  16  0.208737
  17  0.14482
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  2.079e-06  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.037e+00  1.448e-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.059e+00  2.087e-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.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.42e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/904522/likelihoodResults_300240001_300499201_4FGL_J0153.9+0823_daily_bin235.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) = 7040.97648727
delta logL = -0.000838732838019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7040.97564853
delta logL = 1.14287104225e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8142       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0590       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0367       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=   7040.976     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      236 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10039E-03    281.31        .18142E-02** at limit **
   2  alpha         1.7575        3.2607        .50000        .32523E-05
   3  Normalizat    1.0590        .36263E-01    .29246E-03   -.52866E-05
   4  Prefactor     1.0367        .25125E-01    .20336E-03   -.25717E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100389
  alpha      = 1.75751
  Normalizat = 1.05899
  Prefactor  = 1.03673
 **********
 **   18 **HESSE 
 **********

 FCN=   7040.976     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      265 TOTAL
                     EDM=   .59E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10039E-03    951.95        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7575        4.1210        .50000       -.30154    
   3  Normalizat    1.0590        .87548E-01    .11699E-04   -.91080    
   4  Prefactor     1.0367        .60662E-01    .81342E-05   -.91515    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.87036e-08
Minuit parameter uncertainties:
  1  0.039109
  2  2380.45
  3  0.08756
  4  0.0606656
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904522': 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) = 7040.97564845
delta logL = 9.19289959711e-08

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.004e-04  3.911e-02  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.758e+00  2.380e+03  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.037e+00  6.067e-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.059e+00  8.756e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/904522/cmap_HighResolution_300240001_300499201_4FGL_J0153.9+0823_daily_bin235.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.42e-05', job_status='DONE', photon_flux_upper_limit='3.41e-08', time_completed='2021-08-14 20:10:22.620745', job_id='904522', GAL2='1.04', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1628997022.62', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='9.19e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='235' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:10:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 904522: <4FGL_J0153.9+0823_daily_bin235> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin235> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 19:55:31 2021
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 19:56:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 19:56:29 2021
Terminated at Sat Aug 14 20:10:24 2021
Results reported at Sat Aug 14 20:10:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin235 28.4972 8.3931 300240001 300499201 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 :                                   668.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            893 sec.

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

