/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 181 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 = 7415
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1454.4+5124_daily_bin15
RA = 223.625, Dec = 51.409
tmin = 243216001, tmax = 243475201
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='847732', job_status='RUN', time_executed='2021-09-10 12:44:18.302472', time_epoch_executed='1631303058.3' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='15'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847732

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847732/ft1_4FGL_J1454.4+5124_daily_bin15.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847732/ft2_4FGL_J1454.4+5124_daily_bin15.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847732/ft1_4FGL_J1454.4+5124_daily_bin15.fits outfile=/scratch/kocevski/847732/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin15.fits ra=223.625 dec=51.409 rad=12.0 tmin=243216001.0 tmax=243475201.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 1.35
user 1.17
sys 0.15

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/847732/ft2_4FGL_J1454.4+5124_daily_bin15.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/847732/ft2_4FGL_J1454.4+5124_daily_bin15.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/847732/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin15.fits evtable="EVENTS" outfile="/scratch/kocevski/847732/ft1_filtered_4FGL_J1454.4+5124_daily_bin15.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 0.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847732/ft1_filtered_4FGL_J1454.4+5124_daily_bin15.fits" evtable="EVENTS" scfile=/scratch/kocevski/847732/ft2_4FGL_J1454.4+5124_daily_bin15.fits sctable="SC_DATA" outfile=/scratch/kocevski/847732/ltcube_243216001_243475201_4FGL_J1454.4+5124_daily_bin15.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/847732/ft2_4FGL_J1454.4+5124_daily_bin15.fits
.....................!
real 12.49
user 12.12
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847732/ft1_filtered_4FGL_J1454.4+5124_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/847732/ft2_4FGL_J1454.4+5124_daily_bin15.fits sctable="SC_DATA" expcube=/scratch/kocevski/847732/ltcube_243216001_243475201_4FGL_J1454.4+5124_daily_bin15.fits outfile=/scratch/kocevski/847732/expmap_243216001_243475201_4FGL_J1454.4+5124_daily_bin15.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/847732/ltcube_243216001_243475201_4FGL_J1454.4+5124_daily_bin15.fits
.....................!
real 189.44
user 184.71
sys 4.37

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 202 point sources and 0 extended sources

