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


Performing analysis on: 4FGL_J2349.4+0534_daily_bin1737
RA = 357.356, Dec = 5.579
tmin = 689558401, tmax = 689817601
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='164353', job_status='RUN', time_executed='2022-11-11 01:02:50.152121', time_epoch_executed='1668157370.15' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='1737'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/164353

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/164353/ft1_4FGL_J2349.4+0534_daily_bin1737.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/164353/ft2_4FGL_J2349.4+0534_daily_bin1737.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/164353/ft1_4FGL_J2349.4+0534_daily_bin1737.fits outfile=/scratch/kocevski/164353/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin1737.fits ra=357.356 dec=5.579 rad=12.0 tmin=689558401.0 tmax=689817601.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.70
user 3.46
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/164353/ft2_4FGL_J2349.4+0534_daily_bin1737.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/164353/ft2_4FGL_J2349.4+0534_daily_bin1737.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/164353/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin1737.fits evtable="EVENTS" outfile="/scratch/kocevski/164353/ft1_filtered_4FGL_J2349.4+0534_daily_bin1737.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.55
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 630

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/164353/ft1_filtered_4FGL_J2349.4+0534_daily_bin1737.fits" evtable="EVENTS" scfile=/scratch/kocevski/164353/ft2_4FGL_J2349.4+0534_daily_bin1737.fits sctable="SC_DATA" outfile=/scratch/kocevski/164353/ltcube_689558401_689817601_4FGL_J2349.4+0534_daily_bin1737.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/164353/ft2_4FGL_J2349.4+0534_daily_bin1737.fits
.....................!
real 13.91
user 13.52
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/164353/ft1_filtered_4FGL_J2349.4+0534_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/164353/ft2_4FGL_J2349.4+0534_daily_bin1737.fits sctable="SC_DATA" expcube=/scratch/kocevski/164353/ltcube_689558401_689817601_4FGL_J2349.4+0534_daily_bin1737.fits outfile=/scratch/kocevski/164353/expmap_689558401_689817601_4FGL_J2349.4+0534_daily_bin1737.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/164353/ltcube_689558401_689817601_4FGL_J2349.4+0534_daily_bin1737.fits
.....................!
real 192.88
user 187.00
sys 5.24

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

