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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin16
RA = 223.625, Dec = 51.409
tmin = 243475201, tmax = 243734401
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='847734', job_status='RUN', time_executed='2021-09-10 12:43:39.588139', time_epoch_executed='1631303019.59' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='16'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847734

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847734/ft1_4FGL_J1454.4+5124_daily_bin16.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847734/ft2_4FGL_J1454.4+5124_daily_bin16.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847734/ft1_4FGL_J1454.4+5124_daily_bin16.fits outfile=/scratch/kocevski/847734/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin16.fits ra=223.625 dec=51.409 rad=12.0 tmin=243475201.0 tmax=243734401.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.40
user 1.19
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/847734/ft2_4FGL_J1454.4+5124_daily_bin16.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/847734/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin16.fits evtable="EVENTS" outfile="/scratch/kocevski/847734/ft1_filtered_4FGL_J1454.4+5124_daily_bin16.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/847734/ft1_filtered_4FGL_J1454.4+5124_daily_bin16.fits" evtable="EVENTS" scfile=/scratch/kocevski/847734/ft2_4FGL_J1454.4+5124_daily_bin16.fits sctable="SC_DATA" outfile=/scratch/kocevski/847734/ltcube_243475201_243734401_4FGL_J1454.4+5124_daily_bin16.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/847734/ft2_4FGL_J1454.4+5124_daily_bin16.fits
.....................!
real 12.35
user 12.00
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847734/ft1_filtered_4FGL_J1454.4+5124_daily_bin16.fits evtable="EVENTS" scfile=/scratch/kocevski/847734/ft2_4FGL_J1454.4+5124_daily_bin16.fits sctable="SC_DATA" expcube=/scratch/kocevski/847734/ltcube_243475201_243734401_4FGL_J1454.4+5124_daily_bin16.fits outfile=/scratch/kocevski/847734/expmap_243475201_243734401_4FGL_J1454.4+5124_daily_bin16.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/847734/ltcube_243475201_243734401_4FGL_J1454.4+5124_daily_bin16.fits
.....................!
real 190.42
user 185.12
sys 4.86

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/847734/ft1_filtered_4FGL_J1454.4+5124_daily_bin16.fits scfile=/scratch/kocevski/847734/ft2_4FGL_J1454.4+5124_daily_bin16.fits outfile=/scratch/kocevski/847734/cmap_243475201_243734401_4FGL_J1454.4+5124_daily_bin16.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.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    25.234       1.0000         .10000E-03   10000.    
     2 'norm      '    .35526       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .31014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.748       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.6397       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.4149       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    38.675       1.0000         .10000E-03   10000.    
    16 'norm      '    1.5876       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10892E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.9480       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.1929       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    14.920       1.0000         .10000E-03   10000.    
    24 'Prefactor '    10.267       1.0000         .10000E-03   10000.    
    25 'norm      '    6.6204       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0643       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .97626       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=   5807.836     FROM MIGRAD    STATUS=CONVERGED    681 CALLS     3510 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          25.230        48.490        .60868E-06   -.32947E-05
   2  norm          .35729        2.3966        .37146E-06   -.14471E-03
   3  Prefactor     .10000E-03    305.85        .12078E-04** at limit **
   4  Prefactor     .10000E-03    25.395       -.25930E-06** at limit **
   5  Prefactor     30.739        38.984        .14078E-05    .31287E-04
   6  Prefactor     .10000E-03    1.5302       -.79184E-07** at limit **
   7  Prefactor     7.6510        21.129        .22253E-06   -.11037E-04
   8  Prefactor     .10000E-03    .95881        .10259E-06** at limit **
   9  Prefactor     .10000E-03    12.339       -.51373E-07** at limit **
  10  Prefactor     .10000E-03    50.798       -.45966E-05** at limit **
  11  Prefactor     .10000E-03    99.814        .38422E-05** at limit **
  12  Prefactor     9.4266        27.031       -.32197E-06   -.12979E-04
  13  Prefactor     .10000E-03    21.823       -.27682E-05** at limit **
  14  Prefactor     .10000E-03    16.316        .99395E-06** at limit **
  15  Prefactor     38.680        22.768       -.31528E-06   -.91634E-04
  16  norm          1.5874        1.5312        .34498E-07    .72068E-04
  17  Prefactor     .10006E-03    7.7171       -.47418E-05** at limit **
  18  Prefactor     .10000E-03    3.1287        .40602E-07** at limit **
  19  Prefactor     .10000E-03    2.4735       -.37721E-08** at limit **
  20  norm          1.9419        4.5946        .62806E-05    .39341E-03
  21  Prefactor     2.2188        29.722       -.49584E-05    .13282E-03
  22  Prefactor     .10000E-03    9.3603       -.92696E-07** at limit **
  23  Prefactor     14.911        17.436       -.11429E-05   -.35260E-03
  24  Prefactor     10.269        8.4950        .35128E-07   -.47233E-05
  25  norm          6.6211        7.2624       -.50437E-07   -.40416E-05
  26  Prefactor     .10000E-03    32.923        .32684E-05** at limit **
  27  Normalizat    1.0640        .18369        .20641E-06    .30641E-04
  28  Prefactor     .97637        .19936       -.14101E-05    .58539E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 25.2302
  norm       = 0.357291
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 30.7386
  Prefactor  = 0.0001
  Prefactor  = 7.65104
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 9.42664
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.6797
  norm       = 1.58744
  Prefactor  = 0.000100062
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.94191
  Prefactor  = 2.21881
  Prefactor  = 0.0001
  Prefactor  = 14.9109
  Prefactor  = 10.2687
  norm       = 6.62109
  Prefactor  = 0.0001
  Normalizat = 1.06399
  Prefactor  = 0.976369
 **********
 **   18 **HESSE 
 **********

 FCN=   5807.836     FROM HESSE     STATUS=OK           523 CALLS     4033 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          25.230        48.451        .79745E-04   -1.4703    
   2  norm          .35729        4.6880        .22505E-02   -1.5588    
   3  Prefactor     .10000E-03    305.65        .21376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    25.418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     30.739        39.028        .72257E-04   -1.4599    
   6  Prefactor     .10000E-03    1.5318        .92036E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.6510        21.155        .14509E-03   -1.5155    
   8  Prefactor     .10000E-03    .98342        .14565E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    51.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    100.29        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.4266        27.043        .13061E-03   -1.5094    
  13  Prefactor     .10000E-03    21.840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     38.680        22.709        .64450E-04   -1.4463    
  16  norm          1.5874        1.5203        .86633E-04   -1.5456    
  17  Prefactor     .10006E-03    27.883        .36148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.1389        .13154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.4796        .11701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.9419        4.7134        .10344E-02   -1.5429    
  21  Prefactor     2.2188        27.942        .27791E-03   -1.5410    
  22  Prefactor     .10000E-03    9.3704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     14.911        16.741        .10369E-03   -1.4935    
  24  Prefactor     10.269        8.4910        .12505E-03   -1.5067    
  25  norm          6.6211        7.2591        .15596E-03   -1.5193    
  26  Prefactor     .10000E-03    32.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0640        .21500        .22784E-03   -.90916    
  28  Prefactor     .97637        .23288        .26982E-03   -.93521    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14878e-08
