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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin658
RA = 223.625, Dec = 51.409
tmin = 409881601, tmax = 410140801
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='850852', job_status='RUN', time_executed='2021-09-10 12:53:40.142405', time_epoch_executed='1631303620.14' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='658'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850852

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850852/ft1_4FGL_J1454.4+5124_daily_bin658.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850852/ft2_4FGL_J1454.4+5124_daily_bin658.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850852/ft1_4FGL_J1454.4+5124_daily_bin658.fits outfile=/scratch/kocevski/850852/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin658.fits ra=223.625 dec=51.409 rad=12.0 tmin=409881601.0 tmax=410140801.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 6.31
user 6.05
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/850852/ft1_filtered_4FGL_J1454.4+5124_daily_bin658.fits" evtable="EVENTS" scfile=/scratch/kocevski/850852/ft2_4FGL_J1454.4+5124_daily_bin658.fits sctable="SC_DATA" outfile=/scratch/kocevski/850852/ltcube_409881601_410140801_4FGL_J1454.4+5124_daily_bin658.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/850852/ft2_4FGL_J1454.4+5124_daily_bin658.fits
.....................!
real 12.57
user 12.20
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850852/ft1_filtered_4FGL_J1454.4+5124_daily_bin658.fits evtable="EVENTS" scfile=/scratch/kocevski/850852/ft2_4FGL_J1454.4+5124_daily_bin658.fits sctable="SC_DATA" expcube=/scratch/kocevski/850852/ltcube_409881601_410140801_4FGL_J1454.4+5124_daily_bin658.fits outfile=/scratch/kocevski/850852/expmap_409881601_410140801_4FGL_J1454.4+5124_daily_bin658.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/850852/ltcube_409881601_410140801_4FGL_J1454.4+5124_daily_bin658.fits
.....................!
real 191.99
user 186.65
sys 4.96

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/850852/ft1_filtered_4FGL_J1454.4+5124_daily_bin658.fits scfile=/scratch/kocevski/850852/ft2_4FGL_J1454.4+5124_daily_bin658.fits outfile=/scratch/kocevski/850852/cmap_409881601_410140801_4FGL_J1454.4+5124_daily_bin658.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/850852/ft1_filtered_4FGL_J1454.4+5124_daily_bin658.fits scfile=/scratch/kocevski/850852/ft2_4FGL_J1454.4+5124_daily_bin658.fits outfile=/scratch/kocevski/850852/cmap_HighResolution_409881601_410140801_4FGL_J1454.4+5124_daily_bin658.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    102.98       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.5194       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    70.031       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .87311E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.093       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.4168       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.6151       1.0000         .10000E-03   10000.    
    16 'norm      '    5.5316       1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.138       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.7407       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    11.331       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10220E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    67.872       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .74299       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .65957       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=   2372.854     FROM MIGRAD    STATUS=CONVERGED    673 CALLS     3501 TOTAL
                     EDM=   .93E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    33.810        .24115E-05** at limit **
   2  norm          .10000E-03    1.7711       -.31953E-07** at limit **
   3  Prefactor     .10000E-03    262.36       -.53689E-06** at limit **
   4  Prefactor     .10000E-03    41.286       -.15534E-05** at limit **
   5  Prefactor     102.98        66.349        .15119E-06    .48251E-04
   6  Prefactor     4.5174        7.2054        .74228E-06   -.26901E-04
   7  Prefactor     .10000E-03    9.6486       -.40774E-07** at limit **
   8  Prefactor     .10000E-03    2.3319        .69505E-07** at limit **
   9  Prefactor     70.007        42.452        .25114E-05    .21668E-03
  10  Prefactor     .10000E-03    168.80       -.15522E-04** at limit **
  11  Prefactor     .10000E-03    38.722        .10245E-05** at limit **
  12  Prefactor     21.091        29.481        .15542E-06    .33840E-06
  13  Prefactor     .10000E-03    28.042       -.19368E-05** at limit **
  14  Prefactor     8.4169        13.612        .12757E-06    .19243E-04
  15  Prefactor     6.6076        31.476       -.22936E-05    .12880E-04
  16  norm          5.5315        3.1992        .97922E-07    .10403E-03
  17  Prefactor     11.128        21.853       -.76033E-06    .58519E-04
  18  Prefactor     2.7432        18.693        .48842E-05   -.53021E-04
  19  Prefactor     .10000E-03    5.9892        .57869E-07** at limit **
  20  norm          11.330        7.0369       -.14314E-06    .51708E-05
  21  Prefactor     .10000E-03    6.2727       -.12074E-06** at limit **
  22  Prefactor     .10000E-03    7.3806        .23981E-07** at limit **
  23  Prefactor     .10000E-03    6.1204        .23727E-06** at limit **
  24  Prefactor     .10000E-03    20.620        .55847E-06** at limit **
  25  norm          67.906        47.173       -.11766E-05    .14468E-04
  26  Prefactor     .10000E-03    293.68        .11289E-04** at limit **
  27  Normalizat    .74305        .23468       -.30384E-06    .12051E-03
  28  Prefactor     .65951        .24408       -.95934E-08    .66436E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 102.977
  Prefactor  = 4.51742
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 70.0067
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.0914
  Prefactor  = 0.0001
  Prefactor  = 8.4169
  Prefactor  = 6.60765
  norm       = 5.53152
  Prefactor  = 11.1284
  Prefactor  = 2.74321
  Prefactor  = 0.0001
  norm       = 11.3304
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 67.906
  Prefactor  = 0.000100001
  Normalizat = 0.743054
  Prefactor  = 0.65951
 **********
 **   18 **HESSE 
 **********

 FCN=   2372.854     FROM HESSE     STATUS=OK           509 CALLS     4010 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    33.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.7797        .63298E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    262.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    41.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     102.98        66.861        .39623E-04   -1.3675    
   6  Prefactor     4.5174        7.1973        .76165E-03   -1.5283    
   7  Prefactor     .10000E-03    9.6585        .14779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.3504        .72283E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     70.007        43.357        .47968E-04   -1.4033    
  10  Prefactor     .10000E-03    172.83        .41698E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    38.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     21.091        29.581        .87212E-04   -1.4789    
  13  Prefactor     .10000E-03    28.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.4169        13.599        .13818E-03   -1.5128    
  15  Prefactor     6.6076        31.666        .15602E-03   -1.5194    
  16  norm          5.5315        3.1968        .60496E-04   -1.5238    
  17  Prefactor     11.128        21.846        .12004E-03   -1.5041    
  18  Prefactor     2.7432        19.078        .12296E-02   -1.5377    
  19  Prefactor     .10000E-03    5.9937        .11638E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          11.330        7.0358        .96881E-04   -1.5035    
  21  Prefactor     .10000E-03    6.2792        .11910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    7.3815        .12926E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    6.1238        .11768E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    20.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          67.906        47.176        .24360E-03   -1.4058    
  26  Prefactor     .10000E-03    291.89        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .74305        .27648        .21693E-03   -1.0222    
  28  Prefactor     .65951        .28524        .25556E-03   -1.0514    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58664e-10
