aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 19 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 = 7435
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0014.3-0500_daily_bin1698
RA = 3.5864, Dec = -5.012
tmin = 679449601, tmax = 679708801
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='916240', job_status='RUN', time_executed='2022-07-17 00:05:05.926750', time_epoch_executed='1658041505.93' WHERE source_name='4FGL J0014.3-0500' and cadence='daily' and bin_id='1698'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/916240

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/916240/ft1_4FGL_J0014.3-0500_daily_bin1698.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/916240/ft2_4FGL_J0014.3-0500_daily_bin1698.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/916240/ft1_4FGL_J0014.3-0500_daily_bin1698.fits outfile=/scratch/kocevski/916240/ft1_filteredMKT_4FGL_J0014.3-0500_daily_bin1698.fits ra=3.5864 dec=-5.012 rad=12.0 tmin=679449601.0 tmax=679708801.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.47
user 3.22
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/916240/ft2_4FGL_J0014.3-0500_daily_bin1698.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/916240/ft2_4FGL_J0014.3-0500_daily_bin1698.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/916240/ft1_filteredMKT_4FGL_J0014.3-0500_daily_bin1698.fits evtable="EVENTS" outfile="/scratch/kocevski/916240/ft1_filtered_4FGL_J0014.3-0500_daily_bin1698.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.54
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 594

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/916240/ft1_filtered_4FGL_J0014.3-0500_daily_bin1698.fits" evtable="EVENTS" scfile=/scratch/kocevski/916240/ft2_4FGL_J0014.3-0500_daily_bin1698.fits sctable="SC_DATA" outfile=/scratch/kocevski/916240/ltcube_679449601_679708801_4FGL_J0014.3-0500_daily_bin1698.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/916240/ft2_4FGL_J0014.3-0500_daily_bin1698.fits
.....................!
real 11.93
user 11.53
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/916240/ft1_filtered_4FGL_J0014.3-0500_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/916240/ft2_4FGL_J0014.3-0500_daily_bin1698.fits sctable="SC_DATA" expcube=/scratch/kocevski/916240/ltcube_679449601_679708801_4FGL_J0014.3-0500_daily_bin1698.fits outfile=/scratch/kocevski/916240/expmap_679449601_679708801_4FGL_J0014.3-0500_daily_bin1698.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/916240/ltcube_679449601_679708801_4FGL_J0014.3-0500_daily_bin1698.fits
.....................!
real 189.84
user 185.32
sys 4.10

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 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J0014.3-0500 @ 3.5864 -5.012

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/916240/ft1_filtered_4FGL_J0014.3-0500_daily_bin1698.fits scfile=/scratch/kocevski/916240/ft2_4FGL_J0014.3-0500_daily_bin1698.fits outfile=/scratch/kocevski/916240/cmap_679449601_679708801_4FGL_J0014.3-0500_daily_bin1698.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=3.5864 yref=-5.012 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 1.10
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/916240/ft1_filtered_4FGL_J0014.3-0500_daily_bin1698.fits scfile=/scratch/kocevski/916240/ft2_4FGL_J0014.3-0500_daily_bin1698.fits outfile=/scratch/kocevski/916240/cmap_HighResolution_679449601_679708801_4FGL_J0014.3-0500_daily_bin1698.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=3.5864 yref=-5.012 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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/916240/ft1_filtered_4FGL_J0014.3-0500_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/916240/ft2_4FGL_J0014.3-0500_daily_bin1698.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/916240/Model_4FGL_J0014.3-0500_daily_bin1698.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/916240/ft1_filtered_4FGL_J0014.3-0500_daily_bin1698.fits.....................!
real 70.85
user 60.43
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/916240/ft1_filtered_4FGL_J0014.3-0500_daily_bin1698.fits', '/scratch/kocevski/916240/ft2_4FGL_J0014.3-0500_daily_bin1698.fits', expMap='/scratch/kocevski/916240/expmap_679449601_679708801_4FGL_J0014.3-0500_daily_bin1698.fits', expCube='/scratch/kocevski/916240/ltcube_679449601_679708801_4FGL_J0014.3-0500_daily_bin1698.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/916240/Model_4FGL_J0014.3-0500_daily_bin1698.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0014.3-0500'

4FGL J0014.3-0500
   Spectrum: PowerLaw
