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


Performing analysis on: 4FGL_J0438.4-1254_daily_bin1731
RA = 69.6099, Dec = -12.9053
tmin = 688003201, tmax = 688262401
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='673188', job_status='RUN', time_executed='2022-10-24 08:33:34.278658', time_epoch_executed='1666625614.28' WHERE source_name='4FGL J0438.4-1254' and cadence='daily' and bin_id='1731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/673188

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/673188/ft1_4FGL_J0438.4-1254_daily_bin1731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/673188/ft2_4FGL_J0438.4-1254_daily_bin1731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/673188/ft1_4FGL_J0438.4-1254_daily_bin1731.fits outfile=/scratch/kocevski/673188/ft1_filteredMKT_4FGL_J0438.4-1254_daily_bin1731.fits ra=69.6099 dec=-12.9053 rad=12.0 tmin=688003201.0 tmax=688262401.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.53
user 3.29
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/673188/ft2_4FGL_J0438.4-1254_daily_bin1731.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/673188/ft2_4FGL_J0438.4-1254_daily_bin1731.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/673188/ft1_filteredMKT_4FGL_J0438.4-1254_daily_bin1731.fits evtable="EVENTS" outfile="/scratch/kocevski/673188/ft1_filtered_4FGL_J0438.4-1254_daily_bin1731.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.50
user 0.35
sys 0.13

Number of photons that the gtmktime cut: 700

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/673188/ft1_filtered_4FGL_J0438.4-1254_daily_bin1731.fits" evtable="EVENTS" scfile=/scratch/kocevski/673188/ft2_4FGL_J0438.4-1254_daily_bin1731.fits sctable="SC_DATA" outfile=/scratch/kocevski/673188/ltcube_688003201_688262401_4FGL_J0438.4-1254_daily_bin1731.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/673188/ft2_4FGL_J0438.4-1254_daily_bin1731.fits
.....................!
real 12.01
user 11.64
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/673188/ft1_filtered_4FGL_J0438.4-1254_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/673188/ft2_4FGL_J0438.4-1254_daily_bin1731.fits sctable="SC_DATA" expcube=/scratch/kocevski/673188/ltcube_688003201_688262401_4FGL_J0438.4-1254_daily_bin1731.fits outfile=/scratch/kocevski/673188/expmap_688003201_688262401_4FGL_J0438.4-1254_daily_bin1731.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/673188/ltcube_688003201_688262401_4FGL_J0438.4-1254_daily_bin1731.fits
.....................!
real 190.50
user 185.77
sys 4.24

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

Setting source of interest to:
4FGL J0438.4-1254 @ 69.6099 -12.9053

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/673188/ft1_filtered_4FGL_J0438.4-1254_daily_bin1731.fits scfile=/scratch/kocevski/673188/ft2_4FGL_J0438.4-1254_daily_bin1731.fits outfile=/scratch/kocevski/673188/cmap_688003201_688262401_4FGL_J0438.4-1254_daily_bin1731.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=69.6099 yref=-12.9053 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.59
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/673188/ft1_filtered_4FGL_J0438.4-1254_daily_bin1731.fits scfile=/scratch/kocevski/673188/ft2_4FGL_J0438.4-1254_daily_bin1731.fits outfile=/scratch/kocevski/673188/cmap_HighResolution_688003201_688262401_4FGL_J0438.4-1254_daily_bin1731.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=69.6099 yref=-12.9053 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/673188/ft1_filtered_4FGL_J0438.4-1254_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/673188/ft2_4FGL_J0438.4-1254_daily_bin1731.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/673188/Model_4FGL_J0438.4-1254_daily_bin1731.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/673188/ft1_filtered_4FGL_J0438.4-1254_daily_bin1731.fits....................!
real 106.62
user 105.23
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/673188/ft1_filtered_4FGL_J0438.4-1254_daily_bin1731.fits', '/scratch/kocevski/673188/ft2_4FGL_J0438.4-1254_daily_bin1731.fits', expMap='/scratch/kocevski/673188/expmap_688003201_688262401_4FGL_J0438.4-1254_daily_bin1731.fits', expCube='/scratch/kocevski/673188/ltcube_688003201_688262401_4FGL_J0438.4-1254_daily_bin1731.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/673188/Model_4FGL_J0438.4-1254_daily_bin1731.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0438.4-1254'

