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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin976
RA = 223.625, Dec = 51.409
tmin = 492307201, tmax = 492566401
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='851317', job_status='RUN', time_executed='2021-09-10 12:54:51.571222', time_epoch_executed='1631303691.57' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='976'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851317

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851317/ft1_4FGL_J1454.4+5124_daily_bin976.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851317/ft2_4FGL_J1454.4+5124_daily_bin976.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851317/ft1_4FGL_J1454.4+5124_daily_bin976.fits outfile=/scratch/kocevski/851317/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin976.fits ra=223.625 dec=51.409 rad=12.0 tmin=492307201.0 tmax=492566401.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.28
user 3.48
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851317/ft1_filtered_4FGL_J1454.4+5124_daily_bin976.fits evtable="EVENTS" scfile=/scratch/kocevski/851317/ft2_4FGL_J1454.4+5124_daily_bin976.fits sctable="SC_DATA" expcube=/scratch/kocevski/851317/ltcube_492307201_492566401_4FGL_J1454.4+5124_daily_bin976.fits outfile=/scratch/kocevski/851317/expmap_492307201_492566401_4FGL_J1454.4+5124_daily_bin976.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/851317/ltcube_492307201_492566401_4FGL_J1454.4+5124_daily_bin976.fits
.....................!
real 191.04
user 185.59
sys 4.98

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/851317/ft1_filtered_4FGL_J1454.4+5124_daily_bin976.fits scfile=/scratch/kocevski/851317/ft2_4FGL_J1454.4+5124_daily_bin976.fits outfile=/scratch/kocevski/851317/cmap_492307201_492566401_4FGL_J1454.4+5124_daily_bin976.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.38
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    62.212       1.0000         .10000E-03   10000.    
     2 'norm      '    9.5204       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .20578E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    38.720       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.1278       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .22541       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.6167       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    44.270       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .67249       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    9.0703       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.093       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.6121       1.0000         .10000E-03   10000.    
    20 'norm      '    .86831       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .79258       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    10.003       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .71986       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0988       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3848.527     FROM MIGRAD    STATUS=CONVERGED   1274 CALLS     4068 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          62.217        70.794        .50874E-04   -.44694E-06
   2  norm          9.5199        5.7518        .10981E-03   -.59166E-04
   3  Prefactor     .10000E-03    482.38        .20203E-02** at limit **
   4  Prefactor     38.705        57.930        .64412E-04   -.45219E-04
   5  Prefactor     .10000E-03    16.653        .18142E-02** at limit **
   6  Prefactor     .10000E-03    2.6784        .98917E-03** at limit **
   7  Prefactor     7.1284        19.279        .15025E-03    .13620E-04
   8  Prefactor     .22387        4.2862        .17309E-02   -.45188E-03
   9  Prefactor     1.6457        131.40        .33297E-03   -.48637E-04
  10  Prefactor     .10000E-03    14.281        .18142E-02** at limit **
  11  Prefactor     44.694        116.94        .60255E-04    .48112E-05
  12  Prefactor     .10000E-03    15.309        .18142E-02** at limit **
  13  Prefactor     .10000E-03    29.466        .18142E-02** at limit **
  14  Prefactor     .56124        615.48        .53714E-02    .28669E-04
  15  Prefactor     .10000E-03    15.345        .18142E-02** at limit **
  16  norm          9.0733        3.2074        .61574E-04    .11327E-03
  17  Prefactor     .10000E-03    6.1884        .15040E-02** at limit **
  18  Prefactor     13.097        10.037        .11070E-03   -.54533E-04
  19  Prefactor     3.6111        7.8587        .21259E-03    .99332E-04
  20  norm          .86630        2.4181        .17036E-02    .85450E-03
  21  Prefactor     .10000E-03    2.6212        .97995E-03** at limit **
  22  Prefactor     .87950        50.197        .45531E-02   -.45704E-04
  23  Prefactor     .10000E-03    6.6951        .15628E-02** at limit **
  24  Prefactor     .10000E-03    8.8931        .17990E-02** at limit **
  25  norm          10.004        9.9563        .12670E-03   -.24227E-05
  26  Prefactor     .10000E-03    54.846        .18142E-02** at limit **
  27  Normalizat    .71989        .25418        .24597E-03    .77373E-04
  28  Prefactor     1.0989        .27837        .23731E-03    .16172E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 62.2171
  norm       = 9.51991
  Prefactor  = 0.000100002
  Prefactor  = 38.7051
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.12843
  Prefactor  = 0.223871
  Prefactor  = 1.64568
  Prefactor  = 0.0001
  Prefactor  = 44.6936
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.561242
  Prefactor  = 0.0001
  norm       = 9.07326
  Prefactor  = 0.0001
  Prefactor  = 13.097
  Prefactor  = 3.61108
  norm       = 0.866304
  Prefactor  = 0.0001
  Prefactor  = 0.879499
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.0043
  Prefactor  = 0.0001
  Normalizat = 0.719894
  Prefactor  = 1.09891
 **********
 **   18 **HESSE 
 **********

 FCN=   3848.527     FROM HESSE     STATUS=OK           499 CALLS     4567 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          62.217        70.794        .10175E-04   -1.4129    
   2  norm          9.5199        5.7498        .43925E-05   -1.5091    
   3  Prefactor     .10000E-03    482.39        .40406E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     38.705        57.800        .12882E-04   -1.4463    
   5  Prefactor     .10000E-03    16.653        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.6785        .19783E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.1284        19.271        .60100E-05   -1.5174    
   8  Prefactor     .22387        4.2388        .69235E-04   -1.5613    
   9  Prefactor     1.6457        130.55        .13319E-04   -1.5451    
  10  Prefactor     .10000E-03    14.282        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     44.694        102.13        .24102E-05   -1.4370    
  12  Prefactor     .10000E-03    15.310        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    29.467        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .56124        466.41        .21486E-03   -1.5558    
  15  Prefactor     .10000E-03    15.346        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          9.0733        3.1818        .24629E-05   -1.5105    
  17  Prefactor     .10000E-03    6.1889        .30080E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.097        10.016        .44280E-05   -1.4984    
  19  Prefactor     3.6111        7.8555        .85037E-05   -1.5328    
  20  norm          .86630        2.4154        .68145E-04   -1.5522    
  21  Prefactor     .10000E-03    2.6213        .19599E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .87950        50.366        .18213E-03   -1.5520    
  23  Prefactor     .10000E-03    6.6959        .31256E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    8.8955        .35980E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          10.004        9.9542        .50679E-05   -1.5075    
  26  Prefactor     .10000E-03    54.848        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .71989        .25407        .98387E-05   -1.0311    
  28  Prefactor     1.0989        .27852        .47462E-04   -.89502    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36826e-09
