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


Performing analysis on: 4FGL_J0014.3-0500_daily_bin1689
RA = 3.5864, Dec = -5.012
tmin = 677116801, tmax = 677376001
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='974949', job_status='RUN', time_executed='2022-06-20 00:05:27.701348', time_epoch_executed='1655708727.7' WHERE source_name='4FGL J0014.3-0500' and cadence='daily' and bin_id='1689'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/974949

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/974949/ft1_4FGL_J0014.3-0500_daily_bin1689.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/974949/ft2_4FGL_J0014.3-0500_daily_bin1689.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/974949/ft1_4FGL_J0014.3-0500_daily_bin1689.fits outfile=/scratch/kocevski/974949/ft1_filteredMKT_4FGL_J0014.3-0500_daily_bin1689.fits ra=3.5864 dec=-5.012 rad=12.0 tmin=677116801.0 tmax=677376001.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 2.85
user 2.58
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/974949/ft2_4FGL_J0014.3-0500_daily_bin1689.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/974949/ft1_filteredMKT_4FGL_J0014.3-0500_daily_bin1689.fits evtable="EVENTS" outfile="/scratch/kocevski/974949/ft1_filtered_4FGL_J0014.3-0500_daily_bin1689.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.55
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 728

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/974949/ft1_filtered_4FGL_J0014.3-0500_daily_bin1689.fits" evtable="EVENTS" scfile=/scratch/kocevski/974949/ft2_4FGL_J0014.3-0500_daily_bin1689.fits sctable="SC_DATA" outfile=/scratch/kocevski/974949/ltcube_677116801_677376001_4FGL_J0014.3-0500_daily_bin1689.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/974949/ft2_4FGL_J0014.3-0500_daily_bin1689.fits
.....................!
real 16.51
user 16.04
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/974949/ft1_filtered_4FGL_J0014.3-0500_daily_bin1689.fits evtable="EVENTS" scfile=/scratch/kocevski/974949/ft2_4FGL_J0014.3-0500_daily_bin1689.fits sctable="SC_DATA" expcube=/scratch/kocevski/974949/ltcube_677116801_677376001_4FGL_J0014.3-0500_daily_bin1689.fits outfile=/scratch/kocevski/974949/expmap_677116801_677376001_4FGL_J0014.3-0500_daily_bin1689.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/974949/ltcube_677116801_677376001_4FGL_J0014.3-0500_daily_bin1689.fits
.....................!
real 192.32
user 186.93
sys 4.89

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/974949/ft1_filtered_4FGL_J0014.3-0500_daily_bin1689.fits scfile=/scratch/kocevski/974949/ft2_4FGL_J0014.3-0500_daily_bin1689.fits outfile=/scratch/kocevski/974949/cmap_677116801_677376001_4FGL_J0014.3-0500_daily_bin1689.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.58
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/974949/ft1_filtered_4FGL_J0014.3-0500_daily_bin1689.fits scfile=/scratch/kocevski/974949/ft2_4FGL_J0014.3-0500_daily_bin1689.fits outfile=/scratch/kocevski/974949/cmap_HighResolution_677116801_677376001_4FGL_J0014.3-0500_daily_bin1689.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/974949/ft1_filtered_4FGL_J0014.3-0500_daily_bin1689.fits evtable="EVENTS" scfile=/scratch/kocevski/974949/ft2_4FGL_J0014.3-0500_daily_bin1689.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/974949/Model_4FGL_J0014.3-0500_daily_bin1689.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/974949/ft1_filtered_4FGL_J0014.3-0500_daily_bin1689.fits.....................!
real 75.52
user 72.05
sys 1.47

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/974949/ft1_filtered_4FGL_J0014.3-0500_daily_bin1689.fits', '/scratch/kocevski/974949/ft2_4FGL_J0014.3-0500_daily_bin1689.fits', expMap='/scratch/kocevski/974949/expmap_677116801_677376001_4FGL_J0014.3-0500_daily_bin1689.fits', expCube='/scratch/kocevski/974949/ltcube_677116801_677376001_4FGL_J0014.3-0500_daily_bin1689.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/974949/Model_4FGL_J0014.3-0500_daily_bin1689.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/974949/ft1_filtered_4FGL_J0014.3-0500_daily_bin1689.fits
Spacecraft file(s): /scratch/kocevski/974949/ft2_4FGL_J0014.3-0500_daily_bin1689.fits
Exposure map: /scratch/kocevski/974949/expmap_677116801_677376001_4FGL_J0014.3-0500_daily_bin1689.fits
Exposure cube: /scratch/kocevski/974949/ltcube_677116801_677376001_4FGL_J0014.3-0500_daily_bin1689.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/974949/Model_4FGL_J0014.3-0500_daily_bin1689.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) = 7988.12072955

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5639       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.116       1.0000         .10000E-03   10000.    
     3 'Prefactor '    48.273       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.7254       1.0000         .10000E-03   10000.    
     5 'norm      '    .10691       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.5894       1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    31.701       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.8457       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.3687       1.0000         .10000E-03   10000.    
    13 'norm      '    4.1727       1.0000         .10000E-03   10000.    
    14 'norm      '    8.1985       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .54594       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.2266       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11479E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.2304       1.0000         .10000E-03   10000.    
    19 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.4241       1.0000         .10000E-03   10000.    
    22 'Prefactor '    38.617       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    13.015       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .98737       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .90981       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7988.117     FROM MIGRAD    STATUS=CONVERGED   1114 CALLS     3585 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5644        7.7684        .13698E-03   -.12034E-04
   2  Prefactor     10.111        21.463        .12598E-03    .84826E-05
   3  Prefactor     48.247        20.771        .57714E-04   -.81354E-04
   4  Prefactor     4.7244        7.1436        .18511E-03   -.96977E-04
   5  norm          .10133        16.771        .16169E-02    .14652E-03
   6  Prefactor     .10000E-03    6.3893        .18142E-02** at limit **
   7  norm          3.5889        3.9510        .13610E-03   -.15128E-03
   8  norm          .10000E-03    2.0963        .24895E-03** at limit **
   9  Prefactor     .10000E-03    3.6130        .16558E-02** at limit **
  10  norm          31.697        10.182        .71165E-04   -.16825E-03
  11  Prefactor     2.8457        2.4178        .12324E-03   -.44278E-05
  12  Prefactor     4.3687        2.9649        .11654E-03   -.70334E-04
  13  norm          4.1758        2.9724        .12443E-03   -.19781E-03
  14  norm          8.1993        5.5552        .14002E-03   -.54319E-04
  15  Prefactor     .28104        19.793        .13262        .19755E-03
  16  Prefactor     9.2275        25.811        .13194E-03   -.12752E-04
  17  Prefactor     .10011E-03    219.61        .18142E-02** at limit **
  18  Prefactor     2.2306        12.801        .13764E-02    .39040E-03
  19  norm          .10000E-03    7.0766        .18142E-02** at limit **
  20  Prefactor     .10000E-03    38.704        .18142E-02** at limit **
  21  Prefactor     2.4217        3.7479        .17737E-03    .84073E-03
  22  Prefactor     38.615        35.626        .64498E-04   -.33490E-04
  23  Prefactor     .10000E-03    8.5460        .18142E-02** at limit **
  24  Prefactor     13.015        6.1499        .11103E-03    .23550E-04
  25  Normalizat    .98711        .19888        .27593E-03   -.49647E-04
  26  Prefactor     .91004        .16966        .25078E-03   -.16578E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.5644
  Prefactor  = 10.111
  Prefactor  = 48.2468
  Prefactor  = 4.72444
  norm       = 0.101334
  Prefactor  = 0.0001
  norm       = 3.58894
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 31.697
  Prefactor  = 2.84567
  Prefactor  = 4.36865
  norm       = 4.1758
  norm       = 8.19929
  Prefactor  = 0.281037
  Prefactor  = 9.22746
  Prefactor  = 0.000100108
  Prefactor  = 2.2306
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.4217
  Prefactor  = 38.6148
  Prefactor  = 0.0001
  Prefactor  = 13.015
  Normalizat = 0.987105
  Prefactor  = 0.91004
 **********
 **   18 **HESSE 
 **********

 FCN=   7988.117     FROM HESSE     STATUS=OK           442 CALLS     4027 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5644        7.7679        .54792E-05   -1.5123    
   2  Prefactor     10.111        21.464        .50393E-05   -1.5072    
   3  Prefactor     48.247        19.970        .23086E-05   -1.4318    
   4  Prefactor     4.7244        7.1394        .74043E-05   -1.5273    
   5  norm          .10133        15.444        .64675E-04   -1.5644    
   6  Prefactor     .10000E-03    6.3911        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.5889        3.9493        .54439E-05   -1.5329    
   8  norm          .10000E-03    2.0963        .49790E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.6134        .33116E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          31.697        10.174        .14233E-04   -1.4581    
  11  Prefactor     2.8457        2.4177        .49297E-05   -1.5371    
  12  Prefactor     4.3687        2.9646        .46617E-05   -1.5290    
  13  norm          4.1758        2.9725        .49773E-05   -1.5299    
  14  norm          8.1993        5.5549        .56007E-05   -1.5135    
  15  Prefactor     .28104        19.211        .13675       -1.5602    
  16  Prefactor     9.2275        25.809        .52777E-05   -1.5100    
  17  Prefactor     .10011E-03    219.62        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.2306        12.611        .55055E-04   -1.5409    
  19  norm          .10000E-03    7.0767        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    38.708        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.4217        3.7230        .70949E-05   -1.5397    
  22  Prefactor     38.615        35.632        .25799E-05   -1.4464    
  23  Prefactor     .10000E-03    8.5500        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     13.015        6.1495        .44413E-05   -1.4986    
  25  Normalizat    .98711        .19868        .11037E-04   -.93464    
  26  Prefactor     .91004        .16975        .10031E-04   -.95791    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67308e-09