4FGL J0438.4-1254
   Spectrum: PowerLaw
249    Prefactor:  2.972e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.026e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/673188/ft1_filtered_4FGL_J0438.4-1254_daily_bin1731.fits
Spacecraft file(s): /scratch/kocevski/673188/ft2_4FGL_J0438.4-1254_daily_bin1731.fits
Exposure map: /scratch/kocevski/673188/expmap_688003201_688262401_4FGL_J0438.4-1254_daily_bin1731.fits
Exposure cube: /scratch/kocevski/673188/ltcube_688003201_688262401_4FGL_J0438.4-1254_daily_bin1731.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/673188/Model_4FGL_J0438.4-1254_daily_bin1731.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) = 7580.63678125

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1543       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.7390       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.6850       1.0000          .0000       .10000E+07
     4 'norm      '    .70339E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .77542E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .96450E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .66669       1.0000          .0000       .10000E+07
     8 'Prefactor '    .60020E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.440       1.0000          .0000       .10000E+07
    10 'Prefactor '    .16950E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .19434E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .45740       1.0000          .0000       .10000E+07
    13 'Prefactor '    23.938       1.0000          .0000       .10000E+07
    14 'Prefactor '    .38045E-03   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2286       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .75684       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7580.577     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      863 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1803        1.0651        .93819E-08    .69980E-02
   2  Prefactor     3.7436        2.8429        .83343E-07   -.14779E-02
   3  Prefactor     4.6779        7.1354        .29029E-06   -.19433E-02
   4  norm           .0000        5.0946        .23881E-06** at limit **
   5  Prefactor      .0000        1.8510       -.12672E-06** at limit **
   6  norm           .0000        1.5201       -.79272E-07** at limit **
   7  norm          .66579        .54753       -.14560E-07    .25078E-02
   8  Prefactor      .0000        2.1915       -.18027E-06** at limit **
   9  Prefactor     11.442        2.2499       -.19690E-08   -.66008E-01
  10  Prefactor     .11102E-09    11.712        .29688E-06** at limit **
  11  Prefactor     .88818E-09    31.855       -.21444E-05** at limit **
  12  norm          .45758        .16627       -.11423E-07    .89590E-02
  13  Prefactor     24.947        20.678       -.39791E-08    .92468E-02
  14  Prefactor      .0000        6.7665        .37378E-06** at limit **
  15  Normalizat    1.2282        .18632       -.42285E-05   -.20113E-04
  16  Prefactor     .75661        .11355        .57398E-05   -.89337E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.18027
  Prefactor  = 3.74361
  Prefactor  = 4.67787
  norm       = 0
  Prefactor  = 0
  norm       = 0
  norm       = 0.66579
  Prefactor  = 0
  Prefactor  = 11.4423
  Prefactor  = 1.11022e-10
  Prefactor  = 8.88178e-10
  norm       = 0.457575
  Prefactor  = 24.947
  Prefactor  = 0
  Normalizat = 1.22815
  Prefactor  = 0.756607
 **********
 **   18 **HESSE 
 **********

 FCN=   7580.577     FROM HESSE     STATUS=OK           233 CALLS     1096 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1803        14.960        .44258E-03   -1.5662    
   2  Prefactor     3.7436        2.8452        .52193E-03   -1.5669    
   3  Prefactor     4.6779        7.1652        .46469E-03   -1.5665    
   4  norm           .0000        5.0992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.8485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.5193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .66579        11.668        .63455E-03   -1.5692    
   8  Prefactor      .0000        2.1938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.442        12.630        .29594E-03   -1.5640    
  10  Prefactor     .11102E-09    11.718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .88818E-09    31.823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .45758        .16628        .46726E-03   -1.5694    
  13  Prefactor     24.947        20.874        .20444E-03   -1.5608    
  14  Prefactor      .0000        6.7715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.2282        .16373        .57130E-01   -.85737    
  16  Prefactor     .75661        .98915E-01    .43153E-01   -1.0135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19721e-07
