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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin720
RA = 223.625, Dec = 51.409
tmin = 425952001, tmax = 426211201
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='850943', job_status='RUN', time_executed='2021-09-10 12:53:19.241017', time_epoch_executed='1631303599.24' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='720'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850943

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850943/ft1_4FGL_J1454.4+5124_daily_bin720.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850943/ft2_4FGL_J1454.4+5124_daily_bin720.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850943/ft1_4FGL_J1454.4+5124_daily_bin720.fits outfile=/scratch/kocevski/850943/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin720.fits ra=223.625 dec=51.409 rad=12.0 tmin=425952001.0 tmax=426211201.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.74
user 3.41
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/850943/ft1_filtered_4FGL_J1454.4+5124_daily_bin720.fits" evtable="EVENTS" scfile=/scratch/kocevski/850943/ft2_4FGL_J1454.4+5124_daily_bin720.fits sctable="SC_DATA" outfile=/scratch/kocevski/850943/ltcube_425952001_426211201_4FGL_J1454.4+5124_daily_bin720.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/850943/ft2_4FGL_J1454.4+5124_daily_bin720.fits
.....................!
real 11.84
user 11.50
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850943/ft1_filtered_4FGL_J1454.4+5124_daily_bin720.fits evtable="EVENTS" scfile=/scratch/kocevski/850943/ft2_4FGL_J1454.4+5124_daily_bin720.fits sctable="SC_DATA" expcube=/scratch/kocevski/850943/ltcube_425952001_426211201_4FGL_J1454.4+5124_daily_bin720.fits outfile=/scratch/kocevski/850943/expmap_425952001_426211201_4FGL_J1454.4+5124_daily_bin720.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/850943/ltcube_425952001_426211201_4FGL_J1454.4+5124_daily_bin720.fits
.....................!
real 190.92
user 185.71
sys 4.83

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/850943/ft1_filtered_4FGL_J1454.4+5124_daily_bin720.fits scfile=/scratch/kocevski/850943/ft2_4FGL_J1454.4+5124_daily_bin720.fits outfile=/scratch/kocevski/850943/cmap_425952001_426211201_4FGL_J1454.4+5124_daily_bin720.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=223.625 yref=51.409 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13813E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10341E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.5395       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.4777       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .21080E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.734       1.0000         .10000E-03   10000.    
    10 'Prefactor '    41.215       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    42.309       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.2749       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    5.0981       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.4642       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.0577       1.0000         .10000E-03   10000.    
    20 'norm      '    1.8138       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .36489E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .12649E-01   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .51731E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .43908E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    22.110       1.0000         .10000E-03   10000.    
    26 'Prefactor '    67.253       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .93464       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0536       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=   6402.170     FROM MIGRAD    STATUS=CONVERGED    745 CALLS     3642 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    32.790       -.74059E-07** at limit **
   2  norm          .10000E-03    2.3899       -.37921E-06** at limit **
   3  Prefactor     .10000E-03    226.42        .42125E-06** at limit **
   4  Prefactor     .10000E-03    94.783       -.23933E-05** at limit **
   5  Prefactor     9.5383        27.043       -.51539E-06    .38042E-04
   6  Prefactor     6.4776        4.3293       -.33171E-07    .52753E-04
   7  Prefactor     .10000E-03    6.0320       -.15063E-06** at limit **
   8  Prefactor     .10001E-03    1.5856       -.79253E-06** at limit **
   9  Prefactor     10.731        23.357        .66723E-06    .61666E-04
  10  Prefactor     41.198        29.748        .16747E-05    .25136E-03
  11  Prefactor     .10000E-03    46.369       -.43812E-06** at limit **
  12  Prefactor     .10000E-03    44.477       -.28071E-06** at limit **
  13  Prefactor     42.310        35.969       -.12895E-06    .26724E-04
  14  Prefactor     9.2747        13.752       -.22711E-06    .35801E-04
  15  Prefactor     .10000E-03    11.403        .55777E-06** at limit **
  16  norm          5.0981        1.9400       -.49286E-07    .13053E-03
  17  Prefactor     .10000E-03    8.1015       -.41541E-07** at limit **
  18  Prefactor     4.4641        5.1702       -.57085E-07   -.27071E-04
  19  Prefactor     9.0574        8.1436       -.21227E-06    .50296E-04
  20  norm          1.8125        3.3323        .49779E-07    .14762E-03
  21  Prefactor     .10000E-03    35.713       -.41074E-05** at limit **
  22  Prefactor     .10000E-03    828.87       -.54642E-05** at limit **
  23  Prefactor     .10000E-03    42.172        .72011E-06** at limit **
  24  Prefactor     .10001E-03    8.1479       -.13965E-05** at limit **
  25  norm          22.118        11.205        .21744E-06    .22256E-03
  26  Prefactor     67.280        103.82       -.57652E-06    .77768E-05
  27  Normalizat    .93465        .18069        .19228E-05    .14099E-03
  28  Prefactor     1.0536        .18989       -.53928E-06    .34995E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 9.53832
  Prefactor  = 6.47763
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 10.7306
  Prefactor  = 41.1985
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 42.3098
  Prefactor  = 9.27467
  Prefactor  = 0.0001
  norm       = 5.09811
  Prefactor  = 0.0001
  Prefactor  = 4.46415
  Prefactor  = 9.05742
  norm       = 1.81252
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.00010001
  norm       = 22.1177
  Prefactor  = 67.2804
  Normalizat = 0.934648
  Prefactor  = 1.05362
 **********
 **   18 **HESSE 
 **********

 FCN=   6402.170     FROM HESSE     STATUS=OK           527 CALLS     4169 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    32.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.4283        .12068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    226.68        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    95.127        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.5383        26.994        .12975E-03   -1.5090    
   6  Prefactor     6.4776        4.3281        .13076E-03   -1.5199    
   7  Prefactor     .10000E-03    6.0393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    21.135        .17291E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.731        23.322        .12229E-03   -1.5053    
  10  Prefactor     41.198        29.645        .62440E-04   -1.4423    
  11  Prefactor     .10000E-03    46.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    45.089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     42.310        35.930        .61631E-04   -1.4406    
  14  Prefactor     9.2747        13.748        .13160E-03   -1.5099    
  15  Prefactor     .10000E-03    11.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          5.0981        1.9395        .66030E-04   -1.5256    
  17  Prefactor     .10000E-03    8.1786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.4641        5.1770        .94515E-03   -1.5285    
  19  Prefactor     9.0574        8.1755        .13317E-03   -1.5106    
  20  norm          1.8125        3.3367        .18914E-03   -1.5439    
  21  Prefactor     .10000E-03    35.750        .40363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    27.100        .97994E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    44.325        .41324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10001E-03    25.134        .37411E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          22.118        10.693        .85184E-04   -1.4767    
  26  Prefactor     67.280        104.03        .48942E-04   -1.4066    
  27  Normalizat    .93465        .20916        .24338E-03   -.95253    
  28  Prefactor     1.0536        .22536        .26165E-03   -.90963    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3293e-09
