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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin599
RA = 223.625, Dec = 51.409
tmin = 394588801, tmax = 394848001
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='849731', job_status='RUN', time_executed='2021-09-10 12:49:36.025089', time_epoch_executed='1631303376.03' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='599'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849731

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849731/ft1_4FGL_J1454.4+5124_daily_bin599.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849731/ft2_4FGL_J1454.4+5124_daily_bin599.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849731/ft1_4FGL_J1454.4+5124_daily_bin599.fits outfile=/scratch/kocevski/849731/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin599.fits ra=223.625 dec=51.409 rad=12.0 tmin=394588801.0 tmax=394848001.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 4.52
user 4.29
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849731/ft2_4FGL_J1454.4+5124_daily_bin599.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/849731/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin599.fits evtable="EVENTS" outfile="/scratch/kocevski/849731/ft1_filtered_4FGL_J1454.4+5124_daily_bin599.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.53
user 0.33
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849731/ft1_filtered_4FGL_J1454.4+5124_daily_bin599.fits evtable="EVENTS" scfile=/scratch/kocevski/849731/ft2_4FGL_J1454.4+5124_daily_bin599.fits sctable="SC_DATA" expcube=/scratch/kocevski/849731/ltcube_394588801_394848001_4FGL_J1454.4+5124_daily_bin599.fits outfile=/scratch/kocevski/849731/expmap_394588801_394848001_4FGL_J1454.4+5124_daily_bin599.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/849731/ltcube_394588801_394848001_4FGL_J1454.4+5124_daily_bin599.fits
.....................!
real 190.94
user 185.38
sys 5.19

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/849731/ft1_filtered_4FGL_J1454.4+5124_daily_bin599.fits scfile=/scratch/kocevski/849731/ft2_4FGL_J1454.4+5124_daily_bin599.fits outfile=/scratch/kocevski/849731/cmap_394588801_394848001_4FGL_J1454.4+5124_daily_bin599.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849731/ft1_filtered_4FGL_J1454.4+5124_daily_bin599.fits scfile=/scratch/kocevski/849731/ft2_4FGL_J1454.4+5124_daily_bin599.fits outfile=/scratch/kocevski/849731/cmap_HighResolution_394588801_394848001_4FGL_J1454.4+5124_daily_bin599.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/849731/ft1_filtered_4FGL_J1454.4+5124_daily_bin599.fits evtable="EVENTS" scfile=/scratch/kocevski/849731/ft2_4FGL_J1454.4+5124_daily_bin599.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/849731/Model_4FGL_J1454.4+5124_daily_bin599.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/849731/ft1_filtered_4FGL_J1454.4+5124_daily_bin599.fits.....................!
real 51.89
user 50.40
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    2.5460       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .94889E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5488       1.0000         .10000E-03   10000.    
     7 'Prefactor '    34.955       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.9768       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.033       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.742       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10274E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.669       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.772       1.0000         .10000E-03   10000.    
    16 'norm      '    1.7664       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.4657       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.222       1.0000         .10000E-03   10000.    
    20 'norm      '    .18234E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.9874       1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.9354       1.0000         .10000E-03   10000.    
    23 'Prefactor '    17.424       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.3994       1.0000         .10000E-03   10000.    
    25 'norm      '    3.9387       1.0000         .10000E-03   10000.    
    26 'Prefactor '    136.50       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .97496       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .85628       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=   6330.360     FROM MIGRAD    STATUS=CONVERGED    685 CALLS     3549 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    32.672       -.62121E-06** at limit **
   2  norm          2.5469        3.9815        .17862E-06   -.10015E-03
   3  Prefactor     .10000E-03    456.53       -.17543E-04** at limit **
   4  Prefactor     .10000E-03    36.497        .86949E-06** at limit **
   5  Prefactor     .10000E-03    32.584       -.55360E-06** at limit **
   6  Prefactor     1.5480        3.1821        .28068E-06   -.82930E-04
   7  Prefactor     34.976        24.459        .50886E-07    .88061E-05
   8  Prefactor     1.9804        3.3208        .27014E-06   -.12536E-03
   9  Prefactor     13.024        21.988       -.21189E-06   -.77686E-05
  10  Prefactor     10.736        28.713       -.65413E-06   -.13776E-04
  11  Prefactor     .10000E-03    73.551        .10774E-05** at limit **
  12  Prefactor     .10000E-03    12.170       -.85129E-07** at limit **
  13  Prefactor     .10000E-03    17.677        .18777E-06** at limit **
  14  Prefactor     10.670        10.388       -.32628E-08    .11311E-05
  15  Prefactor     10.776        14.767        .28980E-06    .36548E-04
  16  norm          1.7666        1.3377        .62757E-08   -.35457E-05
  17  Prefactor     6.4688        9.7742        .64784E-07   -.11771E-04
  18  Prefactor     .10000E-03    3.5150       -.29376E-06** at limit **
  19  Prefactor     12.226        8.3018       -.43063E-07   -.32122E-05
  20  norm          .10001E-03    2.4979       -.16255E-05** at limit **
  21  Prefactor     7.9870        11.166        .11816E-05    .45337E-03
  22  Prefactor     6.9802        40.269       -.38027E-05    .88491E-04
  23  Prefactor     17.391        26.459        .26389E-05    .28051E-03
  24  Prefactor     3.3999        3.5854       -.28734E-07    .71946E-05
  25  norm          3.9388        4.7888        .73675E-07   -.32330E-04
  26  Prefactor     136.52        85.990        .53685E-06    .21281E-05
  27  Normalizat    .97446        .17525        .43303E-06    .16857E-03
  28  Prefactor     .85665        .18221       -.20519E-06    .19351E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.54694
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.54796
  Prefactor  = 34.9763
  Prefactor  = 1.98041
  Prefactor  = 13.0238
  Prefactor  = 10.7357
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.6699
  Prefactor  = 10.7758
  norm       = 1.76659
  Prefactor  = 6.46885
  Prefactor  = 0.0001
  Prefactor  = 12.2264
  norm       = 0.000100006
  Prefactor  = 7.987
  Prefactor  = 6.98024
  Prefactor  = 17.3913
  Prefactor  = 3.39994
  norm       = 3.93885
  Prefactor  = 136.515
  Normalizat = 0.974461
  Prefactor  = 0.856647
 **********
 **   18 **HESSE 
 **********

 FCN=   6330.360     FROM HESSE     STATUS=OK           533 CALLS     4082 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    32.672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.5469        3.9531        .18566E-03   -1.5389    
   3  Prefactor     .10000E-03    452.73        .20797E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    36.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    32.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.5480        3.1264        .19561E-03   -1.5459    
   7  Prefactor     34.976        24.671        .67781E-04   -1.4524    
   8  Prefactor     1.9804        3.2062        .15031E-03   -1.5427    
   9  Prefactor     13.024        21.914        .11096E-03   -1.4986    
  10  Prefactor     10.736        28.242        .12224E-03   -1.5053    
  11  Prefactor     .10000E-03    73.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    17.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.670        10.384        .12266E-03   -1.5055    
  15  Prefactor     10.776        14.549        .12207E-03   -1.5051    
  16  norm          1.7666        1.3294        .76110E-04   -1.5442    
  17  Prefactor     6.4688        9.7272        .15784E-03   -1.5199    
  18  Prefactor     .10000E-03    9.4232        .28477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.226        8.3022        .11458E-03   -1.5008    
  20  norm          .10001E-03    7.2248        .21864E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.9870        11.053        .14187E-03   -1.5143    
  22  Prefactor     6.9802        39.598        .15234E-03   -1.5180    
  23  Prefactor     17.391        26.417        .95951E-04   -1.4874    
  24  Prefactor     3.3999        3.5852        .14885E-03   -1.5339    
  25  norm          3.9388        4.7786        .18437E-03   -1.5311    
  26  Prefactor     136.52        85.952        .17237E-03   -1.3366    
  27  Normalizat    .97446        .21204        .22736E-03   -.93891    
  28  Prefactor     .85665        .21782        .27011E-03   -.97673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08445e-09
