/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 214 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 = 7402
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1454.4+5124_daily_bin940
RA = 223.625, Dec = 51.409
tmin = 482976001, tmax = 483235201
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='851264', job_status='RUN', time_executed='2021-09-10 12:55:14.954004', time_epoch_executed='1631303714.95' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='940'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851264

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851264/ft1_4FGL_J1454.4+5124_daily_bin940.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851264/ft2_4FGL_J1454.4+5124_daily_bin940.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851264/ft1_4FGL_J1454.4+5124_daily_bin940.fits outfile=/scratch/kocevski/851264/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin940.fits ra=223.625 dec=51.409 rad=12.0 tmin=482976001.0 tmax=483235201.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 4.14
user 3.92
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851264/ft1_filtered_4FGL_J1454.4+5124_daily_bin940.fits evtable="EVENTS" scfile=/scratch/kocevski/851264/ft2_4FGL_J1454.4+5124_daily_bin940.fits sctable="SC_DATA" expcube=/scratch/kocevski/851264/ltcube_482976001_483235201_4FGL_J1454.4+5124_daily_bin940.fits outfile=/scratch/kocevski/851264/expmap_482976001_483235201_4FGL_J1454.4+5124_daily_bin940.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/851264/ltcube_482976001_483235201_4FGL_J1454.4+5124_daily_bin940.fits
.....................!
real 191.18
user 185.78
sys 5.05

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/851264/ft1_filtered_4FGL_J1454.4+5124_daily_bin940.fits scfile=/scratch/kocevski/851264/ft2_4FGL_J1454.4+5124_daily_bin940.fits outfile=/scratch/kocevski/851264/cmap_482976001_483235201_4FGL_J1454.4+5124_daily_bin940.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/851264/ft1_filtered_4FGL_J1454.4+5124_daily_bin940.fits scfile=/scratch/kocevski/851264/ft2_4FGL_J1454.4+5124_daily_bin940.fits outfile=/scratch/kocevski/851264/cmap_HighResolution_482976001_483235201_4FGL_J1454.4+5124_daily_bin940.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.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/851264/ft1_filtered_4FGL_J1454.4+5124_daily_bin940.fits', '/scratch/kocevski/851264/ft2_4FGL_J1454.4+5124_daily_bin940.fits', expMap='/scratch/kocevski/851264/expmap_482976001_483235201_4FGL_J1454.4+5124_daily_bin940.fits', expCube='/scratch/kocevski/851264/ltcube_482976001_483235201_4FGL_J1454.4+5124_daily_bin940.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/851264/Model_4FGL_J1454.4+5124_daily_bin940.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/851264/ft1_filtered_4FGL_J1454.4+5124_daily_bin940.fits
Spacecraft file(s): /scratch/kocevski/851264/ft2_4FGL_J1454.4+5124_daily_bin940.fits
Exposure map: /scratch/kocevski/851264/expmap_482976001_483235201_4FGL_J1454.4+5124_daily_bin940.fits
Exposure cube: /scratch/kocevski/851264/ltcube_482976001_483235201_4FGL_J1454.4+5124_daily_bin940.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/851264/Model_4FGL_J1454.4+5124_daily_bin940.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5662.43568078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.598       1.0000         .10000E-03   10000.    
     2 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2265       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.6139       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.6704       1.0000         .10000E-03   10000.    
     9 'Prefactor '    32.551       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.0677       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11837E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .70682E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10432E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    26.343       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10262E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.8024       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.9117       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.9123       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .26786       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.622       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10194E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .49282       1.0000         .10000E-03   10000.    
    25 'norm      '    36.601       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0840       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .78653       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=   5662.409     FROM MIGRAD    STATUS=CONVERGED    748 CALLS     3625 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.580        47.547        .35714E-05    .19509E-03
   2  norm          .10000E-03    1.4482       -.11289E-08** at limit **
   3  Prefactor     .10001E-03    237.48        .38156E-05** at limit **
   4  Prefactor     .10001E-03    39.517       -.23232E-05** at limit **
   5  Prefactor     3.2244        169.04        .28582E-05    .23392E-04
   6  Prefactor     4.6147        5.3225        .16787E-06    .12941E-03
   7  Prefactor     .10000E-03    9.1212        .47943E-07** at limit **
   8  Prefactor     3.6740        4.7407        .10142E-05    .94290E-03
   9  Prefactor     32.538        32.512       -.23385E-05   -.43991E-03
  10  Prefactor     5.0300        101.46       -.60720E-06    .33319E-04
  11  Prefactor     .10000E-03    94.401       -.10260E-05** at limit **
  12  Prefactor     .10549E-03    21.102       -.99414E-06** at limit **
  13  Prefactor     .10000E-03    22.602       -.63612E-06** at limit **
  14  Prefactor     26.344        18.692       -.40809E-06   -.24000E-03
  15  Prefactor     .10000E-03    9.3640       -.13387E-08** at limit **
  16  norm          2.8022        1.7274        .75699E-07    .91858E-04
  17  Prefactor     7.9103        8.0010        .84716E-07   -.92719E-04
  18  Prefactor     5.9103        6.7068        .37170E-06    .10012E-03
  19  Prefactor     .10000E-03    4.9544        .12668E-06** at limit **
  20  norm          .26977        2.0612        .43003E-06   -.97586E-04
  21  Prefactor     .10000E-03    2.9814       -.10671E-06** at limit **
  22  Prefactor     11.620        19.552       -.65349E-06   -.20847E-03
  23  Prefactor     .10000E-03    9.2533       -.40928E-06** at limit **
  24  Prefactor     .52101        25.566       -.78147E-05    .52733E-03
  25  norm          36.598        15.501        .13870E-06    .37518E-03
  26  Prefactor     .10000E-03    37.170        .18389E-05** at limit **
  27  Normalizat    1.0843        .17711       -.12161E-05   -.53934E-03
  28  Prefactor     .78637        .19249       -.17555E-07   -.38455E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 21.5804
  norm       = 0.0001
  Prefactor  = 0.000100014
  Prefactor  = 0.000100005
  Prefactor  = 3.22436
  Prefactor  = 4.61472
  Prefactor  = 0.0001
  Prefactor  = 3.67401
  Prefactor  = 32.5383
  Prefactor  = 5.03001
  Prefactor  = 0.000100001
  Prefactor  = 0.00010549
  Prefactor  = 0.0001
  Prefactor  = 26.3435
  Prefactor  = 0.0001
  norm       = 2.80221
  Prefactor  = 7.91026
  Prefactor  = 5.91034
  Prefactor  = 0.0001
  norm       = 0.269766
  Prefactor  = 0.0001
  Prefactor  = 11.6203
  Prefactor  = 0.0001
  Prefactor  = 0.521008
  norm       = 36.5982
  Prefactor  = 0.000100003
  Normalizat = 1.08429
  Prefactor  = 0.786367
 **********
 **   18 **HESSE 
 **********

 FCN=   5662.409     FROM HESSE     STATUS=OK           527 CALLS     4152 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.580        48.328        .86187E-04   -1.4779    
   2  norm          .10000E-03    1.4591        .88376E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    238.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    40.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.2244        164.65        .22552E-03   -1.5349    
   6  Prefactor     4.6147        5.2567        .16836E-03   -1.5278    
   7  Prefactor     .10000E-03    9.1512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.6740        4.6217        .12360E-03   -1.5325    
   9  Prefactor     32.538        33.153        .70233E-04   -1.4566    
  10  Prefactor     5.0300        91.640        .17861E-03   -1.5259    
  11  Prefactor     .10000E-03    94.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10549E-03    25.411        .99249E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    22.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     26.344        18.695        .78051E-04   -1.4681    
  15  Prefactor     .10000E-03    9.3886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.8022        1.7263        .74248E-04   -1.5373    
  17  Prefactor     7.9103        7.9989        .14255E-03   -1.5145    
  18  Prefactor     5.9103        6.6989        .16515E-03   -1.5222    
  19  Prefactor     .10000E-03    4.9992        .16350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .26977        7.6003        .20337E-02   -1.5604    
  21  Prefactor     .10000E-03    2.9859        .12678E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     11.620        19.473        .11751E-03   -1.5026    
  23  Prefactor     .10000E-03    9.3233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .52101        36.365        .39525E-02   -1.5564    
  25  norm          36.598        16.075        .33123E-03   -1.4497    
  26  Prefactor     .10000E-03    37.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0843        .21226        .21481E-03   -.90258    
  28  Prefactor     .78637        .23054        .28211E-03   -1.0023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64663e-08
