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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin294
RA = 223.625, Dec = 51.409
tmin = 315532801, tmax = 315792001
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='849283', job_status='RUN', time_executed='2021-09-10 12:46:22.477873', time_epoch_executed='1631303182.48' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='294'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849283

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849283/ft1_4FGL_J1454.4+5124_daily_bin294.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849283/ft2_4FGL_J1454.4+5124_daily_bin294.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849283/ft1_4FGL_J1454.4+5124_daily_bin294.fits outfile=/scratch/kocevski/849283/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin294.fits ra=223.625 dec=51.409 rad=12.0 tmin=315532801.0 tmax=315792001.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.84
user 3.60
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849283/ft1_filtered_4FGL_J1454.4+5124_daily_bin294.fits" evtable="EVENTS" scfile=/scratch/kocevski/849283/ft2_4FGL_J1454.4+5124_daily_bin294.fits sctable="SC_DATA" outfile=/scratch/kocevski/849283/ltcube_315532801_315792001_4FGL_J1454.4+5124_daily_bin294.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/849283/ft2_4FGL_J1454.4+5124_daily_bin294.fits
.....................!
real 12.16
user 11.79
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849283/ft1_filtered_4FGL_J1454.4+5124_daily_bin294.fits evtable="EVENTS" scfile=/scratch/kocevski/849283/ft2_4FGL_J1454.4+5124_daily_bin294.fits sctable="SC_DATA" expcube=/scratch/kocevski/849283/ltcube_315532801_315792001_4FGL_J1454.4+5124_daily_bin294.fits outfile=/scratch/kocevski/849283/expmap_315532801_315792001_4FGL_J1454.4+5124_daily_bin294.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/849283/ltcube_315532801_315792001_4FGL_J1454.4+5124_daily_bin294.fits
.....................!
real 191.02
user 185.53
sys 5.12

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/849283/ft1_filtered_4FGL_J1454.4+5124_daily_bin294.fits scfile=/scratch/kocevski/849283/ft2_4FGL_J1454.4+5124_daily_bin294.fits outfile=/scratch/kocevski/849283/cmap_315532801_315792001_4FGL_J1454.4+5124_daily_bin294.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.55
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849283/ft1_filtered_4FGL_J1454.4+5124_daily_bin294.fits scfile=/scratch/kocevski/849283/ft2_4FGL_J1454.4+5124_daily_bin294.fits outfile=/scratch/kocevski/849283/cmap_HighResolution_315532801_315792001_4FGL_J1454.4+5124_daily_bin294.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.57
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11490E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    77.229       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.3699       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.231       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.546       1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.276       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.791       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12407E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .81941       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.1392       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.6476       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.3343       1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2054       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .81676       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=   4503.369     FROM MIGRAD    STATUS=CONVERGED    693 CALLS     3432 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    37.181        .18940E-04** at limit **
   2  norm          .10000E-03    3.7212        .18424E-07** at limit **
   3  Prefactor     .10001E-03    539.43       -.24269E-04** at limit **
   4  Prefactor     77.237        58.873        .15656E-05    .60874E-05
   5  Prefactor     3.3736        66.367       -.15428E-04    .24611E-04
   6  Prefactor     .10000E-03    1.4078       -.31679E-08** at limit **
   7  Prefactor     12.236        19.063       -.20564E-05    .60675E-04
   8  Prefactor     .10000E-03    .81592       -.34963E-07** at limit **
   9  Prefactor     .10000E-03    8.5648       -.18996E-06** at limit **
  10  Prefactor     .10000E-03    6.8152        .47916E-06** at limit **
  11  Prefactor     .10000E-03    34.752       -.12683E-04** at limit **
  12  Prefactor     11.545        19.963        .14208E-05   -.36405E-04
  13  Prefactor     17.273        33.498        .34469E-05   -.39193E-04
  14  Prefactor     13.772        21.241        .15046E-04   -.75580E-04
  15  Prefactor     .10000E-03    46.160       -.13370E-04** at limit **
  16  norm          .82165        1.7716       -.14364E-05   -.25223E-02
  17  Prefactor     4.1426        11.729        .19346E-05   -.84226E-04
  18  Prefactor     8.6471        6.4905       -.29776E-06    .24748E-03
  19  Prefactor     4.3338        8.2864       -.22818E-05   -.63389E-04
  20  norm          .10000E-03    1.7652        .46748E-08** at limit **
  21  Prefactor     .10000E-03    4.3762       -.23845E-07** at limit **
  22  Prefactor     .10000E-03    6.4154        .36154E-06** at limit **
  23  Prefactor     .10000E-03    9.4732        .90976E-07** at limit **
  24  Prefactor     .10000E-03    6.5214       -.84227E-06** at limit **
  25  norm          .10000E-03    4.3746        .53785E-07** at limit **
  26  Prefactor     .10000E-03    55.980        .38038E-05** at limit **
  27  Normalizat    1.2050        .20080       -.35197E-06    .27965E-03
  28  Prefactor     .81713        .21646       -.49733E-06    .13510E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100006
  norm       = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 77.2373
  Prefactor  = 3.37364
  Prefactor  = 0.0001
  Prefactor  = 12.2357
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 11.5448
  Prefactor  = 17.2726
  Prefactor  = 13.7724
  Prefactor  = 0.0001
  norm       = 0.821651
  Prefactor  = 4.14264
  Prefactor  = 8.64707
  Prefactor  = 4.3338
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.20497
  Prefactor  = 0.817126
 **********
 **   18 **HESSE 
 **********

 FCN=   4503.369     FROM HESSE     STATUS=OK           511 CALLS     3943 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    36.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.7855        .12634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    538.58        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     77.237        58.838        .45695E-04   -1.3948    
   5  Prefactor     3.3736        66.404        .22043E-03   -1.5341    
   6  Prefactor     .10000E-03    1.4082        .77755E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.236        19.124        .11454E-03   -1.5008    
   8  Prefactor     .10000E-03    .81962        .59174E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.5695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.8164        .17110E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    34.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.545        19.948        .11790E-03   -1.5028    
  13  Prefactor     17.273        33.485        .96361E-04   -1.4877    
  14  Prefactor     13.772        21.399        .10786E-03   -1.4966    
  15  Prefactor     .10000E-03    46.986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .82165        1.5805        .12559E-02   -1.5527    
  17  Prefactor     4.1426        11.624        .19812E-03   -1.5301    
  18  Prefactor     8.6471        6.4780        .13631E-03   -1.5120    
  19  Prefactor     4.3338        8.2711        .19349E-03   -1.5292    
  20  norm          .10000E-03    1.7803        .87052E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.3965        .13708E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6.4184        .16601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    9.5235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    6.5934        .16732E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    4.3913        .13707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    55.986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.2050        .23688        .21506E-03   -.86449    
  28  Prefactor     .81713        .25455        .28315E-03   -.99100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27637e-09