Setting source of interest to:
4FGL J2349.4+0534 @ 357.356 5.579

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/164353/ft1_filtered_4FGL_J2349.4+0534_daily_bin1737.fits scfile=/scratch/kocevski/164353/ft2_4FGL_J2349.4+0534_daily_bin1737.fits outfile=/scratch/kocevski/164353/cmap_689558401_689817601_4FGL_J2349.4+0534_daily_bin1737.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=357.356 yref=5.579 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/164353/ft1_filtered_4FGL_J2349.4+0534_daily_bin1737.fits scfile=/scratch/kocevski/164353/ft2_4FGL_J2349.4+0534_daily_bin1737.fits outfile=/scratch/kocevski/164353/cmap_HighResolution_689558401_689817601_4FGL_J2349.4+0534_daily_bin1737.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=357.356 yref=5.579 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/164353/ft1_filtered_4FGL_J2349.4+0534_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/164353/ft2_4FGL_J2349.4+0534_daily_bin1737.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/164353/Model_4FGL_J2349.4+0534_daily_bin1737.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/164353/ft1_filtered_4FGL_J2349.4+0534_daily_bin1737.fits.....................!
real 74.32
user 72.94
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/164353/ft1_filtered_4FGL_J2349.4+0534_daily_bin1737.fits', '/scratch/kocevski/164353/ft2_4FGL_J2349.4+0534_daily_bin1737.fits', expMap='/scratch/kocevski/164353/expmap_689558401_689817601_4FGL_J2349.4+0534_daily_bin1737.fits', expCube='/scratch/kocevski/164353/ltcube_689558401_689817601_4FGL_J2349.4+0534_daily_bin1737.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/164353/Model_4FGL_J2349.4+0534_daily_bin1737.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2349.4+0534'

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.639e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/164353/ft1_filtered_4FGL_J2349.4+0534_daily_bin1737.fits
Spacecraft file(s): /scratch/kocevski/164353/ft2_4FGL_J2349.4+0534_daily_bin1737.fits
Exposure map: /scratch/kocevski/164353/expmap_689558401_689817601_4FGL_J2349.4+0534_daily_bin1737.fits
Exposure cube: /scratch/kocevski/164353/ltcube_689558401_689817601_4FGL_J2349.4+0534_daily_bin1737.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/164353/Model_4FGL_J2349.4+0534_daily_bin1737.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) = 7060.37609682

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18533E-02   1.0000          .0000       .10000E+07
     2 'norm      '    3.0217       1.0000          .0000       .10000E+07
     3 'norm      '    .41993       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.8361       1.0000          .0000       .10000E+07
     5 'Prefactor '    15.254       1.0000          .0000       .10000E+07
     6 'Prefactor '    .62260E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .83824       1.0000          .0000       .10000E+07
     8 'Prefactor '    27.166       1.0000          .0000       .10000E+07
     9 'Prefactor '    .44443E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .50515E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.1656       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.3744       1.0000          .0000       .10000E+07
    13 'norm      '    13.916       1.0000          .0000       .10000E+07
    14 'norm      '    59.505       1.0000          .0000       .10000E+07
    15 'Prefactor '    .17642E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    18.313       1.0000          .0000       .10000E+07
    17 'Prefactor '    .35352E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0078       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .79635       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7060.279     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1163 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25535E-08    29.180        .23835E-06** at limit **
   2  norm          3.0245        2.4806       -.18009E-07    .24792E-03
   3  norm          .41838        12.967        .71723E-08   -.87958E-04
   4  Prefactor     3.8914        9.0302       -.20385E-07    .30701E-04
   5  Prefactor     15.322        1.7597       -.93978E-08    .94016E-02
   6  Prefactor     .61062E-09    27.092        .33175E-06** at limit **
   7  norm          .83850        .65361        .60871E-07   -.45542E-02
   8  Prefactor     27.277        11.152       -.66867E-07    .32437E-03
   9  Prefactor      .0000        17.862       -.24416E-06** at limit **
  10  norm           .0000        5.3238        .26080E-08** at limit **
  11  Prefactor     3.3089        7.6697        .66732E-07   -.31468E-03
  12  Prefactor     .93432        2.7937       -.24880E-07   -.67591E-03
  13  norm          13.923        12.648       -.86445E-07   -.44792E-03
  14  norm          59.567        5.7280        .12495E-07   -.75924E-02
  15  Prefactor     .14988E-08    100.54        .16939E-05** at limit **
  16  Prefactor     18.855        5.6408       -.18925E-07   -.80113E-03
  17  Prefactor      .0000        7.8967        .11367E-06** at limit **
  18  Normalizat    1.0066        .19866        .26023E-05   -.46760E-04
  19  Prefactor     .79665        .13349       -.11734E-05   -.30932E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.55351e-09
  norm       = 3.02448
  norm       = 0.418381
  Prefactor  = 3.89143
  Prefactor  = 15.3219
  Prefactor  = 6.10623e-10
  norm       = 0.8385
  Prefactor  = 27.2775
  Prefactor  = 0
  norm       = 0
  Prefactor  = 3.30895
  Prefactor  = 0.934316
  norm       = 13.9233
  norm       = 59.5669
  Prefactor  = 1.4988e-09
  Prefactor  = 18.8552
  Prefactor  = 0
  Normalizat = 1.00657
  Prefactor  = 0.796652
 **********
 **   18 **HESSE 
 **********

 FCN=   7060.279     FROM HESSE     STATUS=OK           320 CALLS     1483 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25535E-08    31.883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.0245        2.4942        .58356E-03   -1.5673    
   3  norm          .41838        4.2528        .48501E-02   -1.5695    
   4  Prefactor     3.8914        9.2964        .51504E-03   -1.5669    
   5  Prefactor     15.322        20.016        .25618E-03   -1.5630    
   6  Prefactor     .61062E-09    27.542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .83850        .66033        .50127E-03   -1.5690    
   8  Prefactor     27.277        11.845        .19190E-03   -1.5604    
   9  Prefactor      .0000        17.921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        5.3628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.3089        7.8700        .56938E-03   -1.5672    
  12  Prefactor     .93432        133.23        .92905E-03   -1.5689    
  13  norm          13.923        12.681        .26824E-03   -1.5633    
  14  norm          59.567        24.319        .12964E-03   -1.5554    
  15  Prefactor     .14988E-08    2.7275        .47748E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.855        27.150        .23377E-03   -1.5621    
  17  Prefactor      .0000        7.9215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0066        .18002        .46265E-01   -.92810    
  19  Prefactor     .79665        .11776        .43670E-01   -.99852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98661e-07
