/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 135 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 = 7463
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1454.4+5124_daily_bin741
RA = 223.625, Dec = 51.409
tmin = 431395201, tmax = 431654401
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='850973', job_status='RUN', time_executed='2021-09-10 12:53:35.934541', time_epoch_executed='1631303615.93' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='741'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850973

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850973/ft1_4FGL_J1454.4+5124_daily_bin741.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850973/ft2_4FGL_J1454.4+5124_daily_bin741.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850973/ft1_4FGL_J1454.4+5124_daily_bin741.fits outfile=/scratch/kocevski/850973/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin741.fits ra=223.625 dec=51.409 rad=12.0 tmin=431395201.0 tmax=431654401.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 5.63
user 5.36
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/850973/ft2_4FGL_J1454.4+5124_daily_bin741.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/850973/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin741.fits evtable="EVENTS" outfile="/scratch/kocevski/850973/ft1_filtered_4FGL_J1454.4+5124_daily_bin741.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.51
user 0.32
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850973/ft1_filtered_4FGL_J1454.4+5124_daily_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/850973/ft2_4FGL_J1454.4+5124_daily_bin741.fits sctable="SC_DATA" expcube=/scratch/kocevski/850973/ltcube_431395201_431654401_4FGL_J1454.4+5124_daily_bin741.fits outfile=/scratch/kocevski/850973/expmap_431395201_431654401_4FGL_J1454.4+5124_daily_bin741.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/850973/ltcube_431395201_431654401_4FGL_J1454.4+5124_daily_bin741.fits
.....................!
real 190.07
user 185.40
sys 4.31

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/850973/ft1_filtered_4FGL_J1454.4+5124_daily_bin741.fits scfile=/scratch/kocevski/850973/ft2_4FGL_J1454.4+5124_daily_bin741.fits outfile=/scratch/kocevski/850973/cmap_431395201_431654401_4FGL_J1454.4+5124_daily_bin741.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/850973/ft1_filtered_4FGL_J1454.4+5124_daily_bin741.fits scfile=/scratch/kocevski/850973/ft2_4FGL_J1454.4+5124_daily_bin741.fits outfile=/scratch/kocevski/850973/cmap_HighResolution_431395201_431654401_4FGL_J1454.4+5124_daily_bin741.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=223.625 yref=51.409 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14094E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.0480       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13270E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.0179       1.0000         .10000E-03   10000.    
     7 'Prefactor '    40.823       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1575       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.054       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    47.355       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.0175       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1424       1.0000         .10000E-03   10000.    
    16 'norm      '    3.9188       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.0060       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.9960       1.0000         .10000E-03   10000.    
    20 'norm      '    .97238       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.3344       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.6372       1.0000         .10000E-03   10000.    
    24 'Prefactor '    13.854       1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0091       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98251       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=   4961.167     FROM MIGRAD    STATUS=CONVERGED    687 CALLS     3551 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10011E-03    372.93       -.11030E-04** at limit **
   2  norm          5.0473        5.1219        .16648E-05   -.62613E-03
   3  Prefactor     .10003E-03    201.68        .31706E-05** at limit **
   4  Prefactor     .10000E-03    17.791        .19383E-06** at limit **
   5  Prefactor     .10000E-03    21.361       -.30164E-06** at limit **
   6  Prefactor     4.0181        5.9220        .26963E-06    .44027E-04
   7  Prefactor     40.830        30.879        .12404E-06   -.26541E-04
   8  Prefactor     1.1573        2.1748        .12533E-06   -.13131E-03
   9  Prefactor     18.049        39.306       -.23482E-06    .11842E-05
  10  Prefactor     .10000E-03    7.8897       -.14917E-07** at limit **
  11  Prefactor     .10000E-03    39.867       -.59693E-06** at limit **
  12  Prefactor     .10000E-03    31.041        .92114E-06** at limit **
  13  Prefactor     47.347        58.523        .19804E-06   -.72116E-05
  14  Prefactor     8.0173        13.612       -.72695E-06   -.24962E-04
  15  Prefactor     4.1399        27.354        .11761E-04   -.21082E-03
  16  norm          3.9189        1.9022       -.21325E-06   -.12566E-03
  17  Prefactor     .10000E-03    12.212       -.14870E-06** at limit **
  18  Prefactor     5.0071        9.3295       -.17635E-05   -.21182E-03
  19  Prefactor     6.9942        10.587        .27685E-06   -.15950E-04
  20  norm          .96743        8.8539        .50973E-05    .10755E-03
  21  Prefactor     7.3484        15.969       -.38572E-05   -.45907E-03
  22  Prefactor     .10000E-03    11.625        .13630E-06** at limit **
  23  Prefactor     4.6364        16.227        .95723E-06   -.17076E-03
  24  Prefactor     13.854        8.7992        .10384E-06   -.11015E-04
  25  norm          .10000E-03    7.2062        .42121E-07** at limit **
  26  Prefactor     .10000E-03    24.193        .13384E-07** at limit **
  27  Normalizat    1.0092        .20859       -.10786E-05   -.15237E-03
  28  Prefactor     .98240        .21509       -.74233E-06   -.13996E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100112
  norm       = 5.04731
  Prefactor  = 0.000100025
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.01806
  Prefactor  = 40.8298
  Prefactor  = 1.15733
  Prefactor  = 18.0493
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 47.3472
  Prefactor  = 8.01734
  Prefactor  = 4.13993
  norm       = 3.91887
  Prefactor  = 0.0001
  Prefactor  = 5.00712
  Prefactor  = 6.99424
  norm       = 0.967434
  Prefactor  = 7.34839
  Prefactor  = 0.0001
  Prefactor  = 4.6364
  Prefactor  = 13.8541
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.00923
  Prefactor  = 0.982397
 **********
 **   18 **HESSE 
 **********

 FCN=   4961.167     FROM HESSE     STATUS=OK           525 CALLS     4076 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10011E-03    379.89        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.0473        5.0525        .75880E-03   -1.5259    
   3  Prefactor     .10003E-03    202.60        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    21.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.0181        5.9074        .19911E-03   -1.5307    
   7  Prefactor     40.830        31.099        .62738E-04   -1.4429    
   8  Prefactor     1.1573        2.1116        .13617E-03   -1.5493    
   9  Prefactor     18.049        39.244        .94261E-04   -1.4858    
  10  Prefactor     .10000E-03    7.8913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    39.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    31.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     47.347        58.400        .58268E-04   -1.4331    
  14  Prefactor     8.0173        13.585        .14160E-03   -1.5142    
  15  Prefactor     4.1399        25.714        .99022E-03   -1.5301    
  16  norm          3.9189        1.8980        .64244E-04   -1.5312    
  17  Prefactor     .10000E-03    12.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.0071        9.2785        .17973E-03   -1.5260    
  19  Prefactor     6.9942        10.628        .15167E-03   -1.5179    
  20  norm          .96743        7.5539        .26964E-03   -1.5511    
  21  Prefactor     7.3484        14.666        .14810E-03   -1.5166    
  22  Prefactor     .10000E-03    11.671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.6364        15.899        .18690E-03   -1.5277    
  24  Prefactor     13.854        8.8029        .10761E-03   -1.4963    
  25  norm          .10000E-03    7.2565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    24.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0092        .24835        .24238E-03   -.92722    
  28  Prefactor     .98240        .25466        .26940E-03   -.93319    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79135e-09
