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


Performing analysis on: 4FGL_J1438.0+0219_daily_bin1760
RA = 219.504, Dec = 2.3272
tmin = 695520001, tmax = 695779201
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='740258', job_status='RUN', time_executed='2023-01-19 01:05:58.583012', time_epoch_executed='1674119158.58' WHERE source_name='4FGL J1438.0+0219' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/740258

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/740258/ft1_4FGL_J1438.0+0219_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/740258/ft2_4FGL_J1438.0+0219_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/740258/ft1_4FGL_J1438.0+0219_daily_bin1760.fits outfile=/scratch/kocevski/740258/ft1_filteredMKT_4FGL_J1438.0+0219_daily_bin1760.fits ra=219.504 dec=2.3272 rad=12.0 tmin=695520001.0 tmax=695779201.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.44
user 2.19
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/740258/ft2_4FGL_J1438.0+0219_daily_bin1760.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/740258/ft1_filteredMKT_4FGL_J1438.0+0219_daily_bin1760.fits evtable="EVENTS" outfile="/scratch/kocevski/740258/ft1_filtered_4FGL_J1438.0+0219_daily_bin1760.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.32
sys 0.19

Number of photons that the gtmktime cut: 1199

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/740258/ft1_filtered_4FGL_J1438.0+0219_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/740258/ft2_4FGL_J1438.0+0219_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/740258/ltcube_695520001_695779201_4FGL_J1438.0+0219_daily_bin1760.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/740258/ft2_4FGL_J1438.0+0219_daily_bin1760.fits
.....................!
real 16.53
user 16.03
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/740258/ft1_filtered_4FGL_J1438.0+0219_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/740258/ft2_4FGL_J1438.0+0219_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/740258/ltcube_695520001_695779201_4FGL_J1438.0+0219_daily_bin1760.fits outfile=/scratch/kocevski/740258/expmap_695520001_695779201_4FGL_J1438.0+0219_daily_bin1760.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/740258/ltcube_695520001_695779201_4FGL_J1438.0+0219_daily_bin1760.fits
.....................!
real 193.04
user 186.83
sys 5.47

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/740258/ft1_filtered_4FGL_J1438.0+0219_daily_bin1760.fits scfile=/scratch/kocevski/740258/ft2_4FGL_J1438.0+0219_daily_bin1760.fits outfile=/scratch/kocevski/740258/cmap_695520001_695779201_4FGL_J1438.0+0219_daily_bin1760.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.58
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/740258/ft1_filtered_4FGL_J1438.0+0219_daily_bin1760.fits scfile=/scratch/kocevski/740258/ft2_4FGL_J1438.0+0219_daily_bin1760.fits outfile=/scratch/kocevski/740258/cmap_HighResolution_695520001_695779201_4FGL_J1438.0+0219_daily_bin1760.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.59
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/740258/ft1_filtered_4FGL_J1438.0+0219_daily_bin1760.fits', '/scratch/kocevski/740258/ft2_4FGL_J1438.0+0219_daily_bin1760.fits', expMap='/scratch/kocevski/740258/expmap_695520001_695779201_4FGL_J1438.0+0219_daily_bin1760.fits', expCube='/scratch/kocevski/740258/ltcube_695520001_695779201_4FGL_J1438.0+0219_daily_bin1760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/740258/Model_4FGL_J1438.0+0219_daily_bin1760.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/740258/ft1_filtered_4FGL_J1438.0+0219_daily_bin1760.fits
Spacecraft file(s): /scratch/kocevski/740258/ft2_4FGL_J1438.0+0219_daily_bin1760.fits
Exposure map: /scratch/kocevski/740258/expmap_695520001_695779201_4FGL_J1438.0+0219_daily_bin1760.fits
Exposure cube: /scratch/kocevski/740258/ltcube_695520001_695779201_4FGL_J1438.0+0219_daily_bin1760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/740258/Model_4FGL_J1438.0+0219_daily_bin1760.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0705       1.0000          .0000       .10000E+07
     2 'Prefactor '    .39389E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    10.157       1.0000          .0000       .10000E+07
     4 'norm      '    7.9354       1.0000          .0000       .10000E+07
     5 'norm      '    4.6310       1.0000          .0000       .10000E+07
     6 'norm      '    .27894E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .12323E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .55271E-02   1.0000          .0000       .10000E+07
     9 'norm      '    58.021       1.0000          .0000       .10000E+07
    10 'Prefactor '    9.9619       1.0000          .0000       .10000E+07
    11 'norm      '    .37845       1.0000          .0000       .10000E+07
    12 'norm      '    2.6680       1.0000          .0000       .10000E+07
    13 'norm      '    .59230E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .12599       1.0000          .0000       .10000E+07
    15 'norm      '    1.0403       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2369       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0146       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=   12914.77     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      958 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0443        2.9225       -.47752E-06    .23089E-01
   2  Prefactor     .12484E-06    2.0885        .20443E-06** at limit **
   3  Prefactor     10.124        3.2105       -.28018E-06    .41869E-01
   4  norm          7.9576        6.7446        .54598E-06    .59768E-01
   5  norm          4.6588        7.1883       -.38133E-06   -.41402E-01
   6  norm          .12013E-06    3.0225       -.41679E-06** at limit **
   7  Prefactor     .11102E-09    15.322        .70490E-06** at limit **
   8  Prefactor     .52736E-08    9.0662       -.51141E-06** at limit **
   9  norm          57.666        2.3414        .42100E-07   -.17113    
  10  Prefactor     9.6398        1.6488        .98665E-07   -.41384E-01
  11  norm          .37868        .14577       -.34501E-07   -.37696E-01
  12  norm          2.6703        1.5244       -.17773E-07   -.13239E-02
  13  norm          .11102E-09    3.8178       -.95088E-07** at limit **
  14  norm          .12778        7.2398       -.26908E-05** at limit **
  15  norm          1.0356        2.8457        .75400E-07    .22550E-02
  16  Normalizat    1.2376        .18131        .68861E-05    .49844E-03
  17  Prefactor     1.0145        .10768       -.72969E-06    .55682E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.04428
  Prefactor  = 1.24845e-07
  Prefactor  = 10.1236
  norm       = 7.95762
  norm       = 4.65878
  norm       = 1.20126e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 5.27356e-09
  norm       = 57.6659
  Prefactor  = 9.63981
  norm       = 0.378678
  norm       = 2.67033
  norm       = 1.11022e-10
  norm       = 0.127776
  norm       = 1.03558
  Normalizat = 1.23765
  Prefactor  = 1.01449
 **********
 **   18 **HESSE 
 **********

 FCN=   12914.77     FROM HESSE     STATUS=OK           267 CALLS     1225 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0443        9.5603        .57862E-03   -1.5673    
   2  Prefactor     .12484E-06    4.6149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.124        9.2429        .31415E-03   -1.5644    
   4  norm          7.9576        7.2254        .35570E-03   -1.5652    
   5  norm          4.6588        7.6692        .46746E-03   -1.5665    
   6  norm          .12013E-06    4.5745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    15.412        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .52736E-08    9.1740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          57.666        17.396        .13129E-03   -1.5556    
  10  Prefactor     9.6398        16.839        .31723E-03   -1.5646    
  11  norm          .37868        .14917        .58525E-03   -1.5696    
  12  norm          2.6703        1.5406        .62370E-03   -1.5675    
  13  norm          .11102E-09    4.0254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .12778        1.0656        .62958E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.0356        2.8323        .12276E-02   -1.5688    
  16  Normalizat    1.2376        .15700        .69857E-01   -.85447    
  17  Prefactor     1.0145        .92007E-01    .42725E-01   -.92248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.23961e-07
