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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin428
RA = 223.625, Dec = 51.409
tmin = 350265601, tmax = 350524801
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='849480', job_status='RUN', time_executed='2021-09-10 12:49:56.366557', time_epoch_executed='1631303396.37' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='428'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849480

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849480/ft1_4FGL_J1454.4+5124_daily_bin428.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849480/ft2_4FGL_J1454.4+5124_daily_bin428.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849480/ft1_4FGL_J1454.4+5124_daily_bin428.fits outfile=/scratch/kocevski/849480/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin428.fits ra=223.625 dec=51.409 rad=12.0 tmin=350265601.0 tmax=350524801.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.32
user 3.10
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849480/ft1_filtered_4FGL_J1454.4+5124_daily_bin428.fits evtable="EVENTS" scfile=/scratch/kocevski/849480/ft2_4FGL_J1454.4+5124_daily_bin428.fits sctable="SC_DATA" expcube=/scratch/kocevski/849480/ltcube_350265601_350524801_4FGL_J1454.4+5124_daily_bin428.fits outfile=/scratch/kocevski/849480/expmap_350265601_350524801_4FGL_J1454.4+5124_daily_bin428.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/849480/ltcube_350265601_350524801_4FGL_J1454.4+5124_daily_bin428.fits
.....................!
real 190.97
user 185.77
sys 4.75

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/849480/ft1_filtered_4FGL_J1454.4+5124_daily_bin428.fits scfile=/scratch/kocevski/849480/ft2_4FGL_J1454.4+5124_daily_bin428.fits outfile=/scratch/kocevski/849480/cmap_350265601_350524801_4FGL_J1454.4+5124_daily_bin428.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849480/ft1_filtered_4FGL_J1454.4+5124_daily_bin428.fits scfile=/scratch/kocevski/849480/ft2_4FGL_J1454.4+5124_daily_bin428.fits outfile=/scratch/kocevski/849480/cmap_HighResolution_350265601_350524801_4FGL_J1454.4+5124_daily_bin428.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    693.25       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.525       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.0394       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.390       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .51698       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.272       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.6282       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.9301       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.664       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.7467       1.0000         .10000E-03   10000.    
    24 'Prefactor '    7.5685       1.0000         .10000E-03   10000.    
    25 'norm      '    12.344       1.0000         .10000E-03   10000.    
    26 'Prefactor '    25.258       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0907       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .59265       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=   4725.228     FROM MIGRAD    STATUS=CONVERGED    672 CALLS     3483 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    47.250       -.13044E-05** at limit **
   2  norm          .10000E-03    2.3140       -.15438E-07** at limit **
   3  Prefactor     693.28        645.61        .55244E-06   -.97889E-06
   4  Prefactor     .10000E-03    20.820       -.40628E-06** at limit **
   5  Prefactor     12.516        38.623        .82238E-06   -.53205E-04
   6  Prefactor     5.0398        5.7665        .10239E-07   -.26607E-03
   7  Prefactor     14.392        19.234       -.62542E-07   -.16543E-03
   8  Prefactor     .51692        1.8433       -.79622E-07   -.44674E-03
   9  Prefactor     .10000E-03    9.3310        .36975E-07** at limit **
  10  Prefactor     .10000E-03    12.549       -.23262E-07** at limit **
  11  Prefactor     .10000E-03    76.477       -.17856E-06** at limit **
  12  Prefactor     .10000E-03    32.199        .12930E-06** at limit **
  13  Prefactor     .10000E-03    9.9836       -.68240E-07** at limit **
  14  Prefactor     31.273        18.099       -.25053E-06   -.29415E-03
  15  Prefactor     .10000E-03    20.693       -.42307E-06** at limit **
  16  norm          .10000E-03    .73558       -.31743E-07** at limit **
  17  Prefactor     1.6266        12.869        .96287E-05   -.82898E-04
  18  Prefactor     6.9302        6.1868        .24598E-06    .79101E-04
  19  Prefactor     .10000E-03    5.8336        .42159E-07** at limit **
  20  norm          .10000E-03    .89358       -.61580E-08** at limit **
  21  Prefactor     .10000E-03    4.6240       -.25336E-08** at limit **
  22  Prefactor     13.663        21.082       -.36356E-07   -.22228E-04
  23  Prefactor     9.7472        12.575        .66854E-06   -.46280E-04
  24  Prefactor     7.5685        7.1665        .62875E-07   -.81613E-05
  25  norm          12.345        8.7958        .50749E-07   -.13730E-04
  26  Prefactor     25.270        82.937        .48324E-06   -.15440E-05
  27  Normalizat    1.0906        .17361       -.92081E-06   -.39206E-03
  28  Prefactor     .59281        .18641       -.93726E-06   -.39055E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 693.282
  Prefactor  = 0.0001
  Prefactor  = 12.516
  Prefactor  = 5.03979
  Prefactor  = 14.3918
  Prefactor  = 0.516923
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 31.2728
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.62665
  Prefactor  = 6.93019
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.6633
  Prefactor  = 9.7472
  Prefactor  = 7.56853
  norm       = 12.3445
  Prefactor  = 25.2699
  Normalizat = 1.09062
  Prefactor  = 0.592806
 **********
 **   18 **HESSE 
 **********

 FCN=   4725.228     FROM HESSE     STATUS=OK           515 CALLS     3998 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    47.317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.3375        .10206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     693.28        645.59        .78738E-04   -1.0379    
   4  Prefactor     .10000E-03    20.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.516        38.550        .11318E-03   -1.5000    
   6  Prefactor     5.0398        5.7397        .16151E-03   -1.5259    
   7  Prefactor     14.392        19.307        .10559E-03   -1.4949    
   8  Prefactor     .51692        1.8112        .16892E-03   -1.5564    
   9  Prefactor     .10000E-03    9.3535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    76.628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    32.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.9856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.273        18.115        .71650E-04   -1.4589    
  15  Prefactor     .10000E-03    20.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .75694        .11503E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.6266        12.969        .16574E-02   -1.5453    
  18  Prefactor     6.9302        6.1860        .15240E-03   -1.5181    
  19  Prefactor     .10000E-03    5.9188        .16215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .89467        .63443E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.6755        .14416E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     13.663        21.017        .10836E-03   -1.4969    
  23  Prefactor     9.7472        12.541        .64178E-03   -1.5083    
  24  Prefactor     7.5685        7.1655        .14577E-03   -1.5158    
  25  norm          12.345        8.7957        .11401E-03   -1.5005    
  26  Prefactor     25.270        82.929        .79707E-04   -1.4702    
  27  Normalizat    1.0906        .20319        .19693E-03   -.90054    
  28  Prefactor     .59281        .21708        .28954E-03   -1.0789    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.27841e-10
