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


Performing analysis on: 4FGL_J0359.6+5057_monthly_bin174
RA = 59.9158, Dec = 50.959
tmin = 688003201, tmax = 690595201
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='838877', job_status='RUN', time_executed='2022-11-20 00:57:30.316185', time_epoch_executed='1668934650.32' WHERE source_name='4FGL J0359.6+5057' and cadence='monthly' and bin_id='174'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/838877

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/838877/ft1_4FGL_J0359.6+5057_monthly_bin174.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/838877/ft2_4FGL_J0359.6+5057_monthly_bin174.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/838877/ft1_4FGL_J0359.6+5057_monthly_bin174.fits outfile=/scratch/kocevski/838877/ft1_filteredMKT_4FGL_J0359.6+5057_monthly_bin174.fits ra=59.9158 dec=50.959 rad=12.0 tmin=688003201.0 tmax=690595201.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 31.94
user 30.95
sys 0.89

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/838877/ft2_4FGL_J0359.6+5057_monthly_bin174.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/838877/ft2_4FGL_J0359.6+5057_monthly_bin174.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/838877/ft1_filteredMKT_4FGL_J0359.6+5057_monthly_bin174.fits evtable="EVENTS" outfile="/scratch/kocevski/838877/ft1_filtered_4FGL_J0359.6+5057_monthly_bin174.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.87
user 0.68
sys 0.19

Number of photons that the gtmktime cut: 30731

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/838877/ft1_filtered_4FGL_J0359.6+5057_monthly_bin174.fits" evtable="EVENTS" scfile=/scratch/kocevski/838877/ft2_4FGL_J0359.6+5057_monthly_bin174.fits sctable="SC_DATA" outfile=/scratch/kocevski/838877/ltcube_688003201_690595201_4FGL_J0359.6+5057_monthly_bin174.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/838877/ft2_4FGL_J0359.6+5057_monthly_bin174.fits
.....................!
real 116.45
user 115.81
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/838877/ft1_filtered_4FGL_J0359.6+5057_monthly_bin174.fits evtable="EVENTS" scfile=/scratch/kocevski/838877/ft2_4FGL_J0359.6+5057_monthly_bin174.fits sctable="SC_DATA" expcube=/scratch/kocevski/838877/ltcube_688003201_690595201_4FGL_J0359.6+5057_monthly_bin174.fits outfile=/scratch/kocevski/838877/expmap_688003201_690595201_4FGL_J0359.6+5057_monthly_bin174.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/838877/ltcube_688003201_690595201_4FGL_J0359.6+5057_monthly_bin174.fits
.....................!
real 191.62
user 186.30
sys 4.90

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
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Extended source W 3 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Extended source HB 3 in ROI with RadialDisk spatial model.
Added 166 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0359.6+5057 @ 59.9158 50.959

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/838877/ft1_filtered_4FGL_J0359.6+5057_monthly_bin174.fits scfile=/scratch/kocevski/838877/ft2_4FGL_J0359.6+5057_monthly_bin174.fits outfile=/scratch/kocevski/838877/cmap_688003201_690595201_4FGL_J0359.6+5057_monthly_bin174.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=59.9158 yref=50.959 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.87
user 0.66
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/838877/ft1_filtered_4FGL_J0359.6+5057_monthly_bin174.fits scfile=/scratch/kocevski/838877/ft2_4FGL_J0359.6+5057_monthly_bin174.fits outfile=/scratch/kocevski/838877/cmap_HighResolution_688003201_690595201_4FGL_J0359.6+5057_monthly_bin174.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=59.9158 yref=50.959 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.85
user 0.67
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/838877/ft1_filtered_4FGL_J0359.6+5057_monthly_bin174.fits evtable="EVENTS" scfile=/scratch/kocevski/838877/ft2_4FGL_J0359.6+5057_monthly_bin174.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/838877/Model_4FGL_J0359.6+5057_monthly_bin174.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 G150.3+4.5
adding source GAL_V02
adding source HB 3
adding source HB 9
adding source W 3
Working on...
/scratch/kocevski/838877/ft1_filtered_4FGL_J0359.6+5057_monthly_bin174.fits.....................!
real 4814.29
user 4802.19
sys 3.02

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/838877/ft1_filtered_4FGL_J0359.6+5057_monthly_bin174.fits', '/scratch/kocevski/838877/ft2_4FGL_J0359.6+5057_monthly_bin174.fits', expMap='/scratch/kocevski/838877/expmap_688003201_690595201_4FGL_J0359.6+5057_monthly_bin174.fits', expCube='/scratch/kocevski/838877/ltcube_688003201_690595201_4FGL_J0359.6+5057_monthly_bin174.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/838877/Model_4FGL_J0359.6+5057_monthly_bin174.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0359.6+5057'

