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


Performing analysis on: 4FGL_J1043.2+2408_daily_bin1756
RA = 160.805, Dec = 24.146
tmin = 694483201, tmax = 694742401
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='10482', job_status='RUN', time_executed='2023-01-07 00:45:02.018857', time_epoch_executed='1673081102.02' WHERE source_name='4FGL J1043.2+2408' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/10482

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/10482/ft1_4FGL_J1043.2+2408_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/10482/ft2_4FGL_J1043.2+2408_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/10482/ft1_4FGL_J1043.2+2408_daily_bin1756.fits outfile=/scratch/kocevski/10482/ft1_filteredMKT_4FGL_J1043.2+2408_daily_bin1756.fits ra=160.805 dec=24.146 rad=12.0 tmin=694483201.0 tmax=694742401.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.01
user 2.75
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/10482/ft2_4FGL_J1043.2+2408_daily_bin1756.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/10482/ft2_4FGL_J1043.2+2408_daily_bin1756.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/10482/ft1_filteredMKT_4FGL_J1043.2+2408_daily_bin1756.fits evtable="EVENTS" outfile="/scratch/kocevski/10482/ft1_filtered_4FGL_J1043.2+2408_daily_bin1756.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.53
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 345

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/10482/ft1_filtered_4FGL_J1043.2+2408_daily_bin1756.fits" evtable="EVENTS" scfile=/scratch/kocevski/10482/ft2_4FGL_J1043.2+2408_daily_bin1756.fits sctable="SC_DATA" outfile=/scratch/kocevski/10482/ltcube_694483201_694742401_4FGL_J1043.2+2408_daily_bin1756.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/10482/ft2_4FGL_J1043.2+2408_daily_bin1756.fits
.....................!
real 18.87
user 17.48
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/10482/ft1_filtered_4FGL_J1043.2+2408_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/10482/ft2_4FGL_J1043.2+2408_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/10482/ltcube_694483201_694742401_4FGL_J1043.2+2408_daily_bin1756.fits outfile=/scratch/kocevski/10482/expmap_694483201_694742401_4FGL_J1043.2+2408_daily_bin1756.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/10482/ltcube_694483201_694742401_4FGL_J1043.2+2408_daily_bin1756.fits
.....................!
real 195.33
user 187.01
sys 6.09

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

Setting source of interest to:
4FGL J1043.2+2408 @ 160.805 24.146

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/10482/ft1_filtered_4FGL_J1043.2+2408_daily_bin1756.fits scfile=/scratch/kocevski/10482/ft2_4FGL_J1043.2+2408_daily_bin1756.fits outfile=/scratch/kocevski/10482/cmap_694483201_694742401_4FGL_J1043.2+2408_daily_bin1756.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=160.805 yref=24.146 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.60
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/10482/ft1_filtered_4FGL_J1043.2+2408_daily_bin1756.fits scfile=/scratch/kocevski/10482/ft2_4FGL_J1043.2+2408_daily_bin1756.fits outfile=/scratch/kocevski/10482/cmap_HighResolution_694483201_694742401_4FGL_J1043.2+2408_daily_bin1756.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=160.805 yref=24.146 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.38
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/10482/ft1_filtered_4FGL_J1043.2+2408_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/10482/ft2_4FGL_J1043.2+2408_daily_bin1756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/10482/Model_4FGL_J1043.2+2408_daily_bin1756.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/10482/ft1_filtered_4FGL_J1043.2+2408_daily_bin1756.fits.....................!
real 41.21
user 39.40
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/10482/ft1_filtered_4FGL_J1043.2+2408_daily_bin1756.fits', '/scratch/kocevski/10482/ft2_4FGL_J1043.2+2408_daily_bin1756.fits', expMap='/scratch/kocevski/10482/expmap_694483201_694742401_4FGL_J1043.2+2408_daily_bin1756.fits', expCube='/scratch/kocevski/10482/ltcube_694483201_694742401_4FGL_J1043.2+2408_daily_bin1756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/10482/Model_4FGL_J1043.2+2408_daily_bin1756.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1043.2+2408'

4FGL J1043.2+2408
   Spectrum: PowerLaw
