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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin27
RA = 223.625, Dec = 51.409
tmin = 246326401, tmax = 246585601
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='847749', job_status='RUN', time_executed='2021-09-10 12:42:40.921294', time_epoch_executed='1631302960.92' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='27'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847749

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847749/ft1_4FGL_J1454.4+5124_daily_bin27.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847749/ft2_4FGL_J1454.4+5124_daily_bin27.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847749/ft1_4FGL_J1454.4+5124_daily_bin27.fits outfile=/scratch/kocevski/847749/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin27.fits ra=223.625 dec=51.409 rad=12.0 tmin=246326401.0 tmax=246585601.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.47
user 1.28
sys 0.16

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847749/ft1_filtered_4FGL_J1454.4+5124_daily_bin27.fits evtable="EVENTS" scfile=/scratch/kocevski/847749/ft2_4FGL_J1454.4+5124_daily_bin27.fits sctable="SC_DATA" expcube=/scratch/kocevski/847749/ltcube_246326401_246585601_4FGL_J1454.4+5124_daily_bin27.fits outfile=/scratch/kocevski/847749/expmap_246326401_246585601_4FGL_J1454.4+5124_daily_bin27.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/847749/ltcube_246326401_246585601_4FGL_J1454.4+5124_daily_bin27.fits
.....................!
real 192.05
user 186.02
sys 5.43

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/847749/ft1_filtered_4FGL_J1454.4+5124_daily_bin27.fits scfile=/scratch/kocevski/847749/ft2_4FGL_J1454.4+5124_daily_bin27.fits outfile=/scratch/kocevski/847749/cmap_246326401_246585601_4FGL_J1454.4+5124_daily_bin27.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847749/ft1_filtered_4FGL_J1454.4+5124_daily_bin27.fits scfile=/scratch/kocevski/847749/ft2_4FGL_J1454.4+5124_daily_bin27.fits outfile=/scratch/kocevski/847749/cmap_HighResolution_246326401_246585601_4FGL_J1454.4+5124_daily_bin27.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .42378       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.915       1.0000         .10000E-03   10000.    
     5 'Prefactor '    48.612       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.4445       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.2060       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.3356       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.123       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.7846       1.0000         .10000E-03   10000.    
    16 'norm      '    1.7662       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.9148       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    19.921       1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.6173       1.0000         .10000E-03   10000.    
    25 'norm      '    13.631       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .92036       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0261       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=   7424.829     FROM MIGRAD    STATUS=CONVERGED    688 CALLS     3478 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    22.050       -.59113E-05** at limit **
   2  norm          .42367        2.0008        .34691E-07   -.39309E-03
   3  Prefactor     .10000E-03    371.61       -.14898E-04** at limit **
   4  Prefactor     23.910        44.994       -.46343E-06    .62401E-05
   5  Prefactor     48.614        40.100        .27930E-06    .38242E-04
   6  Prefactor     1.4448        2.2012        .86846E-07    .47804E-05
   7  Prefactor     .10000E-03    8.0522       -.41744E-05** at limit **
   8  Prefactor     5.2061        3.6609        .15985E-05    .12686E-03
   9  Prefactor     .10000E-03    15.916        .34153E-05** at limit **
  10  Prefactor     6.3490        40.112       -.20264E-04   -.77150E-04
  11  Prefactor     .10000E-03    14.863       -.76992E-05** at limit **
  12  Prefactor     .10000E-03    16.368        .60815E-05** at limit **
  13  Prefactor     27.123        23.403       -.17890E-05   -.56986E-04
  14  Prefactor     .10000E-03    3.4294        .18206E-06** at limit **
  15  Prefactor     1.7841        4.8863        .20638E-05   -.12771E-02
  16  norm          1.7662        1.2764       -.23769E-07    .19232E-04
  17  Prefactor     .10000E-03    3.6465        .46248E-06** at limit **
  18  Prefactor     .10000E-03    1.3357       -.19457E-06** at limit **
  19  Prefactor     .10000E-03    7.8327        .37148E-05** at limit **
  20  norm          3.9148        3.2548       -.56584E-07   -.13423E-03
  21  Prefactor     .10000E-03    4.9208        .71035E-06** at limit **
  22  Prefactor     .10000E-03    9.5405        .12083E-05** at limit **
  23  Prefactor     19.924        13.113       -.92245E-06   -.10723E-03
  24  Prefactor     2.6177        8.0268       -.36581E-06   -.93959E-04
  25  norm          13.632        11.406       -.23954E-06   -.27802E-04
  26  Prefactor     .10000E-03    28.406        .12991E-05** at limit **
  27  Normalizat    .92013        .15360        .15242E-05   -.17497E-03
  28  Prefactor     1.0264        .16705       -.77617E-06    .11954E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.423665
  Prefactor  = 0.000100001
  Prefactor  = 23.9099
  Prefactor  = 48.6137
  Prefactor  = 1.44482
  Prefactor  = 0.0001
  Prefactor  = 5.20607
  Prefactor  = 0.0001
  Prefactor  = 6.34903
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.1232
  Prefactor  = 0.0001
  Prefactor  = 1.78411
  norm       = 1.76619
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.91485
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.9236
  Prefactor  = 2.61765
  norm       = 13.6318
  Prefactor  = 0.0001
  Normalizat = 0.920128
  Prefactor  = 1.02635
 **********
 **   18 **HESSE 
 **********

 FCN=   7424.829     FROM HESSE     STATUS=OK           519 CALLS     3997 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    22.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .42367        1.9325        .23732E-03   -1.5578    
   3  Prefactor     .10000E-03    371.69        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.910        44.949        .40956E-03   -1.4730    
   5  Prefactor     48.614        40.145        .57514E-04   -1.4312    
   6  Prefactor     1.4448        2.1667        .15266E-03   -1.5468    
   7  Prefactor     .10000E-03    8.0959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.2061        3.6427        .10210E-03   -1.5252    
   9  Prefactor     .10000E-03    16.041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.3490        40.023        .15947E-03   -1.5204    
  11  Prefactor     .10000E-03    14.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.123        23.400        .76923E-04   -1.4666    
  14  Prefactor     .10000E-03    3.4326        .15584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.7841        16.224        .15660E-02   -1.5441    
  16  norm          1.7662        1.2919        .79502E-04   -1.5442    
  17  Prefactor     .10000E-03    3.6594        .16067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.3391        .97247E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.9795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.9148        3.2412        .13069E-03   -1.5312    
  21  Prefactor     .10000E-03    4.9404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    9.5678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     19.924        13.104        .89738E-04   -1.4815    
  24  Prefactor     2.6177        7.8726        .25212E-03   -1.5384    
  25  norm          13.632        11.216        .10849E-03   -1.4969    
  26  Prefactor     .10000E-03    28.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .92013        .18047        .23572E-03   -.95756    
  28  Prefactor     1.0264        .19592        .25321E-03   -.91856    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07393e-08