4FGL J0359.6+5057
   Spectrum: LogParabola
320         norm:  8.547e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
321        alpha:  2.635e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
322         beta:  1.244e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
323           Eb:  7.364e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/838877/ft1_filtered_4FGL_J0359.6+5057_monthly_bin174.fits
Spacecraft file(s): /scratch/kocevski/838877/ft2_4FGL_J0359.6+5057_monthly_bin174.fits
Exposure map: /scratch/kocevski/838877/expmap_688003201_690595201_4FGL_J0359.6+5057_monthly_bin174.fits
Exposure cube: /scratch/kocevski/838877/ltcube_688003201_690595201_4FGL_J0359.6+5057_monthly_bin174.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/838877/Model_4FGL_J0359.6+5057_monthly_bin174.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) = 291132.708633

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52895       1.0000          .0000       .10000E+07
     2 'norm      '    6.6124       1.0000          .0000       .10000E+07
     3 'norm      '    4.3666       1.0000          .0000       .10000E+07
     4 'Prefactor '    .80207E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .81433E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    13.869       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.5922       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.0608       1.0000          .0000       .10000E+07
     9 'norm      '    9.3816       1.0000          .0000       .10000E+07
    10 'Prefactor '    .67541E-04   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.3699       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .97111       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   291132.7     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      748 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .52641        .79320        .12578E-07    .91985E-02
   2  norm          6.6111        1.3732        .21393E-07   -.76593E-02
   3  norm          4.3662        .29793       -.43872E-07    .91768E-01
   4  Prefactor      .0000        3.0765        .23447E-05** at limit **
   5  norm          .44409E-09    4.7455        .37457E-05** at limit **
   6  Prefactor     13.841        6.7226       -.76023E-06   -.49910E-02
   7  Prefactor     1.5908        1.0540        .31313E-06   -.24377E-01
   8  Prefactor     4.0447        1.5694        .46059E-07    .18961E-01
   9  norm          9.3823        2.8060       -.32540E-06   -.13968E-02
  10  Prefactor     .38858E-09    4.7166       -.15833E-05** at limit **
  11  Normalizat    1.3703        .10549       -.20523E-05   -.29049E-03
  12  Prefactor     .97110        .10663E-01   -.13588E-06   -.16222E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.526413
  norm       = 6.61105
  norm       = 4.36615
  Prefactor  = 0
  norm       = 4.44089e-10
  Prefactor  = 13.8415
  Prefactor  = 1.59081
  Prefactor  = 4.04468
  norm       = 9.38233
  Prefactor  = 3.88578e-10
  Normalizat = 1.37034
  Prefactor  = 0.971103
 **********
 **   18 **HESSE 
 **********

 FCN=   291132.7     FROM HESSE     STATUS=OK           159 CALLS      907 TOTAL
                     EDM=   .23E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .52641        .78934        .75849E-03   -1.5693    
   2  norm          6.6111        1.3754        .39001E-03   -1.5657    
   3  norm          4.3662        .29920        .48176E-03   -1.5666    
   4  Prefactor      .0000        3.0876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .44409E-09    4.7494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.841        6.7990        .26870E-03   -1.5634    
   7  Prefactor     1.5908        1.0649        .84049E-03   -1.5683    
   8  Prefactor     4.0447        8.5911        .50011E-03   -1.5668    
   9  norm          9.3823        2.8156        .32695E-03   -1.5647    
  10  Prefactor     .38858E-09    4.5701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.3703        .10717        .21886       -.81491    
  12  Prefactor     .97110        .10466E-01    .26325E-01   -.93699    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33026e-05
