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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin391
RA = 223.625, Dec = 51.409
tmin = 340675201, tmax = 340934401
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='849425', job_status='RUN', time_executed='2021-09-10 12:49:44.581756', time_epoch_executed='1631303384.58' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='391'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849425

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849425/ft1_4FGL_J1454.4+5124_daily_bin391.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849425/ft2_4FGL_J1454.4+5124_daily_bin391.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849425/ft1_4FGL_J1454.4+5124_daily_bin391.fits outfile=/scratch/kocevski/849425/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin391.fits ra=223.625 dec=51.409 rad=12.0 tmin=340675201.0 tmax=340934401.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.11
user 5.83
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849425/ft1_filtered_4FGL_J1454.4+5124_daily_bin391.fits" evtable="EVENTS" scfile=/scratch/kocevski/849425/ft2_4FGL_J1454.4+5124_daily_bin391.fits sctable="SC_DATA" outfile=/scratch/kocevski/849425/ltcube_340675201_340934401_4FGL_J1454.4+5124_daily_bin391.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/849425/ft2_4FGL_J1454.4+5124_daily_bin391.fits
.....................!
real 10.41
user 10.07
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849425/ft1_filtered_4FGL_J1454.4+5124_daily_bin391.fits evtable="EVENTS" scfile=/scratch/kocevski/849425/ft2_4FGL_J1454.4+5124_daily_bin391.fits sctable="SC_DATA" expcube=/scratch/kocevski/849425/ltcube_340675201_340934401_4FGL_J1454.4+5124_daily_bin391.fits outfile=/scratch/kocevski/849425/expmap_340675201_340934401_4FGL_J1454.4+5124_daily_bin391.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/849425/ltcube_340675201_340934401_4FGL_J1454.4+5124_daily_bin391.fits
.....................!
real 191.11
user 185.64
sys 5.12

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/849425/ft1_filtered_4FGL_J1454.4+5124_daily_bin391.fits scfile=/scratch/kocevski/849425/ft2_4FGL_J1454.4+5124_daily_bin391.fits outfile=/scratch/kocevski/849425/cmap_340675201_340934401_4FGL_J1454.4+5124_daily_bin391.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849425/ft1_filtered_4FGL_J1454.4+5124_daily_bin391.fits scfile=/scratch/kocevski/849425/ft2_4FGL_J1454.4+5124_daily_bin391.fits outfile=/scratch/kocevski/849425/cmap_HighResolution_340675201_340934401_4FGL_J1454.4+5124_daily_bin391.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.55
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    5.5626       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .49868E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10334E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.9103       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.2316       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.147       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.938       1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.986       1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.632       1.0000         .10000E-03   10000.    
    11 'Prefactor '    50.569       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.1338       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.1181       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.3133       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .19767       1.0000         .10000E-03   10000.    
    20 'norm      '    .13113E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.9776       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .20518E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .80287       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .78512       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=   4080.082     FROM MIGRAD    STATUS=CONVERGED    726 CALLS     3531 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    27.600       -.62990E-06** at limit **
   2  norm          5.5593        4.7803        .97276E-07   -.44333E-05
   3  Prefactor     .10074E-03    891.39       -.17341E-04** at limit **
   4  Prefactor     .10000E-03    64.649       -.67111E-06** at limit **
   5  Prefactor     2.8372        122.36       -.13200E-04   -.54358E-04
   6  Prefactor     3.2302        5.0692        .54821E-05    .44233E-04
   7  Prefactor     13.133        17.170       -.68858E-06   -.24524E-04
   8  Prefactor     15.935        5.5035        .32497E-07   -.19907E-03
   9  Prefactor     26.974        27.355       -.81437E-07   -.77434E-04
  10  Prefactor     19.635        32.291        .12933E-06   -.32909E-04
  11  Prefactor     50.547        55.668       -.49163E-06   -.70698E-04
  12  Prefactor     .10000E-03    23.986        .43257E-06** at limit **
  13  Prefactor     5.1588        79.072        .11060E-05   -.14170E-05
  14  Prefactor     .10000E-03    4.9325       -.12824E-06** at limit **
  15  Prefactor     .10000E-03    8.6788       -.65063E-07** at limit **
  16  norm          4.1183        2.0795        .83023E-08   -.21549E-03
  17  Prefactor     .10000E-03    7.9014        .50984E-07** at limit **
  18  Prefactor     5.3111        7.1675        .33612E-06    .81072E-05
  19  Prefactor     .48614E-01    11.864        .30491E-05   -.60463E-03
  20  norm          .10000E-03    2.6484       -.91834E-07** at limit **
  21  Prefactor     .10000E-03    8.7671       -.23608E-06** at limit **
  22  Prefactor     .10000E-03    32.180        .28924E-06** at limit **
  23  Prefactor     5.9869        11.100        .94961E-06   -.62846E-05
  24  Prefactor     .10000E-03    2.8814        .16047E-07** at limit **
  25  norm          .10013E-03    8.0988       -.99696E-06** at limit **
  26  Prefactor     .10000E-03    32.299        .23010E-06** at limit **
  27  Normalizat    .80383        .18855       -.23685E-06   -.32755E-03
  28  Prefactor     .78437        .20022       -.12926E-05   -.16248E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  norm       = 5.55927
  Prefactor  = 0.000100737
  Prefactor  = 0.0001
  Prefactor  = 2.8372
  Prefactor  = 3.23024
  Prefactor  = 13.1331
  Prefactor  = 15.9354
  Prefactor  = 26.9736
  Prefactor  = 19.635
  Prefactor  = 50.5471
  Prefactor  = 0.0001
  Prefactor  = 5.15883
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.11827
  Prefactor  = 0.0001
  Prefactor  = 5.3111
  Prefactor  = 0.0486144
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.98694
  Prefactor  = 0.0001
  norm       = 0.000100126
  Prefactor  = 0.0001
  Normalizat = 0.803833
  Prefactor  = 0.784367
 **********
 **   18 **HESSE 
 **********

 FCN=   4080.082     FROM HESSE     STATUS=OK           529 CALLS     4060 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    27.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.5593        4.7792        .12273E-03   -1.5236    
   3  Prefactor     .10074E-03    914.75        .19206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    64.735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.8372        123.18        .23816E-03   -1.5371    
   6  Prefactor     3.2302        5.0757        .83834E-03   -1.5348    
   7  Prefactor     13.133        17.222        .11047E-03   -1.4983    
   8  Prefactor     15.935        5.5079        .74370E-04   -1.4909    
   9  Prefactor     26.974        27.271        .77118E-04   -1.4669    
  10  Prefactor     19.635        32.288        .90395E-04   -1.4821    
  11  Prefactor     50.547        55.634        .56395E-04   -1.4285    
  12  Prefactor     .10000E-03    24.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.1588        78.294        .17744E-03   -1.5254    
  14  Prefactor     .10000E-03    4.9356        .13854E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.7038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.1183        2.0777        .63079E-04   -1.5302    
  17  Prefactor     .10000E-03    7.9426        .17512E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.3111        7.1475        .17436E-03   -1.5247    
  19  Prefactor     .48614E-01    15.723        .52692E-01   -1.5664    
  20  norm          .10000E-03    11.912        .19329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.8295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    32.699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     5.9869        10.739        .16424E-03   -1.5219    
  24  Prefactor     .10000E-03    2.8864        .10586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10013E-03    58.796        .35007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    32.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .80383        .22528        .22030E-03   -.99927    
  28  Prefactor     .78437        .23655        .25290E-03   -1.0031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19146e-09
