/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 113 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 = 7373
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1454.4+5124_daily_bin273
RA = 223.625, Dec = 51.409
tmin = 310089601, tmax = 310348801
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='848115', job_status='RUN', time_executed='2021-09-10 12:43:35.050590', time_epoch_executed='1631303015.05' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='273'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/848115

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/848115/ft1_4FGL_J1454.4+5124_daily_bin273.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/848115/ft2_4FGL_J1454.4+5124_daily_bin273.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/848115/ft1_4FGL_J1454.4+5124_daily_bin273.fits outfile=/scratch/kocevski/848115/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin273.fits ra=223.625 dec=51.409 rad=12.0 tmin=310089601.0 tmax=310348801.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 3.36
user 3.15
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/848115/ft2_4FGL_J1454.4+5124_daily_bin273.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/848115/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin273.fits evtable="EVENTS" outfile="/scratch/kocevski/848115/ft1_filtered_4FGL_J1454.4+5124_daily_bin273.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/848115/ft1_filtered_4FGL_J1454.4+5124_daily_bin273.fits" evtable="EVENTS" scfile=/scratch/kocevski/848115/ft2_4FGL_J1454.4+5124_daily_bin273.fits sctable="SC_DATA" outfile=/scratch/kocevski/848115/ltcube_310089601_310348801_4FGL_J1454.4+5124_daily_bin273.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/848115/ft2_4FGL_J1454.4+5124_daily_bin273.fits
.....................!
real 11.78
user 11.45
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/848115/ft1_filtered_4FGL_J1454.4+5124_daily_bin273.fits evtable="EVENTS" scfile=/scratch/kocevski/848115/ft2_4FGL_J1454.4+5124_daily_bin273.fits sctable="SC_DATA" expcube=/scratch/kocevski/848115/ltcube_310089601_310348801_4FGL_J1454.4+5124_daily_bin273.fits outfile=/scratch/kocevski/848115/expmap_310089601_310348801_4FGL_J1454.4+5124_daily_bin273.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/848115/ltcube_310089601_310348801_4FGL_J1454.4+5124_daily_bin273.fits
.....................!
real 190.51
user 185.51
sys 4.64

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/848115/ft1_filtered_4FGL_J1454.4+5124_daily_bin273.fits scfile=/scratch/kocevski/848115/ft2_4FGL_J1454.4+5124_daily_bin273.fits outfile=/scratch/kocevski/848115/cmap_310089601_310348801_4FGL_J1454.4+5124_daily_bin273.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.61
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/848115/ft1_filtered_4FGL_J1454.4+5124_daily_bin273.fits scfile=/scratch/kocevski/848115/ft2_4FGL_J1454.4+5124_daily_bin273.fits outfile=/scratch/kocevski/848115/cmap_HighResolution_310089601_310348801_4FGL_J1454.4+5124_daily_bin273.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.54
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    8.7114       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.447       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .72043       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.2973       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.704       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .97973E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.6741       1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.282       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.2972       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.3497       1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.0884       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .22044E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    6.3521       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .58533       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.4954       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=   6579.842     FROM MIGRAD    STATUS=CONVERGED    720 CALLS     3037 TOTAL
                     EDM=   .73E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    24.569       -.36524E-05** at limit **
   2  norm          8.7107        4.2887       -.41297E-07   -.11568E-04
   3  Prefactor     .10000E-03    279.69       -.52506E-05** at limit **
   4  Prefactor     11.441        31.000       -.78421E-07   -.71286E-05
   5  Prefactor     .10000E-03    6.9095        .53771E-09** at limit **
   6  Prefactor     .10000E-03    1.3045        .10817E-07** at limit **
   7  Prefactor     .10000E-03    8.6577        .22754E-07** at limit **
   8  Prefactor     .72109        1.8213       -.10833E-06    .10811E-04
   9  Prefactor     .10000E-03    10.183        .32104E-07** at limit **
  10  Prefactor     7.2909        16.532       -.21108E-06   -.24528E-04
  11  Prefactor     .10000E-03    36.947        .23670E-05** at limit **
  12  Prefactor     23.698        25.681        .26004E-07   -.55743E-05
  13  Prefactor     .10000E-03    13.352       -.29296E-07** at limit **
  14  Prefactor     .10006E-03    30.956        .64173E-05** at limit **
  15  Prefactor     .10001E-03    7.5748        .23270E-06** at limit **
  16  norm          1.6745        1.2688        .19528E-07   -.20171E-03
  17  Prefactor     12.282        8.7185       -.92828E-08   -.22213E-04
  18  Prefactor     5.2990        4.9723       -.92237E-06   -.11452E-03
  19  Prefactor     6.3487        8.1120       -.11728E-06   -.16029E-04
  20  norm          .10000E-03    1.5991       -.14616E-07** at limit **
  21  Prefactor     .10000E-03    3.7385       -.39456E-07** at limit **
  22  Prefactor     9.0908        16.677       -.10504E-05   -.15169E-05
  23  Prefactor     .10000E-03    4.6212       -.55093E-07** at limit **
  24  Prefactor     .10000E-03    19.255        .56215E-05** at limit **
  25  norm          6.3545        7.1371       -.51077E-07   -.99599E-05
  26  Prefactor     .10000E-03    53.531       -.32282E-05** at limit **
  27  Normalizat    .58544        .16622        .47855E-06   -.74095E-04
  28  Prefactor     1.4953        .18963        .92053E-08   -.98371E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 8.71069
  Prefactor  = 0.0001
  Prefactor  = 11.441
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.721087
  Prefactor  = 0.0001
  Prefactor  = 7.29093
  Prefactor  = 0.0001
  Prefactor  = 23.698
  Prefactor  = 0.0001
  Prefactor  = 0.000100062
  Prefactor  = 0.000100015
  norm       = 1.67448
  Prefactor  = 12.2818
  Prefactor  = 5.29898
  Prefactor  = 6.3487
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.09077
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 6.35454
  Prefactor  = 0.0001
  Normalizat = 0.585437
  Prefactor  = 1.49527
 **********
 **   18 **HESSE 
 **********

 FCN=   6579.842     FROM HESSE     STATUS=OK           523 CALLS     3560 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    24.548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.7107        4.2817        .11299E-03   -1.5118    
   3  Prefactor     .10000E-03    279.67        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.441        30.898        .11841E-03   -1.5031    
   5  Prefactor     .10000E-03    6.9112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.3085        .90474E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.6875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .72109        1.7458        .15573E-03   -1.5538    
   9  Prefactor     .10000E-03    10.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.2909        16.279        .14848E-03   -1.5168    
  11  Prefactor     .10000E-03    36.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.698        25.698        .82274E-04   -1.4734    
  13  Prefactor     .10000E-03    13.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10006E-03    94.375        .52867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    62.076        .41664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.6745        1.2539        .76176E-04   -1.5449    
  17  Prefactor     12.282        8.6978        .11430E-03   -1.5007    
  18  Prefactor     5.2990        4.9719        .84568E-03   -1.5248    
  19  Prefactor     6.3487        8.1122        .15929E-03   -1.5204    
  20  norm          .10000E-03    1.6238        .10013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.7673        .15310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     9.0908        16.616        .66473E-03   -1.5105    
  23  Prefactor     .10000E-03    4.6341        .17024E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    23.247        .31990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          6.3545        6.7900        .15926E-03   -1.5204    
  26  Prefactor     .10000E-03    53.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .58544        .19779        .28696E-03   -1.0861    
  28  Prefactor     1.4953        .22913        .22505E-03   -.77672    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01101e-09
