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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin106
RA = 223.625, Dec = 51.409
tmin = 266803201, tmax = 267062401
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='847865', job_status='RUN', time_executed='2021-09-10 12:43:26.122568', time_epoch_executed='1631303006.12' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='106'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847865

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847865/ft1_4FGL_J1454.4+5124_daily_bin106.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847865/ft2_4FGL_J1454.4+5124_daily_bin106.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847865/ft1_4FGL_J1454.4+5124_daily_bin106.fits outfile=/scratch/kocevski/847865/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin106.fits ra=223.625 dec=51.409 rad=12.0 tmin=266803201.0 tmax=267062401.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.98
user 1.77
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/847865/ft2_4FGL_J1454.4+5124_daily_bin106.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/847865/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin106.fits evtable="EVENTS" outfile="/scratch/kocevski/847865/ft1_filtered_4FGL_J1454.4+5124_daily_bin106.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.32
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847865/ft1_filtered_4FGL_J1454.4+5124_daily_bin106.fits evtable="EVENTS" scfile=/scratch/kocevski/847865/ft2_4FGL_J1454.4+5124_daily_bin106.fits sctable="SC_DATA" expcube=/scratch/kocevski/847865/ltcube_266803201_267062401_4FGL_J1454.4+5124_daily_bin106.fits outfile=/scratch/kocevski/847865/expmap_266803201_267062401_4FGL_J1454.4+5124_daily_bin106.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/847865/ltcube_266803201_267062401_4FGL_J1454.4+5124_daily_bin106.fits
.....................!
real 190.73
user 186.38
sys 3.87

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/847865/ft1_filtered_4FGL_J1454.4+5124_daily_bin106.fits scfile=/scratch/kocevski/847865/ft2_4FGL_J1454.4+5124_daily_bin106.fits outfile=/scratch/kocevski/847865/cmap_266803201_267062401_4FGL_J1454.4+5124_daily_bin106.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847865/ft1_filtered_4FGL_J1454.4+5124_daily_bin106.fits scfile=/scratch/kocevski/847865/ft2_4FGL_J1454.4+5124_daily_bin106.fits outfile=/scratch/kocevski/847865/cmap_HighResolution_266803201_267062401_4FGL_J1454.4+5124_daily_bin106.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.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10126E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .76480E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14126E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    57.527       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .45036E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.985       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.9594       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    36.083       1.0000         .10000E-03   10000.    
    12 'Prefactor '    44.793       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.4917       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.5442       1.0000         .10000E-03   10000.    
    19 'Prefactor '    31.629       1.0000         .10000E-03   10000.    
    20 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.0790       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.0486       1.0000         .10000E-03   10000.    
    24 'Prefactor '    13.522       1.0000         .10000E-03   10000.    
    25 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .17634E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .88411       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .89933       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=   4941.881     FROM MIGRAD    STATUS=CONVERGED    692 CALLS     3561 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    29.528        .16609E-06** at limit **
   2  norm          .10021E-03    3.4777       -.42142E-05** at limit **
   3  Prefactor     .10000E-03    183.05        .20270E-06** at limit **
   4  Prefactor     .10000E-03    49.854        .76350E-06** at limit **
   5  Prefactor     57.446        41.484       -.20915E-05    .14165E-03
   6  Prefactor     .10000E-03    44.379       -.18941E-04** at limit **
   7  Prefactor     15.947        24.815       -.19510E-05   -.88484E-05
   8  Prefactor     4.9590        2.5694       -.14618E-06    .36669E-03
   9  Prefactor     .10000E-03    8.7591        .44261E-07** at limit **
  10  Prefactor     .10000E-03    11.428       -.17950E-08** at limit **
  11  Prefactor     36.116        56.468       -.98487E-06   -.12975E-04
  12  Prefactor     44.793        34.174       -.78462E-06    .45985E-04
  13  Prefactor     5.4909        28.449       -.11860E-05    .67115E-05
  14  Prefactor     .10000E-03    6.8792       -.39099E-06** at limit **
  15  Prefactor     .10000E-03    4.4074        .31230E-07** at limit **
  16  norm          .10000E-03    .38448       -.88541E-08** at limit **
  17  Prefactor     .10000E-03    7.7252        .95389E-07** at limit **
  18  Prefactor     3.5447        5.6020       -.73961E-06    .31580E-04
  19  Prefactor     31.630        13.154       -.35153E-06    .12766E-03
  20  norm          .10000E-03    2.5721       -.21126E-06** at limit **
  21  Prefactor     1.0621        17.453        .62083E-05    .98011E-04
  22  Prefactor     .10000E-03    15.005        .11496E-05** at limit **
  23  Prefactor     9.0881        16.373       -.61461E-05    .17136E-04
  24  Prefactor     13.523        8.4977        .84228E-07    .62709E-05
  25  norm          .10000E-03    14.650        .33718E-06** at limit **
  26  Prefactor     .10003E-03    6400.8        .56357E-04** at limit **
  27  Normalizat    .88410        .19811        .18594E-05    .10608E-03
  28  Prefactor     .89934        .19919        .12566E-05    .39219E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.000100207
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 57.4464
  Prefactor  = 0.000100004
  Prefactor  = 15.9467
  Prefactor  = 4.959
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.1165
  Prefactor  = 44.7926
  Prefactor  = 5.49088
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.54472
  Prefactor  = 31.6297
  norm       = 0.0001
  Prefactor  = 1.06211
  Prefactor  = 0.0001
  Prefactor  = 9.08812
  Prefactor  = 13.5232
  norm       = 0.000100001
  Prefactor  = 0.000100034
  Normalizat = 0.884097
  Prefactor  = 0.899341
 **********
 **   18 **HESSE 
 **********

 FCN=   4941.881     FROM HESSE     STATUS=OK           525 CALLS     4086 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    29.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10021E-03    2.8730        .33479E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    183.06        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    50.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     57.446        40.367        .26446E-03   -1.4191    
   6  Prefactor     .10000E-03    45.090        .25246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.947        24.047        .10018E-03   -1.4909    
   8  Prefactor     4.9590        2.5678        .77794E-04   -1.5263    
   9  Prefactor     .10000E-03    8.7666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     36.116        56.391        .66717E-04   -1.4505    
  12  Prefactor     44.793        34.294        .59904E-04   -1.4368    
  13  Prefactor     5.4909        28.429        .17146E-03   -1.5239    
  14  Prefactor     .10000E-03    6.8945        .18011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.4124        .14413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .38637        .42571E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.7549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.5447        5.5978        .20105E-03   -1.5331    
  19  Prefactor     31.630        13.284        .71246E-04   -1.4583    
  20  norm          .10000E-03    2.5974        .10978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.0621        17.921        .46439E-03   -1.5502    
  22  Prefactor     .10000E-03    15.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.0881        16.460        .13324E-03   -1.5105    
  24  Prefactor     13.523        8.4919        .10893E-03   -1.4972    
  25  norm          .10000E-03    15.055        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10003E-03    6390.9        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .88410        .23370        .23498E-03   -.97021    
  28  Prefactor     .89934        .23793        .25969E-03   -.96164    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29281e-09
