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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin232
RA = 223.625, Dec = 51.409
tmin = 299462401, tmax = 299721601
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='848053', job_status='RUN', time_executed='2021-09-10 12:44:37.794075', time_epoch_executed='1631303077.79' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='232'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/848053

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/848053/ft1_4FGL_J1454.4+5124_daily_bin232.fits


Retrieving the FT1 file...

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

Retrieving 44 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/848053/ft2_4FGL_J1454.4+5124_daily_bin232.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/848053/ft1_4FGL_J1454.4+5124_daily_bin232.fits outfile=/scratch/kocevski/848053/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin232.fits ra=223.625 dec=51.409 rad=12.0 tmin=299462401.0 tmax=299721601.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.22
user 2.98
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/848053/ft1_filtered_4FGL_J1454.4+5124_daily_bin232.fits evtable="EVENTS" scfile=/scratch/kocevski/848053/ft2_4FGL_J1454.4+5124_daily_bin232.fits sctable="SC_DATA" expcube=/scratch/kocevski/848053/ltcube_299462401_299721601_4FGL_J1454.4+5124_daily_bin232.fits outfile=/scratch/kocevski/848053/expmap_299462401_299721601_4FGL_J1454.4+5124_daily_bin232.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/848053/ltcube_299462401_299721601_4FGL_J1454.4+5124_daily_bin232.fits
.....................!
real 190.45
user 185.20
sys 4.89

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/848053/ft1_filtered_4FGL_J1454.4+5124_daily_bin232.fits scfile=/scratch/kocevski/848053/ft2_4FGL_J1454.4+5124_daily_bin232.fits outfile=/scratch/kocevski/848053/cmap_299462401_299721601_4FGL_J1454.4+5124_daily_bin232.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/848053/ft1_filtered_4FGL_J1454.4+5124_daily_bin232.fits scfile=/scratch/kocevski/848053/ft2_4FGL_J1454.4+5124_daily_bin232.fits outfile=/scratch/kocevski/848053/cmap_HighResolution_299462401_299721601_4FGL_J1454.4+5124_daily_bin232.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.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.6590       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12890E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15073E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.2032       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.9199       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .85074       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.4790       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10436E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .77534E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .43555       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.9036       1.0000         .10000E-03   10000.    
    16 'norm      '    3.3572       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10353E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.7289       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.884       1.0000         .10000E-03   10000.    
    20 'norm      '    5.8829       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    10.061       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.4569       1.0000         .10000E-03   10000.    
    24 'Prefactor '    12.495       1.0000         .10000E-03   10000.    
    25 'norm      '    .10307E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .56931       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.4143       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=   5046.668     FROM MIGRAD    STATUS=CONVERGED    710 CALLS     3044 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    44.603        .25473E-05** at limit **
   2  norm          5.6580        4.5679       -.54365E-06   -.52168E-04
   3  Prefactor     .10000E-03    291.33        .29608E-07** at limit **
   4  Prefactor     .10000E-03    66.533       -.16448E-05** at limit **
   5  Prefactor     .10000E-03    335.42       -.33093E-05** at limit **
   6  Prefactor     2.2036        4.7387        .74796E-06    .51754E-04
   7  Prefactor     7.9163        23.400        .27043E-06   -.14995E-04
   8  Prefactor     .85230        2.6665        .30320E-06    .88108E-04
   9  Prefactor     4.4797        28.030       -.10473E-05   -.10876E-04
  10  Prefactor     .10000E-03    15.528       -.30803E-06** at limit **
  11  Prefactor     .10000E-03    74.335        .37353E-05** at limit **
  12  Prefactor     .10004E-03    46.720        .24451E-05** at limit **
  13  Prefactor     .10000E-03    30.140        .12448E-06** at limit **
  14  Prefactor     .49105        166.89       -.54537E-05   -.12607E-04
  15  Prefactor     4.8791        22.631        .17294E-05   -.16182E-04
  16  norm          3.3576        2.1451       -.36464E-06   -.15616E-03
  17  Prefactor     .10000E-03    8.7171        .57169E-06** at limit **
  18  Prefactor     8.7300        8.2399       -.82925E-06   -.20455E-04
  19  Prefactor     13.877        10.087       -.34081E-06   -.29923E-04
  20  norm          5.8823        3.9104        .92677E-08   -.27173E-04
  21  Prefactor     .10000E-03    4.6690        .78253E-07** at limit **
  22  Prefactor     10.060        19.127       -.30279E-06   -.97788E-05
  23  Prefactor     2.4551        9.1845       -.16403E-06    .15753E-05
  24  Prefactor     12.501        9.6422        .23794E-06   -.17989E-04
  25  norm          .10000E-03    4.8271       -.18583E-06** at limit **
  26  Prefactor     .10000E-03    57.684       -.39633E-05** at limit **
  27  Normalizat    .56957        .19716        .12801E-05   -.11021E-03
  28  Prefactor     1.4140        .21434       -.11069E-05   -.48920E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 5.65801
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 2.20361
  Prefactor  = 7.91628
  Prefactor  = 0.852298
  Prefactor  = 4.47969
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100035
  Prefactor  = 0.0001
  Prefactor  = 0.491055
  Prefactor  = 4.87911
  norm       = 3.35758
  Prefactor  = 0.0001
  Prefactor  = 8.73
  Prefactor  = 13.877
  norm       = 5.88233
  Prefactor  = 0.0001
  Prefactor  = 10.0602
  Prefactor  = 2.45512
  Prefactor  = 12.5005
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.569573
  Prefactor  = 1.41401
 **********
 **   18 **HESSE 
 **********

 FCN=   5046.668     FROM HESSE     STATUS=OK           527 CALLS     3571 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    44.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.6580        4.5548        .64711E-03   -1.5232    
   3  Prefactor     .10000E-03    291.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    66.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    341.71        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.2036        4.7007        .21461E-03   -1.5411    
   7  Prefactor     7.9163        23.487        .14248E-03   -1.5145    
   8  Prefactor     .85230        2.6285        .18777E-03   -1.5523    
   9  Prefactor     4.4797        27.520        .19025E-03   -1.5285    
  10  Prefactor     .10000E-03    15.547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    74.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10004E-03    278.20        .64556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    30.183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .49105        184.29        .52998E-02   -1.5568    
  15  Prefactor     4.8791        22.038        .18164E-03   -1.5266    
  16  norm          3.3576        2.1496        .37832E-03   -1.5341    
  17  Prefactor     .10000E-03    8.7803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.7300        8.2018        .13567E-03   -1.5117    
  19  Prefactor     13.877        10.094        .10750E-03   -1.4963    
  20  norm          5.8823        3.8988        .10885E-03   -1.5223    
  21  Prefactor     .10000E-03    4.6881        .14970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     10.060        18.964        .12633E-03   -1.5074    
  23  Prefactor     2.4551        9.0856        .26094E-03   -1.5395    
  24  Prefactor     12.501        9.6366        .11332E-03   -1.5001    
  25  norm          .10000E-03    4.8367        .15230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    57.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .56957        .22623        .28631E-03   -1.0929    
  28  Prefactor     1.4140        .25152        .22666E-03   -.79977    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56241e-08