Minuit parameter uncertainties:
  1  70.8896
  2  5.75011
  3  0.00173591
  4  57.8839
  5  4.56908e-05
  6  1.30968e-05
  7  19.2875
  8  1.948
  9  29.3805
  10  2.30785e-05
  11  102.534
  12  5.97338e-05
  13  6.91951e-05
  14  32.6136
  15  0.000137976
  16  3.18184
  17  4.45222e-05
  18  10.0176
  19  7.85774
  20  2.41567
  21  1.80428e-05
  22  13.3222
  23  6.27643e-05
  24  4.04033e-05
  25  9.95587
  26  8.78206e-05
  27  0.254486
  28  0.278886
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.099e+00  2.789e-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:  7.199e-01  2.545e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.32
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.36e-07 +/- 4.78e-08
Energy Flux (Fixed Index): 9.76e-05 +/- 3.42e-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) = 3846.71865764
delta logL = 1.80846400528

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3846.71284239
delta logL = 1.81427925358

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7280       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5900       1.0000          .0000       5.0000    
     3 'Normalizat'    .63011       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1638       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=   3846.713     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      260 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7272        18.686        .46263E-02    .79325E-04
   2  alpha         2.5899        1.9440        .90962E-01    .59572E-04
   3  Normalizat    .63002        .13128        .41350E-01    .22327E-04
   4  Prefactor     1.1640        .12798        .52246E-01    .54613E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.72717
  alpha      = 2.58992
  Normalizat = 0.630022
  Prefactor  = 1.164
 **********
 **   18 **HESSE 
 **********

 FCN=   3846.713     FROM HESSE     STATUS=OK            31 CALLS      291 TOTAL
                     EDM=   .23E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7272        2.8696        .38447E-04   -1.5273    
   2  alpha         2.5899        .35051        .39526E-03    .35977E-01
   3  Normalizat    .63002        .23831        .26033E-03   -1.0672    
   4  Prefactor     1.1640        .27686        .23099E-03   -.87446    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25435e-13
Minuit parameter uncertainties:
  1  2.86971
  2  0.351666
  3  0.238705
  4  0.277209
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851317': 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) = 3846.71284154
delta logL = 1.81428010308

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.164e+00  2.772e-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:  6.300e-01  2.387e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 24.95
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.59 +/- 0.35
Photon Flux (Free Index): 2.12e-07 +/- 7.13e-08
Energy Flux (Free Index): 6.04e-05 +/- 2.09e-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/851317/cmap_HighResolution_492307201_492566401_4FGL_J1454.4+5124_daily_bin976.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.36e-07', energy_flux2='6.04e-05', photon_flux_error='4.78e-08', dlogl='1.81e+00', energy_flux='9.76e-05', photon_flux2='2.12e-07', job_status='DONE', time_completed='2021-09-10 13:05:10.590576', photon_index_error2='0.35', photon_index2='2.59', ts='21.32', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='2.09e-05', EG='0.72', time_epoch_completed='1631304310.59', return_code='0', job_id='851317', GAL2='1.16', EG2='0.63', return_code2='0', energy_flux_error='3.42e-05', photon_flux_error2='7.13e-08', ts2='24.95', photon_index='1.97' WHERE bin_id='976' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:05:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 851317: <4FGL_J1454.4+5124_daily_bin976> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin976 223.625 51.409 492307201 492566401 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 :                                   616.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             277.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            817 sec.

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