Minuit parameter uncertainties:
  1  9.56038
  2  0.00151803
  3  9.24289
  4  7.22537
  5  7.66917
  6  0.0014827
  7  9.1103e-05
  8  0.000440724
  9  17.396
  10  16.8391
  11  0.149169
  12  1.54063
  13  4.71029e-05
  14  0.737977
  15  2.83234
  16  0.157057
  17  0.0920216
Done.

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

Extracting fit parameters...

4FGL J1438.0+0219
   Spectrum: PowerLaw
248    Prefactor:  1.110e-10  9.110e-05  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.014e+00  9.202e-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:  1.238e+00  1.571e-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: 3.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/740258/likelihoodResults_695520001_695779201_4FGL_J1438.0+0219_daily_bin1760.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) = 12914.8005706
delta logL = -0.0312737446875

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12914.7692979
delta logL = -1.07875894173e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42737E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.7073       1.0000          .0000       10.000    
     3 'Normalizat'    1.2376       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0144       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.

 FCN=   12914.77     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      246 TOTAL
                     EDM=   .78E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37748E-08    2.1285        .42118E-03** at limit **
   2  Index         1.3399        5.7905        .50000       -.22737E-09
   3  Normalizat    1.2376        .69745E-03    .69857E-01    .19544E-03
   4  Prefactor     1.0145        .41132E-03    .42747E-01   -.32208E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.77476e-09
  Index      = 1.33992
  Normalizat = 1.23765
  Prefactor  = 1.01449
 **********
 **   18 **HESSE 
 **********

 FCN=   12914.77     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      277 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37748E-08    10.691        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3399        5.4705        .50000       -.82128    
   3  Normalizat    1.2376        .15595E-02    .30909E-03   -.85447    
   4  Prefactor     1.0145        .92062E-03    .19801E-03   -.92248    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.90437e-12
Minuit parameter uncertainties:
  1  0.00040147
  2  11642.5
  3  0.00155945
  4  0.000920621
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/740258': 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) = 12914.7692968
delta logL = -1.21872290038e-10

Extracting fit parameters...

4FGL J1438.0+0219
   Spectrum: PowerLaw
248    Prefactor:  3.775e-09  4.015e-04  0.000e+00  1.000e+06 ( 1.000e-14)
249        Index:  1.340e+00  1.164e+04  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.014e+00  9.206e-04  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.238e+00  1.559e-03  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/740258/cmap_HighResolution_695520001_695779201_4FGL_J1438.0+0219_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.57e-03', job_status='DONE', photon_flux_upper_limit='3.36e-08', time_completed='2023-01-19 01:16:41.774743', job_id='740258', GAL2='1.01', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1674119801.77', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='-1.22e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1760' AND source_name='4FGL J1438.0+0219' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 01:16:41 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 740258: <4FGL_J1438.0+0219_daily_bin1760> in cluster <slac> Done

Job <4FGL_J1438.0+0219_daily_bin1760> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jan 19 01:05:24 2023
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 01:05:45 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 01:05:45 2023
Terminated at Thu Jan 19 01:16:42 2023
Results reported at Thu Jan 19 01:16:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1438.0+0219_daily_bin1760 219.504 2.3272 695520001 695779201 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 :                                   643.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             375.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   657 sec.
    Turnaround time :                            678 sec.

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

