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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin600
RA = 223.625, Dec = 51.409
tmin = 394848001, tmax = 395107201
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='849732', job_status='RUN', time_executed='2021-09-10 12:49:18.379374', time_epoch_executed='1631303358.38' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='600'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849732

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849732/ft1_4FGL_J1454.4+5124_daily_bin600.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849732/ft2_4FGL_J1454.4+5124_daily_bin600.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849732/ft1_4FGL_J1454.4+5124_daily_bin600.fits outfile=/scratch/kocevski/849732/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin600.fits ra=223.625 dec=51.409 rad=12.0 tmin=394848001.0 tmax=395107201.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 5.27
user 4.98
sys 0.26

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849732/ft1_filtered_4FGL_J1454.4+5124_daily_bin600.fits evtable="EVENTS" scfile=/scratch/kocevski/849732/ft2_4FGL_J1454.4+5124_daily_bin600.fits sctable="SC_DATA" expcube=/scratch/kocevski/849732/ltcube_394848001_395107201_4FGL_J1454.4+5124_daily_bin600.fits outfile=/scratch/kocevski/849732/expmap_394848001_395107201_4FGL_J1454.4+5124_daily_bin600.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/849732/ltcube_394848001_395107201_4FGL_J1454.4+5124_daily_bin600.fits
.....................!
real 190.27
user 185.02
sys 4.77

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/849732/ft1_filtered_4FGL_J1454.4+5124_daily_bin600.fits scfile=/scratch/kocevski/849732/ft2_4FGL_J1454.4+5124_daily_bin600.fits outfile=/scratch/kocevski/849732/cmap_394848001_395107201_4FGL_J1454.4+5124_daily_bin600.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.52
user 0.36
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .21234E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.5993       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.2403       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.9023       1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.372       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .43663       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10771E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.363       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.192       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.9092       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.5684       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0474       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .86980       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=   5927.882     FROM MIGRAD    STATUS=CONVERGED    699 CALLS     3463 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    27.111        .73991E-06** at limit **
   2  norm          .10000E-03    2.0572       -.16049E-06** at limit **
   3  Prefactor     .10011E-03    181.39       -.34800E-04** at limit **
   4  Prefactor     .10000E-03    211.68        .70108E-05** at limit **
   5  Prefactor     .10000E-03    40.349        .53539E-05** at limit **
   6  Prefactor     4.6006        5.1410        .58300E-06    .77102E-03
   7  Prefactor     .10000E-03    36.337       -.53161E-05** at limit **
   8  Prefactor     4.2463        3.1701       -.16541E-06   -.29649E-03
   9  Prefactor     .10000E-03    9.0902       -.22926E-08** at limit **
  10  Prefactor     6.8951        20.105       -.98261E-06   -.35954E-04
  11  Prefactor     24.381        43.926       -.17871E-05   -.45768E-04
  12  Prefactor     .34202        448.89       -.13302E-03    .30766E-04
  13  Prefactor     .10000E-03    11.841       -.54356E-07** at limit **
  14  Prefactor     .10000E-03    10.002        .35646E-06** at limit **
  15  Prefactor     10.362        12.091       -.30569E-05    .69846E-03
  16  norm          .10000E-03    .37298        .25214E-06** at limit **
  17  Prefactor     20.185        11.249       -.26859E-06    .60757E-04
  18  Prefactor     5.9081        5.5122       -.28480E-07    .21997E-03
  19  Prefactor     .10000E-03    4.5435       -.11386E-06** at limit **
  20  norm          .10000E-03    .96860        .11554E-07** at limit **
  21  Prefactor     .10000E-03    4.9576        .36230E-06** at limit **
  22  Prefactor     2.5581        27.188       -.32235E-05    .44190E-04
  23  Prefactor     .10000E-03    6.3548        .59332E-06** at limit **
  24  Prefactor     .10000E-03    3.5899       -.14558E-06** at limit **
  25  norm          .10000E-03    3.8811       -.14414E-06** at limit **
  26  Prefactor     .10000E-03    60.000        .56606E-06** at limit **
  27  Normalizat    1.0475        .16278        .22934E-05    .10298E-03
  28  Prefactor     .86984        .17941        .20316E-06    .82622E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.00010011
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 4.60064
  Prefactor  = 0.000100004
  Prefactor  = 4.24629
  Prefactor  = 0.0001
  Prefactor  = 6.89511
  Prefactor  = 24.3808
  Prefactor  = 0.342024
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 10.3623
  norm       = 0.0001
  Prefactor  = 20.1851
  Prefactor  = 5.90807
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.55809
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.04754
  Prefactor  = 0.869838
 **********
 **   18 **HESSE 
 **********

 FCN=   5927.882     FROM HESSE     STATUS=OK           521 CALLS     3984 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    27.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.0924        .10778E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10011E-03    190.03        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    214.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    40.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.6006        5.1897        .17952E-03   -1.5279    
   7  Prefactor     .10000E-03    37.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.2463        3.1565        .10218E-03   -1.5296    
   9  Prefactor     .10000E-03    9.1012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8951        20.020        .15271E-03   -1.5183    
  11  Prefactor     24.381        43.929        .81139E-04   -1.4720    
  12  Prefactor     .34202        29.969        .10378       -1.5591    
  13  Prefactor     .10000E-03    11.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.362        12.424        .62234E-03   -1.5064    
  16  norm          .10000E-03    .37611        .45963E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.185        11.256        .89134E-04   -1.4809    
  18  Prefactor     5.9081        5.5059        .16515E-03   -1.5222    
  19  Prefactor     .10000E-03    4.5869        .15997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .97291        .73983E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.0835        .33432E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.5581        27.209        .25471E-03   -1.5388    
  23  Prefactor     .10000E-03    6.4019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    3.6148        .14246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    3.9075        .14813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    60.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0475        .18991        .21236E-03   -.91454    
  28  Prefactor     .86984        .20951        .26249E-03   -.97203    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.59428e-09