Minuit parameter uncertainties:
  1  0.000938767
  2  6.90927e-07
  3  0.00470006
  4  58.8823
  5  29.9727
  6  1.33381e-06
  7  19.1337
  8  1.54812e-06
  9  4.6743e-06
  10  1.90401e-05
  11  0.000439054
  12  19.9593
  13  33.5217
  14  21.4109
  15  0.000285738
  16  1.5806
  17  11.63
  18  6.47849
  19  8.27323
  20  1.22872e-06
  21  2.7362e-06
  22  6.29166e-06
  23  4.09498e-06
  24  2.80884e-05
  25  3.33936e-06
  26  0.000222918
  27  0.237095
  28  0.25492
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  8.217e-01  1.581e+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:  8.171e-01  2.549e-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.205e+00  2.371e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/849283/likelihoodResults_315532801_315792001_4FGL_J1454.4+5124_daily_bin294.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) = 4502.81874389
delta logL = 0.55000367475

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4502.80188232
delta logL = 0.566865250773

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35078       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2928       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1483       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85019       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=   4502.802     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      246 TOTAL
                     EDM=   .93E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .34978        4.7631        .76641E-02    .19759E-02
   2  alpha         3.2947        3.8722        .27287        .77901E-04
   3  Normalizat    1.1483        .43087E-01    .36305E-01    .31502E-04
   4  Prefactor     .84999        .47485E-01    .44367E-01   -.39819E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.349777
  alpha      = 3.29472
  Normalizat = 1.14834
  Prefactor  = 0.849989
 **********
 **   18 **HESSE 
 **********

 FCN=   4502.802     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      279 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .34978        13.366        .34689E-04   -1.5590    
   2  alpha         3.2947        3.8034        .96756E-02    .32350    
   3  Normalizat    1.1483        .28622        .21915E-03   -.88215    
   4  Prefactor     .84999        .30463        .27756E-03   -.97911    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.38353e-10
Minuit parameter uncertainties:
  1  4.32477
  2  6.29168
  3  0.286614
  4  0.305237
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849283': 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) = 4502.80188014
delta logL = 0.566867425555

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.498e-01  4.325e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  3.295e+00  6.292e+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:  8.500e-01  3.052e-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.148e+00  2.866e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.56
Ra Dec: 223.625 51.409
Photon Index (Free Index): 3.29 +/- 6.29
Photon Flux (Free Index): 6.69e-08 +/- 1.01e-07
Energy Flux (Free Index): 1.25e-05 +/- 1.81e-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/849283/cmap_HighResolution_315532801_315792001_4FGL_J1454.4+5124_daily_bin294.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.71e-05', comment='SUCCESS', energy_flux2='1.25e-05', dlogl='5.67e-01', photon_flux2='6.69e-08', job_status='DONE', time_completed='2021-09-10 12:57:56.958690', photon_index_error2='6.29', photon_index2='3.29', ts='0.40', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='7.97e-08', energy_flux_error2='1.81e-05', EG='1.20', time_epoch_completed='1631303876.96', return_code='0', job_id='849283', GAL2='0.85', EG2='1.15', return_code2='102', photon_flux_error2='1.01e-07', ts2='1.56', photon_index='1.97' WHERE bin_id='294' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:57:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 849283: <4FGL_J1454.4+5124_daily_bin294> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin294> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:46:04 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:46:05 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 12:46:05 2021
Terminated at Fri Sep 10 12:57:57 2021
Results reported at Fri Sep 10 12:57:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin294 223.625 51.409 315532801 315792001 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 :                                   691.03 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             335.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            713 sec.

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

