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


Performing analysis on: 4FGL_J1438.0+0219_daily_bin1780
RA = 219.504, Dec = 2.3272
tmin = 700704001, tmax = 700963201
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='66553', job_status='RUN', time_executed='2023-03-20 01:06:12.597402', time_epoch_executed='1679299572.6' WHERE source_name='4FGL J1438.0+0219' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/66553

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/66553/ft1_4FGL_J1438.0+0219_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/66553/ft2_4FGL_J1438.0+0219_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/66553/ft1_4FGL_J1438.0+0219_daily_bin1780.fits outfile=/scratch/kocevski/66553/ft1_filteredMKT_4FGL_J1438.0+0219_daily_bin1780.fits ra=219.504 dec=2.3272 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.07
user 3.82
sys 0.23

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

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

Number of photons that the gtmktime cut: 532

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/66553/ft1_filtered_4FGL_J1438.0+0219_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/66553/ft2_4FGL_J1438.0+0219_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/66553/ltcube_700704001_700963201_4FGL_J1438.0+0219_daily_bin1780.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/66553/ft2_4FGL_J1438.0+0219_daily_bin1780.fits
.....................!
real 12.33
user 12.01
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/66553/ft1_filtered_4FGL_J1438.0+0219_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/66553/ft2_4FGL_J1438.0+0219_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/66553/ltcube_700704001_700963201_4FGL_J1438.0+0219_daily_bin1780.fits outfile=/scratch/kocevski/66553/expmap_700704001_700963201_4FGL_J1438.0+0219_daily_bin1780.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/66553/ltcube_700704001_700963201_4FGL_J1438.0+0219_daily_bin1780.fits
.....................!
real 189.82
user 185.01
sys 4.51

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/66553/ft1_filtered_4FGL_J1438.0+0219_daily_bin1780.fits scfile=/scratch/kocevski/66553/ft2_4FGL_J1438.0+0219_daily_bin1780.fits outfile=/scratch/kocevski/66553/cmap_700704001_700963201_4FGL_J1438.0+0219_daily_bin1780.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/66553/ft1_filtered_4FGL_J1438.0+0219_daily_bin1780.fits scfile=/scratch/kocevski/66553/ft2_4FGL_J1438.0+0219_daily_bin1780.fits outfile=/scratch/kocevski/66553/cmap_HighResolution_700704001_700963201_4FGL_J1438.0+0219_daily_bin1780.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.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/66553/ft1_filtered_4FGL_J1438.0+0219_daily_bin1780.fits', '/scratch/kocevski/66553/ft2_4FGL_J1438.0+0219_daily_bin1780.fits', expMap='/scratch/kocevski/66553/expmap_700704001_700963201_4FGL_J1438.0+0219_daily_bin1780.fits', expCube='/scratch/kocevski/66553/ltcube_700704001_700963201_4FGL_J1438.0+0219_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/66553/Model_4FGL_J1438.0+0219_daily_bin1780.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/66553/ft1_filtered_4FGL_J1438.0+0219_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/66553/ft2_4FGL_J1438.0+0219_daily_bin1780.fits
Exposure map: /scratch/kocevski/66553/expmap_700704001_700963201_4FGL_J1438.0+0219_daily_bin1780.fits
Exposure cube: /scratch/kocevski/66553/ltcube_700704001_700963201_4FGL_J1438.0+0219_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/66553/Model_4FGL_J1438.0+0219_daily_bin1780.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) = 5988.53152641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.186       1.0000          .0000       .10000E+07
     2 'Prefactor '    .23887E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    9.0867       1.0000          .0000       .10000E+07
     4 'norm      '    15.933       1.0000          .0000       .10000E+07
     5 'norm      '    .12658E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .25790E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23641       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.1753       1.0000          .0000       .10000E+07
     9 'norm      '    .51744E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    63.939       1.0000          .0000       .10000E+07
    11 'norm      '    .46217       1.0000          .0000       .10000E+07
    12 'norm      '    .26439       1.0000          .0000       .10000E+07
    13 'norm      '    .38332E-05   1.0000          .0000       .10000E+07
    14 'norm      '    11.103       1.0000          .0000       .10000E+07
    15 'norm      '    .76248       1.0000          .0000       .10000E+07
    16 'Normalizat'    .99904       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0267       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=   5988.513     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1237 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.015        44.207       -.23543E-06   -.23334E-01
   2  Prefactor     .33862E-08    16.847       -.44872E-06** at limit **
   3  Prefactor     9.6959        26.050       -.30256E-06    .27079E-01
   4  norm          15.919        1.7579       -.35967E-08   -.20728E-02
   5  norm          .22760E-08    10.824       -.19694E-06** at limit **
   6  norm          .77716E-08    11.713        .27646E-06** at limit **
   7  Prefactor     .27756E-08    31.439       -.38928E-06** at limit **
   8  Prefactor     2.3888        16.831       -.11756E-06   -.53875E-01
   9  norm          .13671E-04    201.49        .14618E-07** at limit **
  10  Prefactor     64.340        12.175       -.68197E-07    .91019E-01
  11  norm          .46230        .18477       -.12966E-08   -.73874E-02
  12  norm          .26311        4.9245        .38946E-07    .47593E-03
  13  norm           .0000        2.3793       -.31183E-07** at limit **
  14  norm          11.196        5.5500        .50957E-08    .17519E-03
  15  norm          .76700        2.4867        .15566E-07    .36794E-03
  16  Normalizat    .99732        .28052       -.14673E-06   -.11642E-03
  17  Prefactor     1.0267        .15780       -.38597E-07   -.15800E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.0149
  Prefactor  = 3.38618e-09
  Prefactor  = 9.69591
  norm       = 15.9194
  norm       = 2.27596e-09
  norm       = 7.77156e-09
  Prefactor  = 2.77556e-09
  Prefactor  = 2.38881
  norm       = 1.3671e-05
  Prefactor  = 64.3402
  norm       = 0.462297
  norm       = 0.263115
  norm       = 0
  norm       = 11.1965
  norm       = 0.766997
  Normalizat = 0.997316
  Prefactor  = 1.02669
 **********
 **   18 **HESSE 
 **********

 FCN=   5988.513     FROM HESSE     STATUS=OK           273 CALLS     1510 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.015        45.777        .23458E-03   -1.5621    
   2  Prefactor     .33862E-08    16.398        .16793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.6959        29.856        .33225E-03   -1.5646    
   4  norm          15.919        19.409        .25065E-03   -1.5628    
   5  norm          .22760E-08    10.811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .77716E-08    11.697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-08    31.487        .11161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.3888        115.70        .69783E-03   -1.5677    
   9  norm          .13671E-04    23.540        .97576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     64.340        30.032        .12507E-03   -1.5548    
  11  norm          .46230        .18673        .45969E-03   -1.5694    
  12  norm          .26311        1.3367        .47209E-02   -1.5698    
  13  norm           .0000        2.3914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.196        5.5451        .30042E-03   -1.5641    
  15  norm          .76700        2.5159        .55774E-03   -1.5690    
  16  Normalizat    .99732        .23832        .75582E-01   -.93120    
  17  Prefactor     1.0267        .13339        .41528E-01   -.91845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47832e-06
