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 158 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0555.6+3947_monthly_bin167
RA = 88.9015, Dec = 39.7878
tmin = 669859201, tmax = 672451201
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='879086', job_status='RUN', time_executed='2022-04-24 01:06:36.484773', time_epoch_executed='1650787596.48' WHERE source_name='4FGL J0555.6+3947' and cadence='monthly' and bin_id='167'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/879086

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/879086/ft1_4FGL_J0555.6+3947_monthly_bin167.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/879086/ft2_4FGL_J0555.6+3947_monthly_bin167.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/879086/ft1_4FGL_J0555.6+3947_monthly_bin167.fits outfile=/scratch/kocevski/879086/ft1_filteredMKT_4FGL_J0555.6+3947_monthly_bin167.fits ra=88.9015 dec=39.7878 rad=12.0 tmin=669859201.0 tmax=672451201.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 37.89
user 36.87
sys 0.94

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/879086/ft2_4FGL_J0555.6+3947_monthly_bin167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/879086/ft2_4FGL_J0555.6+3947_monthly_bin167.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/879086/ft1_filteredMKT_4FGL_J0555.6+3947_monthly_bin167.fits evtable="EVENTS" outfile="/scratch/kocevski/879086/ft1_filtered_4FGL_J0555.6+3947_monthly_bin167.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.93
user 0.67
sys 0.18

Number of photons that the gtmktime cut: 20679

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/879086/ft1_filtered_4FGL_J0555.6+3947_monthly_bin167.fits" evtable="EVENTS" scfile=/scratch/kocevski/879086/ft2_4FGL_J0555.6+3947_monthly_bin167.fits sctable="SC_DATA" outfile=/scratch/kocevski/879086/ltcube_669859201_672451201_4FGL_J0555.6+3947_monthly_bin167.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/879086/ft2_4FGL_J0555.6+3947_monthly_bin167.fits
.....................!
real 111.79
user 111.23
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/879086/ft1_filtered_4FGL_J0555.6+3947_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/879086/ft2_4FGL_J0555.6+3947_monthly_bin167.fits sctable="SC_DATA" expcube=/scratch/kocevski/879086/ltcube_669859201_672451201_4FGL_J0555.6+3947_monthly_bin167.fits outfile=/scratch/kocevski/879086/expmap_669859201_672451201_4FGL_J0555.6+3947_monthly_bin167.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/879086/ltcube_669859201_672451201_4FGL_J0555.6+3947_monthly_bin167.fits
.....................!
real 192.08
user 186.37
sys 5.37

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 HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HB9.fits is the correct path to the extended template.
Extended source S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source IC 443 in ROI with RadialGaussian spatial model.
Added 159 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 J0555.6+3947 @ 88.9015 39.7878

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/879086/ft1_filtered_4FGL_J0555.6+3947_monthly_bin167.fits scfile=/scratch/kocevski/879086/ft2_4FGL_J0555.6+3947_monthly_bin167.fits outfile=/scratch/kocevski/879086/cmap_669859201_672451201_4FGL_J0555.6+3947_monthly_bin167.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=88.9015 yref=39.7878 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.81
user 0.64
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/879086/ft1_filtered_4FGL_J0555.6+3947_monthly_bin167.fits scfile=/scratch/kocevski/879086/ft2_4FGL_J0555.6+3947_monthly_bin167.fits outfile=/scratch/kocevski/879086/cmap_HighResolution_669859201_672451201_4FGL_J0555.6+3947_monthly_bin167.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=88.9015 yref=39.7878 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.81
user 0.63
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/879086/ft1_filtered_4FGL_J0555.6+3947_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/879086/ft2_4FGL_J0555.6+3947_monthly_bin167.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/879086/Model_4FGL_J0555.6+3947_monthly_bin167.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 9
adding source IC 443
adding source S 147
Working on...
/scratch/kocevski/879086/ft1_filtered_4FGL_J0555.6+3947_monthly_bin167.fits.....................!
real 4832.13
user 4822.98
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/879086/ft1_filtered_4FGL_J0555.6+3947_monthly_bin167.fits', '/scratch/kocevski/879086/ft2_4FGL_J0555.6+3947_monthly_bin167.fits', expMap='/scratch/kocevski/879086/expmap_669859201_672451201_4FGL_J0555.6+3947_monthly_bin167.fits', expCube='/scratch/kocevski/879086/ltcube_669859201_672451201_4FGL_J0555.6+3947_monthly_bin167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/879086/Model_4FGL_J0555.6+3947_monthly_bin167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0555.6+3947'

