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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin719
RA = 223.625, Dec = 51.409
tmin = 425692801, tmax = 425952001
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='850941', job_status='RUN', time_executed='2021-09-10 12:51:27.684692', time_epoch_executed='1631303487.68' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850941

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850941/ft1_4FGL_J1454.4+5124_daily_bin719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850941/ft2_4FGL_J1454.4+5124_daily_bin719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850941/ft1_4FGL_J1454.4+5124_daily_bin719.fits outfile=/scratch/kocevski/850941/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin719.fits ra=223.625 dec=51.409 rad=12.0 tmin=425692801.0 tmax=425952001.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.54
user 3.32
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850941/ft1_filtered_4FGL_J1454.4+5124_daily_bin719.fits evtable="EVENTS" scfile=/scratch/kocevski/850941/ft2_4FGL_J1454.4+5124_daily_bin719.fits sctable="SC_DATA" expcube=/scratch/kocevski/850941/ltcube_425692801_425952001_4FGL_J1454.4+5124_daily_bin719.fits outfile=/scratch/kocevski/850941/expmap_425692801_425952001_4FGL_J1454.4+5124_daily_bin719.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/850941/ltcube_425692801_425952001_4FGL_J1454.4+5124_daily_bin719.fits
.....................!
real 193.51
user 187.73
sys 5.40

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/850941/ft1_filtered_4FGL_J1454.4+5124_daily_bin719.fits scfile=/scratch/kocevski/850941/ft2_4FGL_J1454.4+5124_daily_bin719.fits outfile=/scratch/kocevski/850941/cmap_425692801_425952001_4FGL_J1454.4+5124_daily_bin719.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/850941/ft1_filtered_4FGL_J1454.4+5124_daily_bin719.fits scfile=/scratch/kocevski/850941/ft2_4FGL_J1454.4+5124_daily_bin719.fits outfile=/scratch/kocevski/850941/cmap_HighResolution_425692801_425952001_4FGL_J1454.4+5124_daily_bin719.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.7508       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.1041       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .54529       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .49257E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .89957E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10244E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    41.942       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.1363       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.8648       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10355E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.0607       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10205E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    25.578       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    84.390       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.3033       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .73247       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=   6560.152     FROM MIGRAD    STATUS=CONVERGED    726 CALLS     3523 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    40.937       -.27409E-06** at limit **
   2  norm          4.7511        3.7847       -.10718E-06   -.12527E-03
   3  Prefactor     .10000E-03    124.45        .43137E-06** at limit **
   4  Prefactor     .10000E-03    89.616        .50158E-06** at limit **
   5  Prefactor     .10000E-03    14.382        .15269E-08** at limit **
   6  Prefactor     4.1031        5.3905       -.20694E-07   -.18333E-04
   7  Prefactor     .10000E-03    7.0117        .22118E-08** at limit **
   8  Prefactor     .53605        2.7340       -.16413E-05   -.13521E-03
   9  Prefactor     .10001E-03    50.673       -.26819E-05** at limit **
  10  Prefactor     .10001E-03    85.836        .86326E-05** at limit **
  11  Prefactor     .10000E-03    42.161        .16105E-06** at limit **
  12  Prefactor     .10000E-03    9.8497        .21448E-07** at limit **
  13  Prefactor     .10000E-03    30.001       -.27677E-07** at limit **
  14  Prefactor     41.931        19.676       -.43869E-07   -.72874E-04
  15  Prefactor     .10000E-03    4.7681        .26738E-07** at limit **
  16  norm          1.1361        .89919       -.23914E-08   -.53988E-04
  17  Prefactor     .10000E-03    2.9147        .16672E-07** at limit **
  18  Prefactor     5.8637        6.0629       -.35271E-07   -.19697E-04
  19  Prefactor     .10000E-03    6.3851        .11809E-07** at limit **
  20  norm          .10000E-03    1.7575        .39098E-07** at limit **
  21  Prefactor     8.0595        8.5234       -.17195E-07   -.36440E-05
  22  Prefactor     .10000E-03    19.392        .10026E-06** at limit **
  23  Prefactor     25.573        20.055        .56214E-07   -.93825E-05
  24  Prefactor     .10000E-03    4.1102        .96868E-07** at limit **
  25  norm          .10000E-03    5.3866        .99431E-07** at limit **
  26  Prefactor     84.043        112.26       -.25818E-05    .56178E-04
  27  Normalizat    1.3036        .17508       -.10937E-05    .20698E-04
  28  Prefactor     .73220        .19263        .16165E-05   -.14390E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 4.75105
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.10311
  Prefactor  = 0.0001
  Prefactor  = 0.536052
  Prefactor  = 0.000100008
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.9308
  Prefactor  = 0.0001
  norm       = 1.13611
  Prefactor  = 0.0001
  Prefactor  = 5.86371
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.05954
  Prefactor  = 0.0001
  Prefactor  = 25.573
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 84.0433
  Normalizat = 1.30361
  Prefactor  = 0.732204
 **********
 **   18 **HESSE 
 **********

 FCN=   6560.152     FROM HESSE     STATUS=OK           521 CALLS     4044 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    40.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.7511        3.7942        .67425E-03   -1.5272    
   3  Prefactor     .10000E-03    124.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    91.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.1031        5.3818        .19899E-03   -1.5303    
   7  Prefactor     .10000E-03    7.0224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .53605        3.0896        .19935E-02   -1.5562    
   9  Prefactor     .10001E-03    90.389        .50286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    140.63        .68456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    42.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.8591        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    30.142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     41.931        19.640        .61899E-04   -1.4412    
  15  Prefactor     .10000E-03    4.7732        .17269E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.1361        .90615        .66332E-04   -1.5495    
  17  Prefactor     .10000E-03    2.9237        .13505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.8637        6.0536        .16583E-03   -1.5224    
  19  Prefactor     .10000E-03    6.5756        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.7705        .10475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.0595        8.4911        .14122E-03   -1.5140    
  22  Prefactor     .10000E-03    19.427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     25.573        20.051        .79207E-04   -1.4696    
  24  Prefactor     .10000E-03    4.1633        .16034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    5.4465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     84.043        111.02        .21864E-03   -1.3872    
  27  Normalizat    1.3036        .20487        .21307E-03   -.83459    
  28  Prefactor     .73220        .22171        .30730E-03   -1.0228    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25962e-08
