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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin732
RA = 223.625, Dec = 51.409
tmin = 429062401, tmax = 429321601
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='850960', job_status='RUN', time_executed='2021-09-10 12:51:20.910346', time_epoch_executed='1631303480.91' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850960

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850960/ft1_4FGL_J1454.4+5124_daily_bin732.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850960/ft2_4FGL_J1454.4+5124_daily_bin732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850960/ft1_4FGL_J1454.4+5124_daily_bin732.fits outfile=/scratch/kocevski/850960/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin732.fits ra=223.625 dec=51.409 rad=12.0 tmin=429062401.0 tmax=429321601.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 6.39
user 6.10
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/850960/ft1_filtered_4FGL_J1454.4+5124_daily_bin732.fits" evtable="EVENTS" scfile=/scratch/kocevski/850960/ft2_4FGL_J1454.4+5124_daily_bin732.fits sctable="SC_DATA" outfile=/scratch/kocevski/850960/ltcube_429062401_429321601_4FGL_J1454.4+5124_daily_bin732.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/850960/ft2_4FGL_J1454.4+5124_daily_bin732.fits
.....................!
real 12.07
user 11.72
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850960/ft1_filtered_4FGL_J1454.4+5124_daily_bin732.fits evtable="EVENTS" scfile=/scratch/kocevski/850960/ft2_4FGL_J1454.4+5124_daily_bin732.fits sctable="SC_DATA" expcube=/scratch/kocevski/850960/ltcube_429062401_429321601_4FGL_J1454.4+5124_daily_bin732.fits outfile=/scratch/kocevski/850960/expmap_429062401_429321601_4FGL_J1454.4+5124_daily_bin732.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/850960/ltcube_429062401_429321601_4FGL_J1454.4+5124_daily_bin732.fits
.....................!
real 189.92
user 185.06
sys 4.53

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/850960/ft1_filtered_4FGL_J1454.4+5124_daily_bin732.fits scfile=/scratch/kocevski/850960/ft2_4FGL_J1454.4+5124_daily_bin732.fits outfile=/scratch/kocevski/850960/cmap_429062401_429321601_4FGL_J1454.4+5124_daily_bin732.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/850960/ft1_filtered_4FGL_J1454.4+5124_daily_bin732.fits scfile=/scratch/kocevski/850960/ft2_4FGL_J1454.4+5124_daily_bin732.fits outfile=/scratch/kocevski/850960/cmap_HighResolution_429062401_429321601_4FGL_J1454.4+5124_daily_bin732.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    86.959       1.0000         .10000E-03   10000.    
     2 'norm      '    .17175E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.597       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .97675       1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.098       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.3476       1.0000         .10000E-03   10000.    
     9 'Prefactor '    78.609       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.451       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10917E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.8046       1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.735       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0595       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.2491       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    12.915       1.0000         .10000E-03   10000.    
    25 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .67757       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1357       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=   5687.956     FROM MIGRAD    STATUS=CONVERGED    701 CALLS     3509 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          86.998        88.341        .29064E-04    .30337E-05
   2  norm          .10000E-03    5.8407        .19958E-06** at limit **
   3  Prefactor     .10000E-03    349.52       -.45667E-04** at limit **
   4  Prefactor     .10000E-03    41.781       -.44580E-04** at limit **
   5  Prefactor     14.575        44.515       -.52074E-05    .19863E-04
   6  Prefactor     .98034        3.2456       -.42985E-06   -.78754E-03
   7  Prefactor     16.097        18.783       -.96901E-06   -.21658E-04
   8  Prefactor     2.3527        3.3948        .18674E-06   -.15952E-03
   9  Prefactor     78.619        46.355        .98631E-06   -.31020E-04
  10  Prefactor     .10000E-03    29.410       -.95232E-05** at limit **
  11  Prefactor     .10000E-03    35.931        .33729E-04** at limit **
  12  Prefactor     17.426        27.574        .14954E-04   -.19679E-04
  13  Prefactor     .10000E-03    75.943        .14578E-04** at limit **
  14  Prefactor     9.8043        15.125        .32069E-06   -.85591E-04
  15  Prefactor     20.736        16.053        .66295E-06   -.78959E-04
  16  norm          1.0594        1.1214       -.22026E-07   -.19579E-03
  17  Prefactor     .10000E-03    3.4367        .18894E-07** at limit **
  18  Prefactor     3.2483        5.5594        .30399E-05   -.45391E-03
  19  Prefactor     .10000E-03    2.9048        .36121E-07** at limit **
  20  norm          .10000E-03    1.8855        .24559E-08** at limit **
  21  Prefactor     .10000E-03    4.4155        .25523E-07** at limit **
  22  Prefactor     .10000E-03    5.0643        .17887E-07** at limit **
  23  Prefactor     .10000E-03    9.6739        .33334E-07** at limit **
  24  Prefactor     12.911        8.5243       -.44790E-06   -.51847E-04
  25  norm          .10000E-03    6.8834        .13518E-06** at limit **
  26  Prefactor     .10000E-03    37.879        .11357E-04** at limit **
  27  Normalizat    .67746        .17148       -.30277E-05   -.55293E-05
  28  Prefactor     1.1360        .18034       -.18999E-07   -.15407E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 86.998
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.5753
  Prefactor  = 0.980339
  Prefactor  = 16.0967
  Prefactor  = 2.35268
  Prefactor  = 78.6194
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.4256
  Prefactor  = 0.0001
  Prefactor  = 9.80427
  Prefactor  = 20.7356
  norm       = 1.05939
  Prefactor  = 0.0001
  Prefactor  = 3.24825
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.9111
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.677457
  Prefactor  = 1.13596
 **********
 **   18 **HESSE 
 **********

 FCN=   5687.956     FROM HESSE     STATUS=OK           519 CALLS     4028 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          86.998        88.348        .21542E-03   -1.3840    
   2  norm          .10000E-03    17.597        .34728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    349.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    41.760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.575        43.877        .10483E-03   -1.4944    
   6  Prefactor     .98034        2.9959        .23337E-02   -1.5510    
   7  Prefactor     16.097        18.708        .99825E-04   -1.4905    
   8  Prefactor     2.3527        3.3408        .15498E-03   -1.5401    
   9  Prefactor     78.619        46.065        .45295E-04   -1.3932    
  10  Prefactor     .10000E-03    29.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    36.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.426        27.653        .95875E-04   -1.4873    
  13  Prefactor     .10000E-03    76.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.8043        15.093        .12798E-03   -1.5082    
  15  Prefactor     20.736        16.003        .87960E-04   -1.4797    
  16  norm          1.0594        1.1097        .78663E-04   -1.5502    
  17  Prefactor     .10000E-03    3.4454        .13654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.2483        5.5130        .21597E-03   -1.5347    
  19  Prefactor     .10000E-03    2.9099        .12552E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.9509        .20202E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.4877        .15462E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    5.0720        .16574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    9.8189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     12.911        8.5110        .11146E-03   -1.4989    
  25  norm          .10000E-03    6.9297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    37.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .67746        .20793        .26576E-03   -1.0479    
  28  Prefactor     1.1360        .22002        .23022E-03   -.88325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.09691e-10
