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 26 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_J2349.4+0534_daily_bin1758
RA = 357.356, Dec = 5.579
tmin = 695001601, tmax = 695260801
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='386346', job_status='RUN', time_executed='2023-01-13 01:57:32.051919', time_epoch_executed='1673603852.05' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/386346

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/386346/ft1_4FGL_J2349.4+0534_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/386346/ft2_4FGL_J2349.4+0534_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/386346/ft1_4FGL_J2349.4+0534_daily_bin1758.fits outfile=/scratch/kocevski/386346/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin1758.fits ra=357.356 dec=5.579 rad=12.0 tmin=695001601.0 tmax=695260801.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.79
user 2.56
sys 0.20

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

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

Number of photons that the gtmktime cut: 799

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/386346/ft1_filtered_4FGL_J2349.4+0534_daily_bin1758.fits" evtable="EVENTS" scfile=/scratch/kocevski/386346/ft2_4FGL_J2349.4+0534_daily_bin1758.fits sctable="SC_DATA" outfile=/scratch/kocevski/386346/ltcube_695001601_695260801_4FGL_J2349.4+0534_daily_bin1758.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/386346/ft2_4FGL_J2349.4+0534_daily_bin1758.fits
.....................!
real 16.76
user 16.18
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/386346/ft1_filtered_4FGL_J2349.4+0534_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/386346/ft2_4FGL_J2349.4+0534_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/386346/ltcube_695001601_695260801_4FGL_J2349.4+0534_daily_bin1758.fits outfile=/scratch/kocevski/386346/expmap_695001601_695260801_4FGL_J2349.4+0534_daily_bin1758.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/386346/ltcube_695001601_695260801_4FGL_J2349.4+0534_daily_bin1758.fits
.....................!
real 192.60
user 185.96
sys 5.40

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/386346/ft1_filtered_4FGL_J2349.4+0534_daily_bin1758.fits scfile=/scratch/kocevski/386346/ft2_4FGL_J2349.4+0534_daily_bin1758.fits outfile=/scratch/kocevski/386346/cmap_695001601_695260801_4FGL_J2349.4+0534_daily_bin1758.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/386346/ft1_filtered_4FGL_J2349.4+0534_daily_bin1758.fits scfile=/scratch/kocevski/386346/ft2_4FGL_J2349.4+0534_daily_bin1758.fits outfile=/scratch/kocevski/386346/cmap_HighResolution_695001601_695260801_4FGL_J2349.4+0534_daily_bin1758.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.57
user 0.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/386346/ft1_filtered_4FGL_J2349.4+0534_daily_bin1758.fits', '/scratch/kocevski/386346/ft2_4FGL_J2349.4+0534_daily_bin1758.fits', expMap='/scratch/kocevski/386346/expmap_695001601_695260801_4FGL_J2349.4+0534_daily_bin1758.fits', expCube='/scratch/kocevski/386346/ltcube_695001601_695260801_4FGL_J2349.4+0534_daily_bin1758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/386346/Model_4FGL_J2349.4+0534_daily_bin1758.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/386346/ft1_filtered_4FGL_J2349.4+0534_daily_bin1758.fits
Spacecraft file(s): /scratch/kocevski/386346/ft2_4FGL_J2349.4+0534_daily_bin1758.fits
Exposure map: /scratch/kocevski/386346/expmap_695001601_695260801_4FGL_J2349.4+0534_daily_bin1758.fits
Exposure cube: /scratch/kocevski/386346/ltcube_695001601_695260801_4FGL_J2349.4+0534_daily_bin1758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/386346/Model_4FGL_J2349.4+0534_daily_bin1758.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) = 8693.06433277

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.890       1.0000          .0000       .10000E+07
     2 'norm      '    2.3094       1.0000          .0000       .10000E+07
     3 'norm      '    1.1690       1.0000          .0000       .10000E+07
     4 'Prefactor '    14.524       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11210E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10472E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .44971       1.0000          .0000       .10000E+07
     8 'Prefactor '    16.691       1.0000          .0000       .10000E+07
     9 'Prefactor '    59.359       1.0000          .0000       .10000E+07
    10 'norm      '    4.2749       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.8151       1.0000          .0000       .10000E+07
    12 'Prefactor '    15.836       1.0000          .0000       .10000E+07
    13 'norm      '    .44409E-09   1.0000          .0000       .10000E+07
    14 'norm      '    20.423       1.0000          .0000       .10000E+07
    15 'Prefactor '    .91849E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    10.892       1.0000          .0000       .10000E+07
    17 'Prefactor '    .35225E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .89813       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .88463       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=   8693.064     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1500 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.909        7.8410        .52947E-06    .15775    
   2  norm          2.3057        2.3762        .10624E-07   -.60899E-02
   3  norm          1.1673        2.0626       -.35720E-06   -.33142E-03
   4  Prefactor     14.549        10.661       -.11267E-06   -.25026E-01
   5  Prefactor     .20028E-06    24.025        .15541E-05** at limit **
   6  Prefactor     .28422E-07    68.231        .14321E-05** at limit **
   7  norm          .44948        .43741       -.67899E-07    .18125E-02
   8  Prefactor     16.611        8.3430        .15831E-06    .20231E-02
   9  Prefactor     59.296        1.2726        .25928E-07   -.25278E-01
  10  norm          4.3088        4.8171       -.30688E-07    .24317E-02
  11  Prefactor     8.7712        5.6415       -.40921E-06    .21340E-02
  12  Prefactor     15.828        1.5568       -.40977E-07   -.15870E-01
  13  norm           .0000        1.9541        .23700E-07** at limit **
  14  norm          20.492        14.427        .67277E-06   -.11656    
  15  Prefactor     .25535E-08    8.4031       -.61746E-06** at limit **
  16  Prefactor     10.922        1.3511       -.22390E-07    .79848E-02
  17  Prefactor     .91038E-08    18.687        .13263E-05** at limit **
  18  Normalizat    .89831        .18611       -.82797E-05    .18317E-03
  19  Prefactor     .88463        .12660        .17008E-04    .31785E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.9087
  norm       = 2.30566
  norm       = 1.16731
  Prefactor  = 14.5486
  Prefactor  = 2.00284e-07
  Prefactor  = 2.84217e-08
  norm       = 0.449481
  Prefactor  = 16.6113
  Prefactor  = 59.2958
  norm       = 4.30883
  Prefactor  = 8.77119
  Prefactor  = 15.828
  norm       = 0
  norm       = 20.4924
  Prefactor  = 2.55351e-09
  Prefactor  = 10.9218
  Prefactor  = 9.10383e-09
  Normalizat = 0.898314
  Prefactor  = 0.884629
 **********
 **   18 **HESSE 
 **********

 FCN=   8693.064     FROM HESSE     STATUS=OK           314 CALLS     1814 TOTAL
                     EDM=   .62E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.909        12.451        .30336E-03   -1.5642    
   2  norm          2.3057        2.5225        .67488E-03   -1.5678    
   3  norm          1.1673        2.1262        .10616E-02   -1.5686    
   4  Prefactor     14.549        10.776        .26255E-03   -1.5632    
   5  Prefactor     .20028E-06    24.403        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .28422E-07    67.460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .44948        .41554        .12909E-02   -1.5695    
   8  Prefactor     16.611        8.4751        .24488E-03   -1.5626    
   9  Prefactor     59.296        47.916        .12980E-03   -1.5554    
  10  norm          4.3088        4.8364        .48705E-03   -1.5666    
  11  Prefactor     8.7712        5.6791        .33736E-03   -1.5649    
  12  Prefactor     15.828        14.363        .25142E-03   -1.5628    
  13  norm           .0000        1.9528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          20.492        18.250        .22135E-03   -1.5617    
  15  Prefactor     .25535E-08    8.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.922        25.191        .30332E-03   -1.5642    
  17  Prefactor     .91038E-08    18.699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .89831        .16276        .44878E-01   -.96519    
  19  Prefactor     .88463        .10918        .44809E-01   -.96680    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.15639e-07
