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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin246
RA = 28.4972, Dec = 8.3931
tmin = 303091201, tmax = 303350401
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='904539', job_status='RUN', time_executed='2021-08-14 19:58:25.700248', time_epoch_executed='1628996305.7' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='246'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904539

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904539/ft1_4FGL_J0153.9+0823_daily_bin246.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904539/ft2_4FGL_J0153.9+0823_daily_bin246.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904539/ft1_4FGL_J0153.9+0823_daily_bin246.fits outfile=/scratch/kocevski/904539/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin246.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=303091201.0 tmax=303350401.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 6.16
user 3.23
sys 2.85

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904539/ft1_filtered_4FGL_J0153.9+0823_daily_bin246.fits" evtable="EVENTS" scfile=/scratch/kocevski/904539/ft2_4FGL_J0153.9+0823_daily_bin246.fits sctable="SC_DATA" outfile=/scratch/kocevski/904539/ltcube_303091201_303350401_4FGL_J0153.9+0823_daily_bin246.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/904539/ft2_4FGL_J0153.9+0823_daily_bin246.fits
.....................!
real 15.97
user 12.63
sys 3.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904539/ft1_filtered_4FGL_J0153.9+0823_daily_bin246.fits evtable="EVENTS" scfile=/scratch/kocevski/904539/ft2_4FGL_J0153.9+0823_daily_bin246.fits sctable="SC_DATA" expcube=/scratch/kocevski/904539/ltcube_303091201_303350401_4FGL_J0153.9+0823_daily_bin246.fits outfile=/scratch/kocevski/904539/expmap_303091201_303350401_4FGL_J0153.9+0823_daily_bin246.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/904539/ltcube_303091201_303350401_4FGL_J0153.9+0823_daily_bin246.fits
.....................!
real 193.99
user 186.02
sys 7.49

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/904539/ft1_filtered_4FGL_J0153.9+0823_daily_bin246.fits scfile=/scratch/kocevski/904539/ft2_4FGL_J0153.9+0823_daily_bin246.fits outfile=/scratch/kocevski/904539/cmap_303091201_303350401_4FGL_J0153.9+0823_daily_bin246.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.26
user 0.40
sys 2.71

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904539/ft1_filtered_4FGL_J0153.9+0823_daily_bin246.fits scfile=/scratch/kocevski/904539/ft2_4FGL_J0153.9+0823_daily_bin246.fits outfile=/scratch/kocevski/904539/cmap_HighResolution_303091201_303350401_4FGL_J0153.9+0823_daily_bin246.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 4.01
user 0.38
sys 2.75

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.9594       1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.385       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.7909       1.0000         .10000E-03   10000.    
     4 'norm      '    22.360       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10802E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5686       1.0000         .10000E-03   10000.    
     7 'norm      '    12.582       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.0262       1.0000         .10000E-03   10000.    
     9 'norm      '    1.3761       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .20095       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.2693       1.0000         .10000E-03   10000.    
    12 'Prefactor '    86.146       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10962E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .80722       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0332       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5994.480     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     1373 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.9619        10.156        .25457E-06   -.70062E-03
   2  Prefactor     18.332        10.894       -.13444E-05   -.69279E-02
   3  Prefactor     1.7928        2.6728       -.58930E-07   -.31932E-04
   4  norm          22.393        18.776        .10187E-05   -.44553E-03
   5  Prefactor     .10000E-03    5.3494       -.81517E-08** at limit **
   6  Prefactor     1.5669        2.5323       -.30516E-07   -.22498E-04
   7  norm          12.582        6.3808       -.66775E-07    .60795E-05
   8  Prefactor     4.0394        3.4963       -.25954E-06   -.34856E-03
   9  norm          1.3763        .83678        .40528E-07    .13992E-03
  10  Prefactor     .35133E-01    6421.7       -.56991E-04    .17759E-03
  11  Prefactor     2.2695        5.3872       -.32785E-06    .18679E-04
  12  Prefactor     86.129        3.5019       -.19819E-06   -.65995E-02
  13  Prefactor     .10000E-03    2.2244        .57220E-07** at limit **
  14  Prefactor     .10000E-03    6.4440        .12315E-06** at limit **
  15  Prefactor     .10000E-03    26.935       -.24773E-06** at limit **
  16  Normalizat    .80735        .21810       -.54490E-06   -.22331E-04
  17  Prefactor     1.0332        .15355        .44132E-06   -.11043E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.96188
  Prefactor  = 18.3322
  Prefactor  = 1.79281
  norm       = 22.3926
  Prefactor  = 0.0001
  Prefactor  = 1.56694
  norm       = 12.5822
  Prefactor  = 4.03944
  norm       = 1.37627
  Prefactor  = 0.0351326
  Prefactor  = 2.26948
  Prefactor  = 86.129
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.807351
  Prefactor  = 1.03325
 **********
 **   18 **HESSE 
 **********

 FCN=   5994.480     FROM HESSE     STATUS=OK           269 CALLS     1642 TOTAL
                     EDM=   .95E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.9619        10.161        .31743E-02   -1.5077    
   2  Prefactor     18.332        38.272        .23353E-02   -1.4851    
   3  Prefactor     1.7928        2.6968        .78137E-02   -1.5440    
   4  norm          22.393        19.071        .21177E-02   -1.4761    
   5  Prefactor     .10000E-03    5.2904        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.5669        2.5560        .84873E-02   -1.5458    
   7  norm          12.582        6.4284        .28232E-02   -1.4998    
   8  Prefactor     4.0394        3.6388        .50243E-02   -1.5306    
   9  norm          1.3763        .84369        .92828E-02   -1.5473    
  10  Prefactor     .35133E-01    23.544        .11855       -1.5671    
  11  Prefactor     2.2695        5.4089        .68157E-02   -1.5407    
  12  Prefactor     86.129        96.446        .10821E-02   -1.3849    
  13  Prefactor     .10000E-03    2.2250        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.4491        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    25.926        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .80735        .19198        .70652E-01   -.99797    
  17  Prefactor     1.0332        .13473        .41010E-01   -.91629    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.5312e-07
