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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin73
RA = 223.625, Dec = 51.409
tmin = 258249601, tmax = 258508801
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='847816', job_status='RUN', time_executed='2021-09-10 12:44:39.687146', time_epoch_executed='1631303079.69' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='73'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847816

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

Retrieving the FT1 file...

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

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

Retrieving 33 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847816/ft1_4FGL_J1454.4+5124_daily_bin73.fits


Retrieving the FT1 file...

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

Retrieving 33 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847816/ft2_4FGL_J1454.4+5124_daily_bin73.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847816/ft1_4FGL_J1454.4+5124_daily_bin73.fits outfile=/scratch/kocevski/847816/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin73.fits ra=223.625 dec=51.409 rad=12.0 tmin=258249601.0 tmax=258508801.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.17
user 0.97
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847816/ft1_filtered_4FGL_J1454.4+5124_daily_bin73.fits evtable="EVENTS" scfile=/scratch/kocevski/847816/ft2_4FGL_J1454.4+5124_daily_bin73.fits sctable="SC_DATA" expcube=/scratch/kocevski/847816/ltcube_258249601_258508801_4FGL_J1454.4+5124_daily_bin73.fits outfile=/scratch/kocevski/847816/expmap_258249601_258508801_4FGL_J1454.4+5124_daily_bin73.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/847816/ltcube_258249601_258508801_4FGL_J1454.4+5124_daily_bin73.fits
.....................!
real 193.15
user 187.17
sys 5.55

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/847816/ft1_filtered_4FGL_J1454.4+5124_daily_bin73.fits scfile=/scratch/kocevski/847816/ft2_4FGL_J1454.4+5124_daily_bin73.fits outfile=/scratch/kocevski/847816/cmap_258249601_258508801_4FGL_J1454.4+5124_daily_bin73.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847816/ft1_filtered_4FGL_J1454.4+5124_daily_bin73.fits scfile=/scratch/kocevski/847816/ft2_4FGL_J1454.4+5124_daily_bin73.fits outfile=/scratch/kocevski/847816/cmap_HighResolution_258249601_258508801_4FGL_J1454.4+5124_daily_bin73.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.53
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10266E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    8.3908       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .16637E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    37.217       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.204       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.9381       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    112.36       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .14400E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    29.702       1.0000         .10000E-03   10000.    
    16 'norm      '    .10183E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.257       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    19.868       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .53166E-01   1.0000         .10000E-03   10000.    
    25 'norm      '    35.194       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .75520       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .99423       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=   3279.401     FROM MIGRAD    STATUS=CONVERGED    693 CALLS     3555 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    125.73        .10270E-03** at limit **
   2  norm          8.3890        7.7942        .62544E-05   -.19636E-03
   3  Prefactor     .10000E-03    250.18        .92469E-05** at limit **
   4  Prefactor     .10000E-03    31.206       -.43540E-05** at limit **
   5  Prefactor     .10000E-03    73.075       -.29534E-04** at limit **
   6  Prefactor     .10000E-03    12.464        .60909E-06** at limit **
   7  Prefactor     37.199        41.165       -.37565E-05    .79086E-04
   8  Prefactor     11.203        5.4168        .23721E-06    .30183E-04
   9  Prefactor     5.9126        99.094       -.32089E-04   -.47139E-04
  10  Prefactor     .10000E-03    23.428        .15814E-04** at limit **
  11  Prefactor     112.32        114.81       -.29112E-04    .41397E-04
  12  Prefactor     .10000E-03    30.772       -.67255E-05** at limit **
  13  Prefactor     .10000E-03    34.123        .28770E-04** at limit **
  14  Prefactor     .10002E-03    83.592       -.14308E-04** at limit **
  15  Prefactor     29.712        26.097       -.30245E-06    .37351E-05
  16  norm          .10000E-03    1.9127        .61886E-06** at limit **
  17  Prefactor     19.257        14.236        .14374E-06   -.12163E-04
  18  Prefactor     .10000E-03    2.5423        .60182E-07** at limit **
  19  Prefactor     .10000E-03    3.4355        .67545E-07** at limit **
  20  norm          .10000E-03    1.6884        .10491E-06** at limit **
  21  Prefactor     .10000E-03    17.597       -.15578E-05** at limit **
  22  Prefactor     .10000E-03    16.394        .36100E-06** at limit **
  23  Prefactor     19.861        19.475       -.23510E-05    .71636E-04
  24  Prefactor     .10956E-03    13.872       -.34159E-05** at limit **
  25  norm          35.262        17.844        .10188E-06    .78195E-03
  26  Prefactor     .10000E-03    26.732       -.23773E-04** at limit **
  27  Normalizat    .75548        .25170        .67664E-05    .95981E-04
  28  Prefactor     .99414        .24654       -.12147E-05    .27039E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  norm       = 8.38902
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 37.1991
  Prefactor  = 11.2032
  Prefactor  = 5.91261
  Prefactor  = 0.0001
  Prefactor  = 112.322
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100022
  Prefactor  = 29.7117
  norm       = 0.000100001
  Prefactor  = 19.2572
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.8612
  Prefactor  = 0.000109556
  norm       = 35.2616
  Prefactor  = 0.0001
  Normalizat = 0.755483
  Prefactor  = 0.994137
 **********
 **   18 **HESSE 
 **********

 FCN=   3279.401     FROM HESSE     STATUS=OK           521 CALLS     4076 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    125.49        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.3890        7.7794        .13839E-03   -1.5129    
   3  Prefactor     .10000E-03    250.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    31.213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    73.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     37.199        41.831        .65696E-04   -1.4487    
   8  Prefactor     11.203        5.4015        .85098E-04   -1.5038    
   9  Prefactor     5.9126        99.812        .16479E-03   -1.5222    
  10  Prefactor     .10000E-03    23.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     112.32        114.49        .18975E-03   -1.3584    
  12  Prefactor     .10000E-03    30.979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    34.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10002E-03    83.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     29.712        25.491        .73515E-04   -1.4617    
  16  norm          .10000E-03    3.5887        .14933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.257        14.244        .91270E-04   -1.4830    
  18  Prefactor     .10000E-03    2.5448        .89166E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.4397        .10364E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.6938        .72603E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    18.000        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    16.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     19.861        19.601        .89857E-04   -1.4816    
  24  Prefactor     .10956E-03    19.066        .56918E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          35.262        17.954        .33776E-03   -1.4520    
  26  Prefactor     .10000E-03    26.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .75548        .29830        .25570E-03   -1.0174    
  28  Prefactor     .99414        .29041        .25016E-03   -.92925    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69559e-09