Minuit parameter uncertainties:
  1  5.30323e-06
  2  8.96293e-06
  3  0.000744647
  4  0.000398771
  5  27.0288
  6  4.32829
  7  2.20376e-06
  8  0.000898586
  9  23.3416
  10  29.6557
  11  1.90165e-05
  12  3.02076e-05
  13  35.9483
  14  13.753
  15  8.77431e-05
  16  1.93955
  17  2.30596e-05
  18  5.17748
  19  8.17653
  20  3.33708
  21  5.35324e-05
  22  0.000317221
  23  0.000443731
  24  0.00102665
  25  10.694
  26  104.308
  27  0.209339
  28  0.225566
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  5.098e+00  1.940e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.054e+00  2.256e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  9.346e-01  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.37
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 7.66e-08 +/- 2.91e-08
Energy Flux (Fixed Index): 5.48e-05 +/- 2.09e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6402.09497992
delta logL = 0.0752836181882

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6402.08952757
delta logL = 0.08073597168

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7332       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1000       1.0000          .0000       5.0000    
     3 'Normalizat'    .92423       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0589       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=   6402.090     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      232 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7335        27.863        .46237E-02    .12166E-03
   2  alpha         2.1001        3.5467        .19282        .74273E-04
   3  Normalizat    .92428        .12478        .45210E-01    .13609E-04
   4  Prefactor     1.0588        .97142E-01    .59014E-01   -.11048E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.73349
  alpha      = 2.10006
  Normalizat = 0.924283
  Prefactor  = 1.05884
 **********
 **   18 **HESSE 
 **********

 FCN=   6402.090     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .52E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7335        2.0798        .61371E-04   -1.5273    
   2  alpha         2.1001        .33328        .76814E-02   -.16067    
   3  Normalizat    .92428        .19693        .24447E-03   -.95612    
   4  Prefactor     1.0588        .22235        .26097E-03   -.90793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.23647e-12
Minuit parameter uncertainties:
  1  2.07981
  2  0.334304
  3  0.197085
  4  0.222549
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850943': 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) = 6402.08952737
delta logL = 0.0807361719308

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.733e+00  2.080e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.100e+00  3.343e-01  0.000e+00  5.000e+00 ( 1.000e+00)
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.059e+00  2.225e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  9.243e-01  1.971e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.50
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.10 +/- 0.33
Photon Flux (Free Index): 8.76e-08 +/- 4.16e-08
Energy Flux (Free Index): 4.82e-05 +/- 2.32e-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/850943/cmap_HighResolution_425952001_426211201_4FGL_J1454.4+5124_daily_bin720.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.66e-08', energy_flux2='4.82e-05', photon_flux_error='2.91e-08', dlogl='8.07e-02', energy_flux='5.48e-05', photon_flux2='8.76e-08', job_status='DONE', time_completed='2021-09-10 13:06:03.077977', photon_index_error2='0.33', photon_index2='2.10', ts='25.37', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='2.32e-05', EG='0.93', time_epoch_completed='1631304363.08', return_code='0', job_id='850943', GAL2='1.06', EG2='0.92', return_code2='0', energy_flux_error='2.09e-05', photon_flux_error2='4.16e-08', ts2='25.50', photon_index='1.97' WHERE bin_id='720' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:06:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 850943: <4FGL_J1454.4+5124_daily_bin720> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin720 223.625 51.409 425952001 426211201 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 :                                   764.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             303.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            894 sec.

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