Minuit parameter uncertainties:
  1  45.7781
  2  0.00047266
  3  29.8562
  4  19.4087
  5  0.000314866
  6  0.00060394
  7  0.000591019
  8  33.2509
  9  0.0358782
  10  30.0317
  11  0.186726
  12  1.18611
  13  1.24805e-05
  14  5.54514
  15  2.51594
  16  0.238571
  17  0.133428
Done.

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

Extracting fit parameters...

4FGL J1438.0+0219
   Spectrum: PowerLaw
248    Prefactor:  2.776e-09  5.910e-04  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:  1.027e+00  1.334e-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:  9.973e-01  2.386e-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: 7.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/66553/likelihoodResults_700704001_700963201_4FGL_J1438.0+0219_daily_bin1780.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) = 5988.52797696
delta logL = -0.0151714068761

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5988.51280636
delta logL = -8.03393049864e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25626E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .93944       1.0000          .0000       10.000    
     3 'Normalizat'    .99733       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0267       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5987.844     FROM MIGRAD    STATUS=CONVERGED    433 CALLS      588 TOTAL
                     EDM=   .33E-06  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99420E-07    .37759E-06     .0000    ** at limit **
   2  Index        10.0000        5.2733         .0000       -.18260E-04
   3  Normalizat    .90437        .31388         .0000        .16066E-03
   4  Prefactor     1.0628        .17771         .0000        .15466E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.94205e-08
  Index      = 10
  Normalizat = 0.904371
  Prefactor  = 1.06283
 **********
 **   18 **HESSE 
 **********

 FCN=   5987.844     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      627 TOTAL
                     EDM=   .59E+01    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99420E-07    .42805E-05    .74901E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        5.0060        .45506        1.5695    
   3  Normalizat    .90437        .93659E-01    .78979E-01   -.96307    
   4  Prefactor     1.0628        .53324E-01    .41526E-01   -.90663    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.85286
Minuit parameter uncertainties:
  1  1.30454e-06
  2  0.0416988
  3  0.0936756
  4  0.0533271
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/66553': 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) = 5987.84367394
delta logL = 0.669131617425

Extracting fit parameters...

4FGL J1438.0+0219
   Spectrum: PowerLaw
248    Prefactor:  9.942e-08  1.305e-06  0.000e+00  1.000e+06 ( 1.000e-14)
249        Index:  1.000e+01  4.170e-02  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:  1.063e+00  5.333e-02  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:  9.044e-01  9.368e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.45
Ra Dec: 219.504 2.327
Photon Index (Free Index): 10.00 +/- 0.04
Photon Flux (Free Index): 7.12e-08 +/- 9.13e-07
Energy Flux (Free Index): 7.96e-06 +/- 1.03e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/66553/cmap_HighResolution_700704001_700963201_4FGL_J1438.0+0219_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.78e-03', comment='SUCCESS', energy_flux2='7.96e-06', dlogl='6.69e-01', photon_flux2='7.12e-08', job_status='DONE', time_completed='2023-03-20 01:14:27.658770', photon_index_error2='0.04', photon_index2='10.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='7.56e-08', energy_flux_error2='1.03e-04', EG='1.00', time_epoch_completed='1679300067.66', return_code='0', job_id='66553', GAL2='1.06', EG2='0.90', return_code2='102', photon_flux_error2='9.13e-07', ts2='1.45', photon_index='2.23' WHERE bin_id='1780' AND source_name='4FGL J1438.0+0219' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:14:27 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 66553: <4FGL_J1438.0+0219_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1438.0+0219_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 01:05:16 2023
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:05:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:05:17 2023
Terminated at Mon Mar 20 01:14:28 2023
Results reported at Mon Mar 20 01:14:28 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1438.0+0219_daily_bin1780 219.504 2.3272 700704001 700963201 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 :                                   497.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   550 sec.
    Turnaround time :                            552 sec.

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

