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


Performing analysis on: 4FGL_J2352.0+1750_daily_bin1747
RA = 358.013, Dec = 17.8394
tmin = 692150401, tmax = 692409601
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='817417', job_status='RUN', time_executed='2022-12-11 01:56:43.733101', time_epoch_executed='1670752603.73' WHERE source_name='4FGL J2352.0+1750' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/817417

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/817417/ft1_4FGL_J2352.0+1750_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/817417/ft2_4FGL_J2352.0+1750_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/817417/ft1_4FGL_J2352.0+1750_daily_bin1747.fits outfile=/scratch/kocevski/817417/ft1_filteredMKT_4FGL_J2352.0+1750_daily_bin1747.fits ra=358.013 dec=17.8394 rad=12.0 tmin=692150401.0 tmax=692409601.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.02
user 3.80
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/817417/ft2_4FGL_J2352.0+1750_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/817417/ft2_4FGL_J2352.0+1750_daily_bin1747.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/817417/ft1_filteredMKT_4FGL_J2352.0+1750_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/817417/ft1_filtered_4FGL_J2352.0+1750_daily_bin1747.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: 771

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/817417/ft1_filtered_4FGL_J2352.0+1750_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/817417/ft2_4FGL_J2352.0+1750_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/817417/ltcube_692150401_692409601_4FGL_J2352.0+1750_daily_bin1747.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/817417/ft2_4FGL_J2352.0+1750_daily_bin1747.fits
.....................!
real 11.87
user 11.49
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/817417/ft1_filtered_4FGL_J2352.0+1750_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/817417/ft2_4FGL_J2352.0+1750_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/817417/ltcube_692150401_692409601_4FGL_J2352.0+1750_daily_bin1747.fits outfile=/scratch/kocevski/817417/expmap_692150401_692409601_4FGL_J2352.0+1750_daily_bin1747.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/817417/ltcube_692150401_692409601_4FGL_J2352.0+1750_daily_bin1747.fits
.....................!
real 192.66
user 186.93
sys 5.39

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

Setting source of interest to:
4FGL J2352.0+1750 @ 358.013 17.8394

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/817417/ft1_filtered_4FGL_J2352.0+1750_daily_bin1747.fits scfile=/scratch/kocevski/817417/ft2_4FGL_J2352.0+1750_daily_bin1747.fits outfile=/scratch/kocevski/817417/cmap_692150401_692409601_4FGL_J2352.0+1750_daily_bin1747.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=358.013 yref=17.8394 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/817417/ft1_filtered_4FGL_J2352.0+1750_daily_bin1747.fits scfile=/scratch/kocevski/817417/ft2_4FGL_J2352.0+1750_daily_bin1747.fits outfile=/scratch/kocevski/817417/cmap_HighResolution_692150401_692409601_4FGL_J2352.0+1750_daily_bin1747.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=358.013 yref=17.8394 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/817417/ft1_filtered_4FGL_J2352.0+1750_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/817417/ft2_4FGL_J2352.0+1750_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/817417/Model_4FGL_J2352.0+1750_daily_bin1747.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/817417/ft1_filtered_4FGL_J2352.0+1750_daily_bin1747.fits.....................!
real 90.21
user 88.73
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/817417/ft1_filtered_4FGL_J2352.0+1750_daily_bin1747.fits', '/scratch/kocevski/817417/ft2_4FGL_J2352.0+1750_daily_bin1747.fits', expMap='/scratch/kocevski/817417/expmap_692150401_692409601_4FGL_J2352.0+1750_daily_bin1747.fits', expCube='/scratch/kocevski/817417/ltcube_692150401_692409601_4FGL_J2352.0+1750_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/817417/Model_4FGL_J2352.0+1750_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2352.0+1750'

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  1.218e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.066e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/817417/ft1_filtered_4FGL_J2352.0+1750_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/817417/ft2_4FGL_J2352.0+1750_daily_bin1747.fits
Exposure map: /scratch/kocevski/817417/expmap_692150401_692409601_4FGL_J2352.0+1750_daily_bin1747.fits
Exposure cube: /scratch/kocevski/817417/ltcube_692150401_692409601_4FGL_J2352.0+1750_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/817417/Model_4FGL_J2352.0+1750_daily_bin1747.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) = 8104.8316358

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7192       1.0000          .0000       .10000E+07
     2 'Prefactor '    27.015       1.0000          .0000       .10000E+07
     3 'Prefactor '    .14712E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.0557       1.0000          .0000       .10000E+07
     5 'norm      '    8.5801       1.0000          .0000       .10000E+07
     6 'Prefactor '    16.636       1.0000          .0000       .10000E+07
     7 'Prefactor '    .13343E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .18005E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .34941E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.7946       1.0000          .0000       .10000E+07
    11 'norm      '    9.5170       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1986       1.0000          .0000       .10000E+07
    13 'Prefactor '    29.023       1.0000          .0000       .10000E+07
    14 'norm      '    39.714       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11158E-06   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0961       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1610       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8104.807     FROM MIGRAD    STATUS=CONVERGED    118 CALLS      943 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7170        2.0179       -.29331E-07   -.38187E-03
   2  Prefactor     26.996        2.3402       -.11567E-07    .71222E-01
   3  Prefactor     .22204E-09    3.9838       -.83925E-07** at limit **
   4  Prefactor     4.0509        3.2254       -.24340E-08   -.26675E-03
   5  norm          8.5594        7.9494       -.22550E-07   -.83213E-03
   6  Prefactor     17.271        20.540        .70999E-08   -.39915E-02
   7  Prefactor      .0000        2.1917        .39042E-07** at limit **
   8  Prefactor     .22204E-09    78.687        .15285E-06** at limit **
   9  Prefactor     .61062E-09    5.0331        .97032E-07** at limit **
  10  Prefactor     6.8737        17.888       -.13400E-06   -.16494E-02
  11  norm          9.5502        11.181        .88805E-07    .23319E-02
  12  Prefactor     2.2537        8.8121        .10708E-06   -.46806E-03
  13  Prefactor     29.211        6.5649       -.81686E-09    .34149E-01
  14  norm          39.776        3.3239        .51729E-08   -.23149E-01
  15  Prefactor      .0000        1.5753        .65932E-08** at limit **
  16  Normalizat    1.0952        .23916       -.40160E-06   -.21024E-05
  17  Prefactor     1.1612        .15233        .53337E-06   -.27681E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.71703
  Prefactor  = 26.9958
  Prefactor  = 2.22045e-10
  Prefactor  = 4.0509
  norm       = 8.55939
  Prefactor  = 17.2713
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 6.10623e-10
  Prefactor  = 6.87373
  norm       = 9.55019
  Prefactor  = 2.25374
  Prefactor  = 29.2107
  norm       = 39.7761
  Prefactor  = 0
  Normalizat = 1.09524
  Prefactor  = 1.16118
 **********
 **   18 **HESSE 
 **********

 FCN=   8104.807     FROM HESSE     STATUS=OK           267 CALLS     1210 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7170        2.0355        .61734E-03   -1.5675    
   2  Prefactor     26.996        10.885        .19243E-03   -1.5604    
   3  Prefactor     .22204E-09    4.0085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.0509        3.2428        .50043E-03   -1.5668    
   5  norm          8.5594        7.9506        .34198E-03   -1.5649    
   6  Prefactor     17.271        21.447        .24529E-03   -1.5625    
   7  Prefactor      .0000        2.1989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-09    7.2229        .56504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .61062E-09    5.0828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.8737        19.286        .38469E-03   -1.5656    
  11  norm          9.5502        12.170        .32460E-03   -1.5646    
  12  Prefactor     2.2537        9.7229        .69365E-03   -1.5678    
  13  Prefactor     29.211        23.335        .18565E-03   -1.5600    
  14  norm          39.776        17.611        .15870E-03   -1.5582    
  15  Prefactor      .0000        1.5786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0952        .21036        .74058E-01   -.89905    
  17  Prefactor     1.1612        .13232        .35625E-01   -.87534    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.8506e-07
