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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin142
RA = 28.4972, Dec = 8.3931
tmin = 276134401, tmax = 276393601
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='904377', job_status='RUN', time_executed='2021-08-14 20:00:00.491278', time_epoch_executed='1628996400.49' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='142'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904377

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904377/ft1_4FGL_J0153.9+0823_daily_bin142.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904377/ft2_4FGL_J0153.9+0823_daily_bin142.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904377/ft1_4FGL_J0153.9+0823_daily_bin142.fits outfile=/scratch/kocevski/904377/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin142.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=276134401.0 tmax=276393601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 10.44
user 4.68
sys 5.71

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904377/ft1_filtered_4FGL_J0153.9+0823_daily_bin142.fits" evtable="EVENTS" scfile=/scratch/kocevski/904377/ft2_4FGL_J0153.9+0823_daily_bin142.fits sctable="SC_DATA" outfile=/scratch/kocevski/904377/ltcube_276134401_276393601_4FGL_J0153.9+0823_daily_bin142.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/904377/ft2_4FGL_J0153.9+0823_daily_bin142.fits
.....................!
real 20.58
user 13.83
sys 6.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904377/ft1_filtered_4FGL_J0153.9+0823_daily_bin142.fits evtable="EVENTS" scfile=/scratch/kocevski/904377/ft2_4FGL_J0153.9+0823_daily_bin142.fits sctable="SC_DATA" expcube=/scratch/kocevski/904377/ltcube_276134401_276393601_4FGL_J0153.9+0823_daily_bin142.fits outfile=/scratch/kocevski/904377/expmap_276134401_276393601_4FGL_J0153.9+0823_daily_bin142.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/904377/ltcube_276134401_276393601_4FGL_J0153.9+0823_daily_bin142.fits
.....................!
real 199.87
user 186.70
sys 12.72

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/904377/ft1_filtered_4FGL_J0153.9+0823_daily_bin142.fits scfile=/scratch/kocevski/904377/ft2_4FGL_J0153.9+0823_daily_bin142.fits outfile=/scratch/kocevski/904377/cmap_276134401_276393601_4FGL_J0153.9+0823_daily_bin142.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 6.13
user 0.39
sys 5.71

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904377/ft1_filtered_4FGL_J0153.9+0823_daily_bin142.fits scfile=/scratch/kocevski/904377/ft2_4FGL_J0153.9+0823_daily_bin142.fits outfile=/scratch/kocevski/904377/cmap_HighResolution_276134401_276393601_4FGL_J0153.9+0823_daily_bin142.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 6.15
user 0.39
sys 5.72

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80607       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.7349       1.0000         .10000E-03   10000.    
     4 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.073       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .31106       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.7587       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11428E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10315E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    69.044       1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.204       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.158       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0473       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .86534       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0605       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=   6490.082     FROM MIGRAD    STATUS=CONVERGED    351 CALLS     1654 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .80749        10.169       -.11082E-05    .28246E-04
   2  Prefactor     .10000E-03    15.884       -.63704E-07** at limit **
   3  Prefactor     2.7348        3.2586        .41550E-08    .41145E-05
   4  norm          .10000E-03    6.3262        .45642E-07** at limit **
   5  Prefactor     11.074        6.8195       -.99365E-07    .59090E-03
   6  Prefactor     .10000E-03    1.4100        .10667E-07** at limit **
   7  norm          .30340        2.3983       -.55657E-06    .12650E-03
   8  Prefactor     .10000E-03    .76282        .30627E-08** at limit **
   9  norm          3.7587        1.0869        .97510E-09    .83505E-04
  10  Prefactor     .10000E-03    17.544        .16382E-06** at limit **
  11  Prefactor     .10001E-03    5.8724       -.20318E-05** at limit **
  12  Prefactor     69.049        84.003       -.73058E-06    .10116E-03
  13  Prefactor     27.227        13.215        .11478E-05    .87265E-03
  14  Prefactor     10.233        23.212       -.11642E-05    .80269E-04
  15  Prefactor     3.0484        12.142        .45718E-05   -.10200E-03
  16  Normalizat    .86546        .19085       -.26822E-06    .29874E-03
  17  Prefactor     1.0605        .13186        .24910E-06    .63409E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.807492
  Prefactor  = 0.0001
  Prefactor  = 2.73478
  norm       = 0.0001
  Prefactor  = 11.074
  Prefactor  = 0.0001
  norm       = 0.303402
  Prefactor  = 0.0001
  norm       = 3.75869
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 69.0486
  Prefactor  = 27.2267
  Prefactor  = 10.2334
  Prefactor  = 3.04844
  Normalizat = 0.865456
  Prefactor  = 1.0605
 **********
 **   18 **HESSE 
 **********

 FCN=   6490.082     FROM HESSE     STATUS=OK           225 CALLS     1879 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .80749        45.173        .48208E-02   -1.5528    
   2  Prefactor     .10000E-03    15.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.7348        3.2549        .15398E-03   -1.5377    
   4  norm          .10000E-03    6.3303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.074        6.7324        .12040E-03   -1.5042    
   6  Prefactor     .10000E-03    1.4303        .93338E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .30340        11.054        .23324E-02   -1.5598    
   8  Prefactor     .10000E-03    .77320        .68663E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.7587        1.0895        .43328E-04   -1.5320    
  10  Prefactor     .10000E-03    17.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    26.824        .33615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     69.049        84.004        .48307E-04   -1.4044    
  13  Prefactor     27.227        13.648        .76809E-04   -1.4664    
  14  Prefactor     10.233        23.197        .12572E-03   -1.5068    
  15  Prefactor     3.0484        13.061        .11621E-02   -1.5359    
  16  Normalizat    .86546        .21652        .31380E-03   -.97685    
  17  Prefactor     1.0605        .15185        .19781E-03   -.90739    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29412e-09
