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


Performing analysis on: 4FGL_J2349.4+0534_daily_bin1779
RA = 357.356, Dec = 5.579
tmin = 700444801, tmax = 700704001
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='41795', job_status='RUN', time_executed='2023-03-17 02:40:41.855427', time_epoch_executed='1679046041.86' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/41795

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/41795/ft1_4FGL_J2349.4+0534_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/41795/ft2_4FGL_J2349.4+0534_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/41795/ft1_4FGL_J2349.4+0534_daily_bin1779.fits outfile=/scratch/kocevski/41795/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin1779.fits ra=357.356 dec=5.579 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.33
user 5.03
sys 0.25

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

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

Number of photons that the gtmktime cut: 536

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/41795/ft1_filtered_4FGL_J2349.4+0534_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/41795/ft2_4FGL_J2349.4+0534_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/41795/ltcube_700444801_700704001_4FGL_J2349.4+0534_daily_bin1779.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/41795/ft2_4FGL_J2349.4+0534_daily_bin1779.fits
.....................!
real 11.77
user 11.37
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/41795/ft1_filtered_4FGL_J2349.4+0534_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/41795/ft2_4FGL_J2349.4+0534_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/41795/ltcube_700444801_700704001_4FGL_J2349.4+0534_daily_bin1779.fits outfile=/scratch/kocevski/41795/expmap_700444801_700704001_4FGL_J2349.4+0534_daily_bin1779.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/41795/ltcube_700444801_700704001_4FGL_J2349.4+0534_daily_bin1779.fits
.....................!
real 192.25
user 186.52
sys 5.37

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/41795/ft1_filtered_4FGL_J2349.4+0534_daily_bin1779.fits scfile=/scratch/kocevski/41795/ft2_4FGL_J2349.4+0534_daily_bin1779.fits outfile=/scratch/kocevski/41795/cmap_700444801_700704001_4FGL_J2349.4+0534_daily_bin1779.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/41795/ft1_filtered_4FGL_J2349.4+0534_daily_bin1779.fits scfile=/scratch/kocevski/41795/ft2_4FGL_J2349.4+0534_daily_bin1779.fits outfile=/scratch/kocevski/41795/cmap_HighResolution_700444801_700704001_4FGL_J2349.4+0534_daily_bin1779.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.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16629E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .17102E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .33289E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.5436       1.0000          .0000       .10000E+07
     5 'Prefactor '    .65786E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    5.4973       1.0000          .0000       .10000E+07
     7 'norm      '    .85673E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.5640       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19363       1.0000          .0000       .10000E+07
    10 'norm      '    .11625E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.4434       1.0000          .0000       .10000E+07
    12 'Prefactor '    .61890E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .22937E-02   1.0000          .0000       .10000E+07
    14 'norm      '    25.246       1.0000          .0000       .10000E+07
    15 'Prefactor '    40.317       1.0000          .0000       .10000E+07
    16 'Prefactor '    57.532       1.0000          .0000       .10000E+07
    17 'Prefactor '    .63637E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    .77398       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2793       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=   5877.293     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1432 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38192E-06    7.0218       -.20638E-07** at limit **
   2  norm           .0000        1.8467       -.11413E-05** at limit **
   3  norm           .0000        2.6465        .21400E-05** at limit **
   4  Prefactor     2.5370        7.3985        .10359E-06    .47880E-03
   5  Prefactor     .21744E-06    18.006        .43432E-05** at limit **
   6  Prefactor     5.4488        2.2493       -.10671E-05   -.75911E-02
   7  norm           .0000        2.3030       -.58687E-06** at limit **
   8  Prefactor     4.6404        6.0246        .69579E-06   -.11762E-02
   9  Prefactor     .10906E-04    20.055        .78497E-05** at limit **
  10  norm          .12929E-06    4.9114       -.26270E-05** at limit **
  11  Prefactor     1.3594        6.5963        .27903E-05   -.15845E-02
  12  Prefactor     .21827E-06    3.1733       -.95977E-06** at limit **
  13  norm          .19795E-06    6.3189       -.17208E-05** at limit **
  14  norm          24.327        50.056       -.35497E-05    .22693E-01
  15  Prefactor     40.554        12.157        .70482E-06    .47064E-02
  16  Prefactor     57.831        15.036        .33563E-06    .96774E-01
  17  Prefactor     .21910E-06    17.039       -.97520E-05** at limit **
  18  Normalizat    .77355        .25640        .35639E-04    .90250E-04
  19  Prefactor     1.2795        .18223       -.10075E-04    .23021E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.81917e-07
  norm       = 0
  norm       = 0
  Prefactor  = 2.53701
  Prefactor  = 2.17437e-07
  Prefactor  = 5.44878
  norm       = 0
  Prefactor  = 4.64041
  Prefactor  = 1.09057e-05
  norm       = 1.29285e-07
  Prefactor  = 1.35936
  Prefactor  = 2.1827e-07
  norm       = 1.97953e-07
  norm       = 24.3267
  Prefactor  = 40.5537
  Prefactor  = 57.8314
  Prefactor  = 2.19103e-07
  Normalizat = 0.77355
  Prefactor  = 1.27947
 **********
 **   18 **HESSE 
 **********

 FCN=   5877.293     FROM HESSE     STATUS=OK           304 CALLS     1736 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38192E-06    8.7168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        1.8286        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        2.6397        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.5370        7.4311        .64003E-03   -1.5676    
   5  Prefactor     .21744E-06    18.829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.4488        18.100        .42830E-03   -1.5661    
   7  norm           .0000        2.2034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.6404        6.0365        .47096E-03   -1.5665    
   9  Prefactor     .10906E-04    51.447        .11890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .12929E-06    7.9938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.3594        6.6694        .89723E-03   -1.5685    
  12  Prefactor     .21827E-06    8.2437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .19795E-06    6.9646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          24.327        52.732        .19907E-03   -1.5609    
  15  Prefactor     40.554        12.457        .15751E-03   -1.5581    
  16  Prefactor     57.831        46.069        .13185E-03   -1.5556    
  17  Prefactor     .21910E-06    17.980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .77355        .22957        .79808E-01   -1.0106    
  19  Prefactor     1.2795        .16179        .32981E-01   -.83919    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24981e-06
