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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin1012
RA = 223.625, Dec = 51.409
tmin = 501638401, tmax = 501897601
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='852465', job_status='RUN', time_executed='2021-09-10 12:56:14.224110', time_epoch_executed='1631303774.22' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='1012'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/852465

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/852465/ft1_4FGL_J1454.4+5124_daily_bin1012.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/852465/ft2_4FGL_J1454.4+5124_daily_bin1012.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/852465/ft1_4FGL_J1454.4+5124_daily_bin1012.fits outfile=/scratch/kocevski/852465/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin1012.fits ra=223.625 dec=51.409 rad=12.0 tmin=501638401.0 tmax=501897601.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.47
user 3.26
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/852465/ft1_filtered_4FGL_J1454.4+5124_daily_bin1012.fits" evtable="EVENTS" scfile=/scratch/kocevski/852465/ft2_4FGL_J1454.4+5124_daily_bin1012.fits sctable="SC_DATA" outfile=/scratch/kocevski/852465/ltcube_501638401_501897601_4FGL_J1454.4+5124_daily_bin1012.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/852465/ft2_4FGL_J1454.4+5124_daily_bin1012.fits
.....................!
real 11.66
user 11.27
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/852465/ft1_filtered_4FGL_J1454.4+5124_daily_bin1012.fits evtable="EVENTS" scfile=/scratch/kocevski/852465/ft2_4FGL_J1454.4+5124_daily_bin1012.fits sctable="SC_DATA" expcube=/scratch/kocevski/852465/ltcube_501638401_501897601_4FGL_J1454.4+5124_daily_bin1012.fits outfile=/scratch/kocevski/852465/expmap_501638401_501897601_4FGL_J1454.4+5124_daily_bin1012.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/852465/ltcube_501638401_501897601_4FGL_J1454.4+5124_daily_bin1012.fits
.....................!
real 190.25
user 184.18
sys 4.54

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/852465/ft1_filtered_4FGL_J1454.4+5124_daily_bin1012.fits scfile=/scratch/kocevski/852465/ft2_4FGL_J1454.4+5124_daily_bin1012.fits outfile=/scratch/kocevski/852465/cmap_501638401_501897601_4FGL_J1454.4+5124_daily_bin1012.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/852465/ft1_filtered_4FGL_J1454.4+5124_daily_bin1012.fits scfile=/scratch/kocevski/852465/ft2_4FGL_J1454.4+5124_daily_bin1012.fits outfile=/scratch/kocevski/852465/cmap_HighResolution_501638401_501897601_4FGL_J1454.4+5124_daily_bin1012.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    8.3735       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .19668E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    50.111       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.7370       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.634       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11842E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10790E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    62.265       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.599       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.1494       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.5519       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12959E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .90362       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .92945       1.0000         .10000E-03   10000.    
    22 'Prefactor '    10.941       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .11726E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .83164       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1453       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=   5388.199     FROM MIGRAD    STATUS=CONVERGED    721 CALLS     3541 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    56.784       -.83059E-06** at limit **
   2  norm          8.3722        4.8102       -.19673E-08   -.34460E-04
   3  Prefactor     .10000E-03    506.64       -.92871E-05** at limit **
   4  Prefactor     .10000E-03    15.264        .32939E-06** at limit **
   5  Prefactor     50.094        50.960        .24805E-07   -.72723E-05
   6  Prefactor     1.7396        6.5712       -.52877E-06   -.18648E-04
   7  Prefactor     13.641        25.275       -.52965E-07   -.26935E-05
   8  Prefactor     .10000E-03    1.2949        .28866E-07** at limit **
   9  Prefactor     .10000E-03    18.521       -.96480E-06** at limit **
  10  Prefactor     .10000E-03    13.213       -.32588E-06** at limit **
  11  Prefactor     .10000E-03    29.775        .44935E-06** at limit **
  12  Prefactor     .10000E-03    9.0194       -.54328E-07** at limit **
  13  Prefactor     62.250        41.512       -.39275E-06    .46070E-05
  14  Prefactor     13.607        15.799       -.92458E-07    .13438E-05
  15  Prefactor     .10000E-03    39.436       -.17505E-05** at limit **
  16  norm          4.1503        1.9244       -.34330E-07   -.38079E-05
  17  Prefactor     3.5613        12.122        .36626E-05    .50261E-04
  18  Prefactor     .10000E-03    89.482        .55113E-05** at limit **
  19  Prefactor     .90489        15.307       -.50709E-05    .19095E-04
  20  norm          .10000E-03    2.6803       -.88252E-07** at limit **
  21  Prefactor     .92940        4.1208       -.15309E-06    .10222E-04
  22  Prefactor     10.942        11.225       -.23520E-07   -.81752E-05
  23  Prefactor     .10000E-03    3.0840       -.34712E-07** at limit **
  24  Prefactor     .10000E-03    2.5209       -.38872E-07** at limit **
  25  norm          .10000E-03    5.1683       -.89134E-07** at limit **
  26  Prefactor     .10000E-03    158.68       -.18482E-05** at limit **
  27  Normalizat    .83140        .18155        .89408E-06   -.70392E-04
  28  Prefactor     1.1456        .20214        .61861E-07   -.41217E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 8.3722
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 50.0939
  Prefactor  = 1.73961
  Prefactor  = 13.6414
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 62.2498
  Prefactor  = 13.6067
  Prefactor  = 0.0001
  norm       = 4.15035
  Prefactor  = 3.56128
  Prefactor  = 0.0001
  Prefactor  = 0.904888
  norm       = 0.0001
  Prefactor  = 0.929398
  Prefactor  = 10.942
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.831402
  Prefactor  = 1.14558
 **********
 **   18 **HESSE 
 **********

 FCN=   5388.199     FROM HESSE     STATUS=OK           529 CALLS     4070 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    56.837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.3722        4.7967        .11723E-03   -1.5129    
   3  Prefactor     .10000E-03    509.38        .20244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     50.094        51.083        .56651E-04   -1.4291    
   6  Prefactor     1.7396        6.6113        .15806E-02   -1.5444    
   7  Prefactor     13.641        25.501        .10848E-03   -1.4969    
   8  Prefactor     .10000E-03    22.500        .15883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    18.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    29.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.0327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     62.250        41.414        .50852E-04   -1.4128    
  14  Prefactor     13.607        15.780        .10862E-03   -1.4970    
  15  Prefactor     .10000E-03    39.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.1503        1.9228        .66603E-04   -1.5300    
  17  Prefactor     3.5613        12.231        .10723E-02   -1.5331    
  18  Prefactor     .10000E-03    6.7263        .50346E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .90489        15.867        .46390E-03   -1.5518    
  20  norm          .10000E-03    2.7759        .23428E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .92940        3.9459        .28760E-03   -1.5515    
  22  Prefactor     10.942        11.213        .12112E-03   -1.5046    
  23  Prefactor     .10000E-03    3.0899        .12587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    2.5312        .11381E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    5.2399        .16295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    159.90        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .83140        .22105        .24243E-03   -.98914    
  28  Prefactor     1.1456        .24726        .24448E-03   -.88023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46384e-09
