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


Performing analysis on: 4FGL_J2349.4+0534_daily_bin1774
RA = 357.356, Dec = 5.579
tmin = 699148801, tmax = 699408001
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='700354', job_status='RUN', time_executed='2023-03-02 01:50:45.622025', time_epoch_executed='1677750645.62' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/700354

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/700354/ft1_4FGL_J2349.4+0534_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/700354/ft2_4FGL_J2349.4+0534_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/700354/ft1_4FGL_J2349.4+0534_daily_bin1774.fits outfile=/scratch/kocevski/700354/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin1774.fits ra=357.356 dec=5.579 rad=12.0 tmin=699148801.0 tmax=699408001.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.85
user 2.63
sys 0.18

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

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

Number of photons that the gtmktime cut: 538

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/700354/ft1_filtered_4FGL_J2349.4+0534_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/700354/ft2_4FGL_J2349.4+0534_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/700354/ltcube_699148801_699408001_4FGL_J2349.4+0534_daily_bin1774.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/700354/ft2_4FGL_J2349.4+0534_daily_bin1774.fits
.....................!
real 14.44
user 13.93
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/700354/ft1_filtered_4FGL_J2349.4+0534_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/700354/ft2_4FGL_J2349.4+0534_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/700354/ltcube_699148801_699408001_4FGL_J2349.4+0534_daily_bin1774.fits outfile=/scratch/kocevski/700354/expmap_699148801_699408001_4FGL_J2349.4+0534_daily_bin1774.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/700354/ltcube_699148801_699408001_4FGL_J2349.4+0534_daily_bin1774.fits
.....................!
real 193.44
user 187.40
sys 5.53

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/700354/ft1_filtered_4FGL_J2349.4+0534_daily_bin1774.fits scfile=/scratch/kocevski/700354/ft2_4FGL_J2349.4+0534_daily_bin1774.fits outfile=/scratch/kocevski/700354/cmap_699148801_699408001_4FGL_J2349.4+0534_daily_bin1774.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/700354/ft1_filtered_4FGL_J2349.4+0534_daily_bin1774.fits scfile=/scratch/kocevski/700354/ft2_4FGL_J2349.4+0534_daily_bin1774.fits outfile=/scratch/kocevski/700354/cmap_HighResolution_699148801_699408001_4FGL_J2349.4+0534_daily_bin1774.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.55
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31779E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .26447E-03   1.0000          .0000       .10000E+07
     3 'norm      '    2.3074       1.0000          .0000       .10000E+07
     4 'Prefactor '    .42976E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    29.467       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.7552       1.0000          .0000       .10000E+07
     7 'norm      '    .31142E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .41302E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .53843E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .15778E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.1005       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14979E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .14211E-07   1.0000          .0000       .10000E+07
    14 'norm      '    22.300       1.0000          .0000       .10000E+07
    15 'Prefactor '    .14529       1.0000          .0000       .10000E+07
    16 'Prefactor '    11.067       1.0000          .0000       .10000E+07
    17 'Prefactor '    6.0944       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2429       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92422       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=   6171.117     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1414 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        20.165       -.18925E-05** at limit **
   2  norm           .0000        4.6712       -.21766E-06** at limit **
   3  norm          2.3035        3.7343        .55270E-07    .38837E-03
   4  Prefactor     .19429E-08    8.3273        .95377E-06** at limit **
   5  Prefactor     29.233        34.153       -.45186E-05    .12451    
   6  Prefactor     3.7035        4.6476        .21558E-05    .13832E-02
   7  norm           .0000        1.1989       -.16367E-06** at limit **
   8  Prefactor      .0000        3.5038        .65356E-06** at limit **
   9  Prefactor     .83267E-09    27.564        .34971E-05** at limit **
  10  norm           .0000        4.4598        .13548E-06** at limit **
  11  Prefactor     7.0164        8.2801       -.45999E-06    .18756E-02
  12  Prefactor     .42188E-08    7.5841        .35865E-06** at limit **
  13  norm          .10436E-07    7.8415       -.34270E-06** at limit **
  14  norm          23.168        32.501        .33737E-06    .82238E-01
  15  Prefactor     .12261E-03    241.69        .26681E-04** at limit **
  16  Prefactor     11.379        15.477        .20407E-05    .16027E-01
  17  Prefactor     5.8447        7.7679        .20882E-05    .55179E-02
  18  Normalizat    1.2438        .24571       -.21257E-04    .27603E-03
  19  Prefactor     .92402        .15998        .13045E-05    .28787E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  norm       = 2.30353
  Prefactor  = 1.94289e-09
  Prefactor  = 29.2335
  Prefactor  = 3.70353
  norm       = 0
  Prefactor  = 0
  Prefactor  = 8.32667e-10
  norm       = 0
  Prefactor  = 7.01641
  Prefactor  = 4.21885e-09
  norm       = 1.04361e-08
  norm       = 23.1678
  Prefactor  = 0.000122612
  Prefactor  = 11.3793
  Prefactor  = 5.84466
  Normalizat = 1.24381
  Prefactor  = 0.92402
 **********
 **   18 **HESSE 
 **********

 FCN=   6171.117     FROM HESSE     STATUS=OK           310 CALLS     1724 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        20.149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        4.5881        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.3035        3.7585        .67521E-03   -1.5678    
   4  Prefactor     .19429E-08    8.3147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     29.233        74.019        .18425E-03   -1.5600    
   6  Prefactor     3.7035        58.135        .52076E-03   -1.5669    
   7  norm           .0000        1.1927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.4958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .83267E-09    27.531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        4.4448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.0164        8.2928        .37622E-03   -1.5655    
  12  Prefactor     .42188E-08    7.5660        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10436E-07    7.8391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          23.168        42.516        .21182E-03   -1.5612    
  15  Prefactor     .12261E-03    6.1890        .10833E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.379        45.226        .30091E-03   -1.5640    
  17  Prefactor     5.8447        43.982        .40645E-03   -1.5660    
  18  Normalizat    1.2438        .21672        .65173E-01   -.85260    
  19  Prefactor     .92402        .13794        .45313E-01   -.95307    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47519e-06
