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


Performing analysis on: 4FGL_J1043.2+2408_daily_bin1711
RA = 160.805, Dec = 24.146
tmin = 682819201, tmax = 683078401
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='94773', job_status='RUN', time_executed='2022-09-16 15:27:06.377771', time_epoch_executed='1663367226.38' WHERE source_name='4FGL J1043.2+2408' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/94773

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/94773/ft1_4FGL_J1043.2+2408_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/94773/ft2_4FGL_J1043.2+2408_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/94773/ft1_4FGL_J1043.2+2408_daily_bin1711.fits outfile=/scratch/kocevski/94773/ft1_filteredMKT_4FGL_J1043.2+2408_daily_bin1711.fits ra=160.805 dec=24.146 rad=12.0 tmin=682819201.0 tmax=683078401.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.61
user 4.37
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/94773/ft2_4FGL_J1043.2+2408_daily_bin1711.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/94773/ft1_filteredMKT_4FGL_J1043.2+2408_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/94773/ft1_filtered_4FGL_J1043.2+2408_daily_bin1711.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 491

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/94773/ft1_filtered_4FGL_J1043.2+2408_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/94773/ft2_4FGL_J1043.2+2408_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/94773/ltcube_682819201_683078401_4FGL_J1043.2+2408_daily_bin1711.fits outfile=/scratch/kocevski/94773/expmap_682819201_683078401_4FGL_J1043.2+2408_daily_bin1711.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/94773/ltcube_682819201_683078401_4FGL_J1043.2+2408_daily_bin1711.fits
.....................!
real 194.84
user 189.11
sys 5.32

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/94773/ft1_filtered_4FGL_J1043.2+2408_daily_bin1711.fits scfile=/scratch/kocevski/94773/ft2_4FGL_J1043.2+2408_daily_bin1711.fits outfile=/scratch/kocevski/94773/cmap_682819201_683078401_4FGL_J1043.2+2408_daily_bin1711.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/94773/ft1_filtered_4FGL_J1043.2+2408_daily_bin1711.fits scfile=/scratch/kocevski/94773/ft2_4FGL_J1043.2+2408_daily_bin1711.fits outfile=/scratch/kocevski/94773/cmap_HighResolution_682819201_683078401_4FGL_J1043.2+2408_daily_bin1711.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.56
user 0.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/94773/ft1_filtered_4FGL_J1043.2+2408_daily_bin1711.fits', '/scratch/kocevski/94773/ft2_4FGL_J1043.2+2408_daily_bin1711.fits', expMap='/scratch/kocevski/94773/expmap_682819201_683078401_4FGL_J1043.2+2408_daily_bin1711.fits', expCube='/scratch/kocevski/94773/ltcube_682819201_683078401_4FGL_J1043.2+2408_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/94773/Model_4FGL_J1043.2+2408_daily_bin1711.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/94773/ft1_filtered_4FGL_J1043.2+2408_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/94773/ft2_4FGL_J1043.2+2408_daily_bin1711.fits
Exposure map: /scratch/kocevski/94773/expmap_682819201_683078401_4FGL_J1043.2+2408_daily_bin1711.fits
Exposure cube: /scratch/kocevski/94773/ltcube_682819201_683078401_4FGL_J1043.2+2408_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/94773/Model_4FGL_J1043.2+2408_daily_bin1711.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) = 5659.40630061

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87308E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .31394E-01   1.0000          .0000       .10000E+07
     3 'norm      '    27.919       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12288E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    81.718       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.9198       1.0000          .0000       .10000E+07
     7 'Prefactor '    .26978E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    20.751       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.6362       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13401E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .18847E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .17554E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .10606E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .34717E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    8.9416       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.7532       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0338       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2257       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=   5659.401     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1341 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.2002       -.73179E-07** at limit **
   2  Prefactor     .41912E-01    36.782        .90861E-06** at limit **
   3  norm          27.901        3.9023       -.18578E-08   -.20804E-01
   4  Prefactor      .0000        21.916       -.12026E-06** at limit **
   5  Prefactor     83.005        80.531       -.46774E-06    .15953E-02
   6  Prefactor     1.8079        8.9040       -.21673E-06   -.11300E-02
   7  Prefactor      .0000        1.1655        .35247E-07** at limit **
   8  Prefactor     20.792        8.5303       -.12029E-07   -.38109E-01
   9  Prefactor     1.7566        12.322        .43721E-06   -.42955E-03
  10  Prefactor     .55511E-10    14.557       -.76798E-07** at limit **
  11  Prefactor     .33307E-09    7.7208        .89886E-07** at limit **
  12  Prefactor     .55511E-10    4.4869        .63241E-07** at limit **
  13  Prefactor      .0000        5.8921       -.13233E-06** at limit **
  14  Prefactor      .0000        1.2155        .11813E-06** at limit **
  15  Prefactor     8.9801        8.0657       -.11696E-06    .47221E-03
  16  Prefactor     5.7794        7.7587       -.11089E-07   -.17733E-01
  17  Normalizat    1.0331        .24572        .54958E-05   -.24707E-05
  18  Prefactor     1.2257        .25157       -.58292E-05    .25634E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0.0419117
  norm       = 27.9009
  Prefactor  = 0
  Prefactor  = 83.0054
  Prefactor  = 1.80793
  Prefactor  = 0
  Prefactor  = 20.7918
  Prefactor  = 1.7566
  Prefactor  = 5.55112e-11
  Prefactor  = 3.33067e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 8.98015
  Prefactor  = 5.77941
  Normalizat = 1.03306
  Prefactor  = 1.2257
 **********
 **   18 **HESSE 
 **********

 FCN=   5659.401     FROM HESSE     STATUS=OK           288 CALLS     1629 TOTAL
                     EDM=   .84E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.2096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .41912E-01    1.3974        .58870E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          27.901        13.711        .18929E-03   -1.5602    
   4  Prefactor      .0000        21.940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     83.005        80.081        .11063E-03   -1.5526    
   6  Prefactor     1.8079        9.0606        .74969E-03   -1.5681    
   7  Prefactor      .0000        1.1611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     20.792        11.439        .21959E-03   -1.5617    
   9  Prefactor     1.7566        12.459        .82601E-03   -1.5681    
  10  Prefactor     .55511E-10    14.572        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .33307E-09    7.7318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    4.4884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        5.8968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.2136        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.9801        8.1524        .33495E-03   -1.5648    
  16  Prefactor     5.7794        13.162        .41851E-03   -1.5660    
  17  Normalizat    1.0331        .20696        .60843E-01   -.91931    
  18  Prefactor     1.2257        .20741        .59852E-01   -.85544    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.40092e-07