Minuit parameter uncertainties:
  1  0.00364907
  2  3.2729e-06
  3  1.28452e-05
  4  7.43112
  5  0.0040469
  6  18.0998
  7  4.62775e-06
  8  6.03646
  9  0.0473739
  10  0.00203325
  11  6.02203
  12  0.00268282
  13  0.00234841
  14  52.7334
  15  12.4571
  16  46.0692
  17  0.00396948
  18  0.229861
  19  0.161852
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  2.191e-07  3.969e-03  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.279e+00  1.619e-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:  7.736e-01  2.299e-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: 9.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/41795/likelihoodResults_700444801_700704001_4FGL_J2349.4+0534_daily_bin1779.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) = 5877.32002185
delta logL = -0.0269972745036

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5877.29302458
delta logL = -6.53562892694e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80325E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0326       1.0000          .0000       10.000    
     3 'Normalizat'    .77353       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2795       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=   5877.293     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      199 TOTAL
                     EDM=   .87E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12768E-08    18.300        .23870E-05** at limit **
   2  Index         2.3773        6.1712       -.25799E-04    .17201E-10
   3  Normalizat    .77355        .24895        .31863E-05   -.15591E-03
   4  Prefactor     1.2795        .17904        .52325E-06   -.35592E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.27676e-09
  Index      = 2.37727
  Normalizat = 0.773552
  Prefactor  = 1.27947
 **********
 **   18 **HESSE 
 **********

 FCN=   5877.293     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      234 TOTAL
                     EDM=   .23E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12768E-08    .53956        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3773        5.7858        .41056       -.55218    
   3  Normalizat    .77355        .96107E-03    .79808E-01   -1.0106    
   4  Prefactor     1.2795        .69453E-03    .32977E-01   -.83920    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.30152e-12
Minuit parameter uncertainties:
  1  5.3002e-05
  2  10429.9
  3  0.000961067
  4  0.000694529
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/41795': 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) = 5877.29302457
delta logL = 6.02631189395e-09

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  1.277e-09  5.300e-05  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.377e+00  1.043e+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:  1.279e+00  6.945e-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:  7.736e-01  9.611e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/41795/cmap_HighResolution_700444801_700704001_4FGL_J2349.4+0534_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.63e-03', job_status='DONE', photon_flux_upper_limit='9.83e-08', time_completed='2023-03-17 02:49:47.484703', job_id='41795', GAL2='1.28', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1679046587.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.28', dlogl='6.03e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1779' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 02:49:47 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 41795: <4FGL_J2349.4+0534_daily_bin1779> in cluster <slac> Done

Job <4FGL_J2349.4+0534_daily_bin1779> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Mar 17 02:40:18 2023
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 02:40:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 02:40:19 2023
Terminated at Fri Mar 17 02:49:48 2023
Results reported at Fri Mar 17 02:49:48 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.4+0534_daily_bin1779 357.356 5.579 700444801 700704001 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 :                                   547.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             312.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   568 sec.
    Turnaround time :                            570 sec.

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