Minuit parameter uncertainties:
  1  0.00011782
  2  1.80958
  3  0.00124832
  4  45.0127
  5  40.1678
  6  2.16686
  7  5.20857e-05
  8  3.64287
  9  0.000121119
  10  31.9128
  11  0.000107665
  12  7.55816e-05
  13  23.4074
  14  4.60891e-06
  15  10.7638
  16  1.29195
  17  4.33153e-06
  18  1.12912e-06
  19  1.7993e-05
  20  3.24135
  21  2.23801e-05
  22  2.86026e-05
  23  13.1057
  24  7.8757
  25  11.2179
  26  2.3333e-05
  27  0.180587
  28  0.19606
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.766e+00  1.292e+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.026e+00  1.961e-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.201e-01  1.806e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.40
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.65e-08 +/- 1.94e-08
Energy Flux (Fixed Index): 1.90e-05 +/- 1.39e-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) = 7424.77055064
delta logL = 0.0586108926145

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7424.7694623
delta logL = 0.0596992297678

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5243       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1927       1.0000          .0000       5.0000    
     3 'Normalizat'    .91168       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0322       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=   7424.769     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      229 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5243        27.343        .86481E-03    .19911E-03
   2  alpha         2.1927        3.3740        .25437        .55213E-04
   3  Normalizat    .91168        .84309E-01    .45051E-01   -.52035E-04
   4  Prefactor     1.0322        .67861E-01    .41091E-01    .33148E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.52432
  alpha      = 2.19267
  Normalizat = 0.911675
  Prefactor  = 1.03217
 **********
 **   18 **HESSE 
 **********

 FCN=   7424.769     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5243        1.4971        .34592E-04   -1.5461    
   2  alpha         2.1927        .71783        .13874E-01   -.12324    
   3  Normalizat    .91168        .17367        .23666E-03   -.96051    
   4  Prefactor     1.0322        .19542        .25256E-03   -.91665    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.96675e-09
Minuit parameter uncertainties:
  1  1.49709
  2  0.728247
  3  0.173779
  4  0.195551
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847749': 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) = 7424.7694623
delta logL = 0.0596992300907

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.524e+00  1.497e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.193e+00  7.282e-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.032e+00  1.956e-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.117e-01  1.738e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.50
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.19 +/- 0.73
Photon Flux (Free Index): 3.30e-08 +/- 2.92e-08
Energy Flux (Free Index): 1.54e-05 +/- 1.46e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/847749/cmap_HighResolution_246326401_246585601_4FGL_J1454.4+5124_daily_bin27.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.65e-08', energy_flux2='1.54e-05', photon_flux_error='1.94e-08', dlogl='5.97e-02', energy_flux='1.90e-05', photon_flux2='3.30e-08', job_status='DONE', time_completed='2021-09-10 12:56:10.519905', photon_index_error2='0.73', photon_index2='2.19', ts='4.40', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.46e-05', EG='0.92', time_epoch_completed='1631303770.52', return_code='0', job_id='847749', GAL2='1.03', EG2='0.91', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='2.92e-08', ts2='4.50', photon_index='1.97' WHERE bin_id='27' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:56:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 847749: <4FGL_J1454.4+5124_daily_bin27> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin27 223.625 51.409 246326401 246585601 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 :                                   805.23 sec.
    Max Memory :                                 1224 MB
    Average Memory :                             303.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            905 sec.

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

