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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin411
RA = 223.625, Dec = 51.409
tmin = 345859201, tmax = 346118401
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='849454', job_status='RUN', time_executed='2021-09-10 12:49:01.751592', time_epoch_executed='1631303341.75' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='411'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849454

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849454/ft1_4FGL_J1454.4+5124_daily_bin411.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849454/ft2_4FGL_J1454.4+5124_daily_bin411.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849454/ft1_4FGL_J1454.4+5124_daily_bin411.fits outfile=/scratch/kocevski/849454/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin411.fits ra=223.625 dec=51.409 rad=12.0 tmin=345859201.0 tmax=346118401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.38
user 3.15
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849454/ft1_filtered_4FGL_J1454.4+5124_daily_bin411.fits evtable="EVENTS" scfile=/scratch/kocevski/849454/ft2_4FGL_J1454.4+5124_daily_bin411.fits sctable="SC_DATA" expcube=/scratch/kocevski/849454/ltcube_345859201_346118401_4FGL_J1454.4+5124_daily_bin411.fits outfile=/scratch/kocevski/849454/expmap_345859201_346118401_4FGL_J1454.4+5124_daily_bin411.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/849454/ltcube_345859201_346118401_4FGL_J1454.4+5124_daily_bin411.fits
.....................!
real 189.85
user 184.88
sys 4.62

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/849454/ft1_filtered_4FGL_J1454.4+5124_daily_bin411.fits scfile=/scratch/kocevski/849454/ft2_4FGL_J1454.4+5124_daily_bin411.fits outfile=/scratch/kocevski/849454/cmap_345859201_346118401_4FGL_J1454.4+5124_daily_bin411.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/849454/ft1_filtered_4FGL_J1454.4+5124_daily_bin411.fits scfile=/scratch/kocevski/849454/ft2_4FGL_J1454.4+5124_daily_bin411.fits outfile=/scratch/kocevski/849454/cmap_HighResolution_345859201_346118401_4FGL_J1454.4+5124_daily_bin411.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10386E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.4103       1.0000         .10000E-03   10000.    
     3 'Prefactor '    87.793       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.389       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5862       1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.744       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.498       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    43.414       1.0000         .10000E-03   10000.    
    13 'Prefactor '    25.522       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10226E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.0407       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.2368       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14267E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.427       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    15.824       1.0000         .10000E-03   10000.    
    26 'Prefactor '    112.35       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0460       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0376       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=   6055.439     FROM MIGRAD    STATUS=CONVERGED    704 CALLS     3554 TOTAL
                     EDM=   .57E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    41.462        .32641E-06** at limit **
   2  norm          4.4096        4.6678        .21330E-07    .94770E-05
   3  Prefactor     86.528        1260.8        .33410E-04    .88195E-06
   4  Prefactor     .10000E-03    12.552       -.90924E-08** at limit **
   5  Prefactor     30.458        47.625       -.15194E-05    .22283E-05
   6  Prefactor     2.5815        5.3386        .14244E-05    .68145E-04
   7  Prefactor     26.753        24.755        .20663E-06    .14834E-04
   8  Prefactor     .10000E-03    1.4752        .58731E-07** at limit **
   9  Prefactor     .10000E-03    179.16       -.17495E-05** at limit **
  10  Prefactor     15.485        16.494        .10838E-06    .13328E-04
  11  Prefactor     .10000E-03    44.648        .27904E-06** at limit **
  12  Prefactor     43.349        26.808       -.31022E-06   -.47606E-05
  13  Prefactor     25.537        36.286       -.13330E-09    .18145E-04
  14  Prefactor     .10000E-03    34.315       -.87809E-07** at limit **
  15  Prefactor     .10000E-03    7.7358       -.10876E-07** at limit **
  16  norm          2.0408        1.3551        .11816E-07    .55269E-04
  17  Prefactor     .10000E-03    6.3885        .37711E-08** at limit **
  18  Prefactor     4.2358        3.8471       -.59673E-08    .11230E-04
  19  Prefactor     .10000E-03    5.5426       -.59945E-06** at limit **
  20  norm          .10000E-03    1.0943       -.14021E-07** at limit **
  21  Prefactor     .10000E-03    5.4275       -.62805E-07** at limit **
  22  Prefactor     11.437        20.183        .76897E-07    .47464E-05
  23  Prefactor     .10000E-03    9.1898       -.80805E-07** at limit **
  24  Prefactor     .10000E-03    6.3848       -.19442E-07** at limit **
  25  norm          15.829        9.2047        .49686E-07    .21081E-04
  26  Prefactor     112.52        81.075       -.35359E-05   -.22445E-04
  27  Normalizat    1.0465        .18617       -.12505E-05    .16344E-03
  28  Prefactor     1.0368        .20445        .16222E-05    .67360E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 4.40958
  Prefactor  = 86.5282
  Prefactor  = 0.0001
  Prefactor  = 30.4579
  Prefactor  = 2.58145
  Prefactor  = 26.7526
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.485
  Prefactor  = 0.0001
  Prefactor  = 43.3486
  Prefactor  = 25.5374
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.04084
  Prefactor  = 0.0001
  Prefactor  = 4.23579
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4367
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.8294
  Prefactor  = 112.521
  Normalizat = 1.04651
  Prefactor  = 1.03682
 **********
 **   18 **HESSE 
 **********

 FCN=   6055.439     FROM HESSE     STATUS=OK           523 CALLS     4077 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    41.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.4096        4.6513        .16577E-03   -1.5288    
   3  Prefactor     86.528        1274.5        .21440E-03   -1.3845    
   4  Prefactor     .10000E-03    12.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     30.458        47.956        .72681E-04   -1.4604    
   6  Prefactor     2.5815        5.4198        .12112E-02   -1.5387    
   7  Prefactor     26.753        24.802        .77465E-04   -1.4673    
   8  Prefactor     .10000E-03    5.0066        .18152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    185.34        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.485        16.381        .10174E-03   -1.4921    
  11  Prefactor     .10000E-03    44.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     43.349        26.807        .60844E-04   -1.4390    
  13  Prefactor     25.537        36.181        .79294E-04   -1.4697    
  14  Prefactor     .10000E-03    35.164        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.8042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.0408        1.3558        .71567E-04   -1.5422    
  17  Prefactor     .10000E-03    6.4234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.2358        3.8442        .14135E-03   -1.5296    
  19  Prefactor     .10000E-03    17.028        .34099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.0985        .79474E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.4646        .17675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     11.437        20.106        .11851E-03   -1.5031    
  23  Prefactor     .10000E-03    9.2643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    6.4423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          15.829        9.1759        .10069E-03   -1.4912    
  26  Prefactor     112.52        81.570        .18976E-03   -1.3582    
  27  Normalizat    1.0465        .21607        .23308E-03   -.91488    
  28  Prefactor     1.0368        .24069        .26876E-03   -.91512    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12087e-10
