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


Performing analysis on: 4FGL_J2352.0+1750_daily_bin1733
RA = 358.013, Dec = 17.8394
tmin = 688521601, tmax = 688780801
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='709842', job_status='RUN', time_executed='2022-10-30 00:41:01.061874', time_epoch_executed='1667115661.06' WHERE source_name='4FGL J2352.0+1750' and cadence='daily' and bin_id='1733'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/709842

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/709842/ft1_4FGL_J2352.0+1750_daily_bin1733.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/709842/ft2_4FGL_J2352.0+1750_daily_bin1733.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/709842/ft1_4FGL_J2352.0+1750_daily_bin1733.fits outfile=/scratch/kocevski/709842/ft1_filteredMKT_4FGL_J2352.0+1750_daily_bin1733.fits ra=358.013 dec=17.8394 rad=12.0 tmin=688521601.0 tmax=688780801.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 3.56
user 3.31
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/709842/ft2_4FGL_J2352.0+1750_daily_bin1733.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/709842/ft1_filteredMKT_4FGL_J2352.0+1750_daily_bin1733.fits evtable="EVENTS" outfile="/scratch/kocevski/709842/ft1_filtered_4FGL_J2352.0+1750_daily_bin1733.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.55
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 709

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/709842/ft1_filtered_4FGL_J2352.0+1750_daily_bin1733.fits" evtable="EVENTS" scfile=/scratch/kocevski/709842/ft2_4FGL_J2352.0+1750_daily_bin1733.fits sctable="SC_DATA" outfile=/scratch/kocevski/709842/ltcube_688521601_688780801_4FGL_J2352.0+1750_daily_bin1733.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/709842/ft2_4FGL_J2352.0+1750_daily_bin1733.fits
.....................!
real 12.33
user 11.93
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/709842/ft1_filtered_4FGL_J2352.0+1750_daily_bin1733.fits evtable="EVENTS" scfile=/scratch/kocevski/709842/ft2_4FGL_J2352.0+1750_daily_bin1733.fits sctable="SC_DATA" expcube=/scratch/kocevski/709842/ltcube_688521601_688780801_4FGL_J2352.0+1750_daily_bin1733.fits outfile=/scratch/kocevski/709842/expmap_688521601_688780801_4FGL_J2352.0+1750_daily_bin1733.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/709842/ltcube_688521601_688780801_4FGL_J2352.0+1750_daily_bin1733.fits
.....................!
real 190.84
user 185.06
sys 5.18

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/709842/ft1_filtered_4FGL_J2352.0+1750_daily_bin1733.fits scfile=/scratch/kocevski/709842/ft2_4FGL_J2352.0+1750_daily_bin1733.fits outfile=/scratch/kocevski/709842/cmap_688521601_688780801_4FGL_J2352.0+1750_daily_bin1733.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.56
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/709842/ft1_filtered_4FGL_J2352.0+1750_daily_bin1733.fits scfile=/scratch/kocevski/709842/ft2_4FGL_J2352.0+1750_daily_bin1733.fits outfile=/scratch/kocevski/709842/cmap_HighResolution_688521601_688780801_4FGL_J2352.0+1750_daily_bin1733.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/709842/ft1_filtered_4FGL_J2352.0+1750_daily_bin1733.fits evtable="EVENTS" scfile=/scratch/kocevski/709842/ft2_4FGL_J2352.0+1750_daily_bin1733.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/709842/Model_4FGL_J2352.0+1750_daily_bin1733.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/709842/ft1_filtered_4FGL_J2352.0+1750_daily_bin1733.fits.....................!
real 86.23
user 84.70
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/709842/ft1_filtered_4FGL_J2352.0+1750_daily_bin1733.fits', '/scratch/kocevski/709842/ft2_4FGL_J2352.0+1750_daily_bin1733.fits', expMap='/scratch/kocevski/709842/expmap_688521601_688780801_4FGL_J2352.0+1750_daily_bin1733.fits', expCube='/scratch/kocevski/709842/ltcube_688521601_688780801_4FGL_J2352.0+1750_daily_bin1733.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/709842/Model_4FGL_J2352.0+1750_daily_bin1733.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/709842/ft1_filtered_4FGL_J2352.0+1750_daily_bin1733.fits
Spacecraft file(s): /scratch/kocevski/709842/ft2_4FGL_J2352.0+1750_daily_bin1733.fits
Exposure map: /scratch/kocevski/709842/expmap_688521601_688780801_4FGL_J2352.0+1750_daily_bin1733.fits
Exposure cube: /scratch/kocevski/709842/ltcube_688521601_688780801_4FGL_J2352.0+1750_daily_bin1733.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/709842/Model_4FGL_J2352.0+1750_daily_bin1733.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) = 7948.89994986

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14224E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    71.722       1.0000          .0000       .10000E+07
     3 'Prefactor '    .57468E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1818       1.0000          .0000       .10000E+07
     5 'norm      '    .57955E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .44067       1.0000          .0000       .10000E+07
     7 'Prefactor '    .31865       1.0000          .0000       .10000E+07
     8 'Prefactor '    17.702       1.0000          .0000       .10000E+07
     9 'Prefactor '    .17746E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .40365E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .18702E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .89079E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6365       1.0000          .0000       .10000E+07
    14 'norm      '    7.2445       1.0000          .0000       .10000E+07
    15 'Prefactor '    .78610       1.0000          .0000       .10000E+07
    16 'Normalizat'    .72924       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2544       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=   7948.735     FROM MIGRAD    STATUS=CONVERGED    127 CALLS      957 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .94336E-01    11.980       -.19373E-05** at limit **
   2  Prefactor     72.046        12.511       -.89657E-06   -.13506    
   3  Prefactor     .55511E-10    4.7584        .56213E-06** at limit **
   4  Prefactor     3.1881        4.3253       -.26894E-07    .56777E-03
   5  norm          .55511E-09    15.023       -.22040E-05** at limit **
   6  Prefactor     .23480E-04    77.185        .96713E-05** at limit **
   7  Prefactor     .27982        6.5789        .25831E-05    .13732E-01
   8  Prefactor     17.884        8.8069       -.62982E-06   -.30154E-02
   9  Prefactor     .11102E-09    4.5984        .73673E-06** at limit **
  10  Prefactor     .52569E-07    12.842        .18991E-05** at limit **
  11  norm          .27756E-09    2.9366        .46921E-06** at limit **
  12  Prefactor     .55511E-10    3.3778        .29556E-06** at limit **
  13  Prefactor     4.7149        12.710       -.15961E-06    .17995E-01
  14  norm          7.0944        11.050       -.19777E-05   -.18333E-01
  15  Prefactor     .75963        .98084       -.45048E-06   -.69999E-02
  16  Normalizat    .72889        .23685       -.18970E-04   -.10662E-03
  17  Prefactor     1.2550        .14987        .56840E-05   -.24760E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0943364
  Prefactor  = 72.0456
  Prefactor  = 5.55112e-11
  Prefactor  = 3.18814
  norm       = 5.55112e-10
  Prefactor  = 2.34801e-05
  Prefactor  = 0.279824
  Prefactor  = 17.8838
  Prefactor  = 1.11022e-10
  Prefactor  = 5.25691e-08
  norm       = 2.77556e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 4.7149
  norm       = 7.0944
  Prefactor  = 0.759634
  Normalizat = 0.728891
  Prefactor  = 1.25496
 **********
 **   18 **HESSE 
 **********

 FCN=   7948.735     FROM HESSE     STATUS=OK           269 CALLS     1226 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .94336E-01    1.6992        .42118E-02   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     72.046        18.040        .11809E-03   -1.5538    
   3  Prefactor     .55511E-10    4.7558        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.1881        4.4532        .56785E-03   -1.5672    
   5  norm          .55511E-09    15.960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .23480E-04    17.205        .12635E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27982        4.5198        .99590E-02   -1.5697    
   8  Prefactor     17.884        8.8512        .23778E-03   -1.5623    
   9  Prefactor     .11102E-09    4.5886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .52569E-07    13.552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .27756E-09    2.9514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    3.3909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7149        41.888        .38929E-03   -1.5665    
  14  norm          7.0944        11.366        .37243E-03   -1.5655    
  15  Prefactor     .75963        8.4091        .53977E-03   -1.5691    
  16  Normalizat    .72889        .21880        .88728E-01   -1.0276    
  17  Prefactor     1.2550        .13447        .33457E-01   -.84656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6848e-07