62     Prefactor:  1.466e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
63         Index:  2.370e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
64         Scale:  1.747e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/916240/ft1_filtered_4FGL_J0014.3-0500_daily_bin1698.fits
Spacecraft file(s): /scratch/kocevski/916240/ft2_4FGL_J0014.3-0500_daily_bin1698.fits
Exposure map: /scratch/kocevski/916240/expmap_679449601_679708801_4FGL_J0014.3-0500_daily_bin1698.fits
Exposure cube: /scratch/kocevski/916240/ltcube_679449601_679708801_4FGL_J0014.3-0500_daily_bin1698.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/916240/Model_4FGL_J0014.3-0500_daily_bin1698.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) = 6653.95346034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7087       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    46.927       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.0323       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.002       1.0000         .10000E-03   10000.    
     7 'norm      '    2.3248       1.0000         .10000E-03   10000.    
     8 'norm      '    10.434       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    8.9231       1.0000         .10000E-03   10000.    
    14 'norm      '    2.2076       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.2426       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    76.241       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    22.710       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    48.825       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.3382       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .82312       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .88025       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6653.952     FROM MIGRAD    STATUS=CONVERGED    591 CALLS     3030 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7088        7.2750       -.25940E-06   -.39655E-04
   2  Prefactor     .10000E-03    10.116        .95104E-06** at limit **
   3  Prefactor     46.929        17.153        .25699E-06    .42663E-04
   4  Prefactor     5.0333        5.2332        .47406E-06    .40660E-04
   5  norm          .10000E-03    1.0675       -.37283E-07** at limit **
   6  Prefactor     16.008        19.638        .48763E-05    .11783E-03
   7  norm          2.3233        5.2149       -.28525E-05   -.10415E-02
   8  norm          10.434        4.5114       -.36995E-06    .79428E-05
   9  Prefactor     .10000E-03    2.4523        .61905E-08** at limit **
  10  norm          .10000E-03    6.0478       -.21714E-05** at limit **
  11  Prefactor     .10000E-03    2.0491        .47501E-08** at limit **
  12  Prefactor     .10000E-03    1.2556       -.29204E-07** at limit **
  13  norm          8.9228        3.8048        .27220E-05    .65994E-03
  14  norm          2.2071        2.8887       -.17670E-06    .14079E-04
  15  Prefactor     2.2135        60.712       -.89159E-04   -.36967E-04
  16  Prefactor     .10000E-03    27.665        .48108E-05** at limit **
  17  Prefactor     76.229        113.13       -.12969E-04    .81642E-05
  18  Prefactor     .10000E-03    12.728       -.21754E-05** at limit **
  19  norm          .10000E-03    7.3200        .10401E-05** at limit **
  20  Prefactor     22.704        35.073       -.84201E-05    .38724E-05
  21  Prefactor     .10000E-03    1.4682        .25718E-08** at limit **
  22  Prefactor     48.825        41.673       -.64678E-06    .14249E-04
  23  Prefactor     .10000E-03    5.9259        .13814E-05** at limit **
  24  Prefactor     2.3386        5.6035       -.16998E-05   -.71537E-03
  25  Normalizat    .82306        .16792       -.58947E-06    .34506E-03
  26  Prefactor     .88028        .14274        .25219E-05    .15913E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.70884
  Prefactor  = 0.0001
  Prefactor  = 46.9286
  Prefactor  = 5.03326
  norm       = 0.0001
  Prefactor  = 16.0082
  norm       = 2.3233
  norm       = 10.434
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.92283
  norm       = 2.20706
  Prefactor  = 2.21352
  Prefactor  = 0.0001
  Prefactor  = 76.2295
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 22.7042
  Prefactor  = 0.0001
  Prefactor  = 48.8248
  Prefactor  = 0.0001
  Prefactor  = 2.33864
  Normalizat = 0.823061
  Prefactor  = 0.880281
 **********
 **   18 **HESSE 
 **********

 FCN=   6653.952     FROM HESSE     STATUS=OK           456 CALLS     3486 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7088        7.2551        .14443E-03   -1.5153    
   2  Prefactor     .10000E-03    10.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     46.929        17.139        .58532E-04   -1.4337    
   4  Prefactor     5.0333        5.1270        .15636E-03   -1.5259    
   5  norm          .10000E-03    1.0970        .16420E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.008        19.147        .10012E-03   -1.4908    
   7  norm          2.3233        4.9902        .18999E-03   -1.5403    
   8  norm          10.434        4.5114        .11078E-03   -1.5062    
   9  Prefactor     .10000E-03    2.4565        .12474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    6.0936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.1273        .22783E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.2786        .89155E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.9228        3.8034        .99240E-04   -1.5110    
  14  norm          2.2071        2.8746        .15343E-03   -1.5411    
  15  Prefactor     2.2135        61.022        .27444E-03   -1.5410    
  16  Prefactor     .10000E-03    27.828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     76.229        113.03        .45987E-04   -1.3960    
  18  Prefactor     .10000E-03    13.049        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    7.3300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     22.704        35.073        .84053E-04   -1.4755    
  21  Prefactor     .10000E-03    1.4830        .96467E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     48.825        41.684        .57388E-04   -1.4309    
  23  Prefactor     .10000E-03    5.9386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     2.3386        5.5996        .26815E-03   -1.5402    
  25  Normalizat    .82306        .19298        .26257E-03   -.99219    
  26  Prefactor     .88028        .16441        .22449E-03   -.96834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81378e-09
