/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 166 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 = 7412
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0153.9+0823_daily_bin677
RA = 28.4972, Dec = 8.3931
tmin = 414806401, tmax = 415065601
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='906260', job_status='RUN', time_executed='2021-08-14 20:06:29.736790', time_epoch_executed='1628996789.74' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='677'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906260

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906260/ft1_4FGL_J0153.9+0823_daily_bin677.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906260/ft2_4FGL_J0153.9+0823_daily_bin677.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906260/ft1_4FGL_J0153.9+0823_daily_bin677.fits outfile=/scratch/kocevski/906260/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin677.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=414806401.0 tmax=415065601.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 9.31
user 5.59
sys 3.63

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906260/ft1_filtered_4FGL_J0153.9+0823_daily_bin677.fits" evtable="EVENTS" scfile=/scratch/kocevski/906260/ft2_4FGL_J0153.9+0823_daily_bin677.fits sctable="SC_DATA" outfile=/scratch/kocevski/906260/ltcube_414806401_415065601_4FGL_J0153.9+0823_daily_bin677.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/906260/ft2_4FGL_J0153.9+0823_daily_bin677.fits
.....................!
real 15.92
user 11.72
sys 4.10

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906260/ft1_filtered_4FGL_J0153.9+0823_daily_bin677.fits evtable="EVENTS" scfile=/scratch/kocevski/906260/ft2_4FGL_J0153.9+0823_daily_bin677.fits sctable="SC_DATA" expcube=/scratch/kocevski/906260/ltcube_414806401_415065601_4FGL_J0153.9+0823_daily_bin677.fits outfile=/scratch/kocevski/906260/expmap_414806401_415065601_4FGL_J0153.9+0823_daily_bin677.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/906260/ltcube_414806401_415065601_4FGL_J0153.9+0823_daily_bin677.fits
.....................!
real 194.58
user 184.01
sys 9.58

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/906260/ft1_filtered_4FGL_J0153.9+0823_daily_bin677.fits scfile=/scratch/kocevski/906260/ft2_4FGL_J0153.9+0823_daily_bin677.fits outfile=/scratch/kocevski/906260/cmap_414806401_415065601_4FGL_J0153.9+0823_daily_bin677.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 3.88
user 0.38
sys 3.47

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/906260/ft1_filtered_4FGL_J0153.9+0823_daily_bin677.fits scfile=/scratch/kocevski/906260/ft2_4FGL_J0153.9+0823_daily_bin677.fits outfile=/scratch/kocevski/906260/cmap_HighResolution_414806401_415065601_4FGL_J0153.9+0823_daily_bin677.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 3.91
user 0.40
sys 3.47

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5965       1.0000         .10000E-03   10000.    
     2 'Prefactor '    36.365       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.2655       1.0000         .10000E-03   10000.    
     4 'norm      '    .10929E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    12.454       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.1853       1.0000         .10000E-03   10000.    
     9 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    37.661       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.9406       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.0728       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.7359       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .66998       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0700       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=   4748.110     FROM MIGRAD    STATUS=CONVERGED    362 CALLS     1637 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5951        31.782        .30457E-05   -.16859E-03
   2  Prefactor     36.277        58.472       -.49099E-04    .17817E-05
   3  Prefactor     4.2642        4.4567       -.41959E-07   -.94195E-04
   4  norm          .10000E-03    15.957       -.72643E-07** at limit **
   5  Prefactor     .10000E-03    6.3893       -.12014E-06** at limit **
   6  Prefactor     .10000E-03    1.2638        .44762E-07** at limit **
   7  norm          12.452        7.0092        .52282E-07    .10110E-03
   8  Prefactor     3.1887        3.0447       -.16774E-05   -.11016E-03
   9  norm          .10000E-03    .39699       -.27025E-06** at limit **
  10  Prefactor     37.665        31.555        .21112E-04    .14580E-03
  11  Prefactor     2.9404        5.9377       -.25265E-05   -.31625E-03
  12  Prefactor     .70627        60.764       -.60586E-05   -.64726E-04
  13  Prefactor     .10000E-03    3.1459       -.19889E-07** at limit **
  14  Prefactor     8.7470        17.311       -.13853E-05   -.13859E-05
  15  Prefactor     .10000E-03    11.058       -.31028E-06** at limit **
  16  Normalizat    .67009        .19833        .48284E-06    .14994E-03
  17  Prefactor     1.0701        .13970        .30551E-06    .28011E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.59512
  Prefactor  = 36.2766
  Prefactor  = 4.26422
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.4518
  Prefactor  = 3.18871
  norm       = 0.0001
  Prefactor  = 37.6652
  Prefactor  = 2.94044
  Prefactor  = 0.706274
  Prefactor  = 0.0001
  Prefactor  = 8.74696
  Prefactor  = 0.0001
  Normalizat = 0.670095
  Prefactor  = 1.0701
 **********
 **   18 **HESSE 
 **********

 FCN=   4748.110     FROM HESSE     STATUS=OK           233 CALLS     1870 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5951        31.952        .33565E-03   -1.5455    
   2  Prefactor     36.277        58.449        .66458E-04   -1.4503    
   3  Prefactor     4.2642        4.4534        .14385E-03   -1.5295    
   4  norm          .10000E-03    16.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.4787        .17001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.2762        .75605E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          12.452        7.0034        .11351E-03   -1.5002    
   8  Prefactor     3.1887        3.0301        .10809E-03   -1.5351    
   9  norm          .10000E-03    .53263        .83878E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     37.665        31.622        .65309E-04   -1.4480    
  11  Prefactor     2.9404        5.9426        .23021E-03   -1.5365    
  12  Prefactor     .70627        64.470        .16174       -1.5540    
  13  Prefactor     .10000E-03    3.1537        .11934E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.7470        17.294        .13562E-03   -1.5116    
  15  Prefactor     .10000E-03    11.201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .67009        .21821        .32102E-03   -1.0509    
  17  Prefactor     1.0701        .15589        .18332E-03   -.90428    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03152e-09
