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


Performing analysis on: 4FGL_J0153.9+0823_daily_bin1198
RA = 28.4972, Dec = 8.3931
tmin = 549849601, tmax = 550108801
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='909172', job_status='RUN', time_executed='2021-08-14 20:12:11.666736', time_epoch_executed='1628997131.67' WHERE source_name='4FGL J0153.9+0823' and cadence='daily' and bin_id='1198'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/909172

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/909172/ft1_4FGL_J0153.9+0823_daily_bin1198.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/909172/ft2_4FGL_J0153.9+0823_daily_bin1198.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/909172/ft1_4FGL_J0153.9+0823_daily_bin1198.fits outfile=/scratch/kocevski/909172/ft1_filteredMKT_4FGL_J0153.9+0823_daily_bin1198.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=549849601.0 tmax=550108801.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.40
user 1.89
sys 1.46

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/909172/ft1_filtered_4FGL_J0153.9+0823_daily_bin1198.fits" evtable="EVENTS" scfile=/scratch/kocevski/909172/ft2_4FGL_J0153.9+0823_daily_bin1198.fits sctable="SC_DATA" outfile=/scratch/kocevski/909172/ltcube_549849601_550108801_4FGL_J0153.9+0823_daily_bin1198.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/909172/ft2_4FGL_J0153.9+0823_daily_bin1198.fits
.....................!
real 13.71
user 12.03
sys 1.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/909172/ft1_filtered_4FGL_J0153.9+0823_daily_bin1198.fits evtable="EVENTS" scfile=/scratch/kocevski/909172/ft2_4FGL_J0153.9+0823_daily_bin1198.fits sctable="SC_DATA" expcube=/scratch/kocevski/909172/ltcube_549849601_550108801_4FGL_J0153.9+0823_daily_bin1198.fits outfile=/scratch/kocevski/909172/expmap_549849601_550108801_4FGL_J0153.9+0823_daily_bin1198.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/909172/ltcube_549849601_550108801_4FGL_J0153.9+0823_daily_bin1198.fits
.....................!
real 160.10
user 152.75
sys 6.36

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/909172/ft1_filtered_4FGL_J0153.9+0823_daily_bin1198.fits scfile=/scratch/kocevski/909172/ft2_4FGL_J0153.9+0823_daily_bin1198.fits outfile=/scratch/kocevski/909172/cmap_549849601_550108801_4FGL_J0153.9+0823_daily_bin1198.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 1.75
user 0.32
sys 1.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/909172/ft1_filtered_4FGL_J0153.9+0823_daily_bin1198.fits scfile=/scratch/kocevski/909172/ft2_4FGL_J0153.9+0823_daily_bin1198.fits outfile=/scratch/kocevski/909172/cmap_HighResolution_549849601_550108801_4FGL_J0153.9+0823_daily_bin1198.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 1.61
user 0.32
sys 1.27

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7703       1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.995       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.3127       1.0000         .10000E-03   10000.    
     4 'norm      '    10.174       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.1985       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5180       1.0000         .10000E-03   10000.    
     7 'norm      '    7.1726       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .51403       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.9612       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.5073       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.3617       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.673       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.3124       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .73720       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=   4429.290     FROM MIGRAD    STATUS=CONVERGED    301 CALLS     1557 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7699        11.383       -.30283E-06   -.20330E-04
   2  Prefactor     19.006        51.265        .21619E-04    .27275E-04
   3  Prefactor     9.3125        6.3626        .14763E-06   -.34777E-03
   4  norm          10.175        12.040        .33640E-06    .48803E-07
   5  Prefactor     2.1980        2.7048        .48976E-06   -.15412E-02
   6  Prefactor     2.5180        4.3799        .41244E-06   -.67554E-04
   7  norm          7.1726        4.8896        .17942E-06   -.52480E-06
   8  Prefactor     .10000E-03    .88869       -.27362E-08** at limit **
   9  norm          .51400        .75187        .64433E-07   -.31549E-04
  10  Prefactor     .10000E-03    9.8583        .17613E-07** at limit **
  11  Prefactor     6.9614        11.418       -.52258E-07   -.24765E-04
  12  Prefactor     5.5106        199.00        .12392E-04    .11117E-05
  13  Prefactor     9.3629        15.023        .22515E-05    .60121E-05
  14  Prefactor     20.675        22.540        .33244E-05    .20053E-04
  15  Prefactor     .10000E-03    8.1655       -.51562E-07** at limit **
  16  Normalizat    1.3126        .22447       -.20718E-05    .29458E-04
  17  Prefactor     .73709        .15641       -.36781E-06   -.75876E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.76994
  Prefactor  = 19.0062
  Prefactor  = 9.31249
  norm       = 10.1746
  Prefactor  = 2.19799
  Prefactor  = 2.51796
  norm       = 7.17262
  Prefactor  = 0.0001
  norm       = 0.514005
  Prefactor  = 0.0001
  Prefactor  = 6.9614
  Prefactor  = 5.51062
  Prefactor  = 9.36285
  Prefactor  = 20.6754
  Prefactor  = 0.0001
  Normalizat = 1.31258
  Prefactor  = 0.737091
 **********
 **   18 **HESSE 
 **********

 FCN=   4429.290     FROM HESSE     STATUS=OK           235 CALLS     1792 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7699        11.391        .15421E-03   -1.5188    
   2  Prefactor     19.006        51.361        .91898E-04   -1.4836    
   3  Prefactor     9.3125        6.3999        .65664E-03   -1.5098    
   4  norm          10.175        12.048        .12562E-03   -1.5070    
   5  Prefactor     2.1980        7.3413        .13875E-02   -1.5411    
   6  Prefactor     2.5180        4.3614        .17191E-03   -1.5391    
   7  norm          7.1726        4.8976        .11805E-03   -1.5172    
   8  Prefactor     .10000E-03    .89253        .61259E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .51400        .70337        .67560E-03   -1.5565    
  10  Prefactor     .10000E-03    9.8622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.9614        11.427        .15206E-03   -1.5180    
  12  Prefactor     5.5106        198.87        .17121E-03   -1.5238    
  13  Prefactor     9.3629        14.981        .13098E-03   -1.5096    
  14  Prefactor     20.675        22.556        .88091E-04   -1.4798    
  15  Prefactor     .10000E-03    8.1806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3126        .25926        .25382E-03   -.83192    
  17  Prefactor     .73709        .18153        .22746E-03   -1.0209    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.42113e-09