Minuit parameter uncertainties:
  1  2.03552
  2  10.8846
  3  5.80904e-05
  4  3.2428
  5  7.95066
  6  21.4471
  7  5.56387e-06
  8  8.33954e-05
  9  0.000109574
  10  19.2859
  11  12.1701
  12  9.36228
  13  23.3354
  14  17.6106
  15  5.7276e-07
  16  0.210524
  17  0.13236
Done.

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

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  0.000e+00  5.728e-07  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.066e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.161e+00  1.324e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  1.095e+00  2.105e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 358.013 17.839
Photon Flux Upper Limit: 3.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/817417/likelihoodResults_692150401_692409601_4FGL_J2352.0+1750_daily_bin1747.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) = 8104.80695316
delta logL = -0.000138250734381

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8104.80681502
delta logL = -1.07507730718e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8104.807     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      262 TOTAL
                     EDM=   .45E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .63831E-02    .42118E-03** at limit **
   2  Index         2.0427        5.2778        .44800        .15226E-09
   3  Normalizat    1.0952        .32503E-03    .74058E-01   -.11541E-02
   4  Prefactor     1.1612        .21210E-03    .35622E-01   -.18429E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 2.04268
  Normalizat = 1.09524
  Prefactor  = 1.16118
 **********
 **   18 **HESSE 
 **********

 FCN=   8104.807     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      291 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    .23778E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0427        5.6499        .50000       -.63287    
   3  Normalizat    1.0952        .62601E-03    .32774E-03   -.89905    
   4  Prefactor     1.1612        .40914E-03    .20753E-03   -.87534    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.55683e-12
Minuit parameter uncertainties:
  1  3.52245e-06
  2  3425.78
  3  0.000626011
  4  0.000409143
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/817417': 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) = 8104.80681491
delta logL = -1.05319486465e-09

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  1.110e-10  3.522e-06  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.043e+00  3.426e+03  0.000e+00  1.000e+01 (-1.000e+00)
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.161e+00  4.091e-04  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  1.095e+00  6.260e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 358.013 17.839

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/817417/cmap_HighResolution_692150401_692409601_4FGL_J2352.0+1750_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.80e-03', job_status='DONE', photon_flux_upper_limit='3.71e-08', time_completed='2022-12-11 02:06:00.741464', job_id='817417', GAL2='1.16', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1670753160.74', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='-1.05e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='1747' AND source_name='4FGL J2352.0+1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 02:06:00 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 817417: <4FGL_J2352.0+1750_daily_bin1747> in cluster <slac> Done

Job <4FGL_J2352.0+1750_daily_bin1747> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Dec 11 01:55:15 2022
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:55:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:55:16 2022
Terminated at Sun Dec 11 02:06:01 2022
Results reported at Sun Dec 11 02:06:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2352.0+1750_daily_bin1747 358.013 17.8394 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2352.0+1750 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   559.18 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             314.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   645 sec.
    Turnaround time :                            646 sec.

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

