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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin417
RA = 28.4972, Dec = 8.3931
tmin = 347414401, tmax = 347673601
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='904807', job_status='RUN', time_executed='2021-08-14 20:00:23.928774', time_epoch_executed='1628996423.93' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='417'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904807

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904807/ft1_4FGL_J0153.9+0823_daily_bin417.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904807/ft2_4FGL_J0153.9+0823_daily_bin417.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904807/ft1_4FGL_J0153.9+0823_daily_bin417.fits outfile=/scratch/kocevski/904807/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin417.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=347414401.0 tmax=347673601.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 8.37
user 3.21
sys 5.08

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904807/ft1_filtered_4FGL_J0153.9+0823_daily_bin417.fits" evtable="EVENTS" scfile=/scratch/kocevski/904807/ft2_4FGL_J0153.9+0823_daily_bin417.fits sctable="SC_DATA" outfile=/scratch/kocevski/904807/ltcube_347414401_347673601_4FGL_J0153.9+0823_daily_bin417.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/904807/ft2_4FGL_J0153.9+0823_daily_bin417.fits
.....................!
real 18.72
user 12.72
sys 5.95

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904807/ft1_filtered_4FGL_J0153.9+0823_daily_bin417.fits evtable="EVENTS" scfile=/scratch/kocevski/904807/ft2_4FGL_J0153.9+0823_daily_bin417.fits sctable="SC_DATA" expcube=/scratch/kocevski/904807/ltcube_347414401_347673601_4FGL_J0153.9+0823_daily_bin417.fits outfile=/scratch/kocevski/904807/expmap_347414401_347673601_4FGL_J0153.9+0823_daily_bin417.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/904807/ltcube_347414401_347673601_4FGL_J0153.9+0823_daily_bin417.fits
.....................!
real 197.04
user 185.44
sys 11.10

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/904807/ft1_filtered_4FGL_J0153.9+0823_daily_bin417.fits scfile=/scratch/kocevski/904807/ft2_4FGL_J0153.9+0823_daily_bin417.fits outfile=/scratch/kocevski/904807/cmap_347414401_347673601_4FGL_J0153.9+0823_daily_bin417.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 5.48
user 0.39
sys 5.05

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904807/ft1_filtered_4FGL_J0153.9+0823_daily_bin417.fits scfile=/scratch/kocevski/904807/ft2_4FGL_J0153.9+0823_daily_bin417.fits outfile=/scratch/kocevski/904807/cmap_HighResolution_347414401_347673601_4FGL_J0153.9+0823_daily_bin417.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 5.08
user 0.39
sys 4.65

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.4467       1.0000         .10000E-03   10000.    
     4 'norm      '    16.903       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    7.0726       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .15072E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.5461       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .90089       1.0000         .10000E-03   10000.    
    12 'Prefactor '    36.356       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.831       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.3028       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .97755       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0240       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=   5842.532     FROM MIGRAD    STATUS=CONVERGED    364 CALLS     1631 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.9530        .31472E-07** at limit **
   2  Prefactor     .10000E-03    17.774        .20744E-07** at limit **
   3  Prefactor     3.4476        5.2352        .27275E-05    .35952E-04
   4  norm          16.902        12.361       -.18168E-07    .63473E-04
   5  Prefactor     .10000E-03    5.6814        .42361E-07** at limit **
   6  Prefactor     .10000E-03    1.4001        .45415E-08** at limit **
   7  norm          7.0701        4.5091        .86037E-07    .21529E-03
   8  Prefactor     .10000E-03    1.1759       -.79560E-07** at limit **
   9  norm          2.5462        1.2470       -.64017E-08    .58418E-04
  10  Prefactor     .10000E-03    10.906       -.45595E-07** at limit **
  11  Prefactor     .85985        5.6172        .83390E-06   -.17920E-03
  12  Prefactor     36.252        47.442        .48804E-06   -.54031E-05
  13  Prefactor     10.831        9.9410        .10898E-05   -.87434E-05
  14  Prefactor     .10000E-03    10.094       -.63297E-08** at limit **
  15  Prefactor     3.3054        9.1301        .10081E-06    .89102E-04
  16  Normalizat    .97751        .19451       -.59593E-06    .28907E-03
  17  Prefactor     1.0240        .13569        .41592E-06    .49691E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.4476
  norm       = 16.9025
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.07008
  Prefactor  = 0.0001
  norm       = 2.54622
  Prefactor  = 0.0001
  Prefactor  = 0.859851
  Prefactor  = 36.2516
  Prefactor  = 10.8309
  Prefactor  = 0.0001
  Prefactor  = 3.3054
  Normalizat = 0.977508
  Prefactor  = 1.02396
 **********
 **   18 **HESSE 
 **********

 FCN=   5842.532     FROM HESSE     STATUS=OK           225 CALLS     1856 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.9763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    17.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.4476        5.2786        .10492E-02   -1.5337    
   4  norm          16.902        12.363        .97418E-04   -1.4885    
   5  Prefactor     .10000E-03    5.7981        .17784E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.3057        .17430E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.0701        4.5059        .12511E-03   -1.5176    
   8  Prefactor     .10000E-03    5.0049        .15969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.5462        1.2468        .56822E-04   -1.5389    
  10  Prefactor     .10000E-03    10.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .85985        19.665        .30294E-02   -1.5523    
  12  Prefactor     36.252        47.348        .66467E-04   -1.4503    
  13  Prefactor     10.831        10.264        .12174E-03   -1.5050    
  14  Prefactor     .10000E-03    10.125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.3054        9.1287        .22277E-03   -1.5344    
  16  Normalizat    .97751        .22360        .29063E-03   -.93788    
  17  Prefactor     1.0240        .15822        .19747E-03   -.91935    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8575e-10