Minuit parameter uncertainties:
  1  48.4158
  2  1.03964e-06
  3  0.00360901
  4  0.000923506
  5  46.2164
  6  5.25725
  7  1.18331e-05
  8  4.62217
  9  33.1717
  10  43.0159
  11  0.000597306
  12  0.0236319
  13  0.000131442
  14  18.6989
  15  4.56444e-06
  16  1.72631
  17  8.00001
  18  6.69973
  19  2.55878e-05
  20  2.86365
  21  8.1303e-06
  22  19.4835
  23  5.56803e-05
  24  8.71019
  25  16.0771
  26  0.00068984
  27  0.212423
  28  0.230828
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.802e+00  1.726e+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:  7.864e-01  2.308e-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.084e+00  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.81
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 4.21e-08 +/- 2.59e-08
Energy Flux (Fixed Index): 3.01e-05 +/- 1.86e-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) = 5662.09794783
delta logL = 0.311158099988

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5661.98114702
delta logL = 0.427958909113

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .93081       1.0000         .10000E-03   10000.    
     2 'alpha     '    .95256       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0978       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79955       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=   5661.981     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      210 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .93090        1.0326        .12919E-01   -.13534E-02
   2  alpha         .95235        .48235        .32676       -.38004E-04
   3  Normalizat    1.0979        .16669        .38090E-01   -.10419E-04
   4  Prefactor     .79960        .19075        .63475E-01    .41604E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.930895
  alpha      = 0.952349
  Normalizat = 1.09787
  Prefactor  = 0.799605
 **********
 **   18 **HESSE 
 **********

 FCN=   5661.981     FROM HESSE     STATUS=OK            35 CALLS      245 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .93090        2.6522        .60657E-03   -1.5515    
   2  alpha         .95235        1.1379        .14077E-01   -.66755    
   3  Normalizat    1.0979        .19764        .21400E-03   -.89820    
   4  Prefactor     .79960        .22711        .28077E-03   -.99743    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37323e-09