Minuit parameter uncertainties:
  1  4.01298e-05
  2  2.14252e-05
  3  3.75846
  4  0.000254881
  5  74.0216
  6  29.347
  7  5.76383e-06
  8  6.42929e-06
  9  0.000301393
  10  1.30369e-05
  11  8.2928
  12  0.000356436
  13  0.000572509
  14  42.5169
  15  0.0550942
  16  45.2276
  17  32.0665
  18  0.216876
  19  0.137993
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  5.845e+00  3.207e+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:  9.240e-01  1.380e-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.244e+00  2.169e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 1.49e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.15e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/700354/likelihoodResults_699148801_699408001_4FGL_J2349.4+0534_daily_bin1774.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) = 6169.78193087
delta logL = 1.33470867269

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6168.95497325
delta logL = 2.16166629895

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13362E-04   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    1.0954       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99388       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=   6171.134     FROM MIGRAD    STATUS=CONVERGED    153 CALLS      573 TOTAL
                     EDM=   .13E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .27936        .42118E-03** at limit **
   2  Index         1.7122        8.5436        .50000       -.22737E-10
   3  Normalizat    1.2513        .45309E-03    .65006E-01    .14097E-04
   4  Prefactor     .92438        .30072E-03    .46191E-01    .66070E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 1.71225
  Normalizat = 1.25128
  Prefactor  = 0.924384
 **********
 **   18 **HESSE 
 **********

 FCN=   6171.134     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      612 TOTAL
                     EDM=   .29E-17    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .32961E-02    .14033E-01   -27981.    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7122        7.3125        .50000       -40062.    
   3  Normalizat    1.2513        .68777E-04    .28753E-03   -146.80    
   4  Prefactor     .92438        .45674E-04    .21712E-03   -83.870    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.91072e-18
Minuit parameter uncertainties:
  1  1.4524e-06
  2  2826.77
  3  6.87773e-05
  4  4.56742e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/700354': 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) = 6171.13431753
delta logL = -0.0176779820713

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  1.665e-10  1.452e-06  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  1.712e+00  2.827e+03  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:  9.244e-01  4.567e-05  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.251e+00  6.878e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
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/700354/cmap_HighResolution_699148801_699408001_4FGL_J2349.4+0534_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-02', job_status='DONE', photon_flux_upper_limit='1.49e-07', time_completed='2023-03-02 02:00:10.920853', job_id='700354', GAL2='0.92', fit_tolerance='1e-08', EG2='1.25', EG='1.24', time_epoch_completed='1677751210.92', return_code2='102', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-1.77e-02', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1774' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 02:00:10 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0179>
Subject: Job 700354: <4FGL_J2349.4+0534_daily_bin1774> in cluster <slac> Done

Job <4FGL_J2349.4+0534_daily_bin1774> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Mar  2 01:50:16 2023
Job was executed on host(s) <bullet0179>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 01:50:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 01:50:17 2023
Terminated at Thu Mar  2 02:00:11 2023
Results reported at Thu Mar  2 02:00:11 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.4+0534_daily_bin1774 357.356 5.579 699148801 699408001 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 :                                   567.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   594 sec.
    Turnaround time :                            595 sec.

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

