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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin64
RA = 223.625, Dec = 51.409
tmin = 255916801, tmax = 256176001
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='847803', job_status='RUN', time_executed='2021-09-10 12:41:44.277265', time_epoch_executed='1631302904.28' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='64'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847803

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847803/ft1_4FGL_J1454.4+5124_daily_bin64.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847803/ft2_4FGL_J1454.4+5124_daily_bin64.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847803/ft1_4FGL_J1454.4+5124_daily_bin64.fits outfile=/scratch/kocevski/847803/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin64.fits ra=223.625 dec=51.409 rad=12.0 tmin=255916801.0 tmax=256176001.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 1.61
user 1.26
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/847803/ft2_4FGL_J1454.4+5124_daily_bin64.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/847803/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin64.fits evtable="EVENTS" outfile="/scratch/kocevski/847803/ft1_filtered_4FGL_J1454.4+5124_daily_bin64.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.67
user 0.35
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847803/ft1_filtered_4FGL_J1454.4+5124_daily_bin64.fits evtable="EVENTS" scfile=/scratch/kocevski/847803/ft2_4FGL_J1454.4+5124_daily_bin64.fits sctable="SC_DATA" expcube=/scratch/kocevski/847803/ltcube_255916801_256176001_4FGL_J1454.4+5124_daily_bin64.fits outfile=/scratch/kocevski/847803/expmap_255916801_256176001_4FGL_J1454.4+5124_daily_bin64.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/847803/ltcube_255916801_256176001_4FGL_J1454.4+5124_daily_bin64.fits
.....................!
real 191.08
user 186.07
sys 4.54

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/847803/ft1_filtered_4FGL_J1454.4+5124_daily_bin64.fits scfile=/scratch/kocevski/847803/ft2_4FGL_J1454.4+5124_daily_bin64.fits outfile=/scratch/kocevski/847803/cmap_255916801_256176001_4FGL_J1454.4+5124_daily_bin64.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=223.625 yref=51.409 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847803/ft1_filtered_4FGL_J1454.4+5124_daily_bin64.fits scfile=/scratch/kocevski/847803/ft2_4FGL_J1454.4+5124_daily_bin64.fits outfile=/scratch/kocevski/847803/cmap_HighResolution_255916801_256176001_4FGL_J1454.4+5124_daily_bin64.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.201       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.043       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .35723E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.7817       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18117E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    46.163       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.3901       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.088       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.725       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.516       1.0000         .10000E-03   10000.    
    20 'norm      '    1.9177       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.2584       1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.104       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    13.339       1.0000         .10000E-03   10000.    
    25 'norm      '    8.8530       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .99207       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .86031       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=   6890.191     FROM MIGRAD    STATUS=CONVERGED    682 CALLS     3475 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    23.314       -.24049E-06** at limit **
   2  norm          .10000E-03    1.1769        .30172E-06** at limit **
   3  Prefactor     .10004E-03    172.69        .25220E-04** at limit **
   4  Prefactor     10.203        36.577        .55064E-06    .25103E-04
   5  Prefactor     20.047        22.857       -.26917E-07   -.27010E-04
   6  Prefactor     .10000E-03    1.8323        .22791E-06** at limit **
   7  Prefactor     .10000E-03    100.91        .39047E-04** at limit **
   8  Prefactor     2.7877        2.3045       -.17274E-05    .71100E-04
   9  Prefactor     .10000E-03    10.820        .55011E-06** at limit **
  10  Prefactor     .10019E-03    134.07       -.54973E-05** at limit **
  11  Prefactor     46.183        43.157       -.26703E-05   -.44092E-04
  12  Prefactor     .10000E-03    10.283       -.35651E-07** at limit **
  13  Prefactor     .10000E-03    14.866        .35979E-06** at limit **
  14  Prefactor     .10000E-03    10.136       -.75978E-06** at limit **
  15  Prefactor     5.3904        9.1061        .68527E-07    .13009E-04
  16  norm          .10000E-03    .45413        .38445E-07** at limit **
  17  Prefactor     14.091        11.669       -.28438E-06    .28784E-04
  18  Prefactor     11.725        6.2963       -.27642E-07   -.86073E-04
  19  Prefactor     12.515        9.1030        .23969E-07    .22218E-04
  20  norm          1.9292        3.3711       -.19640E-05    .29567E-04
  21  Prefactor     1.2326        6.1591        .86756E-05   -.19877E-03
  22  Prefactor     12.117        14.672       -.59531E-06   -.19334E-04
  23  Prefactor     .10000E-03    4.3685        .46317E-06** at limit **
  24  Prefactor     13.338        8.2008        .45067E-07   -.22364E-04
  25  norm          8.8524        7.5584        .28952E-07   -.13782E-04
  26  Prefactor     .10000E-03    41.965        .15335E-05** at limit **
  27  Normalizat    .99222        .15451       -.77272E-06   -.38065E-03
  28  Prefactor     .86028        .16689       -.80260E-06   -.21945E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100039
  Prefactor  = 10.2025
  Prefactor  = 20.0474
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 2.78774
  Prefactor  = 0.0001
  Prefactor  = 0.000100187
  Prefactor  = 46.1834
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.39036
  norm       = 0.0001
  Prefactor  = 14.0906
  Prefactor  = 11.7251
  Prefactor  = 12.5153
  norm       = 1.92919
  Prefactor  = 1.23261
  Prefactor  = 12.117
  Prefactor  = 0.0001
  Prefactor  = 13.338
  norm       = 8.85242
  Prefactor  = 0.0001
  Normalizat = 0.992219
  Prefactor  = 0.86028
 **********
 **   18 **HESSE 
 **********

 FCN=   6890.191     FROM HESSE     STATUS=OK           521 CALLS     3996 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    23.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.1871        .88008E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10004E-03    178.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.203        36.498        .12546E-03   -1.5069    
   5  Prefactor     20.047        22.830        .89464E-04   -1.4812    
   6  Prefactor     .10000E-03    1.8555        .10970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    129.34        .58171E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.7877        2.2843        .10622E-03   -1.5374    
   9  Prefactor     .10000E-03    10.861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10019E-03    133.25        .36453E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     46.183        43.109        .59012E-04   -1.4348    
  12  Prefactor     .10000E-03    10.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.3904        9.0881        .17309E-03   -1.5244    
  16  norm          .10000E-03    .46006        .54583E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.091        11.648        .10671E-03   -1.4957    
  18  Prefactor     11.725        6.2901        .11699E-03   -1.5023    
  19  Prefactor     12.515        9.1190        .11323E-03   -1.5000    
  20  norm          1.9292        4.2732        .16432E-03   -1.5430    
  21  Prefactor     1.2326        19.673        .19892E-02   -1.5486    
  22  Prefactor     12.117        14.894        .11514E-03   -1.5012    
  23  Prefactor     .10000E-03    4.3822        .16937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     13.338        8.1989        .10967E-03   -1.4977    
  25  norm          8.8524        7.5558        .13471E-03   -1.5113    
  26  Prefactor     .10000E-03    42.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .99222        .18093        .22242E-03   -.93292    
  28  Prefactor     .86028        .19622        .26437E-03   -.97543    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16779e-09