Minuit parameter uncertainties:
  1  14.9596
  2  2.84516
  3  7.16518
  4  1.44165e-05
  5  2.16117e-06
  6  4.04851e-06
  7  5.57443
  8  1.97527e-06
  9  12.6299
  10  7.36715e-05
  11  0.000340932
  12  0.166284
  13  20.8742
  14  2.05404e-05
  15  0.163796
  16  0.0989383
Done.

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

Extracting fit parameters...

4FGL J0438.4-1254
   Spectrum: PowerLaw
249    Prefactor:  1.110e-10  7.367e-05  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.026e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  7.566e-01  9.894e-02  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.228e+00  1.638e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 69.610 -12.905
Photon Flux Upper Limit: 7.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/673188/likelihoodResults_688003201_688262401_4FGL_J0438.4-1254_daily_bin1731.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) = 7580.61799485
delta logL = -0.0413908161718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7580.57661655
delta logL = -1.2508709915e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18084E-03   1.0000          .0000       .10000E+07
     2 'Index     '    1.8309       1.0000          .0000       10.000    
     3 'Normalizat'    1.2287       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75609       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7580.577     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      257 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24203E-07    8.1681        .42118E-03** at limit **
   2  Index         1.4698        8.8472        .50000       -.28422E-08
   3  Normalizat    1.2282        .15378E-02    .57130E-01    .65350E-03
   4  Prefactor     .75661        .97541E-03    .43143E-01    .19333E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.42029e-08
  Index      = 1.4698
  Normalizat = 1.22816
  Prefactor  = 0.756605
 **********
 **   18 **HESSE 
 **********

 FCN=   7580.577     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      288 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24203E-07    40.777        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4698        7.9970        .50000       -.78389    
   3  Normalizat    1.2282        .34230E-02    .25264E-03   -.85737    
   4  Prefactor     .75661        .21718E-02    .19808E-03   -1.0135    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.08225e-10
Minuit parameter uncertainties:
  1  0.00198748
  2  6269.3
  3  0.00342305
  4  0.00217178
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/673188': 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) = 7580.57660404
delta logL = -5.86624082644e-10

Extracting fit parameters...

4FGL J0438.4-1254
   Spectrum: PowerLaw
249    Prefactor:  2.420e-08  1.987e-03  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  1.470e+00  6.269e+03  0.000e+00  1.000e+01 (-1.000e+00)
251        Scale:  1.026e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  7.566e-01  2.172e-03  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.228e+00  3.423e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 69.610 -12.905

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/673188/cmap_HighResolution_688003201_688262401_4FGL_J0438.4-1254_daily_bin1731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.60e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2022-10-24 08:42:18.791268', job_id='673188', GAL2='0.76', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1666626138.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='-5.87e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1731' AND source_name='4FGL J0438.4-1254' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 24 08:42:18 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 673188: <4FGL_J0438.4-1254_daily_bin1731> in cluster <slac> Done

Job <4FGL_J0438.4-1254_daily_bin1731> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Oct 24 08:30:31 2022
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct 24 08:30:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct 24 08:30:32 2022
Terminated at Mon Oct 24 08:42:19 2022
Results reported at Mon Oct 24 08:42:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0438.4-1254_daily_bin1731 69.6099 -12.9053 688003201 688262401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0438.4-1254 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   526.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             287.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            708 sec.

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

