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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin58
RA = 223.625, Dec = 51.409
tmin = 254361601, tmax = 254620801
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='847794', job_status='RUN', time_executed='2021-09-10 12:42:55.089380', time_epoch_executed='1631302975.09' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='58'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847794

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847794/ft1_4FGL_J1454.4+5124_daily_bin58.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847794/ft2_4FGL_J1454.4+5124_daily_bin58.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847794/ft1_4FGL_J1454.4+5124_daily_bin58.fits outfile=/scratch/kocevski/847794/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin58.fits ra=223.625 dec=51.409 rad=12.0 tmin=254361601.0 tmax=254620801.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.44
user 1.22
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847794/ft1_filtered_4FGL_J1454.4+5124_daily_bin58.fits evtable="EVENTS" scfile=/scratch/kocevski/847794/ft2_4FGL_J1454.4+5124_daily_bin58.fits sctable="SC_DATA" expcube=/scratch/kocevski/847794/ltcube_254361601_254620801_4FGL_J1454.4+5124_daily_bin58.fits outfile=/scratch/kocevski/847794/expmap_254361601_254620801_4FGL_J1454.4+5124_daily_bin58.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/847794/ltcube_254361601_254620801_4FGL_J1454.4+5124_daily_bin58.fits
.....................!
real 192.90
user 187.12
sys 4.90

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/847794/ft1_filtered_4FGL_J1454.4+5124_daily_bin58.fits scfile=/scratch/kocevski/847794/ft2_4FGL_J1454.4+5124_daily_bin58.fits outfile=/scratch/kocevski/847794/cmap_254361601_254620801_4FGL_J1454.4+5124_daily_bin58.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847794/ft1_filtered_4FGL_J1454.4+5124_daily_bin58.fits scfile=/scratch/kocevski/847794/ft2_4FGL_J1454.4+5124_daily_bin58.fits outfile=/scratch/kocevski/847794/cmap_HighResolution_254361601_254620801_4FGL_J1454.4+5124_daily_bin58.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.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    3.8230       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11479E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    42.520       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.3051       1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.931       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.3747       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.438       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.294       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.4206       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.1533       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    12.019       1.0000         .10000E-03   10000.    
    24 'Prefactor '    10.672       1.0000         .10000E-03   10000.    
    25 'norm      '    .77912       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .99350       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .99193       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=   6360.114     FROM MIGRAD    STATUS=CONVERGED    678 CALLS     3487 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    27.740       -.65335E-05** at limit **
   2  norm          3.8231        3.3072       -.74423E-07   -.17166E-03
   3  Prefactor     .10000E-03    224.03       -.90096E-05** at limit **
   4  Prefactor     .10000E-03    11.698        .82105E-05** at limit **
   5  Prefactor     42.522        38.001        .46292E-06    .30013E-05
   6  Prefactor     4.3052        4.4727       -.11668E-05   -.23980E-03
   7  Prefactor     24.935        21.841       -.32679E-05   -.13054E-04
   8  Prefactor     1.3749        1.4736        .30489E-07    .11239E-03
   9  Prefactor     .10000E-03    12.224       -.75016E-05** at limit **
  10  Prefactor     17.438        18.107       -.12462E-06    .27553E-04
  11  Prefactor     .10000E-03    13.602       -.10996E-04** at limit **
  12  Prefactor     27.297        24.333       -.16993E-05   -.62212E-05
  13  Prefactor     .10000E-03    26.945       -.41291E-05** at limit **
  14  Prefactor     .10000E-03    5.9958        .18989E-06** at limit **
  15  Prefactor     .10000E-03    14.719        .11172E-04** at limit **
  16  norm          .10000E-03    .40263       -.10516E-07** at limit **
  17  Prefactor     9.4220        7.8581       -.75642E-07    .16218E-04
  18  Prefactor     .10000E-03    4.7449        .34325E-07** at limit **
  19  Prefactor     .10000E-03    3.9163       -.92334E-08** at limit **
  20  norm          3.1527        3.6972       -.22327E-06   -.47543E-03
  21  Prefactor     .10000E-03    3.6175        .85808E-07** at limit **
  22  Prefactor     .10000E-03    14.225        .12051E-05** at limit **
  23  Prefactor     12.017        10.985       -.17082E-06   -.75774E-04
  24  Prefactor     10.674        9.5711        .20253E-05    .43389E-03
  25  norm          .79445        9.8406       -.22793E-05   -.53120E-03
  26  Prefactor     .10000E-03    32.267        .96983E-05** at limit **
  27  Normalizat    .99333        .16703        .90685E-06    .68020E-05
  28  Prefactor     .99206        .18384       -.16155E-06    .50729E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.82314
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 42.522
  Prefactor  = 4.30516
  Prefactor  = 24.9353
  Prefactor  = 1.37492
  Prefactor  = 0.0001
  Prefactor  = 17.4376
  Prefactor  = 0.0001
  Prefactor  = 27.297
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.42204
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.15272
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.0168
  Prefactor  = 10.6742
  norm       = 0.794447
  Prefactor  = 0.0001
  Normalizat = 0.993326
  Prefactor  = 0.992058
 **********
 **   18 **HESSE 
 **********

 FCN=   6360.114     FROM HESSE     STATUS=OK           521 CALLS     4008 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    27.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.8231        3.3016        .13052E-03   -1.5317    
   3  Prefactor     .10000E-03    223.96        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     42.522        37.980        .61478E-04   -1.4403    
   6  Prefactor     4.3052        4.4741        .16405E-03   -1.5293    
   7  Prefactor     24.935        21.941        .80228E-04   -1.4709    
   8  Prefactor     1.3749        1.4722        .96302E-04   -1.5473    
   9  Prefactor     .10000E-03    12.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     17.438        18.098        .95912E-04   -1.4873    
  11  Prefactor     .10000E-03    13.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     27.297        24.353        .76682E-04   -1.4663    
  13  Prefactor     .10000E-03    26.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.0242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .41142        .49404E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.4220        7.8686        .13057E-03   -1.5094    
  18  Prefactor     .10000E-03    4.8676        .33909E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.9487        .15397E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.1527        3.6828        .15497E-03   -1.5353    
  21  Prefactor     .10000E-03    3.6260        .14790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    14.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     12.017        10.971        .11555E-03   -1.5015    
  24  Prefactor     10.674        9.7497        .12264E-03   -1.5054    
  25  norm          .79445        26.602        .39717E-02   -1.5530    
  26  Prefactor     .10000E-03    32.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .99333        .19908        .22910E-03   -.93254    
  28  Prefactor     .99206        .21847        .26146E-03   -.92995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03519e-09
