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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin96
RA = 223.625, Dec = 51.409
tmin = 264211201, tmax = 264470401
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='847850', job_status='RUN', time_executed='2021-09-10 12:42:50.379676', time_epoch_executed='1631302970.38' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='96'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847850

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847850/ft1_4FGL_J1454.4+5124_daily_bin96.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847850/ft2_4FGL_J1454.4+5124_daily_bin96.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847850/ft1_4FGL_J1454.4+5124_daily_bin96.fits outfile=/scratch/kocevski/847850/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin96.fits ra=223.625 dec=51.409 rad=12.0 tmin=264211201.0 tmax=264470401.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.73
user 1.50
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847850/ft1_filtered_4FGL_J1454.4+5124_daily_bin96.fits evtable="EVENTS" scfile=/scratch/kocevski/847850/ft2_4FGL_J1454.4+5124_daily_bin96.fits sctable="SC_DATA" expcube=/scratch/kocevski/847850/ltcube_264211201_264470401_4FGL_J1454.4+5124_daily_bin96.fits outfile=/scratch/kocevski/847850/expmap_264211201_264470401_4FGL_J1454.4+5124_daily_bin96.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/847850/ltcube_264211201_264470401_4FGL_J1454.4+5124_daily_bin96.fits
.....................!
real 190.14
user 184.68
sys 5.10

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/847850/ft1_filtered_4FGL_J1454.4+5124_daily_bin96.fits scfile=/scratch/kocevski/847850/ft2_4FGL_J1454.4+5124_daily_bin96.fits outfile=/scratch/kocevski/847850/cmap_264211201_264470401_4FGL_J1454.4+5124_daily_bin96.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.84
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847850/ft1_filtered_4FGL_J1454.4+5124_daily_bin96.fits scfile=/scratch/kocevski/847850/ft2_4FGL_J1454.4+5124_daily_bin96.fits outfile=/scratch/kocevski/847850/cmap_HighResolution_264211201_264470401_4FGL_J1454.4+5124_daily_bin96.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.55
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10075E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14993E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11112E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12789E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .45942       1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.541       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.592       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.367       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.767       1.0000         .10000E-03   10000.    
    13 'Prefactor '    56.647       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.018       1.0000         .10000E-03   10000.    
    16 'norm      '    1.4639       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10327E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.7145       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.4364       1.0000         .10000E-03   10000.    
    20 'norm      '    .10575E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.8729       1.0000         .10000E-03   10000.    
    22 'Prefactor '    17.940       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10722E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.8328       1.0000         .10000E-03   10000.    
    25 'norm      '    4.8470       1.0000         .10000E-03   10000.    
    26 'Prefactor '    27.310       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .96251       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1037       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=   7061.608     FROM MIGRAD    STATUS=CONVERGED    676 CALLS     3505 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    22.832        .12365E-05** at limit **
   2  norm          .10000E-03    .91481       -.78997E-07** at limit **
   3  Prefactor     .10000E-03    171.84        .63773E-04** at limit **
   4  Prefactor     .10000E-03    21.800        .11508E-04** at limit **
   5  Prefactor     .10000E-03    25.957       -.15157E-04** at limit **
   6  Prefactor     .47004        3.0106       -.22145E-05    .36777E-03
   7  Prefactor     16.546        21.805       -.78675E-05    .36404E-03
   8  Prefactor     .10000E-03    1.1040       -.15403E-06** at limit **
   9  Prefactor     11.604        18.602       -.20604E-04    .36336E-04
  10  Prefactor     .10000E-03    8.4347        .18286E-06** at limit **
  11  Prefactor     19.352        31.283       -.47929E-05    .85031E-04
  12  Prefactor     11.759        22.298       -.18719E-06    .47324E-04
  13  Prefactor     56.675        32.590        .13626E-05    .65873E-04
  14  Prefactor     .10000E-03    5.1940       -.20657E-06** at limit **
  15  Prefactor     12.020        13.426       -.25903E-05    .13102E-03
  16  norm          1.4639        1.0656       -.16293E-06    .29668E-03
  17  Prefactor     .10000E-03    5.4343       -.55990E-07** at limit **
  18  Prefactor     3.7148        5.0290       -.26683E-05   -.38515E-03
  19  Prefactor     3.4404        6.6581       -.23054E-05   -.35969E-03
  20  norm          .10000E-03    3.3887       -.29481E-06** at limit **
  21  Prefactor     3.8756        8.1443       -.39763E-05   -.17377E-03
  22  Prefactor     17.928        15.737        .45927E-05    .12657E-03
  23  Prefactor     .10000E-03    15.133       -.21037E-05** at limit **
  24  Prefactor     3.8330        7.6570       -.36121E-05   -.17112E-03
  25  norm          4.8410        8.3480       -.19672E-05   -.58251E-04
  26  Prefactor     27.068        72.898       -.35305E-03    .60738E-04
  27  Normalizat    .96236        .16393        .88440E-05    .66665E-03
  28  Prefactor     1.1038        .17789        .88390E-05    .51584E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.470039
  Prefactor  = 16.5459
  Prefactor  = 0.0001
  Prefactor  = 11.6037
  Prefactor  = 0.0001
  Prefactor  = 19.3519
  Prefactor  = 11.7589
  Prefactor  = 56.6751
  Prefactor  = 0.0001
  Prefactor  = 12.0201
  norm       = 1.46388
  Prefactor  = 0.0001
  Prefactor  = 3.71482
  Prefactor  = 3.4404
  norm       = 0.0001
  Prefactor  = 3.87562
  Prefactor  = 17.9284
  Prefactor  = 0.000100001
  Prefactor  = 3.83298
  norm       = 4.84097
  Prefactor  = 27.0679
  Normalizat = 0.962358
  Prefactor  = 1.10384
 **********
 **   18 **HESSE 
 **********

 FCN=   7061.608     FROM HESSE     STATUS=OK           517 CALLS     4022 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    22.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .91724        .78482E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    171.84        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    21.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    26.011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .47004        12.128        .26597E-02   -1.5571    
   7  Prefactor     16.546        21.686        .98478E-04   -1.4894    
   8  Prefactor     .10000E-03    2.0135        .16987E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.604        18.518        .11766E-03   -1.5027    
  10  Prefactor     .10000E-03    8.4502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.352        31.260        .91011E-04   -1.4828    
  12  Prefactor     11.759        22.308        .11678E-03   -1.5022    
  13  Prefactor     56.675        32.576        .53300E-04   -1.4201    
  14  Prefactor     .10000E-03    5.2035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.020        13.429        .11555E-03   -1.5014    
  16  norm          1.4639        1.0652        .35547E-04   -1.5466    
  17  Prefactor     .10000E-03    5.4632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.7148        5.0110        .20839E-03   -1.5322    
  19  Prefactor     3.4404        6.6662        .21819E-03   -1.5337    
  20  norm          .10000E-03    3.4355        .29943E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.8756        8.0180        .20504E-03   -1.5314    
  22  Prefactor     17.928        15.694        .94560E-04   -1.4861    
  23  Prefactor     .10000E-03    15.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.8330        7.5882        .20615E-03   -1.5316    
  25  norm          4.8410        8.2780        .18272E-03   -1.5268    
  26  Prefactor     27.068        73.105        .38330E-03   -1.4667    
  27  Normalizat    .96236        .19988        .23682E-03   -.94302    
  28  Prefactor     1.1038        .21682        .25488E-03   -.89344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02498e-09