Minuit parameter uncertainties:
  1  0.0131408
  2  5.05288
  3  0.00452286
  4  8.47552e-05
  5  0.00017654
  6  5.9083
  7  31.1113
  8  2.11175
  9  39.2998
  10  3.1004e-06
  11  0.000361812
  12  0.000354747
  13  58.4707
  14  13.5899
  15  20.6483
  16  1.898
  17  2.42828e-05
  18  9.28113
  19  10.6304
  20  5.4073
  21  14.6736
  22  4.81658e-05
  23  15.9135
  24  8.80374
  25  7.57488e-06
  26  2.18369e-06
  27  0.248639
  28  0.254972
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.919e+00  1.898e+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.824e-01  2.550e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.009e+00  2.486e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.24
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 5.89e-08 +/- 2.85e-08
Energy Flux (Fixed Index): 4.22e-05 +/- 2.04e-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) = 4961.16173407
delta logL = 0.00537030699616

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4961.16012785
delta logL = 0.00697653253155

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8062       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0152       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0071       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98343       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=   4961.160     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      192 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8064        41.530        .51724E-02   -.15880E-04
   2  alpha         2.0152        3.3772        .21768        .33602E-04
   3  Normalizat    1.0071        .16269        .46256E-01    .79367E-05
   4  Prefactor     .98345        .12728        .46060E-01    .92097E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.80644
  alpha      = 2.01519
  Normalizat = 1.00712
  Prefactor  = 0.983447
 **********
 **   18 **HESSE 
 **********

 FCN=   4961.160     FROM HESSE     STATUS=OK            33 CALLS      225 TOTAL
                     EDM=   .88E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8064        2.0897        .62973E-04   -1.5318    
   2  alpha         2.0152        .40242        .88929E-02   -.19516    
   3  Normalizat    1.0071        .22666        .24259E-03   -.92792    
   4  Prefactor     .98345        .24944        .26925E-03   -.93283    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.79308e-13
Minuit parameter uncertainties:
  1  2.08972
  2  0.404249
  3  0.226878
  4  0.249729
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850973': 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) = 4961.16012782
delta logL = 0.00697656575994

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.806e+00  2.090e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.015e+00  4.042e-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.834e-01  2.497e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.007e+00  2.269e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.24
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.02 +/- 0.40
Photon Flux (Free Index): 6.15e-08 +/- 3.62e-08
Energy Flux (Free Index): 3.99e-05 +/- 2.66e-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/850973/cmap_HighResolution_431395201_431654401_4FGL_J1454.4+5124_daily_bin741.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.89e-08', energy_flux2='3.99e-05', photon_flux_error='2.85e-08', dlogl='6.98e-03', energy_flux='4.22e-05', photon_flux2='6.15e-08', job_status='DONE', time_completed='2021-09-10 13:04:34.894869', photon_index_error2='0.40', photon_index2='2.02', ts='14.24', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='2.66e-05', EG='1.01', time_epoch_completed='1631304274.89', return_code='0', job_id='850973', GAL2='0.98', EG2='1.01', return_code2='0', energy_flux_error='2.04e-05', photon_flux_error2='3.62e-08', ts2='14.24', photon_index='1.97' WHERE bin_id='741' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:04:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 850973: <4FGL_J1454.4+5124_daily_bin741> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin741 223.625 51.409 431395201 431654401 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 :                                   658.33 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             279.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            804 sec.

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