Setting source of interest to:
4FGL J1454.4+5124 @ 223.625 51.409

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/847732/ft1_filtered_4FGL_J1454.4+5124_daily_bin15.fits scfile=/scratch/kocevski/847732/ft2_4FGL_J1454.4+5124_daily_bin15.fits outfile=/scratch/kocevski/847732/cmap_243216001_243475201_4FGL_J1454.4+5124_daily_bin15.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=223.625 yref=51.409 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 0.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847732/ft1_filtered_4FGL_J1454.4+5124_daily_bin15.fits scfile=/scratch/kocevski/847732/ft2_4FGL_J1454.4+5124_daily_bin15.fits outfile=/scratch/kocevski/847732/cmap_HighResolution_243216001_243475201_4FGL_J1454.4+5124_daily_bin15.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=223.625 yref=51.409 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 0.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/847732/ft1_filtered_4FGL_J1454.4+5124_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/847732/ft2_4FGL_J1454.4+5124_daily_bin15.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/847732/Model_4FGL_J1454.4+5124_daily_bin15.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/847732/ft1_filtered_4FGL_J1454.4+5124_daily_bin15.fits.....................!
real 45.51
user 44.19
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/847732/ft1_filtered_4FGL_J1454.4+5124_daily_bin15.fits', '/scratch/kocevski/847732/ft2_4FGL_J1454.4+5124_daily_bin15.fits', expMap='/scratch/kocevski/847732/expmap_243216001_243475201_4FGL_J1454.4+5124_daily_bin15.fits', expCube='/scratch/kocevski/847732/ltcube_243216001_243475201_4FGL_J1454.4+5124_daily_bin15.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/847732/Model_4FGL_J1454.4+5124_daily_bin15.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1454.4+5124'

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.118e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/847732/ft1_filtered_4FGL_J1454.4+5124_daily_bin15.fits
Spacecraft file(s): /scratch/kocevski/847732/ft2_4FGL_J1454.4+5124_daily_bin15.fits
Exposure map: /scratch/kocevski/847732/expmap_243216001_243475201_4FGL_J1454.4+5124_daily_bin15.fits
Exposure cube: /scratch/kocevski/847732/ltcube_243216001_243475201_4FGL_J1454.4+5124_daily_bin15.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/847732/Model_4FGL_J1454.4+5124_daily_bin15.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) = 5334.20474735

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.592       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.067       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6421       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.4171       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    39.642       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.3562       1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.434       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10688E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .14782       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.8624       1.0000         .10000E-03   10000.    
    20 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    14.852       1.0000         .10000E-03   10000.    
    23 'Prefactor '    16.580       1.0000         .10000E-03   10000.    
    24 'Prefactor '    13.999       1.0000         .10000E-03   10000.    
    25 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0383       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .78214       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5334.195     FROM MIGRAD    STATUS=CONVERGED    694 CALLS     3456 TOTAL
                     EDM=   .94E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    39.979         .0000    ** at limit **
   2  norm          .10000E-03    1.4401         .0000    ** at limit **
   3  Prefactor     .10000E-03    198.07         .0000    ** at limit **
   4  Prefactor     16.592        28.128         .0000        .10082E-03
   5  Prefactor     .10000E-03    11.469         .0000    ** at limit **
   6  Prefactor     .10000E-03    1.3915         .0000    ** at limit **
   7  Prefactor     17.071        16.607         .0000       -.36825E-03
   8  Prefactor     1.6423        1.8930         .0000        .31124E-03
   9  Prefactor     8.4174        11.615         .0000        .47144E-04
  10  Prefactor     .10000E-03    15.559         .0000    ** at limit **
  11  Prefactor     39.641        48.011         .0000        .11552E-03
  12  Prefactor     8.3595        22.010         .0000        .14456E-03
  13  Prefactor     24.431        33.758         .0000        .10522E-03
  14  Prefactor     .10000E-03    10.574         .0000    ** at limit **
  15  Prefactor     .10000E-03    6.0614         .0000    ** at limit **
  16  norm          .14695        1.0463         .0000        .14330E-02
  17  Prefactor     .10000E-03    5.1364         .0000    ** at limit **
  18  Prefactor     .10000E-03    1.4012         .0000    ** at limit **
  19  Prefactor     2.8640        7.0376         .0000        .10364E-01
  20  norm          .10000E-03    1.0931         .0000    ** at limit **
  21  Prefactor     .10000E-03    4.0928         .0000    ** at limit **
  22  Prefactor     14.852        17.627         .0000        .81507E-04
  23  Prefactor     16.579        12.970         .0000        .24685E-03
  24  Prefactor     14.003        8.7109         .0000        .73723E-04
  25  norm          .10000E-03    7.3659         .0000    ** at limit **
  26  Prefactor     .10000E-03    72.060         .0000    ** at limit **
  27  Normalizat    1.0381        .17008         .0000       -.29472E-05
  28  Prefactor     .78235        .18634         .0000        .85634E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.5922
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.0713
  Prefactor  = 1.64235
  Prefactor  = 8.4174
  Prefactor  = 0.0001
  Prefactor  = 39.641
  Prefactor  = 8.35947
  Prefactor  = 24.4307
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.146953
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.86405
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.8524
  Prefactor  = 16.5788
  Prefactor  = 14.0032
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.03809
  Prefactor  = 0.782353
 **********
 **   18 **HESSE 
 **********

 FCN=   5334.195     FROM HESSE     STATUS=OK           515 CALLS     3971 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    39.986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.4526        .85573E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    198.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.592        28.101        .49163E-03   -1.4893    
   5  Prefactor     .10000E-03    11.476        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.3936        .84128E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.071        16.673        .96948E-04   -1.4881    
   8  Prefactor     1.6423        1.8733        .10301E-03   -1.5452    
   9  Prefactor     8.4174        11.609        .13818E-03   -1.5128    
  10  Prefactor     .10000E-03    15.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     39.641        47.914        .63662E-04   -1.4448    
  12  Prefactor     8.3595        22.039        .13868E-03   -1.5130    
  13  Prefactor     24.431        33.751        .81037E-04   -1.4719    
  14  Prefactor     .10000E-03    10.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.0756        .17558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .14695        2.0478        .14249E-02   -1.5631    
  17  Prefactor     .10000E-03    5.1513        .16133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.4026        .84427E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.8640        7.0506        .12014E-02   -1.5369    
  20  norm          .10000E-03    1.0964        .74514E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.1005        .14402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     14.852        17.608        .10393E-03   -1.4937    
  23  Prefactor     16.579        12.948        .98361E-04   -1.4893    
  24  Prefactor     14.003        8.6987        .10705E-03   -1.4959    
  25  norm          .10000E-03    7.5592        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    72.198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0381        .20187        .20753E-03   -.91765    
  28  Prefactor     .78235        .21999        .26690E-03   -1.0038    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78199e-08
