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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin1489
RA = 223.625, Dec = 51.409
tmin = 625276801, tmax = 625536001
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='854289', job_status='RUN', time_executed='2021-09-10 13:01:45.842616', time_epoch_executed='1631304105.84' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='1489'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/854289

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/854289/ft1_4FGL_J1454.4+5124_daily_bin1489.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/854289/ft2_4FGL_J1454.4+5124_daily_bin1489.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/854289/ft1_4FGL_J1454.4+5124_daily_bin1489.fits outfile=/scratch/kocevski/854289/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin1489.fits ra=223.625 dec=51.409 rad=12.0 tmin=625276801.0 tmax=625536001.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.59
user 3.35
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/854289/ft2_4FGL_J1454.4+5124_daily_bin1489.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/854289/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin1489.fits evtable="EVENTS" outfile="/scratch/kocevski/854289/ft1_filtered_4FGL_J1454.4+5124_daily_bin1489.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.33
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/854289/ft1_filtered_4FGL_J1454.4+5124_daily_bin1489.fits evtable="EVENTS" scfile=/scratch/kocevski/854289/ft2_4FGL_J1454.4+5124_daily_bin1489.fits sctable="SC_DATA" expcube=/scratch/kocevski/854289/ltcube_625276801_625536001_4FGL_J1454.4+5124_daily_bin1489.fits outfile=/scratch/kocevski/854289/expmap_625276801_625536001_4FGL_J1454.4+5124_daily_bin1489.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/854289/ltcube_625276801_625536001_4FGL_J1454.4+5124_daily_bin1489.fits
.....................!
real 190.18
user 185.17
sys 4.61

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/854289/ft1_filtered_4FGL_J1454.4+5124_daily_bin1489.fits scfile=/scratch/kocevski/854289/ft2_4FGL_J1454.4+5124_daily_bin1489.fits outfile=/scratch/kocevski/854289/cmap_625276801_625536001_4FGL_J1454.4+5124_daily_bin1489.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.53
user 0.34
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/854289/ft1_filtered_4FGL_J1454.4+5124_daily_bin1489.fits scfile=/scratch/kocevski/854289/ft2_4FGL_J1454.4+5124_daily_bin1489.fits outfile=/scratch/kocevski/854289/cmap_HighResolution_625276801_625536001_4FGL_J1454.4+5124_daily_bin1489.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/854289/ft1_filtered_4FGL_J1454.4+5124_daily_bin1489.fits', '/scratch/kocevski/854289/ft2_4FGL_J1454.4+5124_daily_bin1489.fits', expMap='/scratch/kocevski/854289/expmap_625276801_625536001_4FGL_J1454.4+5124_daily_bin1489.fits', expCube='/scratch/kocevski/854289/ltcube_625276801_625536001_4FGL_J1454.4+5124_daily_bin1489.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/854289/Model_4FGL_J1454.4+5124_daily_bin1489.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/854289/ft1_filtered_4FGL_J1454.4+5124_daily_bin1489.fits
Spacecraft file(s): /scratch/kocevski/854289/ft2_4FGL_J1454.4+5124_daily_bin1489.fits
Exposure map: /scratch/kocevski/854289/expmap_625276801_625536001_4FGL_J1454.4+5124_daily_bin1489.fits
Exposure cube: /scratch/kocevski/854289/ltcube_625276801_625536001_4FGL_J1454.4+5124_daily_bin1489.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/854289/Model_4FGL_J1454.4+5124_daily_bin1489.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) = 5057.9584177

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.2727       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.002       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .21470E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.9689       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.2476       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.8238       1.0000         .10000E-03   10000.    
    20 'norm      '    2.9656       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.6431       1.0000         .10000E-03   10000.    
    24 'Prefactor '    18.516       1.0000         .10000E-03   10000.    
    25 'norm      '    .10459E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .74889       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0282       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5057.866     FROM MIGRAD    STATUS=CONVERGED    700 CALLS     3001 TOTAL
                     EDM=   .78E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    34.112       -.45655E-05** at limit **
   2  norm          .10000E-03    2.4732        .11704E-07** at limit **
   3  Prefactor     .10000E-03    918.94       -.40382E-05** at limit **
   4  Prefactor     .10000E-03    23.863       -.80499E-05** at limit **
   5  Prefactor     .10000E-03    20.963        .21571E-05** at limit **
   6  Prefactor     1.2728        3.7971       -.12331E-07   -.30099E-04
   7  Prefactor     .10000E-03    8.3879        .30228E-07** at limit **
   8  Prefactor     .10000E-03    .84104       -.17497E-07** at limit **
   9  Prefactor     14.001        23.064        .18828E-05    .70008E-05
  10  Prefactor     .10000E-03    59.861       -.12327E-05** at limit **
  11  Prefactor     .10000E-03    26.300        .77300E-05** at limit **
  12  Prefactor     .10000E-03    11.393       -.18385E-06** at limit **
  13  Prefactor     .10000E-03    10.517        .16159E-06** at limit **
  14  Prefactor     .10000E-03    5.9147       -.74808E-08** at limit **
  15  Prefactor     .10000E-03    8.9934       -.67335E-07** at limit **
  16  norm          .10000E-03    .34760        .67864E-09** at limit **
  17  Prefactor     7.9702        12.548        .17000E-06   -.73399E-04
  18  Prefactor     6.2479        6.9378       -.12378E-06   -.12824E-04
  19  Prefactor     7.8212        9.3816       -.11019E-06   -.12519E-03
  20  norm          2.9657        3.2867       -.78558E-08   -.22877E-04
  21  Prefactor     .10000E-03    3.1236       -.16743E-07** at limit **
  22  Prefactor     .10000E-03    32.776        .20529E-05** at limit **
  23  Prefactor     1.6443        2.0419        .41169E-07   -.30990E-03
  24  Prefactor     18.517        8.4926       -.34991E-06   -.48766E-05
  25  norm          .10000E-03    5.1231        .45685E-07** at limit **
  26  Prefactor     .10000E-03    50.447        .11798E-05** at limit **
  27  Normalizat    .74891        .16253       -.16301E-06   -.54379E-05
  28  Prefactor     1.0281        .18380        .18485E-07   -.20325E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.27279
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.97019
  Prefactor  = 6.24792
  Prefactor  = 7.82117
  norm       = 2.96567
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.6443
  Prefactor  = 18.5167
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.748911
  Prefactor  = 1.02815
 **********
 **   18 **HESSE 
 **********

 FCN=   5057.866     FROM HESSE     STATUS=OK           511 CALLS     3512 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    34.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.5150        .10916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    919.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    23.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    20.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.2728        3.7501        .23152E-03   -1.5482    
   7  Prefactor     .10000E-03    8.4083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .84588        .63632E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.001        23.165        .10704E-03   -1.4959    
  10  Prefactor     .10000E-03    62.084        .40328E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    26.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.9248        .16892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.0271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .34921        .40939E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.9702        12.471        .71017E-03   -1.5143    
  18  Prefactor     6.2479        6.9316        .16060E-03   -1.5208    
  19  Prefactor     7.8212        9.4062        .71678E-03   -1.5149    
  20  norm          2.9657        3.3518        .12978E-03   -1.5364    
  21  Prefactor     .10000E-03    3.1314        .12263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    33.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.6443        13.338        .16478E-02   -1.5452    
  24  Prefactor     18.517        8.4898        .93079E-04   -1.4847    
  25  norm          .10000E-03    5.1529        .15700E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    50.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .74891        .19445        .22625E-03   -1.0199    
  28  Prefactor     1.0281        .21778        .22737E-03   -.91797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.82453e-10