Minuit parameter uncertainties:
  1  6.16568e-05
  2  2.17538e-06
  3  2.02732e-05
  4  3.14328e-05
  5  66.9105
  6  7.1987
  7  2.83534e-06
  8  1.12478e-05
  9  43.3761
  10  0.000417623
  11  3.48967e-05
  12  29.6016
  13  2.54085e-05
  14  13.6037
  15  28.9546
  16  3.19689
  17  21.8618
  18  14.475
  19  5.73011e-06
  20  7.0363
  21  7.35493e-07
  22  9.55768e-07
  23  3.78935e-06
  24  2.64318e-05
  25  47.2022
  26  0.000856609
  27  0.277
  28  0.285868
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  5.532e+00  3.197e+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:  6.595e-01  2.859e-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.431e-01  2.770e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.63
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 8.31e-08 +/- 4.80e-08
Energy Flux (Fixed Index): 5.95e-05 +/- 3.44e-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) = 2372.2648315
delta logL = 0.588756761794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2372.2485928
delta logL = 0.60499546429

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.8809       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4817       1.0000          .0000       5.0000    
     3 'Normalizat'    .76460       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65336       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=   2372.249     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      196 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.8809        3.5141        .41400E-02   -.58586E-02
   2  alpha         1.4817        .40333        .19625        .13206E-04
   3  Normalizat    .76461        .21492        .43147E-01   -.15917E-04
   4  Prefactor     .65336        .24087        .41777E-01    .35307E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.88091
  alpha      = 1.48171
  Normalizat = 0.764608
  Prefactor  = 0.653357
 **********
 **   18 **HESSE 
 **********

 FCN=   2372.249     FROM HESSE     STATUS=OK            31 CALLS      227 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.8809        3.6290        .68097E-04   -1.5223    
   2  alpha         1.4817        .43367        .83093E-02   -.41951    
   3  Normalizat    .76461        .24707        .21444E-03   -1.0140    
   4  Prefactor     .65336        .27730        .25720E-03   -1.0538    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.53326e-09
Minuit parameter uncertainties:
  1  3.62911
  2  0.436316
  3  0.247433
  4  0.277887
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850852': 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) = 2372.24859279
delta logL = 0.604995469085

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  5.881e+00  3.629e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.482e+00  4.363e-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:  6.534e-01  2.779e-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.646e-01  2.474e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.84
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.48 +/- 0.44
Photon Flux (Free Index): 4.92e-08 +/- 3.88e-08
Energy Flux (Free Index): 1.25e-04 +/- 1.20e-04

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/850852/cmap_HighResolution_409881601_410140801_4FGL_J1454.4+5124_daily_bin658.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.31e-08', energy_flux2='1.25e-04', photon_flux_error='4.80e-08', dlogl='6.05e-01', energy_flux='5.95e-05', photon_flux2='4.92e-08', job_status='DONE', time_completed='2021-09-10 13:01:56.625613', photon_index_error2='0.44', photon_index2='1.48', ts='15.63', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', energy_flux_error2='1.20e-04', EG='0.74', time_epoch_completed='1631304116.63', return_code='0', job_id='850852', GAL2='0.65', EG2='0.76', return_code2='0', energy_flux_error='3.44e-05', photon_flux_error2='3.88e-08', ts2='16.84', photon_index='1.97' WHERE bin_id='658' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:01:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 850852: <4FGL_J1454.4+5124_daily_bin658> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin658> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:51:03 2021
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:51:05 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:51:05 2021
Terminated at Fri Sep 10 13:01:57 2021
Results reported at Fri Sep 10 13:01:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin658 223.625 51.409 409881601 410140801 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 :                                   496.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             267.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   651 sec.
    Turnaround time :                            654 sec.

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