Minuit parameter uncertainties:
  1  9.18614e-06
  2  7.82211e-06
  3  0.000120275
  4  0.000120314
  5  0.000139388
  6  4.77568
  7  21.6964
  8  2.52903e-05
  9  18.5276
  10  1.54154e-05
  11  31.2863
  12  22.3238
  13  32.5863
  14  1.22844e-05
  15  13.4323
  16  1.06524
  17  3.51914e-05
  18  5.01156
  19  6.66762
  20  5.29605e-05
  21  8.02025
  22  15.698
  23  0.000234342
  24  7.59012
  25  8.27995
  26  73.3489
  27  0.200037
  28  0.216992
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.464e+00  1.065e+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.104e+00  2.170e-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:  9.624e-01  2.000e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.24
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.20e-08 +/- 1.60e-08
Energy Flux (Fixed Index): 1.57e-05 +/- 1.15e-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) = 7061.42987736
delta logL = 0.177767533888

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7061.42976322
delta logL = 0.177881667641

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4590       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6104       1.0000          .0000       5.0000    
     3 'Normalizat'    .96785       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1032       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7061.430     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      235 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4584        1.1733        .76196E-04    .32855E-03
   2  alpha         1.6103        .59219        .15753E-01    .21502E-04
   3  Normalizat    .96790        .18517        .23628E-03    .15205E-04
   4  Prefactor     1.1031        .21287        .25504E-03    .16181E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.45837
  alpha      = 1.61025
  Normalizat = 0.9679
  Prefactor  = 1.10313
 **********
 **   18 **HESSE 
 **********

 FCN=   7061.430     FROM HESSE     STATUS=OK            25 CALLS      260 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4584        1.1840        .30478E-05   -1.5466    
   2  alpha         1.6103        .59758        .63011E-03   -.36387    
   3  Normalizat    .96790        .18537        .94510E-05   -.94114    
   4  Prefactor     1.1031        .21311        .10202E-04   -.89367    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83769e-11
Minuit parameter uncertainties:
  1  1.18402
  2  0.604295
  3  0.185492
  4  0.213277
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847850': 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) = 7061.42976304
delta logL = 0.177881852656

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.458e+00  1.184e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.610e+00  6.043e-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.103e+00  2.133e-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:  9.679e-01  1.855e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.60
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.61 +/- 0.60
Photon Flux (Free Index): 1.37e-08 +/- 1.61e-08
Energy Flux (Free Index): 2.42e-05 +/- 2.74e-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/847850/cmap_HighResolution_264211201_264470401_4FGL_J1454.4+5124_daily_bin96.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.20e-08', energy_flux2='2.42e-05', photon_flux_error='1.60e-08', dlogl='1.78e-01', energy_flux='1.57e-05', photon_flux2='1.37e-08', job_status='DONE', time_completed='2021-09-10 12:55:56.014481', photon_index_error2='0.60', photon_index2='1.61', ts='7.24', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='2.74e-05', EG='0.96', time_epoch_completed='1631303756.01', return_code='0', job_id='847850', GAL2='1.10', EG2='0.97', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='1.61e-08', ts2='7.60', photon_index='1.97' WHERE bin_id='96' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:55:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 847850: <4FGL_J1454.4+5124_daily_bin96> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin96 223.625 51.409 264211201 264470401 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 :                                   781.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             310.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            884 sec.

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

