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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin48
RA = 223.625, Dec = 51.409
tmin = 251769601, tmax = 252028801
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='847779', job_status='RUN', time_executed='2021-09-10 12:42:01.750747', time_epoch_executed='1631302921.75' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='48'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847779

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847779/ft1_4FGL_J1454.4+5124_daily_bin48.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847779/ft2_4FGL_J1454.4+5124_daily_bin48.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847779/ft1_4FGL_J1454.4+5124_daily_bin48.fits outfile=/scratch/kocevski/847779/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin48.fits ra=223.625 dec=51.409 rad=12.0 tmin=251769601.0 tmax=252028801.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.25
user 1.95
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847779/ft1_filtered_4FGL_J1454.4+5124_daily_bin48.fits evtable="EVENTS" scfile=/scratch/kocevski/847779/ft2_4FGL_J1454.4+5124_daily_bin48.fits sctable="SC_DATA" expcube=/scratch/kocevski/847779/ltcube_251769601_252028801_4FGL_J1454.4+5124_daily_bin48.fits outfile=/scratch/kocevski/847779/expmap_251769601_252028801_4FGL_J1454.4+5124_daily_bin48.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/847779/ltcube_251769601_252028801_4FGL_J1454.4+5124_daily_bin48.fits
.....................!
real 191.03
user 185.15
sys 5.46

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/847779/ft1_filtered_4FGL_J1454.4+5124_daily_bin48.fits scfile=/scratch/kocevski/847779/ft2_4FGL_J1454.4+5124_daily_bin48.fits outfile=/scratch/kocevski/847779/cmap_251769601_252028801_4FGL_J1454.4+5124_daily_bin48.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=223.625 yref=51.409 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.52
user 0.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    15.301       1.0000         .10000E-03   10000.    
     3 'Prefactor '    108.20       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.9012       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.3640       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.814       1.0000         .10000E-03   10000.    
    11 'Prefactor '    98.043       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.593       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10585E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.7005       1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.441       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.477       1.0000         .10000E-03   10000.    
    20 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.5058       1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.640       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    13.591       1.0000         .10000E-03   10000.    
    26 'Prefactor '    21.586       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .72791       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1034       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=   7366.058     FROM MIGRAD    STATUS=CONVERGED    654 CALLS     3507 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    21.682       -.38320E-08** at limit **
   2  norm          15.301        5.0064        .21103E-07   -.92680E-05
   3  Prefactor     107.81        326.09       -.10595E-05   -.41265E-05
   4  Prefactor     .10000E-03    21.831        .93360E-07** at limit **
   5  Prefactor     9.8888        27.947        .35672E-06   -.67798E-05
   6  Prefactor     .10000E-03    1.5277        .13129E-07** at limit **
   7  Prefactor     .10000E-03    27.952        .12140E-05** at limit **
   8  Prefactor     1.3637        1.3166       -.18061E-07    .37097E-07
   9  Prefactor     .10000E-03    9.1844        .13591E-06** at limit **
  10  Prefactor     12.815        18.729        .83692E-07   -.33540E-05
  11  Prefactor     98.051        64.709       -.25032E-06   -.78320E-05
  12  Prefactor     13.587        19.590        .11849E-06   -.64709E-05
  13  Prefactor     .10000E-03    11.390        .95057E-07** at limit **
  14  Prefactor     .10000E-03    8.9107        .52188E-06** at limit **
  15  Prefactor     .10000E-03    5.1707        .24559E-06** at limit **
  16  norm          2.7004        1.2518        .59489E-09   -.25772E-04
  17  Prefactor     15.442        12.634       -.10267E-05   -.11337E-04
  18  Prefactor     .10000E-03    1.4516        .12482E-06** at limit **
  19  Prefactor     13.475        9.8493        .16830E-05   -.50439E-05
  20  norm          .10000E-03    1.7292       -.14764E-07** at limit **
  21  Prefactor     5.5065        6.7477        .52065E-07   -.16922E-04
  22  Prefactor     13.639        14.132       -.19948E-06   -.11582E-04
  23  Prefactor     .10000E-03    20.032        .46126E-06** at limit **
  24  Prefactor     .10000E-03    2.5716        .38435E-07** at limit **
  25  norm          13.589        7.8469       -.25194E-07   -.53107E-05
  26  Prefactor     21.479        62.172       -.67300E-06   -.13430E-04
  27  Normalizat    .72812        .15051       -.52729E-06   -.27241E-04
  28  Prefactor     1.1031        .16501        .38503E-07   -.60972E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 15.3005
  Prefactor  = 107.813
  Prefactor  = 0.0001
  Prefactor  = 9.88879
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.3637
  Prefactor  = 0.0001
  Prefactor  = 12.8148
  Prefactor  = 98.0512
  Prefactor  = 13.5867
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.70045
  Prefactor  = 15.4417
  Prefactor  = 0.0001
  Prefactor  = 13.475
  norm       = 0.0001
  Prefactor  = 5.50647
  Prefactor  = 13.6393
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.5894
  Prefactor  = 21.4791
  Normalizat = 0.728123
  Prefactor  = 1.10314
 **********
 **   18 **HESSE 
 **********

 FCN=   7366.058     FROM HESSE     STATUS=OK           521 CALLS     4028 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    21.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.301        5.0098        .10239E-03   -1.4925    
   3  Prefactor     107.81        327.06        .19333E-03   -1.3628    
   4  Prefactor     .10000E-03    21.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.8888        27.960        .12735E-03   -1.5079    
   6  Prefactor     .10000E-03    1.5341        .10355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    28.857        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.3637        1.3318        .92310E-04   -1.5474    
   9  Prefactor     .10000E-03    9.2135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.815        18.669        .11190E-03   -1.4992    
  11  Prefactor     98.051        64.626        .40597E-04   -1.3724    
  12  Prefactor     13.587        19.629        .10864E-03   -1.4971    
  13  Prefactor     .10000E-03    11.400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.9408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.1940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.7004        1.2511        .63295E-04   -1.5379    
  17  Prefactor     15.442        12.618        .10193E-03   -1.4922    
  18  Prefactor     .10000E-03    1.4567        .10099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     13.475        9.8483        .54555E-03   -1.4974    
  20  norm          .10000E-03    1.7421        .10947E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.5065        6.6755        .17123E-03   -1.5239    
  22  Prefactor     13.639        14.100        .10845E-03   -1.4969    
  23  Prefactor     .10000E-03    20.431        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    2.5859        .13434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          13.589        7.8474        .10865E-03   -1.4971    
  26  Prefactor     21.479        62.402        .86211E-04   -1.4781    
  27  Normalizat    .72812        .17836        .25309E-03   -1.0279    
  28  Prefactor     1.1031        .19636        .24196E-03   -.89366    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74951e-11