Minuit parameter uncertainties:
  1  0.000604695
  2  7.78036
  3  1.82308e-06
  4  2.69576e-05
  5  0.000601793
  6  0.000229125
  7  41.8641
  8  5.40171
  9  48.6812
  10  0.000144919
  11  114.712
  12  2.20058e-05
  13  0.000144812
  14  0.00274501
  15  25.5
  16  0.000111842
  17  14.2469
  18  1.35701e-06
  19  5.53578e-07
  20  4.08523e-06
  21  0.000131447
  22  1.87775e-05
  23  19.6076
  24  0.0270042
  25  17.9566
  26  8.86437e-06
  27  0.298942
  28  0.290867
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  1.118e-04  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:  9.941e-01  2.909e-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.555e-01  2.989e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/847816/likelihoodResults_258249601_258508801_4FGL_J1454.4+5124_daily_bin73.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): 102
logL (Free Index) = 3279.40276533
delta logL = -0.00133211942784

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3279.40143146
delta logL = 1.75315199158e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12104E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0499       1.0000          .0000       5.0000    
     3 'Normalizat'    .75542       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99426       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=   3279.166     FROM MIGRAD    STATUS=CONVERGED    137 CALLS      298 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19859E-01    .39595E-01    .27029E-02   -.38933E-02
   2  alpha         4.4260        .88813        .42028        .33670E-04
   3  Normalizat    .70725        .22824        .43026E-01    .33498E-04
   4  Prefactor     1.0237        .24580        .46195E-01    .10071E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0198586
  alpha      = 4.42599
  Normalizat = 0.707252
  Prefactor  = 1.02373
 **********
 **   18 **HESSE 
 **********

 FCN=   3279.166     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      331 TOTAL
                     EDM=   .67E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19859E-01    2.3112        .12196E-04   -1.5736    
   2  alpha         4.4260        2.7620        .24354E-01    .87946    
   3  Normalizat    .70725        .20217        .26308E-03   -1.0361    
   4  Prefactor     1.0237        .22308        .24669E-03   -.91943    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.7112e-07
Minuit parameter uncertainties:
  1  0.427411
  2  9.23233
  3  0.202384
  4  0.223282
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847816': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3279.16635488
delta logL = 0.235078333433

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.024e+00  2.233e-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.073e-01  2.024e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 223.625 51.409

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/847816/cmap_HighResolution_258249601_258508801_4FGL_J1454.4+5124_daily_bin73.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.92e-05', job_status='DONE', photon_flux_upper_limit='8.27e-08', time_completed='2021-09-10 12:54:20.800637', job_id='847816', GAL2='1.02', fit_tolerance='1e-08', EG2='0.71', EG='0.76', time_epoch_completed='1631303660.8', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.35e-01', ts2='0.50', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='73' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:54:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 847816: <4FGL_J1454.4+5124_daily_bin73> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin73> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 12:41:10 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:41:12 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:12 2021
Terminated at Fri Sep 10 12:54:21 2021
Results reported at Fri Sep 10 12:54:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin73 223.625 51.409 258249601 258508801 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 :                                   582.05 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             306.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            791 sec.

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