Minuit parameter uncertainties:
  1  1.57389e-05
  2  1.3933e-05
  3  0.00531504
  4  36.5777
  5  22.84
  6  1.11038e-05
  7  0.000993474
  8  2.2844
  9  0.000125758
  10  0.0100157
  11  43.1377
  12  7.18596e-06
  13  7.67059e-05
  14  0.000131769
  15  9.09044
  16  5.66784e-06
  17  11.6494
  18  6.29047
  19  9.11999
  20  4.27384
  21  9.85203
  22  14.8987
  23  1.23047e-05
  24  8.19964
  25  7.55661
  26  0.000171526
  27  0.181045
  28  0.196376
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  5.668e-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:  8.603e-01  1.964e-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:  9.922e-01  1.810e-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: 3.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/847803/likelihoodResults_255916801_256176001_4FGL_J1454.4+5124_daily_bin64.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) = 6890.1914485
delta logL = -5.17213356943e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6890.19144486
delta logL = -1.53461496666e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10065E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9693       1.0000          .0000       5.0000    
     3 'Normalizat'    .99244       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86009       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=   6890.191     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      227 TOTAL
                     EDM=   .96E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .54025        .54582E-03** at limit **
   2  alpha         1.9870        2.7166        .16956       -.17551E-06
   3  Normalizat    .99222        .17305        .22242E-03   -.25333E-03
   4  Prefactor     .86028        .19386        .26437E-03   -.16629E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.98704
  Normalizat = 0.99222
  Prefactor  = 0.860279
 **********
 **   18 **HESSE 
 **********

 FCN=   6890.191     FROM HESSE     STATUS=OK            25 CALLS      252 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .46029        .10916E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9870        3.0024        .33911E-01   -.20665    
   3  Normalizat    .99222        .17322        .44483E-04   -.93292    
   4  Prefactor     .86028        .19405        .10575E-04   -.97543    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.20775e-11
Minuit parameter uncertainties:
  1  9.94476e-07
  2  93.3332
  3  0.17332
  4  0.194207
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847803': 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) = 6890.19144331
delta logL = 2.00006979867e-08

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  9.945e-07  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.987e+00  9.333e+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:  8.603e-01  1.942e-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:  9.922e-01  1.733e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/847803/cmap_HighResolution_255916801_256176001_4FGL_J1454.4+5124_daily_bin64.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.44e-05', job_status='DONE', photon_flux_upper_limit='3.41e-08', time_completed='2021-09-10 12:56:24.283087', job_id='847803', GAL2='0.86', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1631303784.28', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='2.00e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='64' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:56:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 847803: <4FGL_J1454.4+5124_daily_bin64> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin64 223.625 51.409 255916801 256176001 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 :                                   879.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             360.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            916 sec.

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

