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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin586
RA = 223.625, Dec = 51.409
tmin = 391219201, tmax = 391478401
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='849710', job_status='RUN', time_executed='2021-09-10 12:49:29.079713', time_epoch_executed='1631303369.08' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='586'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849710

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849710/ft1_4FGL_J1454.4+5124_daily_bin586.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849710/ft2_4FGL_J1454.4+5124_daily_bin586.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849710/ft1_4FGL_J1454.4+5124_daily_bin586.fits outfile=/scratch/kocevski/849710/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin586.fits ra=223.625 dec=51.409 rad=12.0 tmin=391219201.0 tmax=391478401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.36
user 3.13
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849710/ft1_filtered_4FGL_J1454.4+5124_daily_bin586.fits evtable="EVENTS" scfile=/scratch/kocevski/849710/ft2_4FGL_J1454.4+5124_daily_bin586.fits sctable="SC_DATA" expcube=/scratch/kocevski/849710/ltcube_391219201_391478401_4FGL_J1454.4+5124_daily_bin586.fits outfile=/scratch/kocevski/849710/expmap_391219201_391478401_4FGL_J1454.4+5124_daily_bin586.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/849710/ltcube_391219201_391478401_4FGL_J1454.4+5124_daily_bin586.fits
.....................!
real 191.23
user 185.09
sys 5.78

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/849710/ft1_filtered_4FGL_J1454.4+5124_daily_bin586.fits scfile=/scratch/kocevski/849710/ft2_4FGL_J1454.4+5124_daily_bin586.fits outfile=/scratch/kocevski/849710/cmap_391219201_391478401_4FGL_J1454.4+5124_daily_bin586.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.57
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849710/ft1_filtered_4FGL_J1454.4+5124_daily_bin586.fits scfile=/scratch/kocevski/849710/ft2_4FGL_J1454.4+5124_daily_bin586.fits outfile=/scratch/kocevski/849710/cmap_HighResolution_391219201_391478401_4FGL_J1454.4+5124_daily_bin586.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/849710/ft1_filtered_4FGL_J1454.4+5124_daily_bin586.fits evtable="EVENTS" scfile=/scratch/kocevski/849710/ft2_4FGL_J1454.4+5124_daily_bin586.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/849710/Model_4FGL_J1454.4+5124_daily_bin586.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/849710/ft1_filtered_4FGL_J1454.4+5124_daily_bin586.fits.....................!
real 47.22
user 45.85
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10130E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .22774E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10360E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .22025E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2643       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.1502       1.0000         .10000E-03   10000.    
    10 'Prefactor '    43.792       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10206E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.997       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.482       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.7495       1.0000         .10000E-03   10000.    
    16 'norm      '    .94761       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.7679       1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    16.680       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    15.755       1.0000         .10000E-03   10000.    
    25 'norm      '    6.9792       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1461       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .73045       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=   5794.658     FROM MIGRAD    STATUS=CONVERGED    712 CALLS     3517 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    56.091        .16529E-04** at limit **
   2  norm          .10000E-03    1.8711        .41162E-06** at limit **
   3  Prefactor     .10000E-03    818.24       -.26817E-03** at limit **
   4  Prefactor     .10000E-03    15.077       -.84881E-06** at limit **
   5  Prefactor     .10000E-03    21.140       -.54396E-05** at limit **
   6  Prefactor     .10000E-03    1.3413        .66293E-08** at limit **
   7  Prefactor     .10021E-03    13.247        .18313E-06** at limit **
   8  Prefactor     2.2679        2.7287       -.52297E-05   -.12352E-02
   9  Prefactor     5.1514        16.368       -.56163E-05   -.57234E-04
  10  Prefactor     43.762        30.428        .29241E-04    .12263E-03
  11  Prefactor     .10000E-03    19.457        .51844E-05** at limit **
  12  Prefactor     30.969        26.298        .24864E-04   -.19961E-04
  13  Prefactor     .10000E-03    12.595       -.51503E-07** at limit **
  14  Prefactor     18.490        13.980       -.58403E-05   -.20450E-04
  15  Prefactor     9.7610        16.115       -.32599E-05   -.53117E-04
  16  norm          .94699        1.2223        .16970E-06   -.27639E-04
  17  Prefactor     .10000E-03    6.1607        .29941E-06** at limit **
  18  Prefactor     .10000E-03    2.5673        .14180E-06** at limit **
  19  Prefactor     1.7729        8.3593       -.50929E-05   -.54675E-03
  20  norm          .10000E-03    1.1877        .37289E-07** at limit **
  21  Prefactor     .10000E-03    3.0043        .46601E-08** at limit **
  22  Prefactor     16.691        19.179        .17772E-05   -.32646E-04
  23  Prefactor     .10000E-03    6.0454        .39967E-07** at limit **
  24  Prefactor     15.753        8.7007        .92180E-06    .88854E-05
  25  norm          6.9813        6.9611        .27227E-05   -.81591E-05
  26  Prefactor     .10000E-03    65.877       -.29651E-04** at limit **
  27  Normalizat    1.1459        .17281       -.40073E-05    .34835E-03
  28  Prefactor     .73044        .18216        .32150E-06   -.98525E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100215
  Prefactor  = 2.26792
  Prefactor  = 5.15143
  Prefactor  = 43.7621
  Prefactor  = 0.0001
  Prefactor  = 30.9691
  Prefactor  = 0.0001
  Prefactor  = 18.4899
  Prefactor  = 9.76099
  norm       = 0.946992
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.77292
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.6913
  Prefactor  = 0.0001
  Prefactor  = 15.7528
  norm       = 6.98134
  Prefactor  = 0.0001
  Normalizat = 1.14591
  Prefactor  = 0.730436
 **********
 **   18 **HESSE 
 **********

 FCN=   5794.658     FROM HESSE     STATUS=OK           519 CALLS     4036 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    56.145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    7.0031        .20042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    816.23        .18150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    21.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.3456        .86087E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10021E-03    88.916        .52500E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.2679        2.6993        .11685E-03   -1.5407    
   9  Prefactor     5.1514        16.326        .17715E-03   -1.5254    
  10  Prefactor     43.762        30.354        .60582E-04   -1.4384    
  11  Prefactor     .10000E-03    19.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     30.969        26.194        .71966E-04   -1.4594    
  13  Prefactor     .10000E-03    12.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.490        13.962        .93165E-04   -1.4848    
  15  Prefactor     9.7610        15.939        .12834E-03   -1.5083    
  16  norm          .94699        1.0792        .90506E-03   -1.5513    
  17  Prefactor     .10000E-03    6.1984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.5998        .11905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.7729        8.4421        .31500E-03   -1.5442    
  20  norm          .10000E-03    1.2023        .80995E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.0153        .12879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     16.691        19.159        .98066E-04   -1.4891    
  23  Prefactor     .10000E-03    6.0655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     15.753        8.6981        .10091E-03   -1.4914    
  25  norm          6.9813        6.9570        .15186E-03   -1.5179    
  26  Prefactor     .10000E-03    65.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1459        .19897        .20718E-03   -.88291    
  28  Prefactor     .73044        .21282        .28483E-03   -1.0235    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.1082e-09