Minuit parameter uncertainties:
  1  3.11796e-05
  2  4.71111e-08
  3  0.000299018
  4  28.1236
  5  8.66715e-06
  6  1.10323e-07
  7  16.6776
  8  1.87337
  9  11.6116
  10  7.9236e-06
  11  47.9605
  12  22.0606
  13  33.777
  14  7.04497e-06
  15  1.69401e-07
  16  1.09681
  17  1.17797e-06
  18  6.97642e-08
  19  7.05267
  20  1.44655e-08
  21  5.66289e-07
  22  17.6137
  23  12.9501
  24  8.69949
  25  1.97532e-06
  26  4.33187e-05
  27  0.202015
  28  0.220234
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.470e-01  1.097e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  7.824e-01  2.202e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.038e+00  2.020e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 223.625 51.409
Photon Flux Upper Limit: 5.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.80e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/847732/likelihoodResults_243216001_243475201_4FGL_J1454.4+5124_daily_bin15.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5334.17782314
delta logL = 0.0175058991535

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5334.17745595
delta logL = 0.0178730845528

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15042       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5118       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0350       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78329       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5334.177     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      215 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14958        7.3888        .20307E-01    .18264E-02
   2  alpha         2.5150        3.4414        .41152        .20348E-04
   3  Normalizat    1.0350        .15527E-01    .41698E-01    .19540E-04
   4  Prefactor     .78330        .17642E-01    .43499E-01    .18860E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.149577
  alpha      = 2.51496
  Normalizat = 1.03499
  Prefactor  = 0.783305
 **********
 **   18 **HESSE 
 **********

 FCN=   5334.177     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      250 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14958        148.57        .10026E-02   -1.5631    
   2  alpha         2.5150        3.7561        .42483E-01    .59851E-02
   3  Normalizat    1.0350        .17928        .20781E-03   -.91867    
   4  Prefactor     .78330        .20538        .26673E-03   -1.0035    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.01067e-10
Minuit parameter uncertainties:
  1  9.44845
  2  35.2402
  3  0.179383
  4  0.205576
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847732': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5334.17745541
delta logL = 0.017873627573

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.496e-01  9.448e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.515e+00  3.524e+01  0.000e+00  5.000e+00 ( 1.000e+00)
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  7.833e-01  2.056e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.035e+00  1.794e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 223.625 51.409

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/847732/cmap_HighResolution_243216001_243475201_4FGL_J1454.4+5124_daily_bin15.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.80e-05', job_status='DONE', photon_flux_upper_limit='5.31e-08', time_completed='2021-09-10 12:56:36.182761', job_id='847732', GAL2='0.78', fit_tolerance='1e-08', EG2='1.03', EG='1.04', time_epoch_completed='1631303796.18', return_code2='102', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='1.79e-02', ts2='0.06', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='15' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:56:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 847732: <4FGL_J1454.4+5124_daily_bin15> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin15> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 12:41:05 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:41:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 12:41:06 2021
Terminated at Fri Sep 10 12:56:36 2021
Results reported at Fri Sep 10 12:56:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin15 223.625 51.409 243216001 243475201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1454.4+5124 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   738.38 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             283.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            931 sec.

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