Minuit parameter uncertainties:
  1  7.76884
  2  21.4805
  3  19.9724
  4  7.14067
  5  2.50144
  6  6.74411e-05
  7  3.94954
  8  1.57923e-05
  9  1.76303e-05
  10  10.1744
  11  2.41779
  12  2.96466
  13  2.97258
  14  5.55526
  15  4.64784
  16  25.8405
  17  0.00979507
  18  10.6107
  19  0.000107094
  20  0.000126662
  21  3.72332
  22  35.6514
  23  8.11817e-05
  24  6.14975
  25  0.198826
  26  0.169852
Done.

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

Extracting fit parameters...

4FGL J0014.3-0500
   Spectrum: PowerLaw
62     Prefactor:  4.724e+00  7.141e+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:  9.100e-01  1.699e-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:  9.871e-01  1.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/974949/likelihoodResults_677116801_677376001_4FGL_J0014.3-0500_daily_bin1689.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) = 7987.76964229
delta logL = 0.347041460001

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7987.74816511
delta logL = 0.368518638385

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.511       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8818       1.0000          .0000       10.000    
     3 'Normalizat'    1.0014       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89714       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=   7987.748     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      240 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.511        351.77        .30895E-02    .31398E-03
   2  Index         1.8815        5.7880        .15785        .74386E-04
   3  Normalizat    1.0014        .91469E-01    .46184E-01    .17259E-04
   4  Prefactor     .89715        .68532E-01    .44969E-01    .15268E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.5114
  Index      = 1.88147
  Normalizat = 1.00141
  Prefactor  = 0.897148
 **********
 **   18 **HESSE 
 **********

 FCN=   7987.748     FROM HESSE     STATUS=OK            33 CALLS      273 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.511        10.435        .12358E-03   -1.5059    
   2  Index         1.8815        .49130        .84664E-02   -.67347    
   3  Normalizat    1.0014        .19046        .27415E-03   -.92983    
   4  Prefactor     .89715        .16789        .25219E-03   -.96241    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24274e-09