Minuit parameter uncertainties:
  1  11.3947
  2  51.4805
  3  6.40036
  4  12.0505
  5  7.34435
  6  4.36191
  7  4.89784
  8  8.36817e-07
  9  0.703386
  10  7.53748e-06
  11  11.4301
  12  66.4473
  13  14.9874
  14  22.5653
  15  1.65542e-05
  16  0.259519
  17  0.181674
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  1.017e+01  1.205e+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:  7.371e-01  1.817e-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.313e+00  2.595e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.86
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 1.29e-08 +/- 1.53e-08
Energy Flux (Fixed Index): 1.29e-05 +/- 1.53e-05

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

Saving results to:
/scratch/kocevski/909172/likelihoodResults_549849601_550108801_4FGL_J0153.9+0823_daily_bin1198.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) = 4429.20208435
delta logL = 0.0882978226555

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4429.19770586
delta logL = 0.0926763138214

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.0836       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3444       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3181       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73592       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=   4429.198     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      209 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0931        11.000        .33245E-02   -.15334E-04
   2  alpha         1.3459        .78842        .48869       -.23598E-04
   3  Normalizat    1.3182        .21842        .57294E-01    .52842E-05
   4  Prefactor     .73592        .15166        .42877E-01    .91304E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 9.09311
  alpha      = 1.34594
  Normalizat = 1.31818
  Prefactor  = 0.735921
 **********
 **   18 **HESSE 
 **********

 FCN=   4429.198     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0931        11.619        .13298E-03   -1.5105    
   2  alpha         1.3459        .93422        .22915E-01   -.47983    
   3  Normalizat    1.3182        .25062        .25336E-03   -.83025    
   4  Prefactor     .73592        .17446        .22761E-03   -1.0214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71071e-09
Minuit parameter uncertainties:
  1  11.6224
  2  0.96432
  3  0.25085
  4  0.174591
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/909172': 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) = 4429.1977046
delta logL = 0.0926775742464

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  9.093e+00  1.162e+01  1.000e-04  1.000e+04 ( 1.000e-13)
237        alpha:  1.346e+00  9.643e-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:  7.359e-01  1.746e-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.318e+00  2.508e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.04
Ra Dec: 28.497 8.393
Photon Index (Free Index): 1.35 +/- 0.96
Photon Flux (Free Index): 7.14e-09 +/- 1.11e-08
Energy Flux (Free Index): 2.48e-05 +/- 5.00e-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/909172/cmap_HighResolution_549849601_550108801_4FGL_J0153.9+0823_daily_bin1198.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.43e-05', comment='SUCCESS', photon_flux='1.29e-08', energy_flux2='2.48e-05', photon_flux_error='1.53e-08', dlogl='9.27e-02', energy_flux='1.29e-05', photon_flux2='7.14e-09', job_status='DONE', time_completed='2021-08-14 20:19:09.549190', photon_index_error2='0.96', photon_index2='1.35', ts='1.86', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='6.42e-08', energy_flux_error2='5.00e-05', EG='1.31', time_epoch_completed='1628997549.55', return_code='0', job_id='909172', GAL2='0.74', EG2='1.32', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='1.11e-08', ts2='2.04', photon_index='1.82' WHERE bin_id='1198' AND source_name='4FGL J0153.9+0823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 20:19:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0135>
Subject: Job 909172: <4FGL_J0153.9+0823_daily_bin1198> in cluster <slac> Done

Job <4FGL_J0153.9+0823_daily_bin1198> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 14 20:10:30 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 20:11:33 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:11:33 2021
Terminated at Sat Aug 14 20:19:10 2021
Results reported at Sat Aug 14 20:19:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0153.9+0823_daily_bin1198 28.4972 8.3931 549849601 550108801 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 :                                   434.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             339.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   456 sec.
    Turnaround time :                            520 sec.

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