247    Prefactor:  1.079e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  2.323e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  9.688e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/10482/ft1_filtered_4FGL_J1043.2+2408_daily_bin1756.fits
Spacecraft file(s): /scratch/kocevski/10482/ft2_4FGL_J1043.2+2408_daily_bin1756.fits
Exposure map: /scratch/kocevski/10482/expmap_694483201_694742401_4FGL_J1043.2+2408_daily_bin1756.fits
Exposure cube: /scratch/kocevski/10482/ltcube_694483201_694742401_4FGL_J1043.2+2408_daily_bin1756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/10482/Model_4FGL_J1043.2+2408_daily_bin1756.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) = 3855.60612518

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4294       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13040E-04   1.0000          .0000       .10000E+07
     3 'norm      '    34.779       1.0000          .0000       .10000E+07
     4 'Prefactor '    36.122       1.0000          .0000       .10000E+07
     5 'Prefactor '    89.432       1.0000          .0000       .10000E+07
     6 'Prefactor '    6.5562       1.0000          .0000       .10000E+07
     7 'Prefactor '    .13063E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .45405E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    15.940       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.3647       1.0000          .0000       .10000E+07
    11 'Prefactor '    .93125E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    10.702       1.0000          .0000       .10000E+07
    13 'Prefactor '    8.9630       1.0000          .0000       .10000E+07
    14 'Prefactor '    .39810E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    5.9676       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.6442       1.0000          .0000       .10000E+07
    17 'Normalizat'    .95500       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2679       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3855.588     FROM MIGRAD    STATUS=CONVERGED    154 CALLS     1387 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3050        7.8163       -.70116E-07    .69692E-01
   2  Prefactor      .0000        1.6712       -.21502E-07** at limit **
   3  norm          36.160        21.500        .17981E-06    .70430E-01
   4  Prefactor     42.066        61.794        .39951E-06    .24006E-02
   5  Prefactor     87.425        80.054       -.15352E-06    .54258E-02
   6  Prefactor     6.5193        11.140       -.38493E-07    .11913E-01
   7  Prefactor     .44409E-09    5.3716       -.23481E-06** at limit **
   8  Prefactor     .52736E-08    13.347       -.41964E-06** at limit **
   9  Prefactor     16.071        13.237        .22673E-06   -.18378E-01
  10  Prefactor     2.5598        48.766        .38207E-06   -.90657E-02
  11  Prefactor     .33307E-09    5.4905       -.43166E-07** at limit **
  12  Prefactor     10.734        10.677        .11637E-06   -.35779E-02
  13  Prefactor     8.9648        11.040        .45750E-07   -.11846E-02
  14  Prefactor     .55511E-10    2.6559        .83022E-07** at limit **
  15  Prefactor     6.0094        8.0995        .17818E-06    .61323E-02
  16  Prefactor     5.6926        13.133       -.21232E-07   -.10641E-01
  17  Normalizat    .95334        .28796       -.35211E-05    .39038E-06
  18  Prefactor     1.2653        .30556        .14335E-05    .18967E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.30497
  Prefactor  = 0
  norm       = 36.1598
  Prefactor  = 42.0659
  Prefactor  = 87.4245
  Prefactor  = 6.51925
  Prefactor  = 4.44089e-10
  Prefactor  = 5.27356e-09
  Prefactor  = 16.0707
  Prefactor  = 2.55976
  Prefactor  = 3.33067e-10
  Prefactor  = 10.7343
  Prefactor  = 8.96478
  Prefactor  = 5.55112e-11
  Prefactor  = 6.00941
  Prefactor  = 5.69262
  Normalizat = 0.953341
  Prefactor  = 1.26525
 **********
 **   18 **HESSE 
 **********

 FCN=   3855.588     FROM HESSE     STATUS=OK           286 CALLS     1673 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3050        19.622        .54596E-03   -1.5672    
   2  Prefactor      .0000        1.6736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          36.160        22.152        .16959E-03   -1.5588    
   4  Prefactor     42.066        61.837        .16640E-03   -1.5578    
   5  Prefactor     87.425        80.249        .10575E-03   -1.5521    
   6  Prefactor     6.5193        11.351        .39170E-03   -1.5657    
   7  Prefactor     .44409E-09    5.2794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .52736E-08    13.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.071        17.058        .25060E-03   -1.5628    
  10  Prefactor     2.5598        61.584        .66611E-03   -1.5676    
  11  Prefactor     .33307E-09    5.4947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.734        10.663        .30601E-03   -1.5642    
  13  Prefactor     8.9648        21.918        .33455E-03   -1.5648    
  14  Prefactor     .55511E-10    2.6372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.0094        8.1548        .41081E-03   -1.5659    
  16  Prefactor     5.6926        13.150        .42260E-03   -1.5660    
  17  Normalizat    .95334        .24535        .45601E-01   -.94610    
  18  Prefactor     1.2653        .25875        .59780E-01   -.84346    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.22254e-07
