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 222 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7533
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0014.3-0500_daily_bin1754
RA = 3.5864, Dec = -5.012
tmin = 693964801, tmax = 694224001
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='624362', job_status='RUN', time_executed='2023-01-01 00:09:12.617473', time_epoch_executed='1672560552.62' WHERE source_name='4FGL J0014.3-0500' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/624362

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/624362/ft1_4FGL_J0014.3-0500_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/624362/ft2_4FGL_J0014.3-0500_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/624362/ft1_4FGL_J0014.3-0500_daily_bin1754.fits outfile=/scratch/kocevski/624362/ft1_filteredMKT_4FGL_J0014.3-0500_daily_bin1754.fits ra=3.5864 dec=-5.012 rad=12.0 tmin=693964801.0 tmax=694224001.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.96
user 3.71
sys 0.22

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

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

Number of photons that the gtmktime cut: 829

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/624362/ft1_filtered_4FGL_J0014.3-0500_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/624362/ft2_4FGL_J0014.3-0500_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/624362/ltcube_693964801_694224001_4FGL_J0014.3-0500_daily_bin1754.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/624362/ft2_4FGL_J0014.3-0500_daily_bin1754.fits
.....................!
real 18.30
user 17.90
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/624362/ft1_filtered_4FGL_J0014.3-0500_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/624362/ft2_4FGL_J0014.3-0500_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/624362/ltcube_693964801_694224001_4FGL_J0014.3-0500_daily_bin1754.fits outfile=/scratch/kocevski/624362/expmap_693964801_694224001_4FGL_J0014.3-0500_daily_bin1754.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/624362/ltcube_693964801_694224001_4FGL_J0014.3-0500_daily_bin1754.fits
.....................!
real 191.57
user 185.83
sys 5.33

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/624362/ft1_filtered_4FGL_J0014.3-0500_daily_bin1754.fits scfile=/scratch/kocevski/624362/ft2_4FGL_J0014.3-0500_daily_bin1754.fits outfile=/scratch/kocevski/624362/cmap_693964801_694224001_4FGL_J0014.3-0500_daily_bin1754.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 0.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/624362/ft1_filtered_4FGL_J0014.3-0500_daily_bin1754.fits scfile=/scratch/kocevski/624362/ft2_4FGL_J0014.3-0500_daily_bin1754.fits outfile=/scratch/kocevski/624362/cmap_HighResolution_693964801_694224001_4FGL_J0014.3-0500_daily_bin1754.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.60
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/624362/ft1_filtered_4FGL_J0014.3-0500_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/624362/ft2_4FGL_J0014.3-0500_daily_bin1754.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/624362/Model_4FGL_J0014.3-0500_daily_bin1754.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/624362/ft1_filtered_4FGL_J0014.3-0500_daily_bin1754.fits.....................!
real 82.79
user 81.06
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/624362/ft1_filtered_4FGL_J0014.3-0500_daily_bin1754.fits', '/scratch/kocevski/624362/ft2_4FGL_J0014.3-0500_daily_bin1754.fits', expMap='/scratch/kocevski/624362/expmap_693964801_694224001_4FGL_J0014.3-0500_daily_bin1754.fits', expCube='/scratch/kocevski/624362/ltcube_693964801_694224001_4FGL_J0014.3-0500_daily_bin1754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/624362/Model_4FGL_J0014.3-0500_daily_bin1754.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  0.000e+00  1.000e+06 ( 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/624362/ft1_filtered_4FGL_J0014.3-0500_daily_bin1754.fits
Spacecraft file(s): /scratch/kocevski/624362/ft2_4FGL_J0014.3-0500_daily_bin1754.fits
Exposure map: /scratch/kocevski/624362/expmap_693964801_694224001_4FGL_J0014.3-0500_daily_bin1754.fits
Exposure cube: /scratch/kocevski/624362/ltcube_693964801_694224001_4FGL_J0014.3-0500_daily_bin1754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/624362/Model_4FGL_J0014.3-0500_daily_bin1754.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 8975.53522438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12623E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .67145E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .32649E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .36357       1.0000          .0000       .10000E+07
     5 'Prefactor '    14.851       1.0000          .0000       .10000E+07
     6 'norm      '    11.575       1.0000          .0000       .10000E+07
     7 'norm      '    .13000E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .29710       1.0000          .0000       .10000E+07
     9 'norm      '    33.108       1.0000          .0000       .10000E+07
    10 'Prefactor '    9.1085       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.1597       1.0000          .0000       .10000E+07
    12 'norm      '    1.8847       1.0000          .0000       .10000E+07
    13 'norm      '    2.7877       1.0000          .0000       .10000E+07
    14 'Prefactor '    51.565       1.0000          .0000       .10000E+07
    15 'Prefactor '    23.798       1.0000          .0000       .10000E+07
    16 'norm      '    9.0330       1.0000          .0000       .10000E+07
    17 'Prefactor '    .27248       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15880E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    2.6088       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1854       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76497       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8975.465     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1387 TOTAL
                     EDM=   .86E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    12.115        .86352E-08** at limit **
   2  Prefactor      .0000        5.2160       -.94518E-07** at limit **
   3  Prefactor     .55511E-10    26.053       -.23462E-06** at limit **
   4  norm          .36914        3.7368        .67407E-07   -.97086E-04
   5  Prefactor     15.053        4.5709        .30906E-08    .52435E-02
   6  norm          11.547        3.8121       -.76499E-08   -.78345E-03
   7  norm          .55511E-10    6.7136       -.11749E-07** at limit **
   8  Prefactor     .28514        9.5205       -.35377E-07   -.14486E-02
   9  norm          33.106        1.6495       -.36517E-08    .15002E-01
  10  Prefactor     9.1047        3.5289        .42649E-07   -.27527E-03
  11  Prefactor     1.1529        2.5982        .81696E-07   -.70612E-04
  12  norm          1.8807        1.9831       -.18047E-07    .54871E-04
  13  norm          2.7852        2.8166       -.51842E-08   -.85606E-05
  14  Prefactor     52.097        28.066       -.20549E-07   -.43111E-03
  15  Prefactor     24.035        1.6623        .60794E-08    .90353E-02
  16  norm          9.0983        11.314        .27767E-07   -.34081E-02
  17  Prefactor     .26916        11.116        .13512E-06    .32932E-03
  18  Prefactor      .0000        47.357        .13921E-06** at limit **
  19  Prefactor     2.6083        2.8547        .94227E-08    .41786E-04
  20  Normalizat    1.1852        .18534       -.13928E-05    .89324E-05
  21  Prefactor     .76482        .15478        .20258E-06    .78806E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 0.369145
  Prefactor  = 15.0533
  norm       = 11.5468
  norm       = 5.55112e-11
  Prefactor  = 0.28514
  norm       = 33.1058
  Prefactor  = 9.10465
  Prefactor  = 1.15288
  norm       = 1.88073
  norm       = 2.78518
  Prefactor  = 52.0966
  Prefactor  = 24.0346
  norm       = 9.09831
  Prefactor  = 0.26916
  Prefactor  = 0
  Prefactor  = 2.60833
  Normalizat = 1.18516
  Prefactor  = 0.764824
 **********
 **   18 **HESSE 
 **********

 FCN=   8975.465     FROM HESSE     STATUS=OK           391 CALLS     1778 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    12.179        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        5.2160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    25.348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .36914        1.3098        .52459E-02   -1.5696    
   5  Prefactor     15.053        14.213        .25964E-03   -1.5630    
   6  norm          11.547        4.1822        .29420E-03   -1.5640    
   7  norm          .55511E-10    6.5788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .28514        4.0776        .10253E-01   -1.5697    
   9  norm          33.106        11.118        .17382E-03   -1.5593    
  10  Prefactor     9.1047        3.5256        .33185E-03   -1.5648    
  11  Prefactor     1.1529        2.7392        .10700E-02   -1.5686    
  12  norm          1.8807        1.9900        .75786E-03   -1.5681    
  13  norm          2.7852        2.8381        .60916E-03   -1.5675    
  14  Prefactor     52.097        28.113        .13927E-03   -1.5564    
  15  Prefactor     24.035        25.395        .20503E-03   -1.5610    
  16  norm          9.0983        12.738        .33324E-03   -1.5648    
  17  Prefactor     .26916        1.5485        .69527E-02   -1.5698    
  18  Prefactor      .0000        11.324        .12726E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.6083        2.8611        .63130E-03   -1.5676    
  20  Normalizat    1.1852        .16187        .56718E-01   -.87063    
  21  Prefactor     .76482        .13354        .43260E-01   -1.0104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.52941e-09
Minuit parameter uncertainties:
  1  4.97306e-05
  2  1.11175e-06
  3  9.00354e-05
  4  1.30977
  5  14.2132
  6  4.18218
  7  3.53269e-05
  8  2.15655
  9  11.1178
  10  3.52558
  11  2.73923
  12  1.99004
  13  2.83811
  14  28.1132
  15  25.3949
  16  12.7385
  17  1.29118
  18  7.91219e-06
  19  2.86109
  20  0.161937
  21  0.133594
Done.

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

Extracting fit parameters...

4FGL J0014.3-0500
   Spectrum: PowerLaw
62     Prefactor:  5.551e-11  9.004e-05  0.000e+00  1.000e+06 ( 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:  7.648e-01  1.336e-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:  1.185e+00  1.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 3.586 -5.012
Photon Flux Upper Limit: 8.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/624362/likelihoodResults_693964801_694224001_4FGL_J0014.3-0500_daily_bin1754.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): 102
logL (Free Index) = 8975.49560077
delta logL = -0.030281660338

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8975.28310471
delta logL = 0.182214400445

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10162       1.0000          .0000       .10000E+07
     2 'Index     '    4.0351       1.0000          .0000       10.000    
     3 'Normalizat'    1.1497       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78226       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=   8975.283     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      252 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10050        1.4140        .10641E-02** at limit **
   2  Index         4.0411        2.1223        .11011        .13404E-03
   3  Normalizat    1.1500        .20722E-01    .57402E-01   -.16217E-03
   4  Prefactor     .78208        .18052E-01    .43486E-01   -.10615E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.100498
  Index      = 4.04106
  Normalizat = 1.15005
  Prefactor  = 0.782077
 **********
 **   18 **HESSE 
 **********

 FCN=   8975.283     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      287 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10050        12.308        .42592E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.0411        6.8529        .80099E-02   -.19298    
   3  Normalizat    1.1500        .10582        .25384E-03   -.88161    
   4  Prefactor     .78208        .91029E-01    .26156E-03   -1.0039    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.05241e-10
Minuit parameter uncertainties:
  1  2.22435
  2  8.56856
  3  0.105836
  4  0.0910464
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/624362': 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) = 8975.28309459
delta logL = 0.182224517661

Extracting fit parameters...

4FGL J0014.3-0500
   Spectrum: PowerLaw
62     Prefactor:  1.005e-01  2.224e+00  0.000e+00  1.000e+06 ( 1.000e-13)
63         Index:  4.041e+00  8.569e+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:  7.821e-01  9.105e-02  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:  1.150e+00  1.058e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 3.586 -5.012

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/624362/cmap_HighResolution_693964801_694224001_4FGL_J0014.3-0500_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.82e-03', job_status='DONE', photon_flux_upper_limit='8.84e-08', time_completed='2023-01-01 00:20:11.127183', job_id='624362', GAL2='0.78', fit_tolerance='1e-08', EG2='1.15', EG='1.19', time_epoch_completed='1672561211.13', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='1.82e-01', ts2='0.39', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1754' AND source_name='4FGL J0014.3-0500' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 00:20:11 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 624362: <4FGL_J0014.3-0500_daily_bin1754> in cluster <slac> Done

Job <4FGL_J0014.3-0500_daily_bin1754> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Jan  1 00:04:34 2023
Job was executed on host(s) <bullet0022>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 00:05:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 00:05:19 2023
Terminated at Sun Jan  1 00:20:11 2023
Results reported at Sun Jan  1 00:20:11 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0014.3-0500_daily_bin1754 3.5864 -5.012 693964801 694224001 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 :                                   652.53 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            937 sec.

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