Minuit parameter uncertainties:
  1  0.800733
  2  18.0402
  3  2.89665e-05
  4  4.45322
  5  0.000189077
  6  0.040198
  7  2.24923
  8  8.85123
  9  4.72549e-05
  10  0.00168844
  11  5.68004e-05
  12  2.37761e-05
  13  28.1071
  14  11.3665
  15  5.05485
  16  0.219063
  17  0.134505
Done.

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

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  7.596e-01  5.055e+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

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.255e+00  1.345e-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:  7.289e-01  2.191e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/709842/likelihoodResults_688521601_688780801_4FGL_J2352.0+1750_daily_bin1733.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) = 7948.12181917
delta logL = 0.612732667357

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7948.02077167
delta logL = 0.713780163145

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2094       1.0000          .0000       .10000E+07
     2 'Index     '    .90139       1.0000          .0000       10.000    
     3 'Normalizat'    .72029       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2587       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=   7948.021     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      218 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2101        2.8626        .69176E-03   -.29399E-03
   2  Index         .90146        .54864        .37137       -.79105E-04
   3  Normalizat    .72027        .20957        .89156E-01    .40354E-04
   4  Prefactor     1.2587        .13407        .33372E-01   -.54899E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.21008
  Index      = 0.901456
  Normalizat = 0.720273
  Prefactor  = 1.2587
 **********
 **   18 **HESSE 
 **********

 FCN=   7948.021     FROM HESSE     STATUS=OK            31 CALLS      249 TOTAL
                     EDM=   .48E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2101        4.3759        .16650E-04   -1.5678    
   2  Index         .90146        .82173        .16669E-02   -.96090    
   3  Normalizat    .72027        .23235        .39495E-03   -1.0310    
   4  Prefactor     1.2587        .14910        .19540E-03   -.84543    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.83604e-13