Minuit parameter uncertainties:
  1  6.80614e-06
  2  4.65164
  3  682.407
  4  9.64571e-07
  5  48.0166
  6  5.42078
  7  24.8119
  8  2.56328e-05
  9  7.25083e-05
  10  16.3861
  11  1.20108e-05
  12  26.8142
  13  36.2119
  14  4.55983e-06
  15  5.22141e-07
  16  1.35577
  17  5.87431e-06
  18  3.84442
  19  0.00053791
  20  1.92009e-07
  21  1.52858e-06
  22  20.1182
  23  1.31843e-06
  24  3.7111e-07
  25  9.17673
  26  81.6518
  27  0.216255
  28  0.240943
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.041e+00  1.356e+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.037e+00  2.409e-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.047e+00  2.163e-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): 3.07e-08 +/- 2.04e-08
Energy Flux (Fixed Index): 2.20e-05 +/- 1.46e-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) = 6055.43636146
delta logL = 0.00254681293518

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6055.43603186
delta logL = 0.00287642023432

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0117       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0191       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0443       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0380       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=   6055.436     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      200 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0117        33.391        .72969E-02   -.44279E-03
   2  alpha         2.0191        2.7120        .26388       -.13851E-04
   3  Normalizat    1.0443        .12086        .40957E-01    .27075E-04
   4  Prefactor     1.0380        .88195E-01    .60737E-01   -.94655E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.01169
  alpha      = 2.01907
  Normalizat = 1.04428
  Prefactor  = 1.03802
 **********
 **   18 **HESSE 
 **********

 FCN=   6055.436     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0117        1.4166        .70152E-04   -1.5424    
   2  alpha         2.0191        .67339        .15475E-01   -.19358    
   3  Normalizat    1.0443        .20901        .23329E-03   -.91562    
   4  Prefactor     1.0380        .23846        .26861E-03   -.91473    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25589e-10
Minuit parameter uncertainties:
  1  1.41662
  2  0.682142
  3  0.209171
  4  0.238707
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849454': 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) = 6055.43603186
delta logL = 0.00287642057901

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.012e+00  1.417e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.019e+00  6.821e-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.038e+00  2.387e-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.044e+00  2.092e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.35
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.02 +/- 0.68
Photon Flux (Free Index): 3.27e-08 +/- 3.42e-08
Energy Flux (Free Index): 2.10e-05 +/- 1.83e-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/849454/cmap_HighResolution_345859201_346118401_4FGL_J1454.4+5124_daily_bin411.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.07e-08', energy_flux2='2.10e-05', photon_flux_error='2.04e-08', dlogl='2.88e-03', energy_flux='2.20e-05', photon_flux2='3.27e-08', job_status='DONE', time_completed='2021-09-10 13:01:15.124020', photon_index_error2='0.68', photon_index2='2.02', ts='7.35', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.83e-05', EG='1.05', time_epoch_completed='1631304075.12', return_code='0', job_id='849454', GAL2='1.04', EG2='1.04', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='3.42e-08', ts2='7.35', photon_index='1.97' WHERE bin_id='411' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:01:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 849454: <4FGL_J1454.4+5124_daily_bin411> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin411 223.625 51.409 345859201 346118401 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 :                                   733.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             281.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            900 sec.

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

