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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin726
RA = 223.625, Dec = 51.409
tmin = 427507201, tmax = 427766401
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='850952', job_status='RUN', time_executed='2021-09-10 12:53:13.207055', time_epoch_executed='1631303593.21' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='726'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850952

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850952/ft1_4FGL_J1454.4+5124_daily_bin726.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850952/ft2_4FGL_J1454.4+5124_daily_bin726.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850952/ft1_4FGL_J1454.4+5124_daily_bin726.fits outfile=/scratch/kocevski/850952/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin726.fits ra=223.625 dec=51.409 rad=12.0 tmin=427507201.0 tmax=427766401.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 5.45
user 5.17
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850952/ft1_filtered_4FGL_J1454.4+5124_daily_bin726.fits evtable="EVENTS" scfile=/scratch/kocevski/850952/ft2_4FGL_J1454.4+5124_daily_bin726.fits sctable="SC_DATA" expcube=/scratch/kocevski/850952/ltcube_427507201_427766401_4FGL_J1454.4+5124_daily_bin726.fits outfile=/scratch/kocevski/850952/expmap_427507201_427766401_4FGL_J1454.4+5124_daily_bin726.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/850952/ltcube_427507201_427766401_4FGL_J1454.4+5124_daily_bin726.fits
.....................!
real 189.30
user 185.09
sys 3.80

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/850952/ft1_filtered_4FGL_J1454.4+5124_daily_bin726.fits scfile=/scratch/kocevski/850952/ft2_4FGL_J1454.4+5124_daily_bin726.fits outfile=/scratch/kocevski/850952/cmap_427507201_427766401_4FGL_J1454.4+5124_daily_bin726.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/850952/ft1_filtered_4FGL_J1454.4+5124_daily_bin726.fits scfile=/scratch/kocevski/850952/ft2_4FGL_J1454.4+5124_daily_bin726.fits outfile=/scratch/kocevski/850952/cmap_HighResolution_427507201_427766401_4FGL_J1454.4+5124_daily_bin726.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/850952/ft1_filtered_4FGL_J1454.4+5124_daily_bin726.fits evtable="EVENTS" scfile=/scratch/kocevski/850952/ft2_4FGL_J1454.4+5124_daily_bin726.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/850952/Model_4FGL_J1454.4+5124_daily_bin726.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/850952/ft1_filtered_4FGL_J1454.4+5124_daily_bin726.fits.....................!
real 40.88
user 39.57
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.682       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.830       1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.921       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.115       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.4338       1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.049       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .33618E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12575E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.1087       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.356       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    4.2474       1.0000         .10000E-03   10000.    
    25 'norm      '    2.0270       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0614       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .84776       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=   4550.777     FROM MIGRAD    STATUS=CONVERGED    697 CALLS     3495 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    30.626        .30460E-05** at limit **
   2  norm          .10000E-03    1.2131        .21042E-07** at limit **
   3  Prefactor     .10001E-03    209.58       -.54949E-05** at limit **
   4  Prefactor     .10000E-03    28.293        .17506E-05** at limit **
   5  Prefactor     .10000E-03    72.946        .31496E-05** at limit **
   6  Prefactor     .10000E-03    3.0365        .29801E-07** at limit **
   7  Prefactor     17.692        24.651        .47777E-07   -.75665E-05
   8  Prefactor     12.832        4.6672        .69569E-07   -.51618E-05
   9  Prefactor     27.923        32.334        .54517E-08    .20450E-04
  10  Prefactor     .10000E-03    18.404        .65995E-06** at limit **
  11  Prefactor     .10000E-03    70.330        .51827E-06** at limit **
  12  Prefactor     14.115        20.927        .12605E-06    .10897E-04
  13  Prefactor     .10000E-03    23.540       -.29757E-05** at limit **
  14  Prefactor     .10000E-03    9.1469        .32295E-06** at limit **
  15  Prefactor     .10000E-03    8.3108        .11185E-06** at limit **
  16  norm          2.4339        1.9421        .42911E-07    .34166E-03
  17  Prefactor     11.037        13.236        .22432E-06    .24444E-04
  18  Prefactor     .10011E-03    6.3471       -.26836E-05** at limit **
  19  Prefactor     .10000E-03    14.144        .25768E-06** at limit **
  20  norm          1.1064        4.3292        .12691E-05    .18833E-03
  21  Prefactor     .10000E-03    5.3208       -.59185E-07** at limit **
  22  Prefactor     15.355        22.998       -.17843E-06    .24260E-04
  23  Prefactor     .10000E-03    8.7367       -.34259E-06** at limit **
  24  Prefactor     4.2072        15.198       -.52226E-05   -.20426E-03
  25  norm          2.0675        41.430        .89260E-05   -.14655E-05
  26  Prefactor     .10001E-03    43.294       -.47563E-05** at limit **
  27  Normalizat    1.0613        .20120       -.17999E-06    .25114E-03
  28  Prefactor     .84782        .21592       -.64121E-06    .22578E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 17.6915
  Prefactor  = 12.8315
  Prefactor  = 27.9228
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.1153
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.43394
  Prefactor  = 11.037
  Prefactor  = 0.000100113
  Prefactor  = 0.0001
  norm       = 1.10643
  Prefactor  = 0.0001
  Prefactor  = 15.3546
  Prefactor  = 0.0001
  Prefactor  = 4.20718
  norm       = 2.06748
  Prefactor  = 0.000100007
  Normalizat = 1.06133
  Prefactor  = 0.847818
 **********
 **   18 **HESSE 
 **********

 FCN=   4550.777     FROM HESSE     STATUS=OK           513 CALLS     4008 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    31.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.2152        .72551E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    210.84        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    28.431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    73.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.0610        .11476E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.692        24.939        .95249E-04   -1.4866    
   8  Prefactor     12.832        4.6725        .79145E-04   -1.4991    
   9  Prefactor     27.923        32.386        .75818E-04   -1.4651    
  10  Prefactor     .10000E-03    18.439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    70.548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.115        20.923        .10661E-03   -1.4956    
  13  Prefactor     .10000E-03    23.929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.2063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.3325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.4339        1.9354        .80666E-04   -1.5396    
  17  Prefactor     11.037        13.188        .12053E-03   -1.5043    
  18  Prefactor     .10011E-03    17.528        .28114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    14.289        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.1064        4.2895        .25957E-03   -1.5498    
  21  Prefactor     .10000E-03    5.3303        .15178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     15.355        22.909        .10221E-03   -1.4924    
  23  Prefactor     .10000E-03    8.7661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     4.2072        15.161        .19551E-03   -1.5298    
  25  norm          2.0675        42.121        .29061E-03   -1.5420    
  26  Prefactor     .10001E-03    44.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0613        .23718        .21927E-03   -.91003    
  28  Prefactor     .84782        .25208        .27358E-03   -.97989    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.2311e-09