Minuit parameter uncertainties:
  1  4.37596
  2  0.833449
  3  0.232667
  4  0.149152
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/709842': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7948.02077165
delta logL = 0.713780185611

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  2.210e+00  4.376e+00  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  9.015e-01  8.334e-01  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.259e+00  1.492e-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:  7.203e-01  2.327e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.46
Ra Dec: 358.013 17.839
Photon Index (Free Index): 0.90 +/- 0.83
Photon Flux (Free Index): 3.20e-09 +/- 4.82e-09
Energy Flux (Free Index): 5.82e-05 +/- 9.50e-05

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/709842/cmap_HighResolution_688521601_688780801_4FGL_J2352.0+1750_daily_bin1733.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.08e-03', comment='SUCCESS', energy_flux2='5.82e-05', dlogl='7.14e-01', photon_flux2='3.20e-09', job_status='DONE', time_completed='2022-10-30 00:50:09.720315', photon_index_error2='0.83', photon_index2='0.90', ts='0.02', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', photon_flux_upper_limit='6.73e-08', energy_flux_error2='9.50e-05', EG='0.73', time_epoch_completed='1667116209.72', return_code='0', job_id='709842', GAL2='1.26', EG2='0.72', return_code2='0', photon_flux_error2='4.82e-09', ts2='1.46', photon_index='2.07' WHERE bin_id='1733' AND source_name='4FGL J2352.0+1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 30 00:50:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 709842: <4FGL_J2352.0+1750_daily_bin1733> in cluster <slac> Done

Job <4FGL_J2352.0+1750_daily_bin1733> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Oct 30 00:40:18 2022
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct 30 00:40:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct 30 00:40:19 2022
Terminated at Sun Oct 30 00:50:10 2022
Results reported at Sun Oct 30 00:50:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2352.0+1750_daily_bin1733 358.013 17.8394 688521601 688780801 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 :                                   550.07 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             338.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   591 sec.
    Turnaround time :                            592 sec.

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