Minuit parameter uncertainties:
  1  10.4365
  2  0.492599
  3  0.190591
  4  0.167988
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/974949': 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) = 7987.74816474
delta logL = 0.368519003577

Extracting fit parameters...

4FGL J0014.3-0500
   Spectrum: PowerLaw
62     Prefactor:  1.051e+01  1.044e+01  1.000e-04  1.000e+04 ( 1.000e-13)
63         Index:  1.881e+00  4.926e-01  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:  8.971e-01  1.680e-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.001e+00  1.906e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.68
Ra Dec: 3.586 -5.012
Photon Index (Free Index): 1.88 +/- 0.49
Photon Flux (Free Index): 2.59e-08 +/- 2.68e-08
Energy Flux (Free Index): 2.44e-05 +/- 3.14e-05

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/974949/cmap_HighResolution_677116801_677376001_4FGL_J0014.3-0500_daily_bin1689.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.10e-03', comment='SUCCESS', energy_flux2='2.44e-05', dlogl='3.69e-01', photon_flux2='2.59e-08', job_status='DONE', time_completed='2022-06-20 00:20:27.562445', photon_index_error2='0.49', photon_index2='1.88', ts='0.93', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='3.14e-05', EG='0.99', time_epoch_completed='1655709627.56', return_code='0', job_id='974949', GAL2='0.90', EG2='1.00', return_code2='0', photon_flux_error2='2.68e-08', ts2='1.68', photon_index='2.37' WHERE bin_id='1689' AND source_name='4FGL J0014.3-0500' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jun 20 00:20:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 974949: <4FGL_J0014.3-0500_daily_bin1689> in cluster <slac> Done

Job <4FGL_J0014.3-0500_daily_bin1689> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Jun 20 00:04:33 2022
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jun 20 00:04:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jun 20 00:04:49 2022
Terminated at Mon Jun 20 00:20:28 2022
Results reported at Mon Jun 20 00:20:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0014.3-0500_daily_bin1689 3.5864 -5.012 677116801 677376001 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 :                                   869.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             291.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   938 sec.
    Turnaround time :                            955 sec.

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