Minuit parameter uncertainties:
  1  88.4815
  2  0.00012881
  3  1.05622e-05
  4  7.74712e-05
  5  43.9747
  6  2.99632
  7  18.7145
  8  3.34106
  9  46.0862
  10  5.08672e-05
  11  1.83575e-05
  12  27.6737
  13  0.000100509
  14  15.0987
  15  16.0063
  16  1.10968
  17  4.66907e-06
  18  5.51385
  19  5.13885e-06
  20  1.21917e-06
  21  8.62953e-06
  22  5.9108e-06
  23  3.27245e-05
  24  8.51183
  25  3.21613e-05
  26  2.801e-05
  27  0.20817
  28  0.220198
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.059e+00  1.110e+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.136e+00  2.202e-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:  6.775e-01  2.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.37
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.59e-08 +/- 1.67e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 1.19e-05

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

Saving results to:
/scratch/kocevski/850960/likelihoodResults_429062401_429321601_4FGL_J1454.4+5124_daily_bin732.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) = 5687.90037293
delta logL = 0.055327679559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5687.89616254
delta logL = 0.0595380773975

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .88775       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5462       1.0000          .0000       5.0000    
     3 'Normalizat'    .68297       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1356       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=   5687.896     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      232 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .88611        3.4116        .12763E-01   -.17025E-03
   2  alpha         1.5459        3.2657        .45779       -.30526E-04
   3  Normalizat    .68299        .17231        .42063E-01    .25014E-04
   4  Prefactor     1.1355        .18378        .52102E-01    .21439E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.886105
  alpha      = 1.54587
  Normalizat = 0.682988
  Prefactor  = 1.13549
 **********
 **   18 **HESSE 
 **********

 FCN=   5687.896     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .88611        1.2040        .76839E-04   -1.5520    
   2  alpha         1.5459        1.0857        .22474E-01   -.39158    
   3  Normalizat    .68299        .19717        .26461E-03   -1.0457    
   4  Prefactor     1.1355        .21743        .23035E-03   -.88340    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.67356e-09
Minuit parameter uncertainties:
  1  1.20405
  2  1.13028
  3  0.197376
  4  0.2176
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850960': 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) = 5687.8961609
delta logL = 0.0595397168045

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  8.861e-01  1.204e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.546e+00  1.130e+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:  1.135e+00  2.176e-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:  6.830e-01  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.49
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.55 +/- 1.13
Photon Flux (Free Index): 7.83e-09 +/- 1.68e-08
Energy Flux (Free Index): 1.66e-05 +/- 2.97e-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/850960/cmap_HighResolution_429062401_429321601_4FGL_J1454.4+5124_daily_bin732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.45e-05', comment='SUCCESS', photon_flux='1.59e-08', energy_flux2='1.66e-05', photon_flux_error='1.67e-08', dlogl='5.95e-02', energy_flux='1.14e-05', photon_flux2='7.83e-09', job_status='DONE', time_completed='2021-09-10 13:04:12.212421', photon_index_error2='1.13', photon_index2='1.55', ts='2.37', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='6.22e-08', energy_flux_error2='2.97e-05', EG='0.68', time_epoch_completed='1631304252.21', return_code='0', job_id='850960', GAL2='1.14', EG2='0.68', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='1.68e-08', ts2='2.49', photon_index='1.97' WHERE bin_id='732' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:04:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 850960: <4FGL_J1454.4+5124_daily_bin732> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin732 223.625 51.409 429062401 429321601 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 :                                   770.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             341.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            783 sec.

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

