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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin190
RA = 28.4972, Dec = 8.3931
tmin = 288576001, tmax = 288835201
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='904451', job_status='RUN', time_executed='2021-08-14 19:59:37.556782', time_epoch_executed='1628996377.56' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='190'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904451

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904451/ft1_4FGL_J0153.9+0823_daily_bin190.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904451/ft2_4FGL_J0153.9+0823_daily_bin190.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904451/ft1_4FGL_J0153.9+0823_daily_bin190.fits outfile=/scratch/kocevski/904451/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin190.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=288576001.0 tmax=288835201.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 5.28
user 3.36
sys 1.79

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/904451/ft2_4FGL_J0153.9+0823_daily_bin190.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/904451/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin190.fits evtable="EVENTS" outfile="/scratch/kocevski/904451/ft1_filtered_4FGL_J0153.9+0823_daily_bin190.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.10
user 0.32
sys 1.73

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904451/ft1_filtered_4FGL_J0153.9+0823_daily_bin190.fits" evtable="EVENTS" scfile=/scratch/kocevski/904451/ft2_4FGL_J0153.9+0823_daily_bin190.fits sctable="SC_DATA" outfile=/scratch/kocevski/904451/ltcube_288576001_288835201_4FGL_J0153.9+0823_daily_bin190.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/904451/ft2_4FGL_J0153.9+0823_daily_bin190.fits
.....................!
real 14.43
user 12.20
sys 2.08

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904451/ft1_filtered_4FGL_J0153.9+0823_daily_bin190.fits evtable="EVENTS" scfile=/scratch/kocevski/904451/ft2_4FGL_J0153.9+0823_daily_bin190.fits sctable="SC_DATA" expcube=/scratch/kocevski/904451/ltcube_288576001_288835201_4FGL_J0153.9+0823_daily_bin190.fits outfile=/scratch/kocevski/904451/expmap_288576001_288835201_4FGL_J0153.9+0823_daily_bin190.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/904451/ltcube_288576001_288835201_4FGL_J0153.9+0823_daily_bin190.fits
.....................!
real 195.40
user 187.41
sys 7.20

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/904451/ft1_filtered_4FGL_J0153.9+0823_daily_bin190.fits scfile=/scratch/kocevski/904451/ft2_4FGL_J0153.9+0823_daily_bin190.fits outfile=/scratch/kocevski/904451/cmap_288576001_288835201_4FGL_J0153.9+0823_daily_bin190.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.39
sys 1.68

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904451/ft1_filtered_4FGL_J0153.9+0823_daily_bin190.fits scfile=/scratch/kocevski/904451/ft2_4FGL_J0153.9+0823_daily_bin190.fits outfile=/scratch/kocevski/904451/cmap_HighResolution_288576001_288835201_4FGL_J0153.9+0823_daily_bin190.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.10
user 0.37
sys 1.69

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3750       1.0000         .10000E-03   10000.    
     2 'Prefactor '    54.554       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    47.895       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.1239       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.5430       1.0000         .10000E-03   10000.    
     7 'norm      '    2.7473       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.0639       1.0000         .10000E-03   10000.    
     9 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.4962       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .87927       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0009       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .97052       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=   5643.202     FROM MIGRAD    STATUS=CONVERGED    317 CALLS     1641 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3751        7.1675        .15308E-06    .48740E-04
   2  Prefactor     54.565        50.105        .14100E-04   -.20803E-03
   3  Prefactor     .10000E-03    1.2779        .27905E-07** at limit **
   4  norm          47.901        26.260        .57740E-05   -.19737E-03
   5  Prefactor     2.1274        7.8463       -.45877E-05   -.34265E-03
   6  Prefactor     3.5434        3.5637       -.79999E-06   -.12010E-03
   7  norm          2.7481        4.4154       -.16922E-05   -.63321E-04
   8  Prefactor     2.0641        1.8129        .13758E-06    .17064E-03
   9  norm          .10000E-03    .31214       -.45666E-07** at limit **
  10  Prefactor     .10000E-03    7.0531        .56792E-07** at limit **
  11  Prefactor     1.4952        8.6552       -.46117E-05   -.48028E-03
  12  Prefactor     .10000E-03    27.310        .17550E-06** at limit **
  13  Prefactor     .10000E-03    7.6164        .58992E-06** at limit **
  14  Prefactor     .10000E-03    7.0438        .30716E-06** at limit **
  15  Prefactor     .88521        11.241       -.17626E-05    .68927E-04
  16  Normalizat    1.0010        .19301       -.35821E-06    .24891E-03
  17  Prefactor     .97046        .13536        .80026E-06    .28192E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.37505
  Prefactor  = 54.5652
  Prefactor  = 0.0001
  norm       = 47.901
  Prefactor  = 2.12739
  Prefactor  = 3.54338
  norm       = 2.74808
  Prefactor  = 2.06407
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.49522
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.885207
  Normalizat = 1.00098
  Prefactor  = 0.970458
 **********
 **   18 **HESSE 
 **********

 FCN=   5643.202     FROM HESSE     STATUS=OK           223 CALLS     1864 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3751        7.1707        .14769E-03   -1.5165    
   2  Prefactor     54.565        48.991        .27153E-03   -1.4229    
   3  Prefactor     .10000E-03    1.2792        .82931E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          47.901        26.073        .57940E-04   -1.4323    
   5  Prefactor     2.1274        7.9647        .28296E-03   -1.5416    
   6  Prefactor     3.5434        3.5599        .13189E-03   -1.5331    
   7  norm          2.7481        4.3914        .19020E-03   -1.5376    
   8  Prefactor     2.0641        1.8045        .91459E-04   -1.5421    
   9  norm          .10000E-03    .43798        .81537E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.0608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4952        9.2073        .35025E-03   -1.5463    
  12  Prefactor     .10000E-03    27.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.7101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.0510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .88521        44.135        .46991E-02   -1.5520    
  16  Normalizat    1.0010        .21847        .27940E-03   -.92998    
  17  Prefactor     .97046        .15530        .19615E-03   -.93721    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05121e-09
