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


Performing analysis on: 4FGL_J1438.0+0219_daily_bin1748
RA = 219.504, Dec = 2.3272
tmin = 692409601, tmax = 692668801
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='887901', job_status='RUN', time_executed='2022-12-14 00:46:54.804325', time_epoch_executed='1671007614.8' WHERE source_name='4FGL J1438.0+0219' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887901

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/887901/ft1_4FGL_J1438.0+0219_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/887901/ft2_4FGL_J1438.0+0219_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887901/ft1_4FGL_J1438.0+0219_daily_bin1748.fits outfile=/scratch/kocevski/887901/ft1_filteredMKT_4FGL_J1438.0+0219_daily_bin1748.fits ra=219.504 dec=2.3272 rad=12.0 tmin=692409601.0 tmax=692668801.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.55
user 3.32
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/887901/ft2_4FGL_J1438.0+0219_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/887901/ft2_4FGL_J1438.0+0219_daily_bin1748.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/887901/ft1_filteredMKT_4FGL_J1438.0+0219_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/887901/ft1_filtered_4FGL_J1438.0+0219_daily_bin1748.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 797

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/887901/ft1_filtered_4FGL_J1438.0+0219_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/887901/ft2_4FGL_J1438.0+0219_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/887901/ltcube_692409601_692668801_4FGL_J1438.0+0219_daily_bin1748.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/887901/ft2_4FGL_J1438.0+0219_daily_bin1748.fits
.....................!
real 11.63
user 11.29
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887901/ft1_filtered_4FGL_J1438.0+0219_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/887901/ft2_4FGL_J1438.0+0219_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/887901/ltcube_692409601_692668801_4FGL_J1438.0+0219_daily_bin1748.fits outfile=/scratch/kocevski/887901/expmap_692409601_692668801_4FGL_J1438.0+0219_daily_bin1748.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/887901/ltcube_692409601_692668801_4FGL_J1438.0+0219_daily_bin1748.fits
.....................!
real 191.22
user 186.17
sys 4.70

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

Setting source of interest to:
4FGL J1438.0+0219 @ 219.504 2.3272

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/887901/ft1_filtered_4FGL_J1438.0+0219_daily_bin1748.fits scfile=/scratch/kocevski/887901/ft2_4FGL_J1438.0+0219_daily_bin1748.fits outfile=/scratch/kocevski/887901/cmap_692409601_692668801_4FGL_J1438.0+0219_daily_bin1748.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=219.504 yref=2.3272 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/887901/ft1_filtered_4FGL_J1438.0+0219_daily_bin1748.fits scfile=/scratch/kocevski/887901/ft2_4FGL_J1438.0+0219_daily_bin1748.fits outfile=/scratch/kocevski/887901/cmap_HighResolution_692409601_692668801_4FGL_J1438.0+0219_daily_bin1748.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=219.504 yref=2.3272 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/887901/ft1_filtered_4FGL_J1438.0+0219_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/887901/ft2_4FGL_J1438.0+0219_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/887901/Model_4FGL_J1438.0+0219_daily_bin1748.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/887901/ft1_filtered_4FGL_J1438.0+0219_daily_bin1748.fits.....................!
real 64.89
user 63.55
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/887901/ft1_filtered_4FGL_J1438.0+0219_daily_bin1748.fits', '/scratch/kocevski/887901/ft2_4FGL_J1438.0+0219_daily_bin1748.fits', expMap='/scratch/kocevski/887901/expmap_692409601_692668801_4FGL_J1438.0+0219_daily_bin1748.fits', expCube='/scratch/kocevski/887901/ltcube_692409601_692668801_4FGL_J1438.0+0219_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/887901/Model_4FGL_J1438.0+0219_daily_bin1748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1438.0+0219'

4FGL J1438.0+0219
   Spectrum: PowerLaw