Minuit parameter uncertainties:
  1  1.98554e-05
  2  4.8513e-05
  3  5.27931
  4  12.3648
  5  2.9514e-07
  6  7.71259e-06
  7  4.50607
  8  2.18421e-05
  9  1.24678
  10  3.65338e-05
  11  8.2266
  12  47.3973
  13  10.2659
  14  3.54519e-05
  15  9.13252
  16  0.223817
  17  0.158294
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.690e+01  1.236e+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:  1.024e+00  1.583e-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:  9.775e-01  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.96
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 2.14e-08 +/- 1.57e-08
Energy Flux (Fixed Index): 2.14e-05 +/- 1.57e-05

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) = 5841.39149711
delta logL = 1.14015553706

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5841.29062212
delta logL = 1.24103052212

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.941       1.0000         .10000E-03   10000.    
     2 'alpha     '    .97796       1.0000          .0000       5.0000    
     3 'Normalizat'    .98034       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0277       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.

 FCN=   5841.291     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      216 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.917        9.6016        .28982E-02   -.57397E-04
   2  alpha         .97678        .39737        .33825       -.19263E-04
   3  Normalizat    .98041        .18999        .65619E-01    .98616E-05
   4  Prefactor     1.0277        .13257        .41446E-01   -.18565E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 11.9168
  alpha      = 0.976779
  Normalizat = 0.980406
  Prefactor  = 1.02769
 **********
 **   18 **HESSE 
 **********

 FCN=   5841.291     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.917        12.547        .11593E-03   -1.5017    
   2  alpha         .97678        .53144        .14544E-01   -.65516    
   3  Normalizat    .98041        .21786        .29024E-03   -.93690    
   4  Prefactor     1.0277        .15225        .19719E-03   -.91812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.17277e-10
Minuit parameter uncertainties:
  1  12.5501
  2  0.53802
  3  0.218058
  4  0.15231
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904807': 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) = 5841.2906195
delta logL = 1.24103314531

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.192e+01  1.255e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  9.768e-01  5.380e-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:  1.028e+00  1.523e-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:  9.804e-01  2.181e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.44
Ra Dec: 28.497 8.393
Photon Index (Free Index): 0.98 +/- 0.54
Photon Flux (Free Index): 9.13e-09 +/- 8.27e-09
Energy Flux (Free Index): 8.31e-05 +/- 9.37e-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/904807/cmap_HighResolution_347414401_347673601_4FGL_J0153.9+0823_daily_bin417.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.14e-08', energy_flux2='8.31e-05', photon_flux_error='1.57e-08', dlogl='1.24e+00', energy_flux='2.14e-05', photon_flux2='9.13e-09', job_status='DONE', time_completed='2021-08-14 20:10:08.766152', photon_index_error2='0.54', photon_index2='0.98', ts='10.96', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='9.37e-05', EG='0.98', time_epoch_completed='1628997008.77', return_code='0', job_id='904807', GAL2='1.03', EG2='0.98', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='8.27e-09', ts2='13.44', photon_index='1.82' WHERE bin_id='417' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:10:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 904807: <4FGL_J0153.9+0823_daily_bin417> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin417 28.4972 8.3931 347414401 347673601 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 :                                   651.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             289.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   674 sec.
    Turnaround time :                            855 sec.

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

