/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 79 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 = 7424
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0153.9+0823_daily_bin80
RA = 28.4972, Dec = 8.3931
tmin = 260064001, tmax = 260323201
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='903255', job_status='RUN', time_executed='2021-08-14 19:55:40.272629', time_epoch_executed='1628996140.27' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='80'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/903255

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/903255/ft1_4FGL_J0153.9+0823_daily_bin80.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/903255/ft2_4FGL_J0153.9+0823_daily_bin80.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/903255/ft1_4FGL_J0153.9+0823_daily_bin80.fits outfile=/scratch/kocevski/903255/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin80.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=260064001.0 tmax=260323201.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 3.15
user 1.32
sys 1.76

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/903255/ft2_4FGL_J0153.9+0823_daily_bin80.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/903255/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin80.fits evtable="EVENTS" outfile="/scratch/kocevski/903255/ft1_filtered_4FGL_J0153.9+0823_daily_bin80.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 2.11
user 0.34
sys 1.74

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/903255/ft1_filtered_4FGL_J0153.9+0823_daily_bin80.fits" evtable="EVENTS" scfile=/scratch/kocevski/903255/ft2_4FGL_J0153.9+0823_daily_bin80.fits sctable="SC_DATA" outfile=/scratch/kocevski/903255/ltcube_260064001_260323201_4FGL_J0153.9+0823_daily_bin80.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/903255/ft2_4FGL_J0153.9+0823_daily_bin80.fits
.....................!
real 17.35
user 15.04
sys 2.11

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/903255/ft1_filtered_4FGL_J0153.9+0823_daily_bin80.fits evtable="EVENTS" scfile=/scratch/kocevski/903255/ft2_4FGL_J0153.9+0823_daily_bin80.fits sctable="SC_DATA" expcube=/scratch/kocevski/903255/ltcube_260064001_260323201_4FGL_J0153.9+0823_daily_bin80.fits outfile=/scratch/kocevski/903255/expmap_260064001_260323201_4FGL_J0153.9+0823_daily_bin80.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/903255/ltcube_260064001_260323201_4FGL_J0153.9+0823_daily_bin80.fits
.....................!
real 196.24
user 186.31
sys 7.76

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/903255/ft1_filtered_4FGL_J0153.9+0823_daily_bin80.fits scfile=/scratch/kocevski/903255/ft2_4FGL_J0153.9+0823_daily_bin80.fits outfile=/scratch/kocevski/903255/cmap_260064001_260323201_4FGL_J0153.9+0823_daily_bin80.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=28.4972 yref=8.3931 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 2.09
user 0.37
sys 1.71

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/903255/ft1_filtered_4FGL_J0153.9+0823_daily_bin80.fits scfile=/scratch/kocevski/903255/ft2_4FGL_J0153.9+0823_daily_bin80.fits outfile=/scratch/kocevski/903255/cmap_HighResolution_260064001_260323201_4FGL_J0153.9+0823_daily_bin80.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=28.4972 yref=8.3931 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 2.07
user 0.38
sys 1.68

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.408       1.0000         .10000E-03   10000.    
     2 'Prefactor '    55.121       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.8780       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.8191       1.0000         .10000E-03   10000.    
     7 'norm      '    2.6437       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.1584       1.0000         .10000E-03   10000.    
     9 'norm      '    1.9130       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    111.17       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    75.637       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.3858       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .67018       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=   6534.281     FROM MIGRAD    STATUS=CONVERGED    323 CALLS     1573 TOTAL
                     EDM=   .92E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.408        13.019       -.33933E-06    .99448E-05
   2  Prefactor     55.118        45.194       -.31251E-05    .36923E-05
   3  Prefactor     .10000E-03    2.1265       -.12492E-06** at limit **
   4  norm          6.8787        18.090        .15978E-06   -.34942E-04
   5  Prefactor     .10000E-03    6.0224       -.11259E-06** at limit **
   6  Prefactor     1.8191        1.7759       -.12624E-06   -.25278E-03
   7  norm          2.6438        2.5985        .46870E-07    .15612E-03
   8  Prefactor     3.1580        2.4690        .46054E-06   -.25839E-03
   9  norm          1.9130        1.0381       -.21501E-07   -.19419E-03
  10  Prefactor     .10000E-03    29.467        .10906E-05** at limit **
  11  Prefactor     .10000E-03    1.8666       -.51614E-07** at limit **
  12  Prefactor     111.16        67.090       -.10101E-04   -.15643E-05
  13  Prefactor     .10000E-03    10.019       -.47997E-06** at limit **
  14  Prefactor     75.625        29.931       -.87651E-05   -.14421E-04
  15  Prefactor     .10000E-03    9.4380        .90811E-06** at limit **
  16  Normalizat    1.3858        .18136        .15697E-05   -.25049E-04
  17  Prefactor     .67020        .12073        .84886E-06    .49729E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.4084
  Prefactor  = 55.1182
  Prefactor  = 0.0001
  norm       = 6.87871
  Prefactor  = 0.0001
  Prefactor  = 1.81911
  norm       = 2.64378
  Prefactor  = 3.15798
  norm       = 1.91303
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 111.158
  Prefactor  = 0.0001
  Prefactor  = 75.625
  Prefactor  = 0.000100001
  Normalizat = 1.38579
  Prefactor  = 0.670195
 **********
 **   18 **HESSE 
 **********

 FCN=   6534.281     FROM HESSE     STATUS=OK           225 CALLS     1798 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.408        13.030        .84616E-04   -1.4761    
   2  Prefactor     55.118        45.225        .54028E-04   -1.4222    
   3  Prefactor     .10000E-03    2.1512        .11510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.8787        18.098        .15298E-03   -1.5183    
   5  Prefactor     .10000E-03    6.2213        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.8191        1.7677        .10295E-03   -1.5438    
   7  norm          2.6438        2.6050        .12552E-03   -1.5383    
   8  Prefactor     3.1580        2.4573        .10663E-03   -1.5353    
   9  norm          1.9130        1.0353        .57723E-04   -1.5431    
  10  Prefactor     .10000E-03    29.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.8694        .10785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     111.16        67.035        .19075E-03   -1.3595    
  13  Prefactor     .10000E-03    10.394        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     75.625        29.940        .46169E-04   -1.3967    
  15  Prefactor     .10000E-03    9.5912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3858        .20478        .25131E-03   -.81040    
  17  Prefactor     .67020        .13600        .23255E-03   -1.0471    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87492e-10