248    Prefactor:  3.502e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
249        Index:  2.234e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
250        Scale:  1.903e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/887901/ft1_filtered_4FGL_J1438.0+0219_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/887901/ft2_4FGL_J1438.0+0219_daily_bin1748.fits
Exposure map: /scratch/kocevski/887901/expmap_692409601_692668801_4FGL_J1438.0+0219_daily_bin1748.fits
Exposure cube: /scratch/kocevski/887901/ltcube_692409601_692668801_4FGL_J1438.0+0219_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/887901/Model_4FGL_J1438.0+0219_daily_bin1748.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) = 8715.01148908

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    44.940       1.0000          .0000       .10000E+07
     2 'Prefactor '    .20948E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .26197E-03   1.0000          .0000       .10000E+07
     4 'norm      '    12.175       1.0000          .0000       .10000E+07
     5 'norm      '    40.657       1.0000          .0000       .10000E+07
     6 'norm      '    .23450E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .72304       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11754E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .11614E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .28078E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .56669       1.0000          .0000       .10000E+07
    12 'norm      '    1.4570       1.0000          .0000       .10000E+07
    13 'norm      '    .53056E-02   1.0000          .0000       .10000E+07
    14 'norm      '    7.0452       1.0000          .0000       .10000E+07
    15 'norm      '    .14838E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.3501       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .94474       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8714.920     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1238 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.808        10.305        .77953E-07   -.19911    
   2  Prefactor     .14266E-07    4.0789        .10491E-06** at limit **
   3  Prefactor     .13656E-07    3.4226       -.12554E-06** at limit **
   4  norm          12.206        9.9371        .99816E-08   -.53877E-01
   5  norm          40.706        14.107        .69548E-07    .56992E-01
   6  norm          .37509E-06    4.8459       -.25249E-06** at limit **
   7  Prefactor     .23846E-05    442.89        .33619E-05** at limit **
   8  Prefactor     .21094E-08    9.5958       -.37321E-06** at limit **
   9  norm          .20539E-08    4.3039       -.13592E-06** at limit **
  10  Prefactor     .11102E-09    14.936       -.40238E-06** at limit **
  11  norm          .56677        .18498        .21971E-08    .32671E-02
  12  norm          1.4526        1.7158       -.29894E-07   -.57355E-03
  13  norm          .12168E-06    5.7344       -.20737E-06** at limit **
  14  norm          7.0317        4.9540       -.30729E-07   -.14270E-02
  15  norm          .20955E-06    9.5754       -.16018E-06** at limit **
  16  Normalizat    1.3503        .22850        .25157E-05    .66653E-04
  17  Prefactor     .94487        .13160       -.13919E-05    .15717E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.8077
  Prefactor  = 1.42664e-08
  Prefactor  = 1.36557e-08
  norm       = 12.2055
  norm       = 40.7056
  norm       = 3.75089e-07
  Prefactor  = 2.38465e-06
  Prefactor  = 2.10942e-09
  norm       = 2.05391e-09
  Prefactor  = 1.11022e-10
  norm       = 0.566766
  norm       = 1.45262
  norm       = 1.2168e-07
  norm       = 7.03173
  norm       = 2.09555e-07
  Normalizat = 1.35025
  Prefactor  = 0.944872
 **********
 **   18 **HESSE 
 **********

 FCN=   8714.920     FROM HESSE     STATUS=OK           261 CALLS     1499 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.808        33.256        .14918E-03   -1.5574    
   2  Prefactor     .14266E-07    4.1664        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .13656E-07    7.8235        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          12.206        10.203        .28684E-03   -1.5638    
   5  norm          40.706        16.899        .15685E-03   -1.5580    
   6  norm          .37509E-06    8.6968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .23846E-05    435.71        .58857E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .21094E-08    10.002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .20539E-08    7.7192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    14.361        .16554E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .56677        .18568        .50089E-03   -1.5693    
  12  norm          1.4526        1.7474        .89147E-03   -1.5684    
  13  norm          .12168E-06    6.3679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.0317        4.9562        .37771E-03   -1.5655    
  15  norm          .20955E-06    2.0917        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3503        .19573        .69401E-01   -.82078    
  17  Prefactor     .94487        .11196        .45573E-01   -.94590    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10492e-06
