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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin52
RA = 223.625, Dec = 51.409
tmin = 252806401, tmax = 253065601
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='847785', job_status='RUN', time_executed='2021-09-10 12:44:17.513867', time_epoch_executed='1631303057.51' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='52'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847785

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847785/ft1_4FGL_J1454.4+5124_daily_bin52.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847785/ft2_4FGL_J1454.4+5124_daily_bin52.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847785/ft1_4FGL_J1454.4+5124_daily_bin52.fits outfile=/scratch/kocevski/847785/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin52.fits ra=223.625 dec=51.409 rad=12.0 tmin=252806401.0 tmax=253065601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 1.44
user 1.23
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/847785/ft2_4FGL_J1454.4+5124_daily_bin52.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/847785/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin52.fits evtable="EVENTS" outfile="/scratch/kocevski/847785/ft1_filtered_4FGL_J1454.4+5124_daily_bin52.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.53
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847785/ft1_filtered_4FGL_J1454.4+5124_daily_bin52.fits" evtable="EVENTS" scfile=/scratch/kocevski/847785/ft2_4FGL_J1454.4+5124_daily_bin52.fits sctable="SC_DATA" outfile=/scratch/kocevski/847785/ltcube_252806401_253065601_4FGL_J1454.4+5124_daily_bin52.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/847785/ft2_4FGL_J1454.4+5124_daily_bin52.fits
.....................!
real 12.78
user 12.42
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847785/ft1_filtered_4FGL_J1454.4+5124_daily_bin52.fits evtable="EVENTS" scfile=/scratch/kocevski/847785/ft2_4FGL_J1454.4+5124_daily_bin52.fits sctable="SC_DATA" expcube=/scratch/kocevski/847785/ltcube_252806401_253065601_4FGL_J1454.4+5124_daily_bin52.fits outfile=/scratch/kocevski/847785/expmap_252806401_253065601_4FGL_J1454.4+5124_daily_bin52.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/847785/ltcube_252806401_253065601_4FGL_J1454.4+5124_daily_bin52.fits
.....................!
real 190.52
user 185.97
sys 4.22

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

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

This is gtbin version HEAD
real 0.52
user 0.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    9.1870       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    53.506       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5315       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.8904       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.6658       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.326       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.6482       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.6579       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .34476       1.0000         .10000E-03   10000.    
    20 'norm      '    .91326       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    20.250       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.7081       1.0000         .10000E-03   10000.    
    25 'norm      '    7.8152       1.0000         .10000E-03   10000.    
    26 'Prefactor '    81.981       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.3639       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .55582       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=   5371.901     FROM MIGRAD    STATUS=CONVERGED    714 CALLS     3556 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    35.618       -.16024E-05** at limit **
   2  norm          9.1854        4.9385       -.32350E-05   -.15095E-03
   3  Prefactor     .10000E-03    176.66       -.28275E-04** at limit **
   4  Prefactor     .10000E-03    101.41        .36936E-04** at limit **
   5  Prefactor     53.486        42.876       -.86705E-05   -.47396E-04
   6  Prefactor     1.5323        3.5738        .88065E-06   -.23891E-02
   7  Prefactor     .10000E-03    7.1069        .14576E-06** at limit **
   8  Prefactor     3.8896        2.4882        .20585E-06   -.13512E-03
   9  Prefactor     .10000E-03    17.821        .34294E-05** at limit **
  10  Prefactor     7.6634        14.947        .12021E-06    .13236E-04
  11  Prefactor     .10000E-03    19.079       -.56102E-05** at limit **
  12  Prefactor     19.316        25.090        .81233E-07    .12919E-04
  13  Prefactor     .10000E-03    25.830        .27189E-05** at limit **
  14  Prefactor     .10000E-03    5.3545        .19102E-06** at limit **
  15  Prefactor     .10000E-03    4.5257       -.33904E-06** at limit **
  16  norm          2.6480        1.4742       -.51505E-07    .20989E-03
  17  Prefactor     6.7335        15.906        .43213E-05    .65309E-03
  18  Prefactor     .10000E-03    2.2498        .42005E-07** at limit **
  19  Prefactor     .21183        10.944       -.45723E-05    .52393E-03
  20  norm          .91034        3.2681       -.66773E-06   -.16619E-03
  21  Prefactor     .10000E-03    3.4225        .12387E-06** at limit **
  22  Prefactor     20.255        22.387       -.89707E-06    .25335E-04
  23  Prefactor     .10000E-03    8.4533       -.93319E-08** at limit **
  24  Prefactor     1.7070        5.2645       -.38064E-06   -.17133E-02
  25  norm          7.8150        8.8834        .59514E-06    .90001E-04
  26  Prefactor     81.954        108.79       -.23854E-04   -.17861E-05
  27  Normalizat    1.3644        .18474        .22591E-05    .36235E-03
  28  Prefactor     .55552        .19657        .48418E-06    .29028E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 9.18542
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.4857
  Prefactor  = 1.53235
  Prefactor  = 0.0001
  Prefactor  = 3.88963
  Prefactor  = 0.0001
  Prefactor  = 7.66342
  Prefactor  = 0.0001
  Prefactor  = 19.3163
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.64799
  Prefactor  = 6.73345
  Prefactor  = 0.0001
  Prefactor  = 0.21183
  norm       = 0.910342
  Prefactor  = 0.0001
  Prefactor  = 20.2552
  Prefactor  = 0.0001
  Prefactor  = 1.707
  norm       = 7.81497
  Prefactor  = 81.9541
  Normalizat = 1.36438
  Prefactor  = 0.555515
 **********
 **   18 **HESSE 
 **********

 FCN=   5371.901     FROM HESSE     STATUS=OK           517 CALLS     4073 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    35.616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.1854        4.9421        .11458E-03   -1.5102    
   3  Prefactor     .10000E-03    176.49        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    102.66        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     53.486        43.345        .54833E-04   -1.4244    
   6  Prefactor     1.5323        5.2720        .14507E-02   -1.5460    
   7  Prefactor     .10000E-03    7.1160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.8896        2.4882        .87812E-04   -1.5314    
   9  Prefactor     .10000E-03    17.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.6634        14.933        .14484E-03   -1.5154    
  11  Prefactor     .10000E-03    19.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     19.316        25.156        .91108E-04   -1.4829    
  13  Prefactor     .10000E-03    25.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.3615        .16563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.5327        .15228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.6480        1.4741        .64407E-04   -1.5383    
  17  Prefactor     6.7335        16.812        .15552E-03   -1.5189    
  18  Prefactor     .10000E-03    2.2577        .10735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .21183        99.646        .38445E-02   -1.5616    
  20  norm          .91034        3.2362        .23744E-03   -1.5517    
  21  Prefactor     .10000E-03    3.4283        .13229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     20.255        22.352        .89006E-04   -1.4808    
  23  Prefactor     .10000E-03    8.4874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.7070        6.7857        .16085E-02   -1.5447    
  25  norm          7.8150        8.9599        .14344E-03   -1.5149    
  26  Prefactor     81.954        108.66        .44361E-04   -1.3895    
  27  Normalizat    1.3644        .21706        .20453E-03   -.81665    
  28  Prefactor     .55552        .22810        .33410E-03   -1.0949    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.7884e-08
