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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin267
RA = 223.625, Dec = 51.409
tmin = 308534401, tmax = 308793601
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='848106', job_status='RUN', time_executed='2021-09-10 12:45:17.611485', time_epoch_executed='1631303117.61' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='267'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/848106

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/848106/ft1_4FGL_J1454.4+5124_daily_bin267.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/848106/ft2_4FGL_J1454.4+5124_daily_bin267.fits


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

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

Done.
real 5.39
user 5.13
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/848106/ft1_filtered_4FGL_J1454.4+5124_daily_bin267.fits evtable="EVENTS" scfile=/scratch/kocevski/848106/ft2_4FGL_J1454.4+5124_daily_bin267.fits sctable="SC_DATA" expcube=/scratch/kocevski/848106/ltcube_308534401_308793601_4FGL_J1454.4+5124_daily_bin267.fits outfile=/scratch/kocevski/848106/expmap_308534401_308793601_4FGL_J1454.4+5124_daily_bin267.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/848106/ltcube_308534401_308793601_4FGL_J1454.4+5124_daily_bin267.fits
.....................!
real 191.75
user 185.88
sys 5.48

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/848106/ft1_filtered_4FGL_J1454.4+5124_daily_bin267.fits scfile=/scratch/kocevski/848106/ft2_4FGL_J1454.4+5124_daily_bin267.fits outfile=/scratch/kocevski/848106/cmap_308534401_308793601_4FGL_J1454.4+5124_daily_bin267.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/848106/ft1_filtered_4FGL_J1454.4+5124_daily_bin267.fits scfile=/scratch/kocevski/848106/ft2_4FGL_J1454.4+5124_daily_bin267.fits outfile=/scratch/kocevski/848106/cmap_HighResolution_308534401_308793601_4FGL_J1454.4+5124_daily_bin267.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/848106/ft1_filtered_4FGL_J1454.4+5124_daily_bin267.fits evtable="EVENTS" scfile=/scratch/kocevski/848106/ft2_4FGL_J1454.4+5124_daily_bin267.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/848106/Model_4FGL_J1454.4+5124_daily_bin267.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/848106/ft1_filtered_4FGL_J1454.4+5124_daily_bin267.fits.....................!
real 42.11
user 40.71
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.4508       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14314E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    38.380       1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.830       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10308E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .96063       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.277       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.9943       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    43.818       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10492E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .89939       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.3900       1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.308       1.0000         .10000E-03   10000.    
    20 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.2561       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    14.010       1.0000         .10000E-03   10000.    
    25 'norm      '    .13936E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    33.067       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .70346       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.3539       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=   4792.703     FROM MIGRAD    STATUS=CONVERGED    710 CALLS     3567 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    34.408       -.71577E-06** at limit **
   2  norm          5.4505        4.6230        .23473E-06    .29358E-03
   3  Prefactor     .10000E-03    320.10        .14416E-05** at limit **
   4  Prefactor     38.368        48.310        .84860E-06   -.24144E-04
   5  Prefactor     36.826        38.022       -.20668E-06   -.14527E-03
   6  Prefactor     .10000E-03    2.3941        .48385E-08** at limit **
   7  Prefactor     .10000E-03    55.526        .15066E-05** at limit **
   8  Prefactor     .96159        2.0175       -.19434E-06    .29444E-03
   9  Prefactor     13.273        23.687        .46581E-06    .53115E-04
  10  Prefactor     8.9935        14.648        .24964E-06    .16423E-04
  11  Prefactor     .10000E-03    22.905        .31223E-06** at limit **
  12  Prefactor     43.819        34.233        .18580E-06   -.15933E-03
  13  Prefactor     .10000E-03    18.080       -.31058E-06** at limit **
  14  Prefactor     .10000E-03    55.706        .66421E-06** at limit **
  15  Prefactor     .10000E-03    12.315       -.44158E-07** at limit **
  16  norm          .89945        1.0376       -.16055E-07   -.42238E-03
  17  Prefactor     .10000E-03    4.2443        .28814E-07** at limit **
  18  Prefactor     4.3903        4.6895        .17590E-07   -.10342E-03
  19  Prefactor     17.307        10.325        .21367E-06   -.27956E-04
  20  norm          .10000E-03    3.0810       -.26029E-06** at limit **
  21  Prefactor     2.2638        7.3583        .12439E-05    .52700E-03
  22  Prefactor     .10000E-03    14.235        .15437E-07** at limit **
  23  Prefactor     .10000E-03    18.568       -.22297E-06** at limit **
  24  Prefactor     14.018        13.007       -.74091E-06   -.71879E-03
  25  norm          .10002E-03    63.165        .21896E-04** at limit **
  26  Prefactor     33.040        83.400        .39268E-05   -.22892E-04
  27  Normalizat    .70354        .19531       -.17950E-05   -.74083E-03
  28  Prefactor     1.3538        .21845        .31948E-06   -.69974E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 5.45048
  Prefactor  = 0.0001
  Prefactor  = 38.3682
  Prefactor  = 36.8259
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.961588
  Prefactor  = 13.2726
  Prefactor  = 8.99345
  Prefactor  = 0.0001
  Prefactor  = 43.8194
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 0.899448
  Prefactor  = 0.0001
  Prefactor  = 4.39025
  Prefactor  = 17.3069
  norm       = 0.000100001
  Prefactor  = 2.26384
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 14.0184
  norm       = 0.000100018
  Prefactor  = 33.0403
  Normalizat = 0.703537
  Prefactor  = 1.35376
 **********
 **   18 **HESSE 
 **********

 FCN=   4792.703     FROM HESSE     STATUS=OK           513 CALLS     4080 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    34.406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.4505        4.6204        .13104E-03   -1.5241    
   3  Prefactor     .10000E-03    320.12        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     38.368        48.072        .64696E-04   -1.4468    
   5  Prefactor     36.826        38.045        .66039E-04   -1.4494    
   6  Prefactor     .10000E-03    2.4095        .10458E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    56.750        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .96159        1.6826        .13442E-02   -1.5512    
   9  Prefactor     13.273        23.551        .10993E-03   -1.4979    
  10  Prefactor     8.9935        14.607        .13364E-03   -1.5108    
  11  Prefactor     .10000E-03    22.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     43.819        34.391        .60564E-04   -1.4383    
  13  Prefactor     .10000E-03    18.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    58.018        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .89945        1.0184        .73565E-04   -1.5518    
  17  Prefactor     .10000E-03    4.2484        .13924E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.3903        4.6864        .15016E-03   -1.5289    
  19  Prefactor     17.307        10.391        .96272E-04   -1.4876    
  20  norm          .10000E-03    3.1479        .23559E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.2638        7.4652        .27352E-03   -1.5407    
  22  Prefactor     .10000E-03    14.289        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    18.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     14.018        12.476        .10701E-03   -1.4959    
  25  norm          .10002E-03    63.446        .41692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     33.040        83.649        .69684E-04   -1.4558    
  27  Normalizat    .70354        .23663        .26899E-03   -1.0375    
  28  Prefactor     1.3538        .26388        .23683E-03   -.81722    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30585e-09
