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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin321
RA = 28.4972, Dec = 8.3931
tmin = 322531201, tmax = 322790401
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='904659', job_status='RUN', time_executed='2021-08-14 20:01:40.752206', time_epoch_executed='1628996500.75' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='321'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904659

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904659/ft1_4FGL_J0153.9+0823_daily_bin321.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904659/ft2_4FGL_J0153.9+0823_daily_bin321.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904659/ft1_4FGL_J0153.9+0823_daily_bin321.fits outfile=/scratch/kocevski/904659/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin321.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=322531201.0 tmax=322790401.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 14.04
user 8.00
sys 4.83

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904659/ft1_filtered_4FGL_J0153.9+0823_daily_bin321.fits" evtable="EVENTS" scfile=/scratch/kocevski/904659/ft2_4FGL_J0153.9+0823_daily_bin321.fits sctable="SC_DATA" outfile=/scratch/kocevski/904659/ltcube_322531201_322790401_4FGL_J0153.9+0823_daily_bin321.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/904659/ft2_4FGL_J0153.9+0823_daily_bin321.fits
.....................!
real 18.58
user 12.50
sys 6.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904659/ft1_filtered_4FGL_J0153.9+0823_daily_bin321.fits evtable="EVENTS" scfile=/scratch/kocevski/904659/ft2_4FGL_J0153.9+0823_daily_bin321.fits sctable="SC_DATA" expcube=/scratch/kocevski/904659/ltcube_322531201_322790401_4FGL_J0153.9+0823_daily_bin321.fits outfile=/scratch/kocevski/904659/expmap_322531201_322790401_4FGL_J0153.9+0823_daily_bin321.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/904659/ltcube_322531201_322790401_4FGL_J0153.9+0823_daily_bin321.fits
.....................!
real 197.14
user 185.32
sys 11.34

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/904659/ft1_filtered_4FGL_J0153.9+0823_daily_bin321.fits scfile=/scratch/kocevski/904659/ft2_4FGL_J0153.9+0823_daily_bin321.fits outfile=/scratch/kocevski/904659/cmap_322531201_322790401_4FGL_J0153.9+0823_daily_bin321.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.55
user 0.39
sys 5.09

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904659/ft1_filtered_4FGL_J0153.9+0823_daily_bin321.fits scfile=/scratch/kocevski/904659/ft2_4FGL_J0153.9+0823_daily_bin321.fits outfile=/scratch/kocevski/904659/cmap_HighResolution_322531201_322790401_4FGL_J0153.9+0823_daily_bin321.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.56
user 0.39
sys 5.11

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.008       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    28.156       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.3948       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    22.368       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.6164       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    214.25       1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.808       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.0741       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.8946       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0189       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .91048       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=   5104.810     FROM MIGRAD    STATUS=CONVERGED    334 CALLS     1595 TOTAL
                     EDM=   .87E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.008        15.922       -.19323E-06    .33534E-05
   2  Prefactor     .10000E-03    17.728        .18936E-07** at limit **
   3  Prefactor     .10000E-03    1.6279        .19555E-08** at limit **
   4  norm          28.153        21.843       -.19367E-05    .22828E-05
   5  Prefactor     1.3954        .66638       -.27732E-07   -.18235E-03
   6  Prefactor     .10000E-03    .98710       -.42297E-09** at limit **
   7  norm          22.366        9.5921        .99600E-07   -.55360E-05
   8  Prefactor     .10000E-03    2.9818        .12184E-06** at limit **
   9  norm          1.6164        1.0162       -.48103E-08    .33324E-04
  10  Prefactor     .10000E-03    34.444        .30446E-06** at limit **
  11  Prefactor     .10000E-03    21.804       -.27715E-07** at limit **
  12  Prefactor     214.24        107.65       -.63653E-05    .84721E-06
  13  Prefactor     13.809        11.802        .37767E-07    .59162E-05
  14  Prefactor     4.0713        31.345       -.40162E-05    .20332E-05
  15  Prefactor     6.8945        10.418        .46739E-06   -.44803E-06
  16  Normalizat    1.0189        .21135        .33826E-06    .15340E-04
  17  Prefactor     .91048        .14684        .53115E-06   -.43059E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.0083
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 28.153
  Prefactor  = 1.3954
  Prefactor  = 0.0001
  norm       = 22.3655
  Prefactor  = 0.0001
  norm       = 1.61637
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 214.241
  Prefactor  = 13.8092
  Prefactor  = 4.07126
  Prefactor  = 6.89447
  Normalizat = 1.01887
  Prefactor  = 0.910477
 **********
 **   18 **HESSE 
 **********

 FCN=   5104.810     FROM HESSE     STATUS=OK           225 CALLS     1820 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.008        15.933        .80103E-04   -1.4707    
   2  Prefactor     .10000E-03    17.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.6315        .89025E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          28.153        21.904        .75502E-04   -1.4646    
   5  Prefactor     1.3954        7.8134        .18386E-02   -1.5472    
   6  Prefactor     .10000E-03    .99385        .69303E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          22.366        9.6247        .42346E-03   -1.4762    
   8  Prefactor     .10000E-03    3.0889        .24071E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.6164        1.0129        .55016E-04   -1.5454    
  10  Prefactor     .10000E-03    34.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    22.315        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     214.24        107.61        .13813E-03   -1.2770    
  13  Prefactor     13.809        11.771        .10779E-03   -1.4965    
  14  Prefactor     4.0713        31.246        .19975E-03   -1.5304    
  15  Prefactor     6.8945        10.438        .76397E-03   -1.5183    
  16  Normalizat    1.0189        .24353        .29266E-03   -.92401    
  17  Prefactor     .91048        .16990        .21019E-03   -.95776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.4078e-11