Minuit parameter uncertainties:
  1  2.65253
  2  1.21375
  3  0.197775
  4  0.227381
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851264': 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) = 5661.98114617
delta logL = 0.42795975661

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  7.996e-01  2.274e-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.098e+00  1.978e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.64
Ra Dec: 223.625 51.409
Photon Index (Free Index): 0.95 +/- 1.21
Photon Flux (Free Index): 7.31e-09 +/- 1.52e-08
Energy Flux (Free Index): 8.07e-05 +/- 1.10e-04

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/851264/cmap_HighResolution_482976001_483235201_4FGL_J1454.4+5124_daily_bin940.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.21e-08', energy_flux2='8.07e-05', photon_flux_error='2.59e-08', dlogl='4.28e-01', energy_flux='3.01e-05', photon_flux2='7.31e-09', job_status='DONE', time_completed='2021-09-10 13:07:11.792765', photon_index_error2='1.21', photon_index2='0.95', ts='13.81', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', energy_flux_error2='1.10e-04', EG='1.08', time_epoch_completed='1631304431.79', return_code='0', job_id='851264', GAL2='0.80', EG2='1.10', return_code2='0', energy_flux_error='1.86e-05', photon_flux_error2='1.52e-08', ts2='14.64', photon_index='1.97' WHERE bin_id='940' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:07:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 851264: <4FGL_J1454.4+5124_daily_bin940> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin940> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:51:31 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:51:33 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:51:33 2021
Terminated at Fri Sep 10 13:07:12 2021
Results reported at Fri Sep 10 13:07:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin940 223.625 51.409 482976001 483235201 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 :                                   715.06 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             254.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   939 sec.
    Turnaround time :                            941 sec.

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

