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


Performing analysis on: 4FGL_J2352.0+1750_weekly_bin749
RA = 358.013, Dec = 17.8394
tmin = 691977601, tmax = 692582401
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='547007', job_status='RUN', time_executed='2022-12-13 02:11:10.557439', time_epoch_executed='1670926270.56' WHERE source_name='4FGL J2352.0+1750' and cadence='weekly' and bin_id='749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/547007

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/547007/ft1_4FGL_J2352.0+1750_weekly_bin749.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/547007/ft2_4FGL_J2352.0+1750_weekly_bin749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/547007/ft1_4FGL_J2352.0+1750_weekly_bin749.fits outfile=/scratch/kocevski/547007/ft1_filteredMKT_4FGL_J2352.0+1750_weekly_bin749.fits ra=358.013 dec=17.8394 rad=12.0 tmin=691977601.0 tmax=692582401.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 9.19
user 8.80
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/547007/ft2_4FGL_J2352.0+1750_weekly_bin749.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/547007/ft1_filteredMKT_4FGL_J2352.0+1750_weekly_bin749.fits evtable="EVENTS" outfile="/scratch/kocevski/547007/ft1_filtered_4FGL_J2352.0+1750_weekly_bin749.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.58
user 0.38
sys 0.15

Number of photons that the gtmktime cut: 1670

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/547007/ft1_filtered_4FGL_J2352.0+1750_weekly_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/547007/ft2_4FGL_J2352.0+1750_weekly_bin749.fits sctable="SC_DATA" expcube=/scratch/kocevski/547007/ltcube_691977601_692582401_4FGL_J2352.0+1750_weekly_bin749.fits outfile=/scratch/kocevski/547007/expmap_691977601_692582401_4FGL_J2352.0+1750_weekly_bin749.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/547007/ltcube_691977601_692582401_4FGL_J2352.0+1750_weekly_bin749.fits
.....................!
real 190.50
user 185.43
sys 4.75

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/547007/ft1_filtered_4FGL_J2352.0+1750_weekly_bin749.fits scfile=/scratch/kocevski/547007/ft2_4FGL_J2352.0+1750_weekly_bin749.fits outfile=/scratch/kocevski/547007/cmap_691977601_692582401_4FGL_J2352.0+1750_weekly_bin749.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.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/547007/ft1_filtered_4FGL_J2352.0+1750_weekly_bin749.fits scfile=/scratch/kocevski/547007/ft2_4FGL_J2352.0+1750_weekly_bin749.fits outfile=/scratch/kocevski/547007/cmap_HighResolution_691977601_692582401_4FGL_J2352.0+1750_weekly_bin749.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.58
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .60474       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.615       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.8383       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.5105       1.0000          .0000       .10000E+07
     5 'norm      '    11.283       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.4538       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11463E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .68707       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.0093       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24131       1.0000          .0000       .10000E+07
    11 'norm      '    2.9188       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.6090       1.0000          .0000       .10000E+07
    13 'Prefactor '    17.315       1.0000          .0000       .10000E+07
    14 'norm      '    26.376       1.0000          .0000       .10000E+07
    15 'Prefactor '    .44803E-06   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0099       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1482       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=   17818.06     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      903 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .60607        .88586        .87950E-08   -.83098E-03
   2  Prefactor     17.521        3.1964       -.21076E-07    .53270E-01
   3  Prefactor     1.8603        4.8257        .17391E-07   -.10029E-01
   4  Prefactor     2.5086        2.0163       -.22841E-07   -.77233E-02
   5  norm          11.307        1.6820       -.59867E-08   -.11252E-01
   6  Prefactor     4.4294        2.4052        .45702E-07   -.71752E-01
   7  Prefactor     .11102E-09    1.7695        .77763E-07** at limit **
   8  Prefactor     .68130        2.5684        .33551E-07    .28562E-01
   9  Prefactor     1.9309        2.8073       -.23268E-07    .61846E-03
  10  Prefactor     .32330E-06    104.45        .73045E-06** at limit **
  11  norm          3.0817        6.4700        .57196E-07   -.21435E-02
  12  Prefactor     1.5005        4.9421       -.40061E-07   -.66978E-04
  13  Prefactor     17.318        1.1292        .63698E-08   -.18196E-01
  14  norm          26.378        1.3676       -.76907E-08    .69750E-01
  15  Prefactor     .55511E-10    1.1018       -.35915E-07** at limit **
  16  Normalizat    1.0107        .15071       -.14149E-05   -.11316E-02
  17  Prefactor     1.1480        .97413E-01   -.17647E-06   -.16268E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.606073
  Prefactor  = 17.5208
  Prefactor  = 1.86026
  Prefactor  = 2.50856
  norm       = 11.3075
  Prefactor  = 4.42945
  Prefactor  = 1.11022e-10
  Prefactor  = 0.681305
  Prefactor  = 1.93092
  Prefactor  = 3.23297e-07
  norm       = 3.08172
  Prefactor  = 1.50054
  Prefactor  = 17.318
  norm       = 26.3785
  Prefactor  = 5.55112e-11
  Normalizat = 1.01067
  Prefactor  = 1.14804
 **********
 **   18 **HESSE 
 **********

 FCN=   17818.06     FROM HESSE     STATUS=OK           269 CALLS     1172 TOTAL
                     EDM=   .40E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .60607        .90658        .68804E-03   -1.5692    
   2  Prefactor     17.521        6.6344        .23836E-03   -1.5624    
   3  Prefactor     1.8603        5.2952        .76913E-03   -1.5681    
   4  Prefactor     2.5086        2.0508        .64461E-03   -1.5676    
   5  norm          11.307        5.8409        .29800E-03   -1.5641    
   6  Prefactor     4.4294        12.858        .47690E-03   -1.5666    
   7  Prefactor     .11102E-09    1.7672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .68130        3.2077        .61764E-03   -1.5691    
   9  Prefactor     1.9309        6.0230        .73010E-03   -1.5680    
  10  Prefactor     .32330E-06    5.6474        .11082E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.0817        7.7171        .59439E-03   -1.5673    
  12  Prefactor     1.5005        6.0446        .83487E-03   -1.5683    
  13  Prefactor     17.318        14.195        .24042E-03   -1.5625    
  14  norm          26.378        9.8016        .19475E-03   -1.5605    
  15  Prefactor     .55511E-10    1.1034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0107        .13335        .72617E-01   -.92674    
  17  Prefactor     1.1480        .84713E-01    .35988E-01   -.87945    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.03979e-06