Minuit parameter uncertainties:
  1  4.25266e-05
  2  3.79437
  3  0.000144969
  4  0.000377511
  5  6.37709e-06
  6  5.38241
  7  6.91552e-07
  8  2.57384
  9  0.00173067
  10  0.00231245
  11  9.79758e-06
  12  5.17074e-06
  13  2.49611e-05
  14  19.643
  15  6.38449e-07
  16  0.906166
  17  2.5946e-06
  18  6.05425
  19  1.45591e-05
  20  2.77773e-06
  21  8.49237
  22  1.61397e-05
  23  20.0564
  24  6.63138e-06
  25  4.67721e-06
  26  111.298
  27  0.205003
  28  0.22198
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  7.322e-01  2.220e-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.304e+00  2.050e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.50
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.71e-08 +/- 1.36e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 9.75e-06

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) = 6559.08337964
delta logL = 1.06817920606

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6559.06976715
delta logL = 1.08179169342

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1070       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1905       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3097       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73040       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=   6559.070     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      204 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1070        .92686        .11246E-01    .84401E-04
   2  alpha         1.1904        .39933        .36482       -.27124E-04
   3  Normalizat    1.3097        .16415        .48108E-01   -.92264E-05
   4  Prefactor     .73039        .18393        .69554E-01    .33484E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.10705
  alpha      = 1.19041
  Normalizat = 1.30969
  Prefactor  = 0.730394
 **********
 **   18 **HESSE 
 **********

 FCN=   6559.070     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1070        1.1511        .69348E-04   -1.5498    
   2  alpha         1.1904        .52545        .14860E-01   -.55135    
   3  Normalizat    1.3097        .19664        .21268E-03   -.83278    
   4  Prefactor     .73039        .22013        .30778E-03   -1.0235    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.31555e-10
Minuit parameter uncertainties:
  1  1.15113
  2  0.530937
  3  0.196752
  4  0.220391
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850941': 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) = 6559.06976714
delta logL = 1.08179170144

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  7.304e-01  2.204e-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.310e+00  1.968e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.67
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.19 +/- 0.53
Photon Flux (Free Index): 8.10e-09 +/- 8.60e-09
Energy Flux (Free Index): 4.81e-05 +/- 5.79e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/850941/cmap_HighResolution_425692801_425952001_4FGL_J1454.4+5124_daily_bin719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.71e-08', energy_flux2='4.81e-05', photon_flux_error='1.36e-08', dlogl='1.08e+00', energy_flux='1.22e-05', photon_flux2='8.10e-09', job_status='DONE', time_completed='2021-09-10 13:04:13.401260', photon_index_error2='0.53', photon_index2='1.19', ts='6.50', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', energy_flux_error2='5.79e-05', EG='1.30', time_epoch_completed='1631304253.4', return_code='0', job_id='850941', GAL2='0.73', EG2='1.31', return_code2='0', energy_flux_error='9.75e-06', photon_flux_error2='8.60e-09', ts2='8.67', photon_index='1.97' WHERE bin_id='719' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:04:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 850941: <4FGL_J1454.4+5124_daily_bin719> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin719> 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) <bullet0231>, 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:04:14 2021
Results reported at Fri Sep 10 13:04:14 2021

Your job looked like:

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

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