Minuit parameter uncertainties:
  1  12.0881
  2  5.05302e-05
  3  3.25513
  4  4.32915e-06
  5  6.73281
  6  9.10828e-07
  7  3.66277
  8  4.89077e-08
  9  1.08949
  10  4.38704e-05
  11  0.000771882
  12  84.1483
  13  13.6494
  14  23.2171
  15  12.6245
  16  0.216735
  17  0.151915
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  4.329e-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.061e+00  1.519e-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.655e-01  2.167e-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.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.13e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/904377/likelihoodResults_276134401_276393601_4FGL_J0153.9+0823_daily_bin142.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) = 6490.08271799
delta logL = -0.000751534575102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6490.08196649
delta logL = -3.51528797182e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8262       1.0000          .0000       5.0000    
     3 'Normalizat'    .86552       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0605       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=   6488.971     FROM MIGRAD    STATUS=CONVERGED    160 CALLS      308 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82468E-01    2.1127        .37565E-02    .27584E-02
   2  alpha         5.0000        3.9034        .50000    ** at limit **
   3  Normalizat    .75621        .11535        .31380E-02   -.63918E-04
   4  Prefactor     1.1033        .75630E-01    .19781E-03   -.95577E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.082468
  alpha      = 5
  Normalizat = 0.756205
  Prefactor  = 1.1033
 **********
 **   18 **HESSE 
 **********

 FCN=   6488.971     FROM HESSE     STATUS=OK            35 CALLS      343 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .82468E-01    .73492E-01    .17012E-03   -1.5651    
   2  alpha         5.0000        .65271        .46958        14.137    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .75621        .22559        .12552E-03   -1.0171    
   4  Prefactor     1.1033        .15091        .39562E-04   -.89361    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.7239e-10
Minuit parameter uncertainties:
  1  0.0734922
  2  1.92388e-06
  3  0.225866
  4  0.150965
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904377': 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) = 6488.97084362
delta logL = 1.11112283767

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  8.247e-02  7.349e-02  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  5.000e+00  1.924e-06  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.103e+00  1.510e-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:  7.562e-01  2.259e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.43
Ra Dec: 28.497 8.393
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 9.32e-08 +/- 8.27e-08
Energy Flux (Free Index): 1.28e-05 +/- 1.14e-05

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/904377/cmap_HighResolution_276134401_276393601_4FGL_J0153.9+0823_daily_bin142.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.13e-05', comment='SUCCESS', energy_flux2='1.28e-05', dlogl='1.11e+00', photon_flux2='9.32e-08', job_status='DONE', time_completed='2021-08-14 20:11:19.176488', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='4.12e-08', energy_flux_error2='1.14e-05', EG='0.87', time_epoch_completed='1628997079.18', return_code='0', job_id='904377', GAL2='1.10', EG2='0.76', return_code2='0', photon_flux_error2='8.27e-08', ts2='2.43', photon_index='1.82' WHERE bin_id='142' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:11:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0302>
Subject: Job 904377: <4FGL_J0153.9+0823_daily_bin142> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin142> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 14 19:55:19 2021
Job was executed on host(s) <bullet0302>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 19:55:21 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:55:21 2021
Terminated at Sat Aug 14 20:11:20 2021
Results reported at Sat Aug 14 20:11:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin142 28.4972 8.3931 276134401 276393601 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 :                                   757.23 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             257.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   959 sec.
    Turnaround time :                            961 sec.

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