Minuit parameter uncertainties:
  1  7.75959e-05
  2  0.00154244
  3  0.000268343
  4  0.000299813
  5  40.3864
  6  0.00087001
  7  24.0614
  8  2.56787
  9  2.082e-05
  10  3.93587e-05
  11  56.4741
  12  34.3093
  13  25.0066
  14  3.34624e-05
  15  1.02676e-05
  16  2.99001e-06
  17  4.8797e-05
  18  5.5986
  19  13.2856
  20  1.90112e-05
  21  8.72833
  22  0.00013881
  23  16.4683
  24  8.49267
  25  0.000222401
  26  0.0206028
  27  0.233965
  28  0.238201
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  2.990e-06  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.993e-01  2.382e-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:  8.841e-01  2.340e-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.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.32e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/847865/likelihoodResults_266803201_267062401_4FGL_J1454.4+5124_daily_bin106.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) = 4941.88106078
delta logL = -1.85981934919e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4941.88105644
delta logL = 2.47822663368e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10093E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9281       1.0000          .0000       5.0000    
     3 'Normalizat'    .88425       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89926       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=   4941.881     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      204 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.4360        .90712E-02** at limit **
   2  alpha         1.4783        3.0983        .42602       -.49859E-06
   3  Normalizat    .88410        .19527E-01    .44700E-01    .42529E-04
   4  Prefactor     .89933        .21871E-01    .44996E-01   -.34958E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.47828
  Normalizat = 0.884103
  Prefactor  = 0.899334
 **********
 **   18 **HESSE 
 **********

 FCN=   4941.881     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      237 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    94.208        .47608E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4783        3.8029        .50000       -.42102    
   3  Normalizat    .88410        .93750E-01    .23498E-03   -.97021    
   4  Prefactor     .89933        .10501        .25969E-03   -.96164    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.54505e-09
Minuit parameter uncertainties:
  1  0.000248281
  2  742.958
  3  0.0937677
  4  0.10503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847865': 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): 102
logL (Free Index) = 4941.88103307
delta logL = 2.58508707702e-05

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  2.483e-04  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.478e+00  7.430e+02  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.993e-01  1.050e-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:  8.841e-01  9.377e-02  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/847865/cmap_HighResolution_266803201_267062401_4FGL_J1454.4+5124_daily_bin106.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.32e-05', job_status='DONE', photon_flux_upper_limit='3.24e-08', time_completed='2021-09-10 12:55:24.224168', job_id='847865', GAL2='0.90', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1631303724.22', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.59e-05', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='106' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:55:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 847865: <4FGL_J1454.4+5124_daily_bin106> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin106 223.625 51.409 266803201 267062401 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 :                                   716.29 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             259.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            850 sec.

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

