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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin562
RA = 223.625, Dec = 51.409
tmin = 384998401, tmax = 385257601
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='849675', job_status='RUN', time_executed='2021-09-10 12:49:26.036701', time_epoch_executed='1631303366.04' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='562'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849675

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849675/ft1_4FGL_J1454.4+5124_daily_bin562.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849675/ft2_4FGL_J1454.4+5124_daily_bin562.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849675/ft1_4FGL_J1454.4+5124_daily_bin562.fits outfile=/scratch/kocevski/849675/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin562.fits ra=223.625 dec=51.409 rad=12.0 tmin=384998401.0 tmax=385257601.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 2.74
user 2.51
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849675/ft1_filtered_4FGL_J1454.4+5124_daily_bin562.fits" evtable="EVENTS" scfile=/scratch/kocevski/849675/ft2_4FGL_J1454.4+5124_daily_bin562.fits sctable="SC_DATA" outfile=/scratch/kocevski/849675/ltcube_384998401_385257601_4FGL_J1454.4+5124_daily_bin562.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/849675/ft2_4FGL_J1454.4+5124_daily_bin562.fits
.....................!
real 9.08
user 8.78
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849675/ft1_filtered_4FGL_J1454.4+5124_daily_bin562.fits evtable="EVENTS" scfile=/scratch/kocevski/849675/ft2_4FGL_J1454.4+5124_daily_bin562.fits sctable="SC_DATA" expcube=/scratch/kocevski/849675/ltcube_384998401_385257601_4FGL_J1454.4+5124_daily_bin562.fits outfile=/scratch/kocevski/849675/expmap_384998401_385257601_4FGL_J1454.4+5124_daily_bin562.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/849675/ltcube_384998401_385257601_4FGL_J1454.4+5124_daily_bin562.fits
.....................!
real 145.77
user 141.67
sys 3.79

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/849675/ft1_filtered_4FGL_J1454.4+5124_daily_bin562.fits scfile=/scratch/kocevski/849675/ft2_4FGL_J1454.4+5124_daily_bin562.fits outfile=/scratch/kocevski/849675/cmap_384998401_385257601_4FGL_J1454.4+5124_daily_bin562.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.46
user 0.29
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849675/ft1_filtered_4FGL_J1454.4+5124_daily_bin562.fits scfile=/scratch/kocevski/849675/ft2_4FGL_J1454.4+5124_daily_bin562.fits outfile=/scratch/kocevski/849675/cmap_HighResolution_384998401_385257601_4FGL_J1454.4+5124_daily_bin562.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.45
user 0.29
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .23856       1.0000         .10000E-03   10000.    
     3 'Prefactor '    354.95       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10532E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.8494       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.0456       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .74747E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10172E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    53.977       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.3069       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.3638       1.0000         .10000E-03   10000.    
    20 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10843E-01   1.0000         .10000E-03   10000.    
    24 'Prefactor '    16.822       1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.3196       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .67082       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=   6329.683     FROM MIGRAD    STATUS=CONVERGED    695 CALLS     3491 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    28.121       -.11228E-05** at limit **
   2  norm          .24768        1.8633       -.40340E-06    .37506E-03
   3  Prefactor     354.89        468.97       -.12942E-05   -.27358E-04
   4  Prefactor     .10000E-03    24.129        .98202E-06** at limit **
   5  Prefactor     .10001E-03    119.87       -.29900E-05** at limit **
   6  Prefactor     5.8479        4.6237       -.52585E-07   -.35476E-04
   7  Prefactor     .10000E-03    13.745       -.31517E-06** at limit **
   8  Prefactor     2.0448        2.2400        .12682E-06    .41856E-04
   9  Prefactor     .10000E-03    85.700        .98940E-06** at limit **
  10  Prefactor     .10000E-03    12.432        .31619E-06** at limit **
  11  Prefactor     .10000E-03    16.925        .15287E-06** at limit **
  12  Prefactor     .10000E-03    13.926       -.37083E-06** at limit **
  13  Prefactor     53.989        35.911        .32790E-07    .92182E-04
  14  Prefactor     .10000E-03    4.8723        .42100E-07** at limit **
  15  Prefactor     .10000E-03    11.720        .61195E-06** at limit **
  16  norm          2.3068        1.5933        .63151E-07   -.45191E-04
  17  Prefactor     .10000E-03    5.1165       -.38640E-06** at limit **
  18  Prefactor     .10000E-03    3.4282        .57762E-07** at limit **
  19  Prefactor     8.3621        8.0183        .28787E-05    .14944E-03
  20  norm          .10000E-03    1.1936        .19590E-07** at limit **
  21  Prefactor     .10000E-03    4.4662        .13751E-07** at limit **
  22  Prefactor     .10000E-03    10.612       -.22210E-06** at limit **
  23  Prefactor     .10071E-03    7.8826        .20186E-05** at limit **
  24  Prefactor     16.819        8.5853        .27260E-07   -.13934E-04
  25  norm          .10000E-03    4.2602        .96096E-08** at limit **
  26  Prefactor     .10000E-03    96.988        .10744E-05** at limit **
  27  Normalizat    1.3197        .16937       -.94122E-06   -.20084E-03
  28  Prefactor     .67082        .18205       -.41832E-07   -.19400E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100003
  norm       = 0.247677
  Prefactor  = 354.887
  Prefactor  = 0.000100002
  Prefactor  = 0.000100012
  Prefactor  = 5.84792
  Prefactor  = 0.0001
  Prefactor  = 2.0448
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.9891
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 2.3068
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.36212
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100708
  Prefactor  = 16.8194
  norm       = 0.0001
  Prefactor  = 0.000100002
  Normalizat = 1.31967
  Prefactor  = 0.67082
 **********
 **   18 **HESSE 
 **********

 FCN=   6329.683     FROM HESSE     STATUS=OK           511 CALLS     4002 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    28.177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .24768        7.9289        .20520E-02   -1.5608    
   3  Prefactor     354.89        469.10        .10809E-03   -1.1918    
   4  Prefactor     .10000E-03    24.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    122.33        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.8479        4.6223        .14736E-03   -1.5224    
   7  Prefactor     .10000E-03    13.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.0448        2.2223        .11910E-03   -1.5422    
   9  Prefactor     .10000E-03    88.661        .41884E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    16.931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     53.989        35.813        .54595E-04   -1.4237    
  14  Prefactor     .10000E-03    4.8807        .17151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    11.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.3068        1.5867        .80302E-04   -1.5404    
  17  Prefactor     .10000E-03    5.1619        .17611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.4771        .14382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.3621        8.1036        .69310E-03   -1.5130    
  20  norm          .10000E-03    1.2011        .84830E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.5023        .16385E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    10.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10071E-03    76.829        .38940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     16.819        8.5790        .97651E-04   -1.4888    
  25  norm          .10000E-03    4.2741        .16024E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    97.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.3197        .20154        .20646E-03   -.82981    
  28  Prefactor     .67082        .21801        .30809E-03   -1.0468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00188e-08