Minuit parameter uncertainties:
  1  1.82509e-07
  2  3.30177
  3  7.52245e-06
  4  1.81605e-08
  5  38.0017
  6  4.47447
  7  21.948
  8  1.47227
  9  4.74864e-08
  10  18.104
  11  2.49505e-06
  12  24.3623
  13  2.57295e-07
  14  2.34683e-07
  15  8.62385e-05
  16  8.58497e-07
  17  7.8695
  18  8.93256e-06
  19  5.01688e-06
  20  3.6831
  21  2.35072e-06
  22  1.57512e-06
  23  10.9728
  24  9.75116
  25  9.19817
  26  1.03886e-05
  27  0.199232
  28  0.218665
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  8.585e-07  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:  9.921e-01  2.187e-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:  9.933e-01  1.992e-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: 3.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.16e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/847794/likelihoodResults_254361601_254620801_4FGL_J1454.4+5124_daily_bin58.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) = 6360.11447967
delta logL = -4.79339269077e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6360.11447366
delta logL = 1.21429911815e-06

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 'alpha     '    1.9458       1.0000          .0000       5.0000    
     3 'Normalizat'    .99330       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99209       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=   6360.114     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      202 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.8556        .90712E-02** at limit **
   2  alpha         1.6710        2.5624        .42508       -.44155E-07
   3  Normalizat    .99333        .16896E-01    .46083E-01   -.17402E-04
   4  Prefactor     .99206        .19369E-01    .46168E-01    .13079E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.67098
  Normalizat = 0.993327
  Prefactor  = 0.992057
 **********
 **   18 **HESSE 
 **********

 FCN=   6360.114     FROM HESSE     STATUS=OK            31 CALLS      233 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .57137        .51508E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6710        3.1486        .17003       -.33801    
   3  Normalizat    .99333        .18760        .22910E-03   -.93254    
   4  Prefactor     .99206        .21502        .26146E-03   -.92995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07028e-11
Minuit parameter uncertainties:
  1  3.84109e-06
  2  78.3096
  3  0.187723
  4  0.215211
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847794': 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) = 6360.11446642
delta logL = 8.45856447995e-06

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  3.841e-06  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.671e+00  7.831e+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:  9.921e-01  2.152e-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:  9.933e-01  1.877e-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/847794/cmap_HighResolution_254361601_254620801_4FGL_J1454.4+5124_daily_bin58.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.16e-05', job_status='DONE', photon_flux_upper_limit='3.02e-08', time_completed='2021-09-10 12:57:02.881253', job_id='847794', GAL2='0.99', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1631303822.88', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='8.46e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='58' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:57:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 847794: <4FGL_J1454.4+5124_daily_bin58> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin58> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 12:41:09 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:41:10 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:10 2021
Terminated at Fri Sep 10 12:57:03 2021
Results reported at Fri Sep 10 12:57:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin58 223.625 51.409 254361601 254620801 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 :                                   839.18 sec.
    Max Memory :                                 1172 MB
    Average Memory :                             312.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   953 sec.
    Turnaround time :                            954 sec.

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