Minuit parameter uncertainties:
  1  33.256
  2  0.000487308
  3  0.000654289
  4  10.2029
  5  16.899
  6  0.00361232
  7  0.0644722
  8  0.000288929
  9  0.000253438
  10  7.78767e-05
  11  0.185677
  12  1.74736
  13  0.00176067
  14  4.95621
  15  0.00132417
  16  0.19584
  17  0.111984
Done.

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

Extracting fit parameters...

4FGL J1438.0+0219
   Spectrum: PowerLaw
248    Prefactor:  2.385e-06  6.447e-02  0.000e+00  1.000e+06 ( 1.000e-14)
249        Index:  2.234e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
250        Scale:  1.903e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  9.449e-01  1.120e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  1.350e+00  1.958e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 219.504 2.327
Photon Flux Upper Limit: 6.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/887901/likelihoodResults_692409601_692668801_4FGL_J1438.0+0219_daily_bin1748.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) = 8714.92120609
delta logL = -0.00138683408659

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8714.91171403
delta logL = 0.00810523146174

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8316       1.0000          .0000       .10000E+07
     2 'Index     '    2.7970       1.0000          .0000       10.000    
     3 'Normalizat'    1.3465       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94547       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8714.912     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      361 TOTAL
                     EDM=   .67E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8116        63.073        .15417E-03   -.65189E-04
   2  Index         2.7975        3.2707        .40593E-02   -.38873E-05
   3  Normalizat    1.3466        .22768        .30742E-03   -.19896E-04
   4  Prefactor     .94545        .13052        .20621E-03   -.25140E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.81155
  Index      = 2.79749
  Normalizat = 1.34659
  Prefactor  = 0.945453
 **********
 **   18 **HESSE 
 **********

 FCN=   8714.912     FROM HESSE     STATUS=OK            25 CALLS      386 TOTAL
                     EDM=   .57E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8116        45.421        .61666E-05   -1.5681    
   2  Index         2.7975        2.8683        .16237E-03   -.45616    
   3  Normalizat    1.3466        .22792        .12297E-04   -.82186    
   4  Prefactor     .94545        .13065        .82485E-05   -.94570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66099e-12
Minuit parameter uncertainties:
  1  18.1422
  2  3.11161
  3  0.228095
  4  0.130697
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887901': 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) = 8714.91171299
delta logL = 0.00810627256578

Extracting fit parameters...

4FGL J1438.0+0219
   Spectrum: PowerLaw
248    Prefactor:  1.812e+00  1.814e+01  0.000e+00  1.000e+06 ( 1.000e-14)
249        Index:  2.797e+00  3.112e+00  0.000e+00  1.000e+01 (-1.000e+00)
250        Scale:  1.903e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  9.455e-01  1.307e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  1.347e+00  2.281e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 219.504 2.327

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/887901/cmap_HighResolution_692409601_692668801_4FGL_J1438.0+0219_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.97e-03', job_status='DONE', photon_flux_upper_limit='6.51e-08', time_completed='2022-12-14 00:56:18.819513', job_id='887901', GAL2='0.95', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1671008178.82', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='8.11e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1748' AND source_name='4FGL J1438.0+0219' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:56:18 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 887901: <4FGL_J1438.0+0219_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1438.0+0219_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:45:23 2022
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:45:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:45:25 2022
Terminated at Wed Dec 14 00:56:19 2022
Results reported at Wed Dec 14 00:56:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1438.0+0219_daily_bin1748 219.504 2.3272 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1438.0+0219 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   566.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   654 sec.
    Turnaround time :                            656 sec.

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