Minuit parameter uncertainties:
  1  1.7138e-07
  2  5.0099
  3  332.79
  4  4.25876e-06
  5  27.997
  6  3.71515e-07
  7  1.04479e-05
  8  1.33185
  9  1.3026e-06
  10  18.6776
  11  64.6729
  12  19.6379
  13  7.12766e-08
  14  3.85449e-06
  15  1.63373e-06
  16  1.25116
  17  12.6198
  18  5.3883e-07
  19  9.84946
  20  8.74024e-07
  21  6.6764
  22  14.1037
  23  2.85211e-05
  24  3.36971e-07
  25  7.84803
  26  62.5924
  27  0.178503
  28  0.196488
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.700e+00  1.251e+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.103e+00  1.965e-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.281e-01  1.785e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.61
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 4.06e-08 +/- 1.88e-08
Energy Flux (Fixed Index): 2.90e-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) = 7366.00105169
delta logL = 0.0566882939011

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7365.99218206
delta logL = 0.0655579156173

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9323       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8458       1.0000          .0000       5.0000    
     3 'Normalizat'    .73134       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1013       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=   7365.992     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      229 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9327        32.601        .59303E-02   -.25394E-04
   2  alpha         1.8457        3.3262        .24287        .37965E-04
   3  Normalizat    .73132        .11251        .42707E-01    .24858E-04
   4  Prefactor     1.1013        .10796        .54765E-01    .57467E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.93268
  alpha      = 1.84568
  Normalizat = 0.731318
  Prefactor  = 1.10134
 **********
 **   18 **HESSE 
 **********

 FCN=   7365.992     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .87E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9327        1.4781        .66348E-04   -1.5365    
   2  alpha         1.8457        .33657        .98437E-02   -.26481    
   3  Normalizat    .73132        .16710        .25260E-03   -1.0267    
   4  Prefactor     1.1013        .19402        .24214E-03   -.89424    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.67691e-13
Minuit parameter uncertainties:
  1  1.47815
  2  0.337675
  3  0.167219
  4  0.19414
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847779': 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) = 7365.99218186
delta logL = 0.0655581191286

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.933e+00  1.478e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.846e+00  3.377e-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.101e+00  1.941e-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.313e-01  1.672e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.74
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.85 +/- 0.34
Photon Flux (Free Index): 3.69e-08 +/- 1.99e-08
Energy Flux (Free Index): 3.49e-05 +/- 2.50e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/847779/cmap_HighResolution_251769601_252028801_4FGL_J1454.4+5124_daily_bin48.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.06e-08', energy_flux2='3.49e-05', photon_flux_error='1.88e-08', dlogl='6.56e-02', energy_flux='2.90e-05', photon_flux2='3.69e-08', job_status='DONE', time_completed='2021-09-10 12:55:25.990514', photon_index_error2='0.34', photon_index2='1.85', ts='13.61', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='2.50e-05', EG='0.73', time_epoch_completed='1631303725.99', return_code='0', job_id='847779', GAL2='1.10', EG2='0.73', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='1.99e-08', ts2='13.74', photon_index='1.97' WHERE bin_id='48' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:55:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 847779: <4FGL_J1454.4+5124_daily_bin48> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin48 223.625 51.409 251769601 252028801 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 :                                   804.02 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             350.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            858 sec.

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