Minuit parameter uncertainties:
  1  1.33012e-06
  2  2.25368e-06
  3  2.868e-05
  4  2.32346e-06
  5  4.83182e-07
  6  3.75075
  7  6.15667e-07
  8  1.64784e-06
  9  23.18
  10  0.000108985
  11  9.03434e-08
  12  1.12638e-06
  13  7.41296e-06
  14  1.8738e-07
  15  2.65718e-06
  16  1.95234e-08
  17  12.4753
  18  6.93244
  19  9.40795
  20  3.35202
  21  2.57715e-07
  22  1.19864e-05
  23  9.36866
  24  8.49038
  25  1.06826e-05
  26  3.99923e-06
  27  0.194634
  28  0.217964
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  1.952e-08  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:  1.028e+00  2.180e-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:  7.489e-01  1.946e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/854289/likelihoodResults_625276801_625536001_4FGL_J1454.4+5124_daily_bin1489.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) = 5057.86573743
delta logL = -5.5296732171e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5057.86573504
delta logL = 1.83591237146e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9374       1.0000          .0000       5.0000    
     3 'Normalizat'    .74889       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0283       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=   5057.866     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      199 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.4549        .90712E-02** at limit **
   2  alpha         1.5877        3.1228        .42552        .19207E-06
   3  Normalizat    .74891        .16850E-01    .42939E-01    .16934E-04
   4  Prefactor     1.0281        .19671E-01    .41399E-01    .72262E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.58765
  Normalizat = 0.748911
  Prefactor  = 1.02815
 **********
 **   18 **HESSE 
 **********

 FCN=   5057.866     FROM HESSE     STATUS=OK            31 CALLS      230 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .48474        .43693E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5877        4.1678        .17021       -.37357    
   3  Normalizat    .74891        .18436        .22625E-03   -1.0199    
   4  Prefactor     1.0281        .21529        .22737E-03   -.91797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01531e-10
Minuit parameter uncertainties:
  1  4.41371e-06
  2  69.1754
  3  0.184513
  4  0.21547
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/854289': 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) = 5057.86571976
delta logL = 1.7110653971e-05

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  4.414e-06  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.588e+00  6.918e+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:  1.028e+00  2.155e-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:  7.489e-01  1.845e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/854289/cmap_HighResolution_625276801_625536001_4FGL_J1454.4+5124_daily_bin1489.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.10e-05', job_status='DONE', photon_flux_upper_limit='2.94e-08', time_completed='2021-09-10 13:13:26.074399', job_id='854289', GAL2='1.03', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1631304806.07', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.71e-05', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1489' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:13:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 854289: <4FGL_J1454.4+5124_daily_bin1489> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin1489> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 13:01:27 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 13:01:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 13:01:28 2021
Terminated at Fri Sep 10 13:13:26 2021
Results reported at Fri Sep 10 13:13:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin1489 223.625 51.409 625276801 625536001 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 :                                   696.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             320.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            719 sec.

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