Minuit parameter uncertainties:
  1  7.17152
  2  49.0269
  3  1.44624e-06
  4  26.0793
  5  7.96863
  6  3.56015
  7  4.39187
  8  1.80459
  9  1.28816e-07
  10  3.02311e-06
  11  7.4222
  12  2.7223e-05
  13  0.000103702
  14  2.97079e-06
  15  12.5101
  16  0.218669
  17  0.15537
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  4.790e+01  2.608e+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.705e-01  1.554e-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.001e+00  2.187e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.39
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 6.07e-08 +/- 3.30e-08
Energy Flux (Fixed Index): 6.08e-05 +/- 3.31e-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) = 5642.65695624
delta logL = 0.545340287375

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5642.65024173
delta logL = 0.552054793882

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5642.650     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      297 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          38.954        25.258        .64200E-04    .34970E-03
   2  alpha         2.3398        .49086        .76095E-02    .10616E-03
   3  Normalizat    .94665        .22375        .28597E-03    .18915E-03
   4  Prefactor     .98444        .15084        .19462E-03    .57832E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 38.9538
  alpha      = 2.3398
  Normalizat = 0.946652
  Prefactor  = 0.984438
 **********
 **   18 **HESSE 
 **********

 FCN=   5642.650     FROM HESSE     STATUS=OK            25 CALLS      322 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          38.954        23.884        .12840E-04   -1.4459    
   2  alpha         2.3398        .46375        .30438E-03   -.64123E-01
   3  Normalizat    .94665        .22307        .11439E-04   -.94840    
   4  Prefactor     .98444        .15073        .77847E-05   -.93250    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.6719e-10
Minuit parameter uncertainties:
  1  23.8897
  2  0.466459
  3  0.223293
  4  0.150792
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904451': 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) = 5642.65022751
delta logL = 0.552069017921

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  3.895e+01  2.389e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  2.340e+00  4.665e-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.844e-01  1.508e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  9.467e-01  2.233e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.51
Ra Dec: 28.497 8.393
Photon Index (Free Index): 2.34 +/- 0.47
Photon Flux (Free Index): 1.15e-07 +/- 6.95e-08
Energy Flux (Free Index): 4.53e-05 +/- 2.13e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/904451/cmap_HighResolution_288576001_288835201_4FGL_J0153.9+0823_daily_bin190.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.07e-08', energy_flux2='4.53e-05', photon_flux_error='3.30e-08', dlogl='5.52e-01', energy_flux='6.08e-05', photon_flux2='1.15e-07', job_status='DONE', time_completed='2021-08-14 20:08:38.078755', photon_index_error2='0.47', photon_index2='2.34', ts='17.39', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='2.13e-05', EG='1.00', time_epoch_completed='1628996918.08', return_code='0', job_id='904451', GAL2='0.98', EG2='0.95', return_code2='0', energy_flux_error='3.31e-05', photon_flux_error2='6.95e-08', ts2='18.51', photon_index='1.82' WHERE bin_id='190' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:08:38 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin190 28.4972 8.3931 288576001 288835201 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 :                                   563.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             234.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            794 sec.

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

