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


Performing analysis on: 4FGL_J2352.0+1750_weekly_bin763
RA = 358.013, Dec = 17.8394
tmin = 700444801, tmax = 701049601
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='450772', job_status='RUN', time_executed='2023-03-21 03:12:50.310902', time_epoch_executed='1679393570.31' WHERE source_name='4FGL J2352.0+1750' and cadence='weekly' and bin_id='763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/450772

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

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=700444801.0 && nMetStart<701049601.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<701049601.0' /Data/Flight/Level1/LPA

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/450772/ft1_4FGL_J2352.0+1750_weekly_bin763.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/450772/ft2_4FGL_J2352.0+1750_weekly_bin763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/450772/ft1_4FGL_J2352.0+1750_weekly_bin763.fits outfile=/scratch/kocevski/450772/ft1_filteredMKT_4FGL_J2352.0+1750_weekly_bin763.fits ra=358.013 dec=17.8394 rad=12.0 tmin=700444801.0 tmax=701049601.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.67
user 9.28
sys 0.33

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

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

Number of photons that the gtmktime cut: 907

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/450772/ft1_filtered_4FGL_J2352.0+1750_weekly_bin763.fits evtable="EVENTS" scfile=/scratch/kocevski/450772/ft2_4FGL_J2352.0+1750_weekly_bin763.fits sctable="SC_DATA" expcube=/scratch/kocevski/450772/ltcube_700444801_701049601_4FGL_J2352.0+1750_weekly_bin763.fits outfile=/scratch/kocevski/450772/expmap_700444801_701049601_4FGL_J2352.0+1750_weekly_bin763.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/450772/ltcube_700444801_701049601_4FGL_J2352.0+1750_weekly_bin763.fits
.....................!
real 190.84
user 185.16
sys 5.19

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/450772/ft1_filtered_4FGL_J2352.0+1750_weekly_bin763.fits scfile=/scratch/kocevski/450772/ft2_4FGL_J2352.0+1750_weekly_bin763.fits outfile=/scratch/kocevski/450772/cmap_700444801_701049601_4FGL_J2352.0+1750_weekly_bin763.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.62
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/450772/ft1_filtered_4FGL_J2352.0+1750_weekly_bin763.fits scfile=/scratch/kocevski/450772/ft2_4FGL_J2352.0+1750_weekly_bin763.fits outfile=/scratch/kocevski/450772/cmap_HighResolution_700444801_701049601_4FGL_J2352.0+1750_weekly_bin763.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.57
user 0.42
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28540E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    25.804       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19384E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    7.4392       1.0000          .0000       .10000E+07
     5 'norm      '    6.0814       1.0000          .0000       .10000E+07
     6 'Prefactor '    13.058       1.0000          .0000       .10000E+07
     7 'Prefactor '    .43741       1.0000          .0000       .10000E+07
     8 'Prefactor '    .99731       1.0000          .0000       .10000E+07
     9 'Prefactor '    9.4892       1.0000          .0000       .10000E+07
    10 'Prefactor '    .88473E-03   1.0000          .0000       .10000E+07
    11 'norm      '    13.748       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.6252       1.0000          .0000       .10000E+07
    13 'Prefactor '    20.503       1.0000          .0000       .10000E+07
    14 'norm      '    .18913E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .30992E-06   1.0000          .0000       .10000E+07
    16 'Normalizat'    .55795       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2621       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9803.302     FROM MIGRAD    STATUS=CONVERGED    377 CALLS     1260 TOTAL
                     EDM=   .47E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-09    1.0502       -.84760E-08** at limit **
   2  Prefactor     25.692        10.974        .88161E-07    .18778E-04
   3  Prefactor      .0000        6.5351        .24997E-06** at limit **
   4  Prefactor     7.4381        3.1731        .52158E-07   -.33729E-03
   5  norm          6.0666        5.7366        .73865E-08    .14814E-03
   6  Prefactor     13.085        21.993       -.11882E-05   -.80238E-04
   7  Prefactor     .43552        .51243        .12084E-08   -.10463E-01
   8  Prefactor     1.0072        5.5290        .24995E-06   -.92628E-04
   9  Prefactor     9.4943        9.9531        .23219E-06   -.93937E-04
  10  Prefactor     .55511E-10    21.216        .25453E-07** at limit **
  11  norm          13.705        8.7269        .30533E-06    .13945E-03
  12  Prefactor     5.6664        5.6873       -.24709E-06   -.86601E-03
  13  Prefactor     20.455        18.825        .46660E-06    .25747E-05
  14  norm           .0000        5.8101       -.21232E-06** at limit **
  15  Prefactor      .0000        2.4299       -.40509E-07** at limit **
  16  Normalizat    .55784        .17589       -.50238E-06   -.18458E-04
  17  Prefactor     1.2622        .11402       -.68033E-07   -.15142E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-10
  Prefactor  = 25.6916
  Prefactor  = 0
  Prefactor  = 7.43813
  norm       = 6.06665
  Prefactor  = 13.0854
  Prefactor  = 0.435525
  Prefactor  = 1.00719
  Prefactor  = 9.4943
  Prefactor  = 5.55112e-11
  norm       = 13.7051
  Prefactor  = 5.66641
  Prefactor  = 20.4553
  norm       = 0
  Prefactor  = 0
  Normalizat = 0.557837
  Prefactor  = 1.26223
 **********
 **   18 **HESSE 
 **********

 FCN=   9803.302     FROM HESSE     STATUS=OK           231 CALLS     1491 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-09    5.2770        .18908E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     25.692        10.705        .78759E-05   -1.5607    
   3  Prefactor      .0000        6.5415        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.4381        3.1708        .54122E-04   -1.5653    
   5  norm          6.0666        5.7398        .16276E-04   -1.5659    
   6  Prefactor     13.085        21.966        .11078E-04   -1.5636    
   7  Prefactor     .43552        5.9776        .17055E-03   -1.5695    
   8  Prefactor     1.0072        5.5016        .17468E-04   -1.5688    
   9  Prefactor     9.4943        9.9382        .13003E-04   -1.5646    
  10  Prefactor     .55511E-10    21.287        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          13.705        8.7060        .10795E-04   -1.5634    
  12  Prefactor     5.6664        5.6757        .16933E-04   -1.5660    
  13  Prefactor     20.455        18.808        .88366E-05   -1.5618    
  14  norm           .0000        5.8126        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        2.4348        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .55784        .18908        .38782E-03   -1.0981    
  17  Prefactor     1.2622        .12509        .17946E-03   -.84437    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42327e-09