Minuit parameter uncertainties:
  1  0.78934
  2  1.37535
  3  0.299197
  4  7.10286e-06
  5  9.40863e-05
  6  6.79903
  7  1.06491
  8  8.59117
  9  2.81559
  10  8.64967e-05
  11  0.107188
  12  0.0104656
Done.

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

Extracting fit parameters...

4FGL J0359.6+5057
   Spectrum: LogParabola
320         norm:  9.382e+00  2.816e+00  0.000e+00  1.000e+06 ( 1.000e-12)
321        alpha:  2.635e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
322         beta:  1.244e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
323           Eb:  7.364e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  9.711e-01  1.047e-02  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  1.370e+00  1.072e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.43
Ra Dec: 59.916 50.959
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 8.42e-08 +/- 2.52e-08
Energy Flux (Fixed Index): 2.25e-05 +/- 6.74e-06

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) = 291132.672487
delta logL = 0.00204349105479

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 291132.670705
delta logL = 0.00382558687124

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.2001       1.0000          .0000       .10000E+07
     2 'alpha     '    2.6681       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3688       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97114       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   291132.7     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      263 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.1972        4.8229        .66036E-04   -.12032E-01
   2  alpha         2.6682        .51719        .37948E-01    .29694E-03
   3  Normalizat    1.3688        .10420        .97713E-03    .74462E-05
   4  Prefactor     .97115        .10634E-01    .11634E-03    .68793E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.19724
  alpha      = 2.66825
  Normalizat = 1.36882
  Prefactor  = 0.971147
 **********
 **   18 **HESSE 
 **********

 FCN=   291132.7     FROM HESSE     STATUS=OK            25 CALLS      288 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.1972        3.5556        .26414E-05   -1.5647    
   2  alpha         2.6682        .38258        .15179E-02    .67350E-01
   3  Normalizat    1.3688        .10269        .39085E-04   -.81535    
   4  Prefactor     .97115        .10587E-01    .46537E-05   -.93698    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21404e-10
Minuit parameter uncertainties:
  1  3.55563
  2  0.3841
  3  0.102704
  4  0.0105868
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/838877': 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) = 291132.670704
delta logL = 0.00382590584923

Extracting fit parameters...

4FGL J0359.6+5057
   Spectrum: LogParabola
320         norm:  9.197e+00  3.556e+00  0.000e+00  1.000e+06 ( 1.000e-12)
321        alpha:  2.668e+00  3.841e-01  0.000e+00  5.000e+00 ( 1.000e+00)
322         beta:  1.244e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
323           Eb:  7.364e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  9.711e-01  1.059e-02  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  1.369e+00  1.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.43
Ra Dec: 59.916 50.959
Photon Index (Free Index): 2.67 +/- 0.38
Photon Flux (Free Index): 8.62e-08 +/- 3.41e-08
Energy Flux (Free Index): 2.25e-05 +/- 6.70e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /scratch/kocevski/838877/cmap_HighResolution_688003201_690595201_4FGL_J0359.6+5057_monthly_bin174.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.42e-08', energy_flux2='2.25e-05', photon_flux_error='2.52e-08', dlogl='3.83e-03', energy_flux='2.25e-05', photon_flux2='8.62e-08', job_status='DONE', time_completed='2022-11-20 03:43:41.208338', photon_index_error2='0.38', photon_index2='2.67', ts='13.43', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='6.70e-06', EG='1.37', time_epoch_completed='1668944621.21', return_code='0', job_id='838877', GAL2='0.97', EG2='1.37', return_code2='0', energy_flux_error='6.74e-06', photon_flux_error2='3.41e-08', ts2='13.43', photon_index='2.64' WHERE bin_id='174' AND source_name='4FGL J0359.6+5057' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sun Nov 20 03:43:41 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 838877: <4FGL_J0359.6+5057_monthly_bin174> in cluster <slac> Done

Job <4FGL_J0359.6+5057_monthly_bin174> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:55:33 2022
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:56:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:56:15 2022
Terminated at Sun Nov 20 03:43:43 2022
Results reported at Sun Nov 20 03:43:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0359.6+5057_monthly_bin174 59.9158 50.959 688003201 690595201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0359.6+5057 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   9939.00 sec.
    Max Memory :                                 762 MB
    Average Memory :                             666.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10047 sec.
    Turnaround time :                            10090 sec.

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