Minuit parameter uncertainties:
  1  0.90658
  2  6.63445
  3  5.29522
  4  2.05078
  5  5.84094
  6  12.8582
  7  2.49191e-05
  8  2.95662
  9  6.02299
  10  0.00270241
  11  7.71713
  12  6.02338
  13  14.1954
  14  9.80157
  15  1.59594e-05
  16  0.133391
  17  0.0847231
Done.

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

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  5.551e-11  1.596e-05  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.148e+00  8.472e-02  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.011e+00  1.334e-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: 2.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/547007/likelihoodResults_691977601_692582401_4FGL_J2352.0+1750_weekly_bin749.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) = 17818.0569953
delta logL = -0.000968868946075

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17818.0560265
delta logL = -6.35664036963e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51070E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.0047       1.0000          .0000       10.000    
     3 'Normalizat'    1.0106       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1480       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   17818.06     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      228 TOTAL
                     EDM=   .73E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .88588        .42118E-03** at limit **
   2  Index         2.3334        1.8117        .22790E-04     .0000    
   3  Normalizat    1.0107        1.3205       -.20724E-04    .99256E-04
   4  Prefactor     1.1480        1.1228        .11968E-04    .15585E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.33344
  Normalizat = 1.01068
  Prefactor  = 1.14805
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   17818.06     FROM HESSE     STATUS=FAILED         9 CALLS      237 TOTAL
                     EDM=   .73E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .88588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .60798        1.9825        .22790E-04   -.56251    
   3  Normalizat    1.0107        1.3205       -.20724E-04   -.92674    
   4  Prefactor     1.1480        1.1228        .11968E-04   -.87945    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.33268e-12
Minuit parameter uncertainties:
  1  4.47079e-06
  2  1.87222
  3  1.36743
  4  1.14741
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/547007': 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): 101
logL (Free Index) = 17818.0560264
delta logL = 4.11091605201e-10

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  0.000e+00  4.471e-06  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.333e+00  1.872e+00  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.148e+00  1.147e+00  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.011e+00  1.367e+00  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/547007/cmap_HighResolution_691977601_692582401_4FGL_J2352.0+1750_weekly_bin749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.82e-03', job_status='DONE', photon_flux_upper_limit='2.42e-08', time_completed='2022-12-13 02:26:35.520821', job_id='547007', GAL2='1.15', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1670927195.52', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='4.11e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='749' AND source_name='4FGL J2352.0+1750' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 13 02:26:35 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 547007: <4FGL_J2352.0+1750_weekly_bin749> in cluster <slac> Done

Job <4FGL_J2352.0+1750_weekly_bin749> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 13 02:10:29 2022
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 13 02:10:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 13 02:10:30 2022
Terminated at Tue Dec 13 02:26:36 2022
Results reported at Tue Dec 13 02:26:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2352.0+1750_weekly_bin749 358.013 17.8394 691977601 692582401 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 :                                   905.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             349.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   965 sec.
    Turnaround time :                            967 sec.

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