Minuit parameter uncertainties:
  1  10.1632
  2  38.3236
  3  2.69697
  4  19.0764
  5  1.56512e-06
  6  2.55616
  7  6.42877
  8  3.63903
  9  0.843695
  10  1.81708
  11  5.41005
  12  96.6219
  13  2.3768e-06
  14  7.79699e-06
  15  6.52197e-05
  16  0.192141
  17  0.134776
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  2.239e+01  1.908e+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.033e+00  1.348e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.074e-01  1.921e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.40
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 2.84e-08 +/- 2.42e-08
Energy Flux (Fixed Index): 2.84e-05 +/- 2.42e-05

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

Saving results to:
/scratch/kocevski/904539/likelihoodResults_303091201_303350401_4FGL_J0153.9+0823_daily_bin246.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) = 5994.27739086
delta logL = 0.202862254511

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5994.10707052
delta logL = 0.373182597283

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.023       1.0000         .10000E-03   10000.    
     2 'alpha     '    .91268       1.0000          .0000       5.0000    
     3 'Normalizat'    .81784       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0373       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=   5994.107     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      218 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.035        9.2846        .31642E-02   -.12542E-03
   2  alpha         .91304        .44906        .38587       -.48571E-04
   3  Normalizat    .81774        .18781        .70230E-01    .19865E-04
   4  Prefactor     1.0373        .13084        .40721E-01    .20942E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 10.0348
  alpha      = 0.913042
  Normalizat = 0.817738
  Prefactor  = 1.03726
 **********
 **   18 **HESSE 
 **********

 FCN=   5994.107     FROM HESSE     STATUS=OK            31 CALLS      249 TOTAL
                     EDM=   .81E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.035        15.821        .63285E-03   -1.5074    
   2  alpha         .91304        .75402        .17017E-02   -.68773    
   3  Normalizat    .81774        .21471        .31076E-03   -.99414    
   4  Prefactor     1.0373        .14991        .19326E-03   -.91498    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.08212e-14
Minuit parameter uncertainties:
  1  15.8279
  2  0.774617
  3  0.21493
  4  0.149967
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904539': 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) = 5994.10706989
delta logL = 0.37318322525

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.003e+01  1.583e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  9.130e-01  7.746e-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.037e+00  1.500e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.177e-01  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.11
Ra Dec: 28.497 8.393
Photon Index (Free Index): 0.91 +/- 0.77
Photon Flux (Free Index): 7.96e-09 +/- 9.51e-09
Energy Flux (Free Index): 8.41e-05 +/- 1.10e-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/904539/cmap_HighResolution_303091201_303350401_4FGL_J0153.9+0823_daily_bin246.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.67e-05', comment='SUCCESS', photon_flux='2.84e-08', energy_flux2='8.41e-05', photon_flux_error='2.42e-08', dlogl='3.73e-01', energy_flux='2.84e-05', photon_flux2='7.96e-09', job_status='DONE', time_completed='2021-08-14 20:08:02.483186', photon_index_error2='0.77', photon_index2='0.91', ts='2.40', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='8.66e-08', energy_flux_error2='1.10e-04', EG='0.81', time_epoch_completed='1628996882.48', return_code='0', job_id='904539', GAL2='1.04', EG2='0.82', return_code2='0', energy_flux_error='2.42e-05', photon_flux_error2='9.51e-09', ts2='3.11', photon_index='1.82' WHERE bin_id='246' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:08:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0294>
Subject: Job 904539: <4FGL_J0153.9+0823_daily_bin246> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin246 28.4972 8.3931 303091201 303350401 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 :                                   614.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            753 sec.

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