Minuit parameter uncertainties:
  1  16.1059
  2  5.46327e-07
  3  22.1519
  4  61.8377
  5  80.2496
  6  11.3509
  7  9.75311e-05
  8  0.000526212
  9  17.0582
  10  25.1113
  11  8.54879e-05
  12  10.6633
  13  21.9185
  14  1.74742e-05
  15  8.15482
  16  13.1496
  17  0.24564
  18  0.259011
Done.

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

Extracting fit parameters...

4FGL J1043.2+2408
   Spectrum: PowerLaw
247    Prefactor:  4.441e-10  9.753e-05  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  2.323e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  9.688e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.265e+00  2.590e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  9.533e-01  2.456e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 160.805 24.146
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/10482/likelihoodResults_694483201_694742401_4FGL_J1043.2+2408_daily_bin1756.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): 1
logL (Free Index) = 3855.54946646
delta logL = 0.0383716845486

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3855.53055339
delta logL = 0.0572847513449

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3855.531     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      361 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20713        6.9539        .17081E-02** at limit **
   2  Index         3.5505        3.1420        .21104        .42875E-04
   3  Normalizat    .92725        .26867E-01    .45244E-01    .46744E-05
   4  Prefactor     1.2794        .30023E-01    .59484E-01   -.10511E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.20713
  Index      = 3.55047
  Normalizat = 0.927247
  Prefactor  = 1.27939
 **********
 **   18 **HESSE 
 **********

 FCN=   3855.531     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      396 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20713        87.121        .70585E-04   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.5505        8.0695        .95871E-02   -.29413    
   3  Normalizat    .92725        .21621        .27269E-03   -.95509    
   4  Prefactor     1.2794        .23484        .26305E-03   -.83922    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.51764e-10
Minuit parameter uncertainties:
  1  8.4961
  2  19.447
  3  0.216409
  4  0.235038
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/10482': 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) = 3855.53054991
delta logL = 0.0572882348897

Extracting fit parameters...

4FGL J1043.2+2408
   Spectrum: PowerLaw
247    Prefactor:  2.071e-01  8.496e+00  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  3.550e+00  1.945e+01  0.000e+00  1.000e+01 (-1.000e+00)
249        Scale:  9.688e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.279e+00  2.350e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  9.272e-01  2.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 160.805 24.146

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/10482/cmap_HighResolution_694483201_694742401_4FGL_J1043.2+2408_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.93e-03', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2023-01-07 00:52:59.866025', job_id='10482', GAL2='1.28', fit_tolerance='1e-08', EG2='0.93', EG='0.95', time_epoch_completed='1673081579.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.27', dlogl='5.73e-02', ts2='0.12', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1756' AND source_name='4FGL J1043.2+2408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 00:52:59 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0028>
Subject: Job 10482: <4FGL_J1043.2+2408_daily_bin1756> in cluster <slac> Done

Job <4FGL_J1043.2+2408_daily_bin1756> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jan  7 00:40:23 2023
Job was executed on host(s) <bullet0028>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 00:43:32 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 00:43:32 2023
Terminated at Sat Jan  7 00:53:00 2023
Results reported at Sat Jan  7 00:53:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1043.2+2408_daily_bin1756 160.805 24.146 694483201 694742401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1043.2+2408 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   475.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             290.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   568 sec.
    Turnaround time :                            757 sec.

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