Minuit parameter uncertainties:
  1  0.000331951
  2  4.77949
  3  0.0527578
  4  0.00017776
  5  37.4703
  6  5.07636
  7  17.2285
  8  5.50805
  9  27.2831
  10  32.3163
  11  55.6912
  12  0.000131183
  13  40.2574
  14  2.0999e-07
  15  2.20716e-05
  16  2.07775
  17  2.70464e-05
  18  7.14864
  19  1.7472
  20  4.46581e-05
  21  1.91354e-07
  22  0.000159052
  23  10.7425
  24  3.3022e-06
  25  0.00544604
  26  0.000118722
  27  0.225541
  28  0.236853
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.118e+00  2.078e+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:  7.844e-01  2.369e-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:  8.038e-01  2.255e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.95
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 6.19e-08 +/- 3.12e-08
Energy Flux (Fixed Index): 4.43e-05 +/- 2.23e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4080.05051252
delta logL = 0.0319670414642

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4080.05007221
delta logL = 0.0324073560878

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8330       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0769       1.0000          .0000       5.0000    
     3 'Normalizat'    .79727       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78828       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=   4080.050     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      249 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8354        40.255        .51536E-02    .52842E-04
   2  alpha         2.0775        3.4743        .20042        .39222E-04
   3  Normalizat    .79727        .12161        .43575E-01    .10516E-04
   4  Prefactor     .78819        .98274E-01    .43565E-01    .10344E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.83542
  alpha      = 2.07753
  Normalizat = 0.797271
  Prefactor  = 0.788187
 **********
 **   18 **HESSE 
 **********

 FCN=   4080.050     FROM HESSE     STATUS=OK            33 CALLS      282 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8354        2.3217        .59453E-04   -1.5316    
   2  alpha         2.0775        .43997        .80020E-02   -.16980    
   3  Normalizat    .79727        .20428        .22104E-03   -1.0017    
   4  Prefactor     .78819        .23159        .25229E-03   -1.0017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35325e-12
Minuit parameter uncertainties:
  1  2.32174
  2  0.442343
  3  0.204477
  4  0.23188
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849425': 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) = 4080.05006864
delta logL = 0.0324109273242

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.835e+00  2.322e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.078e+00  4.423e-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:  7.882e-01  2.319e-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.973e-01  2.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.98
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.08 +/- 0.44
Photon Flux (Free Index): 6.84e-08 +/- 4.19e-08
Energy Flux (Free Index): 3.93e-05 +/- 2.68e-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/849425/cmap_HighResolution_340675201_340934401_4FGL_J1454.4+5124_daily_bin391.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.19e-08', energy_flux2='3.93e-05', photon_flux_error='3.12e-08', dlogl='3.24e-02', energy_flux='4.43e-05', photon_flux2='6.84e-08', job_status='DONE', time_completed='2021-09-10 12:59:56.118231', photon_index_error2='0.44', photon_index2='2.08', ts='11.95', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='2.68e-05', EG='0.80', time_epoch_completed='1631303996.12', return_code='0', job_id='849425', GAL2='0.79', EG2='0.80', return_code2='0', energy_flux_error='2.23e-05', photon_flux_error2='4.19e-08', ts2='11.98', photon_index='1.97' WHERE bin_id='391' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:59:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 849425: <4FGL_J1454.4+5124_daily_bin391> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin391 223.625 51.409 340675201 340934401 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 :                                   611.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             244.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            823 sec.

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