Minuit parameter uncertainties:
  1  5.06734e-07
  2  0.484011
  3  13.7106
  4  5.73404e-06
  5  80.0822
  6  8.09471
  7  2.18097e-06
  8  11.4391
  9  9.35642
  10  6.49424e-05
  11  9.72803e-05
  12  2.26249e-05
  13  2.07317e-05
  14  5.01485e-06
  15  8.15236
  16  13.1619
  17  0.207124
  18  0.207553
Done.

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

Extracting fit parameters...

4FGL J1043.2+2408
   Spectrum: PowerLaw
247    Prefactor:  0.000e+00  2.181e-06  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.226e+00  2.076e-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:  1.033e+00  2.071e-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: 6.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/94773/likelihoodResults_682819201_683078401_4FGL_J1043.2+2408_daily_bin1711.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) = 5659.40174355
delta logL = -0.000797863091975

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5659.40094602
delta logL = -3.25859218719e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36321E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.9224       1.0000          .0000       10.000    
     3 'Normalizat'    1.0329       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2258       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5659.401     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      236 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0265        .42118E-03** at limit **
   2  Index         2.6068        1.1394       -.38028E-03     .0000    
   3  Normalizat    1.0331        1.2318       -.27829E-03   -.12438E-02
   4  Prefactor     1.2257        1.0951        .27299E-03   -.13086E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.60678
  Normalizat = 1.03306
  Prefactor  = 1.22569
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5659.401     FROM HESSE     STATUS=FAILED         9 CALLS      245 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76821        1.9206       -.38028E-03   -.49911    
   3  Normalizat    1.0331        1.2318       -.27829E-03   -.91931    
   4  Prefactor     1.2257        1.0951        .27299E-03   -.85544    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.72149e-09
Minuit parameter uncertainties:
  1  1.8686e-06
  2  1.15265
  3  1.26853
  4  1.11653
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/94773': 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): 101
logL (Free Index) = 5659.40094569
delta logL = -1.14232534543e-09

Extracting fit parameters...

4FGL J1043.2+2408
   Spectrum: PowerLaw
247    Prefactor:  0.000e+00  1.869e-06  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  2.607e+00  1.153e+00  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.226e+00  1.117e+00  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:  1.033e+00  1.269e+00  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/94773/cmap_HighResolution_682819201_683078401_4FGL_J1043.2+2408_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.35e-03', job_status='DONE', photon_flux_upper_limit='6.96e-08', time_completed='2022-09-16 15:35:43.821311', job_id='94773', GAL2='1.23', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1663367743.82', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='-1.14e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1711' AND source_name='4FGL J1043.2+2408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:35:43 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 94773: <4FGL_J1043.2+2408_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1043.2+2408_daily_bin1711> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 15:25:26 2022
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:26:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:26:52 2022
Terminated at Fri Sep 16 15:35:44 2022
Results reported at Fri Sep 16 15:35:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1043.2+2408_daily_bin1711 160.805 24.146 682819201 683078401 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 :                                   520.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             340.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   532 sec.
    Turnaround time :                            618 sec.

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