Minuit parameter uncertainties:
  1  3.87318e-05
  2  1.18613e-06
  3  652.753
  4  9.21935e-05
  5  38.627
  6  5.74033
  7  19.3153
  8  1.81139
  9  1.05264e-06
  10  2.49241e-05
  11  0.000747926
  12  0.000318071
  13  7.2731e-07
  14  18.1183
  15  0.000110378
  16  1.97531e-06
  17  9.18844
  18  6.18656
  19  1.83248e-06
  20  4.33501e-07
  21  1.30638e-07
  22  21.0285
  23  12.5445
  24  7.16633
  25  8.79664
  26  83.3107
  27  0.203335
  28  0.21739
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  1.975e-06  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:  5.928e-01  2.174e-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.091e+00  2.033e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/849480/likelihoodResults_350265601_350524801_4FGL_J1454.4+5124_daily_bin428.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): 102
logL (Free Index) = 4725.23405005
delta logL = -0.00615336265855

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4725.227897
delta logL = -3.07961272483e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4725.228     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      243 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.1017        .11513E-03** at limit **
   2  alpha         1.8861        3.4414        .50000        .11330E-06
   3  Normalizat    1.0906        .19246        .19693E-03    .10977E-03
   4  Prefactor     .59281        .21484        .28954E-03    .71107E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.88612
  Normalizat = 1.09062
  Prefactor  = 0.59281
 **********
 **   18 **HESSE 
 **********

 FCN=   4725.228     FROM HESSE     STATUS=OK            29 CALLS      272 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .77185        .23026E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8861        2.9654        .50000       -.24809    
   3  Normalizat    1.0906        .19262        .39386E-04   -.90054    
   4  Prefactor     .59281        .21503        .11582E-04   -1.0789    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.00972e-11
Minuit parameter uncertainties:
  1  5.3711e-06
  2  66.3063
  3  0.192743
  4  0.215324
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849480': 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) = 4725.22789623
delta logL = 4.61138370156e-07

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  5.371e-06  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.886e+00  6.631e+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:  5.928e-01  2.153e-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.091e+00  1.927e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 223.625 51.409

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/849480/cmap_HighResolution_350265601_350524801_4FGL_J1454.4+5124_daily_bin428.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.27e-05', job_status='DONE', photon_flux_upper_limit='4.57e-08', time_completed='2021-09-10 13:01:50.755182', job_id='849480', GAL2='0.59', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1631304110.76', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='4.61e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='428' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:01:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 849480: <4FGL_J1454.4+5124_daily_bin428> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin428 223.625 51.409 350265601 350524801 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 :                                   713.44 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             281.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            935 sec.

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