4FGL J0555.6+3947
   Spectrum: LogParabola
239         norm:  1.567e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
240        alpha:  2.647e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
241         beta:  2.062e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
242           Eb:  4.677e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/879086/ft1_filtered_4FGL_J0555.6+3947_monthly_bin167.fits
Spacecraft file(s): /scratch/kocevski/879086/ft2_4FGL_J0555.6+3947_monthly_bin167.fits
Exposure map: /scratch/kocevski/879086/expmap_669859201_672451201_4FGL_J0555.6+3947_monthly_bin167.fits
Exposure cube: /scratch/kocevski/879086/ltcube_669859201_672451201_4FGL_J0555.6+3947_monthly_bin167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/879086/Model_4FGL_J0555.6+3947_monthly_bin167.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) = 204822.881789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.3610       1.0000         .10000E-03   10000.    
     3 'norm      '    .50927       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.9799       1.0000         .10000E-03   10000.    
     5 'norm      '    .89274E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    .91403       1.0000         .10000E-03   10000.    
     7 'norm      '    2.7324       1.0000         .10000E-03   10000.    
     8 'norm      '    2.3452       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.2602       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Normalizat'    .99913       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.0136       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   204822.7     FROM MIGRAD    STATUS=CONVERGED    216 CALLS      889 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .17740        .42734E-08** at limit **
   2  Prefactor     4.3631        3.4355        .53015E-06   -.68544E-04
   3  norm          .50929        .14429        .76779E-08   -.55699E-02
   4  Prefactor     8.9807        4.8389        .80801E-06    .29864E-04
   5  norm          .88944E-01    .13908       -.39074E-07   -.27543E-03
   6  norm          .91395        .44393        .63641E-08   -.10039E-02
   7  norm          2.7326        .68311        .45547E-08    .39742E-04
   8  norm          2.3453        1.0337        .19337E-07   -.34513E-06
   9  Prefactor     2.2619        1.7859       -.41351E-07   -.67846E-03
  10  Prefactor     .10000E-03    1.8655        .23668E-07** at limit **
  11  Normalizat    .99911        .74020E-01   -.94612E-07   -.80623E-04
  12  Prefactor     1.0136        .12515E-01   -.35341E-07    .59740E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 4.3631
  norm       = 0.509295
  Prefactor  = 8.98074
  norm       = 0.0889436
  norm       = 0.91395
  norm       = 2.73264
  norm       = 2.34527
  Prefactor  = 2.26189
  Prefactor  = 0.0001
  Normalizat = 0.999111
  Prefactor  = 1.01364
 **********
 **   18 **HESSE 
 **********

 FCN=   204822.7     FROM HESSE     STATUS=OK           137 CALLS     1026 TOTAL
                     EDM=   .62E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .88903        .37027E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.3631        3.4334        .19288E-03   -1.5290    
   3  norm          .50929        .23723        .14840E-03   -1.5565    
   4  Prefactor     8.9807        4.8372        .13375E-03   -1.5109    
   5  norm          .88944E-01    .80959        .20562E-02   -1.5648    
   6  norm          .91395        .44403        .20833E-03   -1.5517    
   7  norm          2.7326        .68325        .18176E-03   -1.5377    
   8  norm          2.3453        1.0337        .26770E-04   -1.5402    
   9  Prefactor     2.2619        1.9187        .27324E-03   -1.5407    
  10  Prefactor     .10000E-03    1.8836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    .99911        .74797E-01    .71643E-03   -.93060    
  12  Prefactor     1.0136        .12841E-01    .12250E-03   -.92276    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.19674e-07
Minuit parameter uncertainties:
  1  2.18956e-06
  2  3.43355
  3  0.237233
  4  4.83736
  5  0.536392
  6  0.444037
  7  0.683253
  8  1.03374
  9  1.9187
  10  4.67332e-07
  11  0.074805
  12  0.0128407
