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 65 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_J2349.4+0534_daily_bin1746
RA = 357.356, Dec = 5.579
tmin = 691891201, tmax = 692150401
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='743863', job_status='RUN', time_executed='2022-12-08 01:56:40.173487', time_epoch_executed='1670493400.17' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/743863

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/743863/ft1_4FGL_J2349.4+0534_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/743863/ft2_4FGL_J2349.4+0534_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/743863/ft1_4FGL_J2349.4+0534_daily_bin1746.fits outfile=/scratch/kocevski/743863/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin1746.fits ra=357.356 dec=5.579 rad=12.0 tmin=691891201.0 tmax=692150401.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.75
user 4.46
sys 0.27

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

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

Number of photons that the gtmktime cut: 564

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/743863/ft1_filtered_4FGL_J2349.4+0534_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/743863/ft2_4FGL_J2349.4+0534_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/743863/ltcube_691891201_692150401_4FGL_J2349.4+0534_daily_bin1746.fits outfile=/scratch/kocevski/743863/expmap_691891201_692150401_4FGL_J2349.4+0534_daily_bin1746.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/743863/ltcube_691891201_692150401_4FGL_J2349.4+0534_daily_bin1746.fits
.....................!
real 192.15
user 185.75
sys 5.60

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/743863/ft1_filtered_4FGL_J2349.4+0534_daily_bin1746.fits scfile=/scratch/kocevski/743863/ft2_4FGL_J2349.4+0534_daily_bin1746.fits outfile=/scratch/kocevski/743863/cmap_691891201_692150401_4FGL_J2349.4+0534_daily_bin1746.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/743863/ft1_filtered_4FGL_J2349.4+0534_daily_bin1746.fits scfile=/scratch/kocevski/743863/ft2_4FGL_J2349.4+0534_daily_bin1746.fits outfile=/scratch/kocevski/743863/cmap_HighResolution_691891201_692150401_4FGL_J2349.4+0534_daily_bin1746.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4988       1.0000          .0000       .10000E+07
     2 'norm      '    .24963E-06   1.0000          .0000       .10000E+07
     3 'norm      '    2.0340       1.0000          .0000       .10000E+07
     4 'Prefactor '    .17457E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    28.330       1.0000          .0000       .10000E+07
     6 'Prefactor '    .34810E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .14931       1.0000          .0000       .10000E+07
     8 'Prefactor '    .25238E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    57.981       1.0000          .0000       .10000E+07
    10 'norm      '    .30032E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.2346       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1891       1.0000          .0000       .10000E+07
    13 'norm      '    .57564E-02   1.0000          .0000       .10000E+07
    14 'norm      '    6.9338       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.1339       1.0000          .0000       .10000E+07
    16 'Prefactor '    .43407E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    3.7480       1.0000          .0000       .10000E+07
    18 'Normalizat'    .99884       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0148       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=   6141.049     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1455 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5999        16.307        .63537E-07    .47543E-01
   2  norm          .27756E-09    1.9027       -.15986E-06** at limit **
   3  norm          2.0343        2.1927        .37504E-07    .15531E-02
   4  Prefactor      .0000        5.3939        .10465E-06** at limit **
   5  Prefactor     28.164        6.5662        .40140E-07   -.35113E-01
   6  Prefactor     .44409E-09    8.0447       -.22107E-06** at limit **
   7  norm          .14904        1.1203       -.97523E-08** at limit **
   8  Prefactor      .0000        5.3094        .10678E-06** at limit **
   9  Prefactor     58.567        48.770       -.71600E-07   -.59326E-01
  10  norm          .12166E-05    52.892        .10562E-05** at limit **
  11  Prefactor     9.2141        6.6726        .35826E-07    .75958E-02
  12  Prefactor     2.3629        11.199       -.78404E-07   -.50343E-01
  13  norm          .21549E-06    13.220       -.10239E-06** at limit **
  14  norm          6.9059        1.4167        .11972E-07   -.40460E-02
  15  Prefactor     6.1396        4.8444        .87160E-07    .38895E-02
  16  Prefactor     .97089E-07    25.390        .54251E-07** at limit **
  17  Prefactor     3.7318        6.5061        .18948E-07    .35309E-01
  18  Normalizat    .99844        .23565        .56890E-05    .18918E-03
  19  Prefactor     1.0149        .16457       -.32199E-05    .10840E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.59988
  norm       = 2.77556e-10
  norm       = 2.03427
  Prefactor  = 0
  Prefactor  = 28.1645
  Prefactor  = 4.44089e-10
  norm       = 0.149036
  Prefactor  = 0
  Prefactor  = 58.5669
  norm       = 1.21658e-06
  Prefactor  = 9.21411
  Prefactor  = 2.3629
  norm       = 2.15494e-07
  norm       = 6.90588
  Prefactor  = 6.13958
  Prefactor  = 9.7089e-08
  Prefactor  = 3.73182
  Normalizat = 0.998438
  Prefactor  = 1.01488
 **********
 **   18 **HESSE 
 **********

 FCN=   6141.049     FROM HESSE     STATUS=OK           312 CALLS     1767 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5999        16.989        .39344E-03   -1.5657    
   2  norm          .27756E-09    1.8952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.0343        2.1888        .72498E-03   -1.5679    
   4  Prefactor      .0000        5.3974        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     28.164        38.973        .18791E-03   -1.5602    
   6  Prefactor     .44409E-09    8.0414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .14904        .59575        .22976E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        5.3192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     58.567        52.849        .13134E-03   -1.5555    
  10  norm          .12166E-05    52.470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.2141        6.7582        .32956E-03   -1.5647    
  12  Prefactor     2.3629        53.591        .69535E-03   -1.5677    
  13  norm          .21549E-06    13.427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.9059        17.357        .38076E-03   -1.5655    
  15  Prefactor     6.1396        5.1092        .40513E-03   -1.5658    
  16  Prefactor     .97089E-07    25.660        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.7318        36.086        .52128E-03   -1.5669    
  18  Normalizat    .99844        .20606        .46152E-01   -.93083    
  19  Prefactor     1.0149        .14295        .42698E-01   -.92235    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11639e-06