Minuit parameter uncertainties:
  1  0.000108745
  2  10.7052
  3  7.29962e-06
  4  3.17084
  5  5.7398
  6  21.966
  7  3.227
  8  4.70793
  9  9.93821
  10  6.20761e-05
  11  8.70605
  12  5.6757
  13  18.8077
  14  6.78683e-07
  15  2.16208e-07
  16  0.189297
  17  0.125121
Done.

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

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  0.000e+00  2.162e-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.262e+00  1.251e-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:  5.578e-01  1.893e-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: 4.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/450772/likelihoodResults_700444801_701049601_4FGL_J2352.0+1750_weekly_bin763.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) = 9803.3021635
delta logL = -0.00056562519967

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9803.30159808
delta logL = -2.04341631616e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72164E-09   1.0000          .0000       .10000E+07
     2 'Index     '    .86480       1.0000          .0000       10.000    
     3 'Normalizat'    .55776       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2622       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=   9803.302     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      270 TOTAL
                     EDM=   .69E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .89771E-03    .42118E-03** at limit **
   2  Index         2.8060        8.4324        .44555        .35723E-09
   3  Normalizat    .55784        .11873E-03    .87544E-01    .50765E-04
   4  Prefactor     1.2622        .80224E-04    .33302E-01    .58829E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 2.80604
  Normalizat = 0.557837
  Prefactor  = 1.26223
 **********
 **   18 **HESSE 
 **********

 FCN=   9803.302     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      303 TOTAL
                     EDM=   .55E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    .67645E-02    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8060        5.9789        .50000       -.45425    
   3  Normalizat    .55784        .32298E-03    .38782E-03   -1.0981    
   4  Prefactor     1.2622        .21887E-03    .17946E-03   -.84437    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.45089e-13
Minuit parameter uncertainties:
  1  1.79189e-06
  2  1075.1
  3  0.000322983
  4  0.000218868
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/450772': 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) = 9803.30159787
delta logL = -5.63886715099e-11

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  1.110e-10  1.792e-06  0.000e+00  1.000e+06 ( 1.000e-13)
477        Index:  2.806e+00  1.075e+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.262e+00  2.189e-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:  5.578e-01  3.230e-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/450772/cmap_HighResolution_700444801_701049601_4FGL_J2352.0+1750_weekly_bin763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.21e-03', job_status='DONE', photon_flux_upper_limit='4.26e-08', time_completed='2023-03-21 03:24:14.442775', job_id='450772', GAL2='1.26', fit_tolerance='1e-08', EG2='0.56', EG='0.56', time_epoch_completed='1679394254.44', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='-5.64e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='763' AND source_name='4FGL J2352.0+1750' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar 21 03:24:14 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 450772: <4FGL_J2352.0+1750_weekly_bin763> in cluster <slac> Done

Job <4FGL_J2352.0+1750_weekly_bin763> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Mar 21 03:10:23 2023
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 21 03:10:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 21 03:10:24 2023
Terminated at Tue Mar 21 03:24:15 2023
Results reported at Tue Mar 21 03:24:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2352.0+1750_weekly_bin763 358.013 17.8394 700444801 701049601 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 :                                   682.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            832 sec.

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