Minuit parameter uncertainties:
  1  2.01829e-05
  2  0.000105403
  3  0.00157049
  4  2.22283e-05
  5  2.86092e-06
  6  1.56513e-06
  7  0.0087518
  8  2.69948
  9  16.3404
  10  30.3649
  11  2.78582e-06
  12  26.2039
  13  1.84775e-05
  14  13.9649
  15  15.946
  16  1.07925
  17  6.90983e-05
  18  2.05808e-05
  19  7.73903
  20  2.22753e-06
  21  2.58971e-07
  22  19.1657
  23  2.55215e-06
  24  8.69876
  25  6.95781
  26  0.000105966
  27  0.199104
  28  0.213058
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  9.470e-01  1.079e+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:  7.304e-01  2.131e-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:  1.146e+00  1.991e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.33
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.42e-08 +/- 1.62e-08
Energy Flux (Fixed Index): 1.02e-05 +/- 1.16e-05

TS (Fixed Index): 1.33
Ra Dec: 223.625 51.409
Photon Flux Upper Limit: 5.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.13e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/849710/likelihoodResults_391219201_391478401_4FGL_J1454.4+5124_daily_bin586.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): 0
logL (Free Index) = 5794.61205936
delta logL = 0.0459223049002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5794.6087647
delta logL = 0.0492169647696

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0326       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7277       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1494       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72833       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=   5794.609     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      232 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0339        40.036        .19870E-01    .38657E-03
   2  alpha         1.7290        2.6578        .43958        .11906E-05
   3  Normalizat    1.1493        .47580E-01    .36272E-01    .19338E-05
   4  Prefactor     .72843        .50664E-01    .64465E-01    .23476E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.03392
  alpha      = 1.72898
  Normalizat = 1.14926
  Prefactor  = 0.728431
 **********
 **   18 **HESSE 
 **********

 FCN=   5794.609     FROM HESSE     STATUS=OK            35 CALLS      267 TOTAL
                     EDM=   .76E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0339        1.1642        .94706E-03   -1.5505    
   2  alpha         1.7290        .72995        .17775E-01   -.31352    
   3  Normalizat    1.1493        .18688        .20694E-03   -.88186    
   4  Prefactor     .72843        .21051        .28519E-03   -1.0242    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.55093e-13
Minuit parameter uncertainties:
  1  1.16421
  2  0.741922
  3  0.186991
  4  0.210745
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849710': 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) = 5794.60876242
delta logL = 0.0492192434876

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.034e+00  1.164e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.729e+00  7.419e-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:  7.284e-01  2.107e-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:  1.149e+00  1.870e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.43
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.73 +/- 0.74
Photon Flux (Free Index): 1.12e-08 +/- 1.55e-08
Energy Flux (Free Index): 1.42e-05 +/- 2.27e-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/849710/cmap_HighResolution_391219201_391478401_4FGL_J1454.4+5124_daily_bin586.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.13e-05', comment='SUCCESS', photon_flux='1.42e-08', energy_flux2='1.42e-05', photon_flux_error='1.62e-08', dlogl='4.92e-02', energy_flux='1.02e-05', photon_flux2='1.12e-08', job_status='DONE', time_completed='2021-09-10 13:03:07.609978', photon_index_error2='0.74', photon_index2='1.73', ts='1.33', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', photon_flux_upper_limit='5.77e-08', energy_flux_error2='2.27e-05', EG='1.15', time_epoch_completed='1631304187.61', return_code='0', job_id='849710', GAL2='0.73', EG2='1.15', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='1.55e-08', ts2='1.43', photon_index='1.97' WHERE bin_id='586' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:03:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 849710: <4FGL_J1454.4+5124_daily_bin586> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin586 223.625 51.409 391219201 391478401 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 :                                   818.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             289.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            997 sec.

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