Minuit parameter uncertainties:
  1  0.000568764
  2  2.49423
  3  2.66781
  4  9.29645
  5  20.0156
  6  0.000263642
  7  0.660333
  8  11.8452
  9  1.4087e-05
  10  1.96085e-05
  11  7.87003
  12  22.3144
  13  12.6809
  14  24.3188
  15  0.000127011
  16  27.1506
  17  4.53399e-06
  18  0.180133
  19  0.117797
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  0.000e+00  4.534e-06  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  7.967e-01  1.178e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.007e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 6.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/164353/likelihoodResults_689558401_689817601_4FGL_J2349.4+0534_daily_bin1737.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): 0
logL (Free Index) = 7060.27886239
delta logL = -0.000290246401164

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7060.27857216
delta logL = -1.42426870298e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7060.279     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      254 TOTAL
                     EDM=   .12E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .42221E-01    .42118E-03** at limit **
   2  Index         2.9225        7.4119        .43506        .52263E-10
   3  Normalizat    1.0066        .36039E-03    .46249E-01   -.35902E-03
   4  Prefactor     .79665        .25190E-03    .43674E-01   -.50180E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.92247
  Normalizat = 1.00657
  Prefactor  = 0.796651
 **********
 **   18 **HESSE 
 **********

 FCN=   7060.279     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      283 TOTAL
                     EDM=   .56E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .16894        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9225        5.5366        .50000       -.42850    
   3  Normalizat    1.0066        .71969E-03    .27013E-03   -.92811    
   4  Prefactor     .79665        .50307E-03    .20876E-03   -.99852    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.57761e-13
Minuit parameter uncertainties:
  1  1.08764e-05
  2  12572.2
  3  0.000719686
  4  0.000503069
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/164353': 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) = 7060.27857214
delta logL = -9.82254277915e-11

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  1.665e-10  1.088e-05  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.922e+00  1.257e+04  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  7.967e-01  5.031e-04  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.007e+00  7.197e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 357.356 5.579

Creating a high resolution counts map...
INFO: Auto-setting vmin to -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/164353/cmap_HighResolution_689558401_689817601_4FGL_J2349.4+0534_daily_bin1737.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.99e-03', job_status='DONE', photon_flux_upper_limit='6.42e-08', time_completed='2022-11-11 01:12:19.529222', job_id='164353', GAL2='0.80', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1668157939.53', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='-9.82e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1737' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Nov 11 01:12:19 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 164353: <4FGL_J2349.4+0534_daily_bin1737> in cluster <slac> Done

Job <4FGL_J2349.4+0534_daily_bin1737> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Nov 11 01:00:27 2022
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Nov 11 01:01:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Nov 11 01:01:23 2022
Terminated at Fri Nov 11 01:12:20 2022
Results reported at Fri Nov 11 01:12:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.4+0534_daily_bin1737 357.356 5.579 689558401 689817601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2349.4+0534 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   571.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             353.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   656 sec.
    Turnaround time :                            713 sec.

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