Minuit parameter uncertainties:
  1  0.000588047
  2  2.80256
  3  474.282
  4  0.000489738
  5  0.0024553
  6  4.62261
  7  0.000112433
  8  2.22241
  9  7.49668e-05
  10  9.61061e-05
  11  6.22054e-05
  12  0.000138937
  13  35.8271
  14  6.66704e-06
  15  0.000167408
  16  1.58677
  17  5.18682e-05
  18  2.40171e-06
  19  8.10466
  20  1.21277e-06
  21  1.77775e-05
  22  9.35816e-05
  23  0.0147692
  24  8.57961
  25  8.82674e-07
  26  0.000967827
  27  0.201659
  28  0.218284
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.307e+00  1.587e+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:  6.708e-01  2.183e-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.320e+00  2.017e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.96
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.47e-08 +/- 2.38e-08
Energy Flux (Fixed Index): 2.48e-05 +/- 1.71e-05

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

Saving results to:
/scratch/kocevski/849675/likelihoodResults_384998401_385257601_4FGL_J1454.4+5124_daily_bin562.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) = 6329.53714661
delta logL = 0.146209448393

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6329.53231867
delta logL = 0.151037392943

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8788       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2515       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3073       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67896       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=   6329.532     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      271 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8788        1.6846        .69332E-04   -.51308E-03
   2  alpha         2.2515        .55714        .10438E-01   -.40136E-04
   3  Normalizat    1.3073        .19724        .20725E-03    .97696E-04
   4  Prefactor     .67895        .21705        .30632E-03    .11405E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.87885
  alpha      = 2.25146
  Normalizat = 1.30733
  Prefactor  = 0.678948
 **********
 **   18 **HESSE 
 **********

 FCN=   6329.532     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .97E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8788        1.6127        .27733E-05   -1.5434    
   2  alpha         2.2515        .53342        .41752E-03   -.99579E-01
   3  Normalizat    1.3073        .19718        .41450E-04   -.83348    
   4  Prefactor     .67895        .21705        .12253E-04   -1.0436    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.70666e-11
Minuit parameter uncertainties:
  1  1.61271
  2  0.5376
  3  0.197296
  4  0.217321
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849675': 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) = 6329.53231865
delta logL = 0.151037409557

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.879e+00  1.613e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.251e+00  5.376e-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:  6.789e-01  2.173e-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.307e+00  1.973e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.24
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.25 +/- 0.54
Photon Flux (Free Index): 4.50e-08 +/- 3.45e-08
Energy Flux (Free Index): 1.92e-05 +/- 1.50e-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/849675/cmap_HighResolution_384998401_385257601_4FGL_J1454.4+5124_daily_bin562.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.32e-05', comment='SUCCESS', photon_flux='3.47e-08', energy_flux2='1.92e-05', photon_flux_error='2.38e-08', dlogl='1.51e-01', energy_flux='2.48e-05', photon_flux2='4.50e-08', job_status='DONE', time_completed='2021-09-10 13:00:04.254526', photon_index_error2='0.54', photon_index2='2.25', ts='3.96', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='8.84e-08', energy_flux_error2='1.50e-05', EG='1.32', time_epoch_completed='1631304004.25', return_code='0', job_id='849675', GAL2='0.68', EG2='1.31', return_code2='0', energy_flux_error='1.71e-05', photon_flux_error2='3.45e-08', ts2='4.24', photon_index='1.97' WHERE bin_id='562' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:00:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 849675: <4FGL_J1454.4+5124_daily_bin562> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin562> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:46:29 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:46:30 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:30 2021
Terminated at Fri Sep 10 13:00:04 2021
Results reported at Fri Sep 10 13:00:04 2021

Your job looked like:

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

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