Minuit parameter uncertainties:
  1  7.25588
  2  4.91236e-06
  3  17.1403
  4  5.12748
  5  2.51694e-06
  6  19.1544
  7  4.99106
  8  4.51158
  9  1.50247e-06
  10  4.73471e-06
  11  7.53146e-06
  12  1.70483e-06
  13  3.80348
  14  2.87483
  15  23.2699
  16  7.92484e-06
  17  113.353
  18  7.95466e-05
  19  5.94429e-06
  20  35.1046
  21  4.82461e-06
  22  41.7088
  23  6.42552e-06
  24  5.60081
  25  0.193143
  26  0.164506
Done.

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

Extracting fit parameters...

4FGL J0014.3-0500
   Spectrum: PowerLaw
62     Prefactor:  5.033e+00  5.127e+00  1.000e-04  1.000e+04 ( 1.000e-13)
63         Index:  2.370e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
64         Scale:  1.747e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  8.803e-01  1.645e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  8.231e-01  1.931e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.17
Ra Dec: 3.586 -5.012
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 3.23e-08 +/- 3.29e-08
Energy Flux (Fixed Index): 1.10e-05 +/- 1.12e-05

TS (Fixed Index): 3.17
Ra Dec: 3.586 -5.012
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/916240/likelihoodResults_679449601_679708801_4FGL_J0014.3-0500_daily_bin1698.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6653.70781627
delta logL = 0.244631083688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6653.68079832
delta logL = 0.271649026436

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5994       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2567       1.0000          .0000       10.000    
     3 'Normalizat'    .76547       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91197       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6653.681     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      293 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5999        16.674        .83816E-02    .51830E-03
   2  Index         3.2569        2.5187        .87005E-01    .21507E-03
   3  Normalizat    .76530        .54815E-01    .43158E-01    .19540E-04
   4  Prefactor     .91193        .43151E-01    .45157E-01    .98200E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.5999
  Index      = 3.2569
  Normalizat = 0.765304
  Prefactor  = 0.911933
 **********
 **   18 **HESSE 
 **********

 FCN=   6653.681     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      326 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5999        30.537        .63865E-04   -1.5455    
   2  Index         3.2569        3.8445        .44212E-02   -.35610    
   3  Normalizat    .76530        .28127        .27101E-03   -1.0137    
   4  Prefactor     .91193        .19878        .22089E-03   -.95725    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.03623e-07
Minuit parameter uncertainties:
  1  13.9873
  2  4.50842
  3  0.281807
  4  0.198941
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/916240': 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): 102
logL (Free Index) = 6653.68079575
delta logL = 0.271651596298

Extracting fit parameters...

4FGL J0014.3-0500
   Spectrum: PowerLaw
62     Prefactor:  1.600e+00  1.399e+01  1.000e-04  1.000e+04 ( 1.000e-13)
63         Index:  3.257e+00  4.508e+00  0.000e+00  1.000e+01 (-1.000e+00)
64         Scale:  1.747e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.119e-01  1.989e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  7.653e-01  2.818e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.83
Ra Dec: 3.586 -5.012
Photon Index (Free Index): 3.26 +/- 4.51
Photon Flux (Free Index): 7.90e-08 +/- 1.79e-07
Energy Flux (Free Index): 1.42e-05 +/- 1.25e-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/916240/cmap_HighResolution_679449601_679708801_4FGL_J0014.3-0500_daily_bin1698.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.96e-03', comment='SUCCESS', photon_flux='3.23e-08', energy_flux2='1.42e-05', photon_flux_error='3.29e-08', dlogl='2.72e-01', energy_flux='1.10e-05', photon_flux2='7.90e-08', job_status='DONE', time_completed='2022-07-17 00:17:04.298540', photon_index_error2='4.51', photon_index2='3.26', ts='3.17', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='1.25e-05', EG='0.82', time_epoch_completed='1658042224.3', return_code='0', job_id='916240', GAL2='0.91', EG2='0.77', return_code2='102', energy_flux_error='1.12e-05', photon_flux_error2='1.79e-07', ts2='3.83', photon_index='2.37' WHERE bin_id='1698' AND source_name='4FGL J0014.3-0500' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 17 00:17:04 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 916240: <4FGL_J0014.3-0500_daily_bin1698> in cluster <slac> Done

Job <4FGL_J0014.3-0500_daily_bin1698> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Jul 17 00:04:30 2022
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 17 00:04:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 17 00:04:31 2022
Terminated at Sun Jul 17 00:17:05 2022
Results reported at Sun Jul 17 00:17:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0014.3-0500_daily_bin1698 3.5864 -5.012 679449601 679708801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0014.3-0500 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   706.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             362.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   753 sec.
    Turnaround time :                            755 sec.

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