Minuit parameter uncertainties:
  1  16.9889
  2  4.78436e-05
  3  2.1888
  4  1.51162e-05
  5  38.973
  6  0.000123055
  7  0.595752
  8  2.40263e-05
  9  52.8491
  10  0.0159793
  11  6.75821
  12  22.5063
  13  0.00340203
  14  17.357
  15  5.10919
  16  0.00315716
  17  23.2095
  18  0.206222
  19  0.143004
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.732e+00  2.321e+01  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:  1.015e+00  1.430e-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:  9.984e-01  2.062e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/743863/likelihoodResults_691891201_692150401_4FGL_J2349.4+0534_daily_bin1746.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) = 6140.857731
delta logL = 0.191573078074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6140.83974997
delta logL = 0.209554110559

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5677       1.0000          .0000       .10000E+07
     2 'Index     '    3.5415       1.0000          .0000       10.000    
     3 'Normalizat'    .96874       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0244       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=   6140.840     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      227 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5640        123.12        .63676E-03    .68043E-02
   2  Index         3.5431        4.0145        .14792        .12254E-03
   3  Normalizat    .96862        .50951E-01    .66037E-01    .15953E-04
   4  Prefactor     1.0245        .36296E-01    .41726E-01    .28268E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.56402
  Index      = 3.54309
  Normalizat = 0.968618
  Prefactor  = 1.02447
 **********
 **   18 **HESSE 
 **********

 FCN=   6140.840     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      260 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5640        308.89        .18754E-04   -1.5676    
   2  Index         3.5431        5.7780        .84158E-02   -.29567    
   3  Normalizat    .96862        .20957        .29210E-03   -.94089    
   4  Prefactor     1.0245        .15485        .20253E-03   -.91918    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.16958e-06
Minuit parameter uncertainties:
  1  56.2875
  2  10.5189
  3  0.209749
  4  0.154919
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/743863': 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) = 6140.83974899
delta logL = 0.209555091222

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  2.564e+00  5.629e+01  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  3.543e+00  1.052e+01  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:  1.024e+00  1.549e-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:  9.686e-01  2.097e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/743863/cmap_HighResolution_691891201_692150401_4FGL_J2349.4+0534_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.72e-03', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2022-12-08 02:05:45.356172', job_id='743863', GAL2='1.02', fit_tolerance='1e-08', EG2='0.97', EG='1.00', time_epoch_completed='1670493945.36', return_code2='102', ts='0.03', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.10e-01', ts2='0.47', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1746' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 02:05:45 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 743863: <4FGL_J2349.4+0534_daily_bin1746> in cluster <slac> Done

Job <4FGL_J2349.4+0534_daily_bin1746> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Dec  8 01:55:25 2022
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:55:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:55:26 2022
Terminated at Thu Dec  8 02:05:46 2022
Results reported at Thu Dec  8 02:05:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.4+0534_daily_bin1746 357.356 5.579 691891201 692150401 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 :                                   546.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   619 sec.
    Turnaround time :                            621 sec.

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

