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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin368
RA = 223.625, Dec = 51.409
tmin = 334713601, tmax = 334972801
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='849391', job_status='RUN', time_executed='2021-09-10 12:50:04.551423', time_epoch_executed='1631303404.55' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='368'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849391

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849391/ft1_4FGL_J1454.4+5124_daily_bin368.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849391/ft2_4FGL_J1454.4+5124_daily_bin368.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849391/ft1_4FGL_J1454.4+5124_daily_bin368.fits outfile=/scratch/kocevski/849391/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin368.fits ra=223.625 dec=51.409 rad=12.0 tmin=334713601.0 tmax=334972801.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.50
user 3.25
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849391/ft1_filtered_4FGL_J1454.4+5124_daily_bin368.fits" evtable="EVENTS" scfile=/scratch/kocevski/849391/ft2_4FGL_J1454.4+5124_daily_bin368.fits sctable="SC_DATA" outfile=/scratch/kocevski/849391/ltcube_334713601_334972801_4FGL_J1454.4+5124_daily_bin368.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/849391/ft2_4FGL_J1454.4+5124_daily_bin368.fits
.....................!
real 11.74
user 11.39
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849391/ft1_filtered_4FGL_J1454.4+5124_daily_bin368.fits evtable="EVENTS" scfile=/scratch/kocevski/849391/ft2_4FGL_J1454.4+5124_daily_bin368.fits sctable="SC_DATA" expcube=/scratch/kocevski/849391/ltcube_334713601_334972801_4FGL_J1454.4+5124_daily_bin368.fits outfile=/scratch/kocevski/849391/expmap_334713601_334972801_4FGL_J1454.4+5124_daily_bin368.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/849391/ltcube_334713601_334972801_4FGL_J1454.4+5124_daily_bin368.fits
.....................!
real 191.99
user 186.57
sys 5.06

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/849391/ft1_filtered_4FGL_J1454.4+5124_daily_bin368.fits scfile=/scratch/kocevski/849391/ft2_4FGL_J1454.4+5124_daily_bin368.fits outfile=/scratch/kocevski/849391/cmap_334713601_334972801_4FGL_J1454.4+5124_daily_bin368.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.36
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.7730       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    64.685       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1571       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.464       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17945E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.1821       1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.167       1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.592       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.4744       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.8849       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.6288       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.0010       1.0000         .10000E-03   10000.    
    20 'norm      '    11.537       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.4647       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.3080       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10414E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    21.632       1.0000         .10000E-03   10000.    
    26 'Prefactor '    100.74       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .92726       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .96792       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=   6504.723     FROM MIGRAD    STATUS=CONVERGED    690 CALLS     3520 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    32.827        .20018E-07** at limit **
   2  norm          4.7731        3.9661        .23730E-06    .10374E-03
   3  Prefactor     .10000E-03    166.21       -.67035E-07** at limit **
   4  Prefactor     .10000E-03    24.634       -.45691E-06** at limit **
   5  Prefactor     64.671        48.538        .28825E-06   -.12326E-03
   6  Prefactor     3.1583        4.0319        .28463E-06   -.28560E-03
   7  Prefactor     13.468        22.867        .64361E-07   -.18715E-04
   8  Prefactor     .10001E-03    2.0899        .22447E-05** at limit **
   9  Prefactor     .10000E-03    10.016        .65514E-07** at limit **
  10  Prefactor     .10000E-03    13.431       -.21298E-06** at limit **
  11  Prefactor     .10000E-03    16.720        .10075E-07** at limit **
  12  Prefactor     3.1824        11.995        .24277E-05   -.11788E-03
  13  Prefactor     22.171        29.209        .60199E-06    .31142E-04
  14  Prefactor     28.592        19.877        .72243E-07   -.71081E-05
  15  Prefactor     .10000E-03    6.4723       -.45730E-07** at limit **
  16  norm          2.4746        1.4301       -.71082E-08   -.18750E-03
  17  Prefactor     7.8459        12.144       -.25829E-05   -.51714E-03
  18  Prefactor     2.6293        4.7336        .25717E-05   -.66046E-03
  19  Prefactor     2.0289        9.8143        .41599E-05    .37993E-03
  20  norm          11.537        5.6214       -.20591E-06   -.80368E-04
  21  Prefactor     6.4670        11.071        .58345E-06   -.19946E-03
  22  Prefactor     .10000E-03    7.4917       -.49661E-07** at limit **
  23  Prefactor     6.3108        12.283        .51560E-06   -.16212E-03
  24  Prefactor     .10000E-03    4.9623        .16220E-07** at limit **
  25  norm          21.632        10.231        .23314E-07   -.63507E-04
  26  Prefactor     100.76        103.54        .67635E-06    .88065E-04
  27  Normalizat    .92698        .17605        .38880E-06   -.13907E-03
  28  Prefactor     .96810        .19171       -.16442E-05   -.27653E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 4.77309
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 64.6711
  Prefactor  = 3.15827
  Prefactor  = 13.4684
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 3.18239
  Prefactor  = 22.1707
  Prefactor  = 28.5916
  Prefactor  = 0.0001
  norm       = 2.47462
  Prefactor  = 7.84587
  Prefactor  = 2.62928
  Prefactor  = 2.02892
  norm       = 11.5374
  Prefactor  = 6.467
  Prefactor  = 0.0001
  Prefactor  = 6.31082
  Prefactor  = 0.0001
  norm       = 21.6317
  Prefactor  = 100.756
  Normalizat = 0.926975
  Prefactor  = 0.968103
 **********
 **   18 **HESSE 
 **********

 FCN=   6504.723     FROM HESSE     STATUS=OK           523 CALLS     4043 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    32.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.7731        3.9395        .13894E-03   -1.5271    
   3  Prefactor     .10000E-03    166.22        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    24.674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     64.671        48.565        .49898E-04   -1.4098    
   6  Prefactor     3.1583        4.0278        .86657E-03   -1.5353    
   7  Prefactor     13.468        22.866        .10916E-03   -1.4974    
   8  Prefactor     .10001E-03    6.8014        .16428E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    16.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.1824        12.097        .11359E-02   -1.5351    
  13  Prefactor     22.171        29.184        .85074E-04   -1.4766    
  14  Prefactor     28.592        19.870        .74925E-04   -1.4638    
  15  Prefactor     .10000E-03    6.4816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.4746        1.4288        .70599E-04   -1.5393    
  17  Prefactor     7.8459        12.395        .14280E-03   -1.5148    
  18  Prefactor     2.6293        5.0382        .12037E-02   -1.5384    
  19  Prefactor     2.0289        10.339        .29277E-03   -1.5423    
  20  norm          11.537        5.6226        .11402E-03   -1.5029    
  21  Prefactor     6.4670        10.999        .78924E-03   -1.5199    
  22  Prefactor     .10000E-03    7.4983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.3108        12.191        .79910E-03   -1.5205    
  24  Prefactor     .10000E-03    5.0048        .17509E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          21.632        10.216        .86119E-04   -1.4777    
  26  Prefactor     100.76        103.61        .40056E-04   -1.3697    
  27  Normalizat    .92698        .20678        .23977E-03   -.95519    
  28  Prefactor     .96810        .22422        .26899E-03   -.93800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.51958e-09