Minuit parameter uncertainties:
  1  6.96754e-05
  2  1.3531e-05
  3  0.00915438
  4  0.000247603
  5  0.000385282
  6  5.19024
  7  0.000752087
  8  3.15658
  9  3.55566e-06
  10  20.0399
  11  43.9869
  12  6.40558
  13  6.18479e-06
  14  0.000152232
  15  12.427
  16  1.09253e-05
  17  11.2569
  18  5.50634
  19  1.66748e-05
  20  2.65578e-06
  21  5.90892e-05
  22  16.6949
  23  0.000101948
  24  1.37188e-05
  25  1.34952e-05
  26  2.51075e-05
  27  0.19003
  28  0.209699
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  1.093e-05  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.698e-01  2.097e-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.048e+00  1.900e-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.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.21e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/849732/likelihoodResults_394848001_395107201_4FGL_J1454.4+5124_daily_bin600.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) = 5927.88241092
delta logL = -2.26642550842e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5927.88238827
delta logL = -1.45828380482e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9581       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0475       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86990       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=   5927.882     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      221 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .43457        .46041E-03** at limit **
   2  alpha         1.7776        3.5517        .16978       -.77541E-07
   3  Normalizat    1.0475        .18237        .21236E-03    .35834E-03
   4  Prefactor     .86984        .20833        .26249E-03    .30224E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.77757
  Normalizat = 1.04754
  Prefactor  = 0.869838
 **********
 **   18 **HESSE 
 **********

 FCN=   5927.882     FROM HESSE     STATUS=OK            25 CALLS      246 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .38390        .92082E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7776        3.0005        .67912E-02   -.29315    
   3  Normalizat    1.0475        .18253        .42472E-04   -.91454    
   4  Prefactor     .86984        .20851        .52499E-04   -.97203    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32114e-10
Minuit parameter uncertainties:
  1  2.767e-06
  2  80.1861
  3  0.182637
  4  0.208704
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849732': 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) = 5927.88238556
delta logL = 2.69462452707e-06

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  2.767e-06  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.778e+00  8.019e+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.698e-01  2.087e-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.048e+00  1.826e-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/849732/cmap_HighResolution_394848001_395107201_4FGL_J1454.4+5124_daily_bin600.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.21e-05', job_status='DONE', photon_flux_upper_limit='3.09e-08', time_completed='2021-09-10 13:02:52.066770', job_id='849732', GAL2='0.87', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1631304172.07', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='2.69e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='600' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:02:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 849732: <4FGL_J1454.4+5124_daily_bin600> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin600> 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) <bullet0055>, 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:02:52 2021
Results reported at Fri Sep 10 13:02:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin600 223.625 51.409 394848001 395107201 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 :                                   811.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             286.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            980 sec.

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