Minuit parameter uncertainties:
  1  1.63873e-05
  2  4.28182
  3  7.27011e-05
  4  30.9415
  5  2.07415e-07
  6  8.05844e-08
  7  8.47114e-07
  8  1.74595
  9  1.27268e-06
  10  16.2893
  11  1.17079e-05
  12  25.7101
  13  6.8291e-07
  14  0.00483053
  15  0.00191467
  16  1.25387
  17  8.69868
  18  4.97231
  19  8.11358
  20  1.6957e-06
  21  3.79672e-06
  22  16.6244
  23  3.88033e-06
  24  0.000602141
  25  6.79086
  26  1.00396e-05
  27  0.198027
  28  0.229287
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.674e+00  1.254e+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.495e+00  2.293e-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:  5.854e-01  1.980e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.09
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.52e-08 +/- 1.88e-08
Energy Flux (Fixed Index): 1.80e-05 +/- 1.35e-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) = 6579.8302936
delta logL = 0.0120651115831

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6579.82812594
delta logL = 0.0142327748254

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5931       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0617       1.0000          .0000       5.0000    
     3 'Normalizat'    .58311       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4963       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=   6579.828     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      212 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5932        30.731        .84027E-02    .16660E-03
   2  alpha         2.0618        3.2694        .27172        .44327E-04
   3  Normalizat    .58310        .71619E-01    .64967E-01    .33212E-04
   4  Prefactor     1.4963        .70980E-01    .50890E-01   -.20658E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.59323
  alpha      = 2.06177
  Normalizat = 0.583098
  Prefactor  = 1.49635
 **********
 **   18 **HESSE 
 **********

 FCN=   6579.828     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5932        1.3335        .73004E-04   -1.5456    
   2  alpha         2.0618        .56452        .13463E-01   -.17620    
   3  Normalizat    .58310        .18882        .28748E-03   -1.0871    
   4  Prefactor     1.4963        .22693        .22497E-03   -.77642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.70807e-12
Minuit parameter uncertainties:
  1  1.33353
  2  0.569595
  3  0.18903
  4  0.227082
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/848115': 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) = 6579.82812592
delta logL = 0.0142327998592

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.593e+00  1.334e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.062e+00  5.696e-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.496e+00  2.271e-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:  5.831e-01  1.890e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.11
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.06 +/- 0.57
Photon Flux (Free Index): 2.77e-08 +/- 2.49e-08
Energy Flux (Free Index): 1.64e-05 +/- 1.54e-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/848115/cmap_HighResolution_310089601_310348801_4FGL_J1454.4+5124_daily_bin273.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.52e-08', energy_flux2='1.64e-05', photon_flux_error='1.88e-08', dlogl='1.42e-02', energy_flux='1.80e-05', photon_flux2='2.77e-08', job_status='DONE', time_completed='2021-09-10 12:55:12.100247', photon_index_error2='0.57', photon_index2='2.06', ts='5.09', fit_tolerance='1e-08', GAL='1.50', photon_index_error='0.00', energy_flux_error2='1.54e-05', EG='0.59', time_epoch_completed='1631303712.1', return_code='0', job_id='848115', GAL2='1.50', EG2='0.58', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='2.49e-08', ts2='5.11', photon_index='1.97' WHERE bin_id='273' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:55:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 848115: <4FGL_J1454.4+5124_daily_bin273> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin273 223.625 51.409 310089601 310348801 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 :                                   696.40 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             297.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            821 sec.

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