Minuit parameter uncertainties:
  1  15.9356
  2  2.36196e-06
  3  4.33766e-07
  4  21.9101
  5  6.60497
  6  6.4828e-07
  7  9.62541
  8  2.05001e-05
  9  1.01294
  10  0.000113532
  11  3.49885e-05
  12  107.713
  13  11.7734
  14  22.5736
  15  10.4405
  16  0.243799
  17  0.170002
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  2.815e+01  2.191e+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.105e-01  1.700e-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.019e+00  2.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.23
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 2.78e-08
Energy Flux (Fixed Index): 3.57e-05 +/- 2.78e-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) = 5104.12760686
delta logL = 0.682640164095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5103.83303187
delta logL = 0.977215154674

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.4227       1.0000         .10000E-03   10000.    
     2 'alpha     '    .75479       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0257       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92115       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=   5103.833     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      220 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.3857        9.2276        .34533E-02    .13236E-03
   2  alpha         .75335        .44556        .34026       -.50588E-04
   3  Normalizat    1.0258        .20889        .65962E-01   -.50167E-04
   4  Prefactor     .92115        .14363        .45274E-01   -.23322E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.38571
  alpha      = 0.753346
  Normalizat = 1.02578
  Prefactor  = 0.921149
 **********
 **   18 **HESSE 
 **********

 FCN=   5103.833     FROM HESSE     STATUS=OK            29 CALLS      249 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.3857        18.327        .13813E-03   -1.5129    
   2  alpha         .75335        .84421        .15291E-02   -.77352    
   3  Normalizat    1.0258        .24144        .29178E-03   -.92172    
   4  Prefactor     .92115        .16649        .20926E-03   -.95406    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36788e-10
Minuit parameter uncertainties:
  1  18.3397
  2  0.87919
  3  0.241694
  4  0.166586
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904659': 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) = 5103.83302971
delta logL = 0.977217311009

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  8.386e+00  1.834e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  7.533e-01  8.792e-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.211e-01  1.666e-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.026e+00  2.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.16
Ra Dec: 28.497 8.393
Photon Index (Free Index): 0.75 +/- 0.88
Photon Flux (Free Index): 7.68e-09 +/- 1.04e-08
Energy Flux (Free Index): 1.14e-04 +/- 1.38e-04

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/904659/cmap_HighResolution_322531201_322790401_4FGL_J0153.9+0823_daily_bin321.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='1.14e-04', photon_flux_error='2.78e-08', dlogl='9.77e-01', energy_flux='3.57e-05', photon_flux2='7.68e-09', job_status='DONE', time_completed='2021-08-14 20:11:24.737910', photon_index_error2='0.88', photon_index2='0.75', ts='8.23', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.38e-04', EG='1.02', time_epoch_completed='1628997084.74', return_code='0', job_id='904659', GAL2='0.92', EG2='1.03', return_code2='0', energy_flux_error='2.78e-05', photon_flux_error2='1.04e-08', ts2='10.16', photon_index='1.82' WHERE bin_id='321' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:11:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 904659: <4FGL_J0153.9+0823_daily_bin321> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin321 28.4972 8.3931 322531201 322790401 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 :                                   659.06 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             235.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            944 sec.

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