Minuit parameter uncertainties:
  1  48.5266
  2  2.58831
  3  0.00108902
  4  2.98638e-05
  5  39.0604
  6  6.62002e-06
  7  21.1759
  8  6.99089e-06
  9  3.92657e-05
  10  0.000462768
  11  6.82513e-05
  12  27.0785
  13  2.85707e-05
  14  2.14306e-06
  15  22.7143
  16  1.52037
  17  0.00263421
  18  5.17698e-06
  19  6.92902e-06
  20  4.7143
  21  15.7565
  22  1.86617e-05
  23  16.7467
  24  8.492
  25  7.26003
  26  0.000100032
  27  0.215181
  28  0.233119
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.587e+00  1.520e+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:  9.764e-01  2.331e-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.064e+00  2.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.86
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.39e-08 +/- 2.28e-08
Energy Flux (Fixed Index): 1.71e-05 +/- 1.64e-05

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

Saving results to:
/scratch/kocevski/847734/likelihoodResults_243475201_243734401_4FGL_J1454.4+5124_daily_bin16.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) = 5807.54525726
delta logL = 0.291031927231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5807.53531489
delta logL = 0.300974293061

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .99637       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6477       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0354       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99437       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=   5807.535     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      254 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .99781        12.754        .12627E-01    .10183E-02
   2  alpha         2.6478        3.8119        .22642        .92986E-04
   3  Normalizat    1.0354        .48418E-01    .41658E-01   -.28361E-04
   4  Prefactor     .99441        .51355E-01    .46197E-01   -.24506E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.997809
  alpha      = 2.64778
  Normalizat = 1.03542
  Prefactor  = 0.994406
 **********
 **   18 **HESSE 
 **********

 FCN=   5807.535     FROM HESSE     STATUS=OK            33 CALLS      287 TOTAL
                     EDM=   .64E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .99781        1.6629        .56541E-04   -1.5508    
   2  alpha         2.6478        1.0591        .11782E-01    .59148E-01
   3  Normalizat    1.0354        .20796        .23036E-03   -.91853    
   4  Prefactor     .99441        .23339        .26748E-03   -.92916    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.43467e-11
Minuit parameter uncertainties:
  1  1.66295
  2  1.09374
  3  0.208124
  4  0.233626
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847734': 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) = 5807.5353129
delta logL = 0.300976285611

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  9.978e-01  1.663e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.648e+00  1.094e+00  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:  9.944e-01  2.336e-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.035e+00  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.47
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.65 +/- 1.09
Photon Flux (Free Index): 5.01e-08 +/- 5.07e-08
Energy Flux (Free Index): 1.35e-05 +/- 1.10e-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/847734/cmap_HighResolution_243475201_243734401_4FGL_J1454.4+5124_daily_bin16.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.78e-05', comment='SUCCESS', photon_flux='2.39e-08', energy_flux2='1.35e-05', photon_flux_error='2.28e-08', dlogl='3.01e-01', energy_flux='1.71e-05', photon_flux2='5.01e-08', job_status='DONE', time_completed='2021-09-10 12:56:59.009571', photon_index_error2='1.09', photon_index2='2.65', ts='2.86', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='8.08e-08', energy_flux_error2='1.10e-05', EG='1.06', time_epoch_completed='1631303819.01', return_code='0', job_id='847734', GAL2='0.99', EG2='1.04', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='5.07e-08', ts2='3.47', photon_index='1.97' WHERE bin_id='16' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:56:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 847734: <4FGL_J1454.4+5124_daily_bin16> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin16 223.625 51.409 243475201 243734401 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 :                                   800.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             292.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   953 sec.
    Turnaround time :                            954 sec.

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

