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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin330
RA = 223.625, Dec = 51.409
tmin = 324864001, tmax = 325123201
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='849336', job_status='RUN', time_executed='2021-09-10 12:46:27.020959', time_epoch_executed='1631303187.02' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='330'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849336

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849336/ft1_4FGL_J1454.4+5124_daily_bin330.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849336/ft2_4FGL_J1454.4+5124_daily_bin330.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849336/ft1_4FGL_J1454.4+5124_daily_bin330.fits outfile=/scratch/kocevski/849336/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin330.fits ra=223.625 dec=51.409 rad=12.0 tmin=324864001.0 tmax=325123201.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.68
user 5.39
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849336/ft2_4FGL_J1454.4+5124_daily_bin330.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/849336/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin330.fits evtable="EVENTS" outfile="/scratch/kocevski/849336/ft1_filtered_4FGL_J1454.4+5124_daily_bin330.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.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849336/ft1_filtered_4FGL_J1454.4+5124_daily_bin330.fits" evtable="EVENTS" scfile=/scratch/kocevski/849336/ft2_4FGL_J1454.4+5124_daily_bin330.fits sctable="SC_DATA" outfile=/scratch/kocevski/849336/ltcube_324864001_325123201_4FGL_J1454.4+5124_daily_bin330.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/849336/ft2_4FGL_J1454.4+5124_daily_bin330.fits
.....................!
real 11.55
user 11.19
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849336/ft1_filtered_4FGL_J1454.4+5124_daily_bin330.fits evtable="EVENTS" scfile=/scratch/kocevski/849336/ft2_4FGL_J1454.4+5124_daily_bin330.fits sctable="SC_DATA" expcube=/scratch/kocevski/849336/ltcube_324864001_325123201_4FGL_J1454.4+5124_daily_bin330.fits outfile=/scratch/kocevski/849336/expmap_324864001_325123201_4FGL_J1454.4+5124_daily_bin330.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/849336/ltcube_324864001_325123201_4FGL_J1454.4+5124_daily_bin330.fits
.....................!
real 190.67
user 185.10
sys 5.20

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/849336/ft1_filtered_4FGL_J1454.4+5124_daily_bin330.fits scfile=/scratch/kocevski/849336/ft2_4FGL_J1454.4+5124_daily_bin330.fits outfile=/scratch/kocevski/849336/cmap_324864001_325123201_4FGL_J1454.4+5124_daily_bin330.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849336/ft1_filtered_4FGL_J1454.4+5124_daily_bin330.fits scfile=/scratch/kocevski/849336/ft2_4FGL_J1454.4+5124_daily_bin330.fits outfile=/scratch/kocevski/849336/cmap_HighResolution_324864001_325123201_4FGL_J1454.4+5124_daily_bin330.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .11570E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .27080E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .26119       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10573E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12903E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    53.934       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.3701       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.5349       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.2964       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.7138       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.7449       1.0000         .10000E-03   10000.    
    20 'norm      '    2.7791       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.1460       1.0000         .10000E-03   10000.    
    22 'Prefactor '    26.194       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .27075E-01   1.0000         .10000E-03   10000.    
    24 'Prefactor '    9.2690       1.0000         .10000E-03   10000.    
    25 'norm      '    2.0411       1.0000         .10000E-03   10000.    
    26 'Prefactor '    38.680       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1837       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .99236       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=   5338.903     FROM MIGRAD    STATUS=CONVERGED    744 CALLS     3582 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    30.288        .56907E-08** at limit **
   2  norm          .10000E-03    5.4056        .23978E-07** at limit **
   3  Prefactor     .10000E-03    207.47        .48349E-06** at limit **
   4  Prefactor     .10000E-03    83.146        .63893E-06** at limit **
   5  Prefactor     .10000E-03    264.28        .25602E-05** at limit **
   6  Prefactor     .10000E-03    3.3307        .40872E-07** at limit **
   7  Prefactor     .83447E-01    24.785       -.15605E-05    .18895E-03
   8  Prefactor     .10000E-03    1.3238        .68156E-07** at limit **
   9  Prefactor     .10000E-03    64.827       -.89590E-07** at limit **
  10  Prefactor     .10000E-03    79.954        .11658E-05** at limit **
  11  Prefactor     53.910        48.577        .40878E-06    .33774E-04
  12  Prefactor     9.3859        36.919        .69689E-07    .84327E-05
  13  Prefactor     .10000E-03    13.700        .46149E-08** at limit **
  14  Prefactor     .10000E-03    11.721        .11123E-06** at limit **
  15  Prefactor     .10000E-03    12.893       -.62355E-08** at limit **
  16  norm          3.5353        1.9851        .31868E-07    .84405E-05
  17  Prefactor     8.2972        9.9542        .17314E-06    .12290E-03
  18  Prefactor     4.7169        7.4455        .19669E-06   -.44404E-05
  19  Prefactor     7.7436        8.5326        .62472E-07   -.79205E-04
  20  norm          2.7795        3.0045       -.10773E-06    .54076E-05
  21  Prefactor     3.1831        9.6293       -.20756E-05   -.60686E-04
  22  Prefactor     26.248        28.475       -.18046E-05    .74733E-05
  23  Prefactor     .10117E-03    13.520        .31674E-06** at limit **
  24  Prefactor     9.2680        8.3196       -.20376E-06    .10134E-03
  25  norm          2.0395        7.2716        .12905E-05   -.25646E-04
  26  Prefactor     38.683        46.620       -.47123E-07   -.75608E-05
  27  Normalizat    1.1840        .19539       -.12446E-06    .41833E-04
  28  Prefactor     .99201        .21469       -.24016E-06    .27540E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0834468
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.9102
  Prefactor  = 9.38593
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.53526
  Prefactor  = 8.29725
  Prefactor  = 4.71689
  Prefactor  = 7.74358
  norm       = 2.77949
  Prefactor  = 3.1831
  Prefactor  = 26.2484
  Prefactor  = 0.000101167
  Prefactor  = 9.26805
  norm       = 2.03952
  Prefactor  = 38.6831
  Normalizat = 1.18395
  Prefactor  = 0.992009
 **********
 **   18 **HESSE 
 **********

 FCN=   5338.903     FROM HESSE     STATUS=OK           529 CALLS     4111 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    30.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.6520        .33142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    207.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    83.184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    269.04        .39874E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.3532        .13017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .83447E-01    34.104        .93807E-01   -1.5650    
   8  Prefactor     .10000E-03    1.3348        .82025E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    65.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    80.705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     53.910        48.486        .54616E-04   -1.4238    
  12  Prefactor     9.3859        36.973        .13092E-03   -1.5095    
  13  Prefactor     .10000E-03    13.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.5353        1.9819        .74380E-04   -1.5332    
  17  Prefactor     8.2972        9.9137        .13918E-03   -1.5132    
  18  Prefactor     4.7169        7.4243        .18534E-03   -1.5274    
  19  Prefactor     7.7436        8.5563        .14409E-03   -1.5151    
  20  norm          2.7795        2.9899        .12378E-03   -1.5375    
  21  Prefactor     3.1831        9.4701        .22854E-03   -1.5351    
  22  Prefactor     26.248        28.235        .78273E-04   -1.4683    
  23  Prefactor     .10117E-03    99.970        .50387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.2680        8.2794        .13164E-03   -1.5099    
  25  norm          2.0395        7.0989        .28945E-03   -1.5422    
  26  Prefactor     38.683        46.623        .64446E-04   -1.4463    
  27  Normalizat    1.1840        .23394        .23280E-03   -.87100    
  28  Prefactor     .99201        .25425        .28385E-03   -.92996    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25191e-08