Minuit parameter uncertainties:
  1  5.22567e-05
  2  4.55506
  3  3.49203e-05
  4  6.44357e-05
  5  0.00139268
  6  4.70145
  7  23.5143
  8  2.62885
  9  22.2215
  10  1.53335e-05
  11  9.94097e-05
  12  0.00628047
  13  3.9849e-05
  14  19.0833
  15  20.7515
  16  2.14964
  17  2.5174e-05
  18  8.20289
  19  10.0955
  20  3.89892
  21  5.31906e-06
  22  18.9755
  23  9.09071
  24  9.63782
  25  5.37044e-06
  26  0.000136587
  27  0.226599
  28  0.251738
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.358e+00  2.150e+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.414e+00  2.517e-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:  5.696e-01  2.266e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.05
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 5.05e-08 +/- 3.23e-08
Energy Flux (Fixed Index): 3.61e-05 +/- 2.31e-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) = 5046.47343096
delta logL = 0.194507283696

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5046.46665199
delta logL = 0.201286252902

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6170       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2765       1.0000          .0000       5.0000    
     3 'Normalizat'    .55419       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4234       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=   5046.467     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      265 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6183        29.042        .63032E-02    .25888E-03
   2  alpha         2.2772        3.6385        .21939        .55026E-04
   3  Normalizat    .55379        .80907E-01    .65531E-01    .25998E-04
   4  Prefactor     1.4237        .79078E-01    .51106E-01    .71857E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 2.61826
  alpha      = 2.2772
  Normalizat = 0.553791
  Prefactor  = 1.42367
 **********
 **   18 **HESSE 
 **********

 FCN=   5046.467     FROM HESSE     STATUS=OK            33 CALLS      298 TOTAL
                     EDM=   .44E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6183        2.2073        .62546E-04   -1.5384    
   2  alpha         2.2772        .53118        .84759E-02   -.89237E-01
   3  Normalizat    .55379        .20432        .29000E-03   -1.0998    
   4  Prefactor     1.4237        .24428        .22593E-03   -.79700    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.38403e-12
Minuit parameter uncertainties:
  1  2.20734
  2  0.535293
  3  0.204603
  4  0.244482
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/848053': 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) = 5046.46664608
delta logL = 0.20129217028

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.618e+00  2.207e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.277e+00  5.353e-01  0.000e+00  5.000e+00 ( 1.000e+00)
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.424e+00  2.445e-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:  5.538e-01  2.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.44
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.28 +/- 0.54
Photon Flux (Free Index): 6.56e-08 +/- 4.26e-08
Energy Flux (Free Index): 2.70e-05 +/- 1.96e-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/848053/cmap_HighResolution_299462401_299721601_4FGL_J1454.4+5124_daily_bin232.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.05e-08', energy_flux2='2.70e-05', photon_flux_error='3.23e-08', dlogl='2.01e-01', energy_flux='3.61e-05', photon_flux2='6.56e-08', job_status='DONE', time_completed='2021-09-10 12:54:55.799086', photon_index_error2='0.54', photon_index2='2.28', ts='5.05', fit_tolerance='1e-08', GAL='1.41', photon_index_error='0.00', energy_flux_error2='1.96e-05', EG='0.57', time_epoch_completed='1631303695.8', return_code='0', job_id='848053', GAL2='1.42', EG2='0.55', return_code2='0', energy_flux_error='2.31e-05', photon_flux_error2='4.26e-08', ts2='5.44', photon_index='1.97' WHERE bin_id='232' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:54:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 848053: <4FGL_J1454.4+5124_daily_bin232> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin232 223.625 51.409 299462401 299721601 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 :                                   618.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             282.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            810 sec.

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