Done.

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

Extracting fit parameters...

4FGL J0555.6+3947
   Spectrum: LogParabola
239         norm:  8.894e-02  5.364e-01  1.000e-04  1.000e+04 ( 1.000e-11)
240        alpha:  2.647e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
241         beta:  2.062e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
242           Eb:  4.677e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.014e+00  1.284e-02  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  9.991e-01  7.481e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 88.901 39.788
Photon Flux Upper Limit: 3.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 8.41e-06 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/879086/likelihoodResults_669859201_672451201_4FGL_J0555.6+3947_monthly_bin167.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) = 204822.533374
delta logL = 0.142969790235

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 204822.474807
delta logL = 0.201536220062

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .98479E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2972       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0007       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0135       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   204822.5     FROM MIGRAD    STATUS=FAILED       105 CALLS      334 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .97537E-01    .24024        .19722E-02    .77234E-02
   2  alpha         1.2931        1.0641        .13626       -.68267E-02
   3  Normalizat    1.0007        .72394E-01    .71593E-03    .94414E-03
   4  Prefactor     1.0135        .12615E-01    .12251E-03    .73111E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   204822.5     FROM SIMPLEX   STATUS=UNCHANGED     73 CALLS      407 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .97537E-01    .24024        .49077E-04   -1.5646    
   2  alpha         1.2931        1.0641        .36423E-02   -.50382    
   3  Normalizat    1.0007        .72394E-01    .10036E-03   -.93006    
   4  Prefactor     1.0135        .12615E-01    .20529E-04   -.92282    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   204822.5     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      448 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .97537E-01    .24736         .0000        .50728E-04
   2  alpha         1.2931        1.1251         .0000       -.27272E-03
   3  Normalizat    1.0007        .72400E-01     .0000        .15244E-05
   4  Prefactor     1.0135        .12614E-01     .0000         .0000    
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0975373
  alpha      = 1.29307
  Normalizat = 1.00072
  Prefactor  = 1.01346
 **********
 **   18 **HESSE 
 **********

 FCN=   204822.5     FROM HESSE     STATUS=OK            25 CALLS      473 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .97537E-01    .27513        .31555E-05   -1.5646    
   2  alpha         1.2931        1.2378        .54505E-02   -.50382    
   3  Normalizat    1.0007        .72400E-01    .28637E-04   -.93006    
   4  Prefactor     1.0135        .12615E-01    .49003E-05   -.92282    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5981e-11
Minuit parameter uncertainties:
  1  0.275129
  2  1.31551
  3  0.0724075
  4  0.0126153
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/879086': 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) = 204822.474802
delta logL = 0.201541818504

Extracting fit parameters...

4FGL J0555.6+3947
   Spectrum: LogParabola
239         norm:  9.754e-02  2.751e-01  1.000e-04  1.000e+04 ( 1.000e-11)
240        alpha:  1.293e+00  1.316e+00  0.000e+00  5.000e+00 ( 1.000e+00)
241         beta:  2.062e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
242           Eb:  4.677e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.013e+00  1.262e-02  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.001e+00  7.241e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 88.901 39.788

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/879086/cmap_HighResolution_669859201_672451201_4FGL_J0555.6+3947_monthly_bin167.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.41e-06', job_status='DONE', photon_flux_upper_limit='3.40e-08', time_completed='2022-04-24 03:52:46.257308', job_id='879086', GAL2='1.01', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1650797566.26', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.02e-01', ts2='0.43', photon_index_error='0.00', photon_index='2.65' WHERE bin_id='167' AND source_name='4FGL J0555.6+3947' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sun Apr 24 03:52:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 879086: <4FGL_J0555.6+3947_monthly_bin167> in cluster <slac> Done

Job <4FGL_J0555.6+3947_monthly_bin167> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Apr 24 00:55:48 2022
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 01:03:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 01:03:47 2022
Terminated at Sun Apr 24 03:52:47 2022
Results reported at Sun Apr 24 03:52:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0555.6+3947_monthly_bin167 88.9015 39.7878 669859201 672451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0555.6+3947 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   9926.00 sec.
    Max Memory :                                 1084 MB
    Average Memory :                             584.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10142 sec.
    Turnaround time :                            10619 sec.

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