Minuit parameter uncertainties:
  1  13.0319
  2  45.2527
  3  5.03991e-06
  4  18.1125
  5  2.32544e-05
  6  1.7678
  7  2.60515
  8  2.45741
  9  1.03531
  10  0.000479586
  11  2.91782e-06
  12  67.0806
  13  3.68508e-05
  14  29.9463
  15  0.000144727
  16  0.204897
  17  0.136069
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  6.879e+00  1.811e+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:  6.702e-01  1.361e-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.386e+00  2.049e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.17
Ra Dec: 28.497 8.393
Photon Flux Upper Limit: 6.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.46e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/903255/likelihoodResults_260064001_260323201_4FGL_J0153.9+0823_daily_bin80.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): 0
logL (Free Index) = 6534.12647836
delta logL = 0.154527406926

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6534.12584583
delta logL = 0.155159938727

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.2130       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3257       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3797       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66863       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6534.126     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      281 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.2309        15.137        .74676E-03   -.14387E-04
   2  alpha         2.3272        .93436        .14959E-01    .15169E-03
   3  Normalizat    1.3798        .19892        .25175E-03   -.26598E-04
   4  Prefactor     .66828        .13404        .23278E-03   -.97679E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.23088
  alpha      = 2.32725
  Normalizat = 1.37976
  Prefactor  = 0.668277
 **********
 **   18 **HESSE 
 **********

 FCN=   6534.126     FROM HESSE     STATUS=OK            27 CALLS      308 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.2309        14.020        .29871E-04   -1.5170    
   2  alpha         2.3272        .86854        .29917E-02   -.69155E-01
   3  Normalizat    1.3798        .19897        .10070E-04   -.81216    
   4  Prefactor     .66828        .13402        .93111E-05   -1.0478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69494e-12
Minuit parameter uncertainties:
  1  14.0259
  2  0.887124
  3  0.199086
  4  0.134083
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/903255': 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) = 6534.12583277
delta logL = 0.155172992583

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  7.231e+00  1.403e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  2.327e+00  8.871e-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:  6.683e-01  1.341e-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.380e+00  1.991e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
Ra Dec: 28.497 8.393

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/903255/cmap_HighResolution_260064001_260323201_4FGL_J0153.9+0823_daily_bin80.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.46e-05', job_status='DONE', photon_flux_upper_limit='6.45e-08', time_completed='2021-08-14 20:05:48.835828', job_id='903255', GAL2='0.67', fit_tolerance='1e-08', EG2='1.38', EG='1.39', time_epoch_completed='1628996748.84', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='1.55e-01', ts2='0.48', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='80' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:05:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 903255: <4FGL_J0153.9+0823_daily_bin80> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin80> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 14 19:50:59 2021
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 19:53:41 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:53:41 2021
Terminated at Sat Aug 14 20:05:49 2021
Results reported at Sat Aug 14 20:05:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin80 28.4972 8.3931 260064001 260323201 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 :                                   626.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   728 sec.
    Turnaround time :                            890 sec.

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