Minuit parameter uncertainties:
  1  2.28816e-05
  2  4.79693
  3  0.000871806
  4  7.66164e-06
  5  51.1276
  6  6.61406
  7  25.5212
  8  0.00015535
  9  3.35547e-05
  10  8.47908e-06
  11  3.31629e-05
  12  4.0144e-06
  13  41.4334
  14  15.7846
  15  0.00018554
  16  1.92284
  17  12.2393
  18  1.54432e-06
  19  7.5804
  20  4.43171e-06
  21  3.83025
  22  11.2154
  23  1.16835e-06
  24  2.16799e-06
  25  6.9011e-06
  26  9.06903e-05
  27  0.221291
  28  0.247505
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.150e+00  1.923e+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:  1.146e+00  2.475e-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:  8.314e-01  2.213e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.67
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 6.24e-08 +/- 2.89e-08
Energy Flux (Fixed Index): 4.46e-05 +/- 2.07e-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) = 5388.19769821
delta logL = 0.0016000038122

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5388.19729101
delta logL = 0.00200720169232

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2078       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9465       1.0000          .0000       5.0000    
     3 'Normalizat'    .83238       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1451       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=   5388.197     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      192 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2078        44.125        .49113E-02    .17724E-03
   2  alpha         1.9465        3.4078        .20581        .23117E-04
   3  Normalizat    .83238        .14409        .44031E-01    .26378E-04
   4  Prefactor     1.1451        .12735        .55303E-01   -.12720E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.20784
  alpha      = 1.94654
  Normalizat = 0.83238
  Prefactor  = 1.14512
 **********
 **   18 **HESSE 
 **********

 FCN=   5388.197     FROM HESSE     STATUS=OK            31 CALLS      223 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2078        2.1589        .67275E-04   -1.5298    
   2  alpha         1.9465        .34767        .83985E-02   -.22324    
   3  Normalizat    .83238        .20614        .24230E-03   -.98879    
   4  Prefactor     1.1451        .24095        .24453E-03   -.88037    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27088e-11
Minuit parameter uncertainties:
  1  2.15891
  2  0.348863
  3  0.206331
  4  0.241184
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/852465': 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) = 5388.19729101
delta logL = 0.00200720237899

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.208e+00  2.159e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.947e+00  3.489e-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.145e+00  2.412e-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:  8.324e-01  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.66
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.95 +/- 0.35
Photon Flux (Free Index): 6.12e-08 +/- 3.37e-08
Energy Flux (Free Index): 4.59e-05 +/- 3.02e-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/852465/cmap_HighResolution_501638401_501897601_4FGL_J1454.4+5124_daily_bin1012.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.24e-08', energy_flux2='4.59e-05', photon_flux_error='2.89e-08', dlogl='2.01e-03', energy_flux='4.46e-05', photon_flux2='6.12e-08', job_status='DONE', time_completed='2021-09-10 13:07:36.819212', photon_index_error2='0.35', photon_index2='1.95', ts='16.67', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='3.02e-05', EG='0.83', time_epoch_completed='1631304456.82', return_code='0', job_id='852465', GAL2='1.15', EG2='0.83', return_code2='0', energy_flux_error='2.07e-05', photon_flux_error2='3.37e-08', ts2='16.66', photon_index='1.97' WHERE bin_id='1012' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:07:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 852465: <4FGL_J1454.4+5124_daily_bin1012> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin1012> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 12:56:02 2021
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:56:04 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:56:04 2021
Terminated at Fri Sep 10 13:07:37 2021
Results reported at Fri Sep 10 13:07:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin1012 223.625 51.409 501638401 501897601 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 :                                   680.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             368.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   693 sec.
    Turnaround time :                            695 sec.

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