Minuit parameter uncertainties:
  1  14.2866
  2  58.541
  3  4.45376
  4  7.74777e-06
  5  9.21449e-06
  6  1.4774e-06
  7  7.00386
  8  3.03021
  9  1.88898e-05
  10  31.6358
  11  5.94375
  12  13.5098
  13  1.02282e-06
  14  17.304
  15  8.36961e-05
  16  0.218496
  17  0.15596
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.000e-04  7.748e-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.070e+00  1.560e-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:  6.701e-01  2.185e-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: 5.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.75e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/906260/likelihoodResults_414806401_415065601_4FGL_J0153.9+0823_daily_bin677.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) = 4748.10997792
delta logL = -0.000296859177979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4748.05789502
delta logL = 0.0517860411337

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .69296       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3401       1.0000          .0000       5.0000    
     3 'Normalizat'    .65673       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0723       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=   4748.058     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      306 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .67920        57.026        .12035E-01    .11201E-02
   2  alpha         3.3467        4.1592        .44561        .32487E-04
   3  Normalizat    .65725        .32417E-01    .73178E-01    .22656E-04
   4  Prefactor     1.0721        .23033E-01    .38750E-01    .43450E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.679204
  alpha      = 3.34675
  Normalizat = 0.657247
  Prefactor  = 1.07206
 **********
 **   18 **HESSE 
 **********

 FCN=   4748.058     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      339 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .67920        347.71        .17281E-03   -1.5543    
   2  alpha         3.3467        4.1421        .23628E-01    .34553    
   3  Normalizat    .65725        .22236        .32394E-03   -1.0561    
   4  Prefactor     1.0721        .16248        .18315E-03   -.90365    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.54581e-09
Minuit parameter uncertainties:
  1  30.9152
  2  19.8149
  3  0.222662
  4  0.162556
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906260': 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) = 4748.05788623
delta logL = 0.0517948307579

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  6.792e-01  3.092e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  3.347e+00  1.981e+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.072e+00  1.626e-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:  6.572e-01  2.227e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/906260/cmap_HighResolution_414806401_415065601_4FGL_J0153.9+0823_daily_bin677.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.75e-05', job_status='DONE', photon_flux_upper_limit='5.75e-08', time_completed='2021-08-14 20:15:56.289467', job_id='906260', GAL2='1.07', fit_tolerance='1e-08', EG2='0.66', EG='0.67', time_epoch_completed='1628997356.29', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='5.18e-02', ts2='0.11', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='677' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:15:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 906260: <4FGL_J0153.9+0823_daily_bin677> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin677> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 14 20:00:49 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:02:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 20:02:46 2021
Terminated at Sat Aug 14 20:15:57 2021
Results reported at Sat Aug 14 20:15:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin677 28.4972 8.3931 414806401 415065601 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 :                                   611.49 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            908 sec.

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