Minuit parameter uncertainties:
  1  3.00023e-05
  2  4.62071
  3  0.000121049
  4  48.1205
  5  38.0697
  6  2.65172e-06
  7  0.0009171
  8  1.68265
  9  23.5679
  10  14.6131
  11  1.97046e-05
  12  34.4067
  13  7.49475e-05
  14  0.000785733
  15  1.07184e-06
  16  1.01843
  17  7.08993e-06
  18  4.68675
  19  10.3917
  20  0.000102172
  21  7.46831
  22  8.24982e-05
  23  0.000386368
  24  12.4779
  25  0.00212268
  26  83.9482
  27  0.236971
  28  0.26414
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  8.994e-01  1.018e+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.354e+00  2.641e-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.035e-01  2.370e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.07
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.35e-08 +/- 1.53e-08
Energy Flux (Fixed Index): 9.67e-06 +/- 1.10e-05

TS (Fixed Index): 2.07
Ra Dec: 223.625 51.409
Photon Flux Upper Limit: 6.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/848106/likelihoodResults_308534401_308793601_4FGL_J1454.4+5124_daily_bin267.txt

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) = 4792.43260951
delta logL = 0.269906406296

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4792.43113238
delta logL = 0.271383531792

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .87936       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3565       1.0000          .0000       5.0000    
     3 'Normalizat'    .70897       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3522       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=   4792.431     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      201 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .87784        1.4757        .12732E-01    .14839E-03
   2  alpha         1.3557        .87515        .48638       -.33158E-04
   3  Normalizat    .70913        .18339        .60589E-01    .19384E-04
   4  Prefactor     1.3521        .21707        .53587E-01    .32188E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.877837
  alpha      = 1.35567
  Normalizat = 0.709133
  Prefactor  = 1.35214
 **********
 **   18 **HESSE 
 **********

 FCN=   4792.431     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .87784        1.0681        .70814E-04   -1.5521    
   2  alpha         1.3557        .75665        .18142E-01   -.47544    
   3  Normalizat    .70913        .21942        .26801E-03   -1.0353    
   4  Prefactor     1.3521        .26067        .23692E-03   -.81770    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.38605e-11
Minuit parameter uncertainties:
  1  1.06815
  2  0.772083
  3  0.21969
  4  0.260919
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/848106': 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) = 4792.43113071
delta logL = 0.271385203446

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  8.778e-01  1.068e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.356e+00  7.721e-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.352e+00  2.609e-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.091e-01  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.61
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.36 +/- 0.77
Photon Flux (Free Index): 6.75e-09 +/- 9.60e-09
Energy Flux (Free Index): 2.49e-05 +/- 4.42e-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/848106/cmap_HighResolution_308534401_308793601_4FGL_J1454.4+5124_daily_bin267.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-05', comment='SUCCESS', photon_flux='1.35e-08', energy_flux2='2.49e-05', photon_flux_error='1.53e-08', dlogl='2.71e-01', energy_flux='9.67e-06', photon_flux2='6.75e-09', job_status='DONE', time_completed='2021-09-10 12:57:30.851408', photon_index_error2='0.77', photon_index2='1.36', ts='2.07', fit_tolerance='1e-08', GAL='1.35', photon_index_error='0.00', photon_flux_upper_limit='6.20e-08', energy_flux_error2='4.42e-05', EG='0.70', time_epoch_completed='1631303850.85', return_code='0', job_id='848106', GAL2='1.35', EG2='0.71', return_code2='0', energy_flux_error='1.10e-05', photon_flux_error2='9.60e-09', ts2='2.61', photon_index='1.97' WHERE bin_id='267' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:57:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 848106: <4FGL_J1454.4+5124_daily_bin267> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin267 223.625 51.409 308534401 308793601 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 :                                   732.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             298.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   959 sec.
    Turnaround time :                            960 sec.

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