Minuit parameter uncertainties:
  1  3.46196e-06
  2  3.95351
  3  0.000527827
  4  3.72268e-05
  5  3.00754e-05
  6  3.12668
  7  24.678
  8  3.20649
  9  21.9276
  10  28.277
  11  6.25049e-05
  12  5.47457e-06
  13  1.38432e-06
  14  10.3857
  15  14.5535
  16  1.32939
  17  9.72957
  18  2.4871e-05
  19  8.30301
  20  0.00042395
  21  11.056
  22  33.2841
  23  26.4343
  24  3.58544
  25  4.77905
  26  86.0306
  27  0.212218
  28  0.218042
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.767e+00  1.329e+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:  8.566e-01  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:  9.745e-01  2.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.50
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 2.00e-08
Energy Flux (Fixed Index): 1.90e-05 +/- 1.43e-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) = 6330.29914562
delta logL = 0.0608506030267

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6330.29438949
delta logL = 0.0656067371965

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8996       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7513       1.0000          .0000       5.0000    
     3 'Normalizat'    .98142       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85205       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6330.294     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      230 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8997        1.4287        .79679E-04   -.17246E-02
   2  alpha         1.7519        .56478        .14390E-01   -.85551E-04
   3  Normalizat    .98144        .18862        .22667E-03    .86469E-04
   4  Prefactor     .85201        .21231        .27077E-03    .10169E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.89973
  alpha      = 1.75188
  Normalizat = 0.981445
  Prefactor  = 0.852013
 **********
 **   18 **HESSE 
 **********

 FCN=   6330.294     FROM HESSE     STATUS=OK            23 CALLS      253 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8997        1.4243        .31872E-05   -1.5432    
   2  alpha         1.7519        .56295        .57562E-03   -.30390    
   3  Normalizat    .98144        .18876        .90666E-05   -.93655    
   4  Prefactor     .85201        .21251        .10831E-04   -.97839    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.93994e-10
Minuit parameter uncertainties:
  1  1.42431
  2  0.568307
  3  0.188892
  4  0.212713
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849731': 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) = 6330.29438887
delta logL = 0.065607354366

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.900e+00  1.424e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.752e+00  5.683e-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:  8.520e-01  2.127e-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.814e-01  1.889e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.64
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.75 +/- 0.57
Photon Flux (Free Index): 2.11e-08 +/- 2.09e-08
Energy Flux (Free Index): 2.53e-05 +/- 2.82e-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/849731/cmap_HighResolution_394588801_394848001_4FGL_J1454.4+5124_daily_bin599.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='2.53e-05', photon_flux_error='2.00e-08', dlogl='6.56e-02', energy_flux='1.90e-05', photon_flux2='2.11e-08', job_status='DONE', time_completed='2021-09-10 13:01:55.203319', photon_index_error2='0.57', photon_index2='1.75', ts='4.50', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='2.82e-05', EG='0.97', time_epoch_completed='1631304115.2', return_code='0', job_id='849731', GAL2='0.85', EG2='0.98', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='2.09e-08', ts2='4.64', photon_index='1.97' WHERE bin_id='599' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:01:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 849731: <4FGL_J1454.4+5124_daily_bin599> in cluster <slac> Done

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

Your job looked like:

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

Successfully completed.

Resource usage summary:

    CPU time :                                   738.38 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             307.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            923 sec.

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