Minuit parameter uncertainties:
  1  0.000604769
  2  6.3678e-07
  3  0.00285536
  4  0.000330164
  5  0.000923655
  6  1.91487e-06
  7  24.9533
  8  4.67262
  9  32.4064
  10  9.99357e-05
  11  0.000155427
  12  20.9336
  13  0.000519678
  14  3.72573e-05
  15  2.75263e-05
  16  1.93546
  17  13.1918
  18  0.00281615
  19  2.70061e-05
  20  4.29069
  21  4.02732e-06
  22  22.9222
  23  3.42931e-05
  24  15.1747
  25  18.6783
  26  0.00112565
  27  0.237421
  28  0.252429
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.434e+00  1.935e+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.478e-01  2.524e-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.061e+00  2.374e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.14
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.66e-08 +/- 2.91e-08
Energy Flux (Fixed Index): 2.62e-05 +/- 2.08e-05

TS (Fixed Index): 3.14
Ra Dec: 223.625 51.409
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.40e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/850952/likelihoodResults_427507201_427766401_4FGL_J1454.4+5124_daily_bin726.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) = 4550.67633145
delta logL = 0.100920949031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4550.67183131
delta logL = 0.105421086381

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9891       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2633       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0469       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85717       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=   4550.672     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      223 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9881        30.531        .73445E-02    .24878E-03
   2  alpha         2.2636        3.6182        .28262        .41725E-04
   3  Normalizat    1.0468        .69382E-01    .40767E-01   -.43303E-06
   4  Prefactor     .85725        .66782E-01    .44457E-01    .84309E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.98806
  alpha      = 2.26357
  Normalizat = 1.04678
  Prefactor  = 0.857252
 **********
 **   18 **HESSE 
 **********

 FCN=   4550.672     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9881        2.1242        .67643E-04   -1.5426    
   2  alpha         2.2636        .69590        .99061E-02   -.94714E-01
   3  Normalizat    1.0468        .22046        .22053E-03   -.91479    
   4  Prefactor     .85725        .24794        .27217E-03   -.97651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26295e-09
Minuit parameter uncertainties:
  1  2.12432
  2  0.705305
  3  0.220653
  4  0.248269
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850952': 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) = 4550.6718308
delta logL = 0.105421593266

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.988e+00  2.124e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.264e+00  7.053e-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:  8.573e-01  2.483e-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.047e+00  2.207e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.33
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.26 +/- 0.71
Photon Flux (Free Index): 4.86e-08 +/- 4.25e-08
Energy Flux (Free Index): 2.04e-05 +/- 1.91e-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/850952/cmap_HighResolution_427507201_427766401_4FGL_J1454.4+5124_daily_bin726.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.40e-05', comment='SUCCESS', photon_flux='3.66e-08', energy_flux2='2.04e-05', photon_flux_error='2.91e-08', dlogl='1.05e-01', energy_flux='2.62e-05', photon_flux2='4.86e-08', job_status='DONE', time_completed='2021-09-10 13:05:15.684620', photon_index_error2='0.71', photon_index2='2.26', ts='3.14', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='1.91e-05', EG='1.06', time_epoch_completed='1631304315.68', return_code='0', job_id='850952', GAL2='0.86', EG2='1.05', return_code2='0', energy_flux_error='2.08e-05', photon_flux_error2='4.25e-08', ts2='3.33', photon_index='1.97' WHERE bin_id='726' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:05:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 850952: <4FGL_J1454.4+5124_daily_bin726> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin726 223.625 51.409 427507201 427766401 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 :                                   721.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             297.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   844 sec.
    Turnaround time :                            846 sec.

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