Minuit parameter uncertainties:
  1  8.97617e-05
  2  3.93975
  3  0.000414249
  4  0.000416906
  5  48.5947
  6  4.02817
  7  22.8808
  8  0.000389262
  9  5.90532e-05
  10  0.000230742
  11  0.000214729
  12  12.1061
  13  29.2029
  14  19.875
  15  4.844e-05
  16  1.42885
  17  12.3993
  18  5.039
  19  9.1623
  20  5.62288
  21  11.0025
  22  5.57293e-05
  23  12.1958
  24  2.16528e-06
  25  10.2169
  26  103.795
  27  0.206959
  28  0.224431
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.475e+00  1.429e+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:  9.681e-01  2.244e-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.270e-01  2.070e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.25
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.72e-08 +/- 2.15e-08
Energy Flux (Fixed Index): 2.66e-05 +/- 1.54e-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) = 6504.7216177
delta logL = 0.00118237282823

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6504.72131022
delta logL = 0.00148984475345

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4376       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9933       1.0000          .0000       5.0000    
     3 'Normalizat'    .92608       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96863       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=   6504.721     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      227 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4375        1.5938        .69817E-04    .74318E-03
   2  alpha         1.9933        .46281        .10780E-01    .31164E-04
   3  Normalizat    .92608        .19111        .23987E-03   -.21423E-04
   4  Prefactor     .96863        .21937        .26892E-03   -.30607E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.43755
  alpha      = 1.99326
  Normalizat = 0.926075
  Prefactor  = 0.968632
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4375        1.5644        .27927E-05   -1.5396    
   2  alpha         1.9933        .45427        .43119E-03   -.20411    
   3  Normalizat    .92608        .19126        .95946E-05   -.95550    
   4  Prefactor     .96863        .21959        .10757E-04   -.93783    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.89868e-11
Minuit parameter uncertainties:
  1  1.56446
  2  0.456923
  3  0.191405
  4  0.21979
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849391': 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) = 6504.72131022
delta logL = 0.00148984916996

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.438e+00  1.564e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.993e+00  4.569e-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:  9.686e-01  2.198e-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.261e-01  1.914e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.24
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.99 +/- 0.46
Photon Flux (Free Index): 3.81e-08 +/- 2.69e-08
Energy Flux (Free Index): 2.58e-05 +/- 2.03e-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/849391/cmap_HighResolution_334713601_334972801_4FGL_J1454.4+5124_daily_bin368.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.72e-08', energy_flux2='2.58e-05', photon_flux_error='2.15e-08', dlogl='1.49e-03', energy_flux='2.66e-05', photon_flux2='3.81e-08', job_status='DONE', time_completed='2021-09-10 13:02:40.477874', photon_index_error2='0.46', photon_index2='1.99', ts='10.25', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='2.03e-05', EG='0.93', time_epoch_completed='1631304160.48', return_code='0', job_id='849391', GAL2='0.97', EG2='0.93', return_code2='0', energy_flux_error='1.54e-05', photon_flux_error2='2.69e-08', ts2='10.24', photon_index='1.97' WHERE bin_id='368' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:02:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 849391: <4FGL_J1454.4+5124_daily_bin368> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin368> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:46:11 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:46:12 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 12:46:12 2021
Terminated at Fri Sep 10 13:02:41 2021
Results reported at Fri Sep 10 13:02:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin368 223.625 51.409 334713601 334972801 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 :                                   756.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             278.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   988 sec.
    Turnaround time :                            990 sec.

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