Minuit parameter uncertainties:
  1  4.36869e-05
  2  4.94228
  3  0.000313013
  4  6.39705e-05
  5  43.3709
  6  5.27363
  7  1.8029e-06
  8  2.48828
  9  1.62102e-06
  10  14.9405
  11  1.51559e-05
  12  25.1696
  13  3.40907e-05
  14  1.49203e-06
  15  5.13234e-06
  16  1.47413
  17  16.8233
  18  4.13374e-06
  19  9.20195
  20  3.23687
  21  1.42428e-06
  22  22.3612
  23  1.54357e-06
  24  6.78871
  25  8.96148
  26  108.921
  27  0.217204
  28  0.228481
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.648e+00  1.474e+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:  5.555e-01  2.285e-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.364e+00  2.172e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.23
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.98e-08 +/- 2.22e-08
Energy Flux (Fixed Index): 2.85e-05 +/- 1.59e-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) = 5370.09616054
delta logL = 1.80451010703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5370.09408548
delta logL = 1.80658516752

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9279       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2245       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3791       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .54978       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=   5370.094     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      214 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9283        1.6047        .59351E-02    .48173E-03
   2  alpha         1.2253        .30836        .24491       -.11103E-03
   3  Normalizat    1.3789        .17711        .46050E-01    .19304E-03
   4  Prefactor     .54998        .19377        .75806E-01    .92976E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.92832
  alpha      = 1.22531
  Normalizat = 1.37892
  Prefactor  = 0.549978
 **********
 **   18 **HESSE 
 **********

 FCN=   5370.094     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9283        1.7931        .66944E-04   -1.5366    
   2  alpha         1.2253        .36274        .10279E-01   -.53504    
   3  Normalizat    1.3789        .20412        .20356E-03   -.81240    
   4  Prefactor     .54998        .22286        .33566E-03   -1.0974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30734e-10
Minuit parameter uncertainties:
  1  1.79314
  2  0.364482
  3  0.204243
  4  0.223216
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847785': 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) = 5370.09408253
delta logL = 1.80658811428

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.928e+00  1.793e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.225e+00  3.645e-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:  5.500e-01  2.232e-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.379e+00  2.042e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.85
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.23 +/- 0.36
Photon Flux (Free Index): 2.15e-08 +/- 1.38e-08
Energy Flux (Free Index): 1.16e-04 +/- 1.03e-04

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/847785/cmap_HighResolution_252806401_253065601_4FGL_J1454.4+5124_daily_bin52.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.98e-08', energy_flux2='1.16e-04', photon_flux_error='2.22e-08', dlogl='1.81e+00', energy_flux='2.85e-05', photon_flux2='2.15e-08', job_status='DONE', time_completed='2021-09-10 12:55:30.438368', photon_index_error2='0.36', photon_index2='1.23', ts='12.23', fit_tolerance='1e-08', GAL='0.56', photon_index_error='0.00', energy_flux_error2='1.03e-04', EG='1.36', time_epoch_completed='1631303730.44', return_code='0', job_id='847785', GAL2='0.55', EG2='1.38', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='1.38e-08', ts2='15.85', photon_index='1.97' WHERE bin_id='52' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:55:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 847785: <4FGL_J1454.4+5124_daily_bin52> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin52> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 12:41:08 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:41:09 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 12:41:09 2021
Terminated at Fri Sep 10 12:55:31 2021
Results reported at Fri Sep 10 12:55:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin52 223.625 51.409 252806401 253065601 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 :                                   673.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            863 sec.

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