Minuit parameter uncertainties:
  1  3.6751e-06
  2  2.97789e-06
  3  0.000703499
  4  0.000383255
  5  0.00151923
  6  3.41523e-06
  7  3.37383
  8  5.78537e-07
  9  0.00016344
  10  0.000363174
  11  48.5215
  12  37.0633
  13  4.63352e-06
  14  1.9247e-06
  15  8.2804e-06
  16  1.98189
  17  9.91565
  18  7.42579
  19  8.55768
  20  2.99005
  21  9.47452
  22  28.2496
  23  0.0216358
  24  8.28047
  25  7.1018
  26  46.6669
  27  0.234151
  28  0.254556
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.535e+00  1.982e+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:  9.920e-01  2.546e-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.184e+00  2.342e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.35
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 5.31e-08 +/- 2.98e-08
Energy Flux (Fixed Index): 3.80e-05 +/- 2.13e-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) = 5338.72705384
delta logL = 0.1760900266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5338.71311686
delta logL = 0.190027008365

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8294       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2638       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0040       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=   5338.713     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      235 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8301        28.740        .60443E-02    .27182E-03
   2  alpha         2.2640        3.6319        .22537        .63181E-04
   3  Normalizat    1.1656        .94072E-01    .52982E-01   -.81860E-05
   4  Prefactor     1.0039        .85174E-01    .63870E-01   -.20315E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.83011
  alpha      = 2.26398
  Normalizat = 1.16561
  Prefactor  = 1.00392
 **********
 **   18 **HESSE 
 **********

 FCN=   5338.713     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8301        2.1892        .62781E-04   -1.5371    
   2  alpha         2.2640        .51867        .86697E-02   -.94548E-01
   3  Normalizat    1.1656        .22421        .23426E-03   -.87672    
   4  Prefactor     1.0039        .25202        .28248E-03   -.92599    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18243e-11
Minuit parameter uncertainties:
  1  2.18923
  2  0.522495
  3  0.224391
  4  0.252314
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849336': 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) = 5338.71311513
delta logL = 0.190028734925

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.830e+00  2.189e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.264e+00  5.225e-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.004e+00  2.523e-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.166e+00  2.244e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.70
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.26 +/- 0.52
Photon Flux (Free Index): 6.93e-08 +/- 4.42e-08
Energy Flux (Free Index): 2.90e-05 +/- 1.96e-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/849336/cmap_HighResolution_324864001_325123201_4FGL_J1454.4+5124_daily_bin330.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.31e-08', energy_flux2='2.90e-05', photon_flux_error='2.98e-08', dlogl='1.90e-01', energy_flux='3.80e-05', photon_flux2='6.93e-08', job_status='DONE', time_completed='2021-09-10 12:58:00.606295', photon_index_error2='0.52', photon_index2='2.26', ts='7.35', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='1.96e-05', EG='1.18', time_epoch_completed='1631303880.61', return_code='0', job_id='849336', GAL2='1.00', EG2='1.17', return_code2='0', energy_flux_error='2.13e-05', photon_flux_error2='4.42e-08', ts2='7.70', photon_index='1.97' WHERE bin_id='330' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:58:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 849336: <4FGL_J1454.4+5124_daily_bin330> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin330> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:46:07 2021
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:46:08 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:08 2021
Terminated at Fri Sep 10 12:58:01 2021
Results reported at Fri Sep 10 12:58:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin330 223.625 51.409 324864001 325123201 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 :                                   692.20 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             332.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            714 sec.

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