Minuit parameter uncertainties:
  1  12.4515
  2  2.52248
  3  2.1262
  4  10.7764
  5  0.00442179
  6  0.0027682
  7  0.415538
  8  8.47506
  9  47.9168
  10  4.83644
  11  5.67906
  12  14.3632
  13  1.27339e-05
  14  18.2505
  15  0.000287689
  16  25.1913
  17  0.000825112
  18  0.162852
  19  0.109208
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  9.104e-09  8.251e-04  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:  8.846e-01  1.092e-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:  8.983e-01  1.629e-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.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.24e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/386346/likelihoodResults_695001601_695260801_4FGL_J2349.4+0534_daily_bin1758.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) = 8693.0905371
delta logL = -0.0268602502965

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8692.94782879
delta logL = 0.115848053098

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87545       1.0000          .0000       .10000E+07
     2 'Index     '    3.8194       1.0000          .0000       10.000    
     3 'Normalizat'    .87705       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89102       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8692.948     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      307 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .87708        192.58        .17526E-04    .67331E-03
   2  Index         3.8209        5.3534        .94193E-02    .26635E-04
   3  Normalizat    .87690        .16601        .28439E-03   -.58205E-04
   4  Prefactor     .89117        .11720        .19873E-03   -.97138E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.877084
  Index      = 3.82088
  Normalizat = 0.8769
  Prefactor  = 0.891165
 **********
 **   18 **HESSE 
 **********

 FCN=   8692.948     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .87708        4.3800        .70105E-06   -1.5689    
   2  Index         3.8209        1.9950        .37677E-03   -.23807    
   3  Normalizat    .87690        .18192        .11376E-04   -.97277    
   4  Prefactor     .89117        .12597        .79491E-05   -.96450    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22854e-11
Minuit parameter uncertainties:
  1  3.92002
  2  2.05575
  3  0.182051
  4  0.126015
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/386346': 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): 0
logL (Free Index) = 8692.94782545
delta logL = 0.115851397248

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  8.771e-01  3.920e+00  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  3.821e+00  2.056e+00  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:  8.912e-01  1.260e-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:  8.769e-01  1.821e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/386346/cmap_HighResolution_695001601_695260801_4FGL_J2349.4+0534_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.24e-03', job_status='DONE', photon_flux_upper_limit='6.75e-08', time_completed='2023-01-13 02:08:18.026351', job_id='386346', GAL2='0.89', fit_tolerance='1e-08', EG2='0.88', EG='0.90', time_epoch_completed='1673604498.03', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.16e-01', ts2='0.26', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1758' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 02:08:18 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 386346: <4FGL_J2349.4+0534_daily_bin1758> in cluster <slac> Done

Job <4FGL_J2349.4+0534_daily_bin1758> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Jan 13 01:55:22 2023
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 01:56:54 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 01:56:54 2023
Terminated at Fri Jan 13 02:08:18 2023
Results reported at Fri Jan 13 02:08:18 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.4+0534_daily_bin1758 357.356 5.579 695001601 695260801 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 :                                   646.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             357.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   684 sec.
    Turnaround time :                            776 sec.

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

