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


Performing analysis on: 4FGL_J0956.7+2516_daily_bin1760
RA = 149.176, Dec = 25.2817
tmin = 695520001, tmax = 695779201
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='733549', job_status='RUN', time_executed='2023-01-19 00:44:27.872966', time_epoch_executed='1674117867.87' WHERE source_name='4FGL J0956.7+2516' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/733549

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/733549/ft1_4FGL_J0956.7+2516_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/733549/ft2_4FGL_J0956.7+2516_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/733549/ft1_4FGL_J0956.7+2516_daily_bin1760.fits outfile=/scratch/kocevski/733549/ft1_filteredMKT_4FGL_J0956.7+2516_daily_bin1760.fits ra=149.176 dec=25.2817 rad=12.0 tmin=695520001.0 tmax=695779201.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 2.43
user 2.19
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/733549/ft2_4FGL_J0956.7+2516_daily_bin1760.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/733549/ft2_4FGL_J0956.7+2516_daily_bin1760.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/733549/ft1_filteredMKT_4FGL_J0956.7+2516_daily_bin1760.fits evtable="EVENTS" outfile="/scratch/kocevski/733549/ft1_filtered_4FGL_J0956.7+2516_daily_bin1760.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.52
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 133

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/733549/ft1_filtered_4FGL_J0956.7+2516_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/733549/ft2_4FGL_J0956.7+2516_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/733549/ltcube_695520001_695779201_4FGL_J0956.7+2516_daily_bin1760.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/733549/ft2_4FGL_J0956.7+2516_daily_bin1760.fits
.....................!
real 17.43
user 16.96
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/733549/ft1_filtered_4FGL_J0956.7+2516_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/733549/ft2_4FGL_J0956.7+2516_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/733549/ltcube_695520001_695779201_4FGL_J0956.7+2516_daily_bin1760.fits outfile=/scratch/kocevski/733549/expmap_695520001_695779201_4FGL_J0956.7+2516_daily_bin1760.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/733549/ltcube_695520001_695779201_4FGL_J0956.7+2516_daily_bin1760.fits
.....................!
real 193.03
user 186.54
sys 5.67

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 172 point sources and 0 extended sources

Setting source of interest to:
4FGL J0956.7+2516 @ 149.176 25.2817

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/733549/ft1_filtered_4FGL_J0956.7+2516_daily_bin1760.fits scfile=/scratch/kocevski/733549/ft2_4FGL_J0956.7+2516_daily_bin1760.fits outfile=/scratch/kocevski/733549/cmap_695520001_695779201_4FGL_J0956.7+2516_daily_bin1760.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=149.176 yref=25.2817 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.75
user 0.39
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/733549/ft1_filtered_4FGL_J0956.7+2516_daily_bin1760.fits scfile=/scratch/kocevski/733549/ft2_4FGL_J0956.7+2516_daily_bin1760.fits outfile=/scratch/kocevski/733549/cmap_HighResolution_695520001_695779201_4FGL_J0956.7+2516_daily_bin1760.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=149.176 yref=25.2817 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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/733549/ft1_filtered_4FGL_J0956.7+2516_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/733549/ft2_4FGL_J0956.7+2516_daily_bin1760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/733549/Model_4FGL_J0956.7+2516_daily_bin1760.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/733549/ft1_filtered_4FGL_J0956.7+2516_daily_bin1760.fits.......................!
real 25.58
user 24.21
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/733549/ft1_filtered_4FGL_J0956.7+2516_daily_bin1760.fits', '/scratch/kocevski/733549/ft2_4FGL_J0956.7+2516_daily_bin1760.fits', expMap='/scratch/kocevski/733549/expmap_695520001_695779201_4FGL_J0956.7+2516_daily_bin1760.fits', expCube='/scratch/kocevski/733549/ltcube_695520001_695779201_4FGL_J0956.7+2516_daily_bin1760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/733549/Model_4FGL_J0956.7+2516_daily_bin1760.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0956.7+2516'

4FGL J0956.7+2516
   Spectrum: PowerLaw
235    Prefactor:  4.112e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
236        Index:  2.547e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  5.839e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/733549/ft1_filtered_4FGL_J0956.7+2516_daily_bin1760.fits
Spacecraft file(s): /scratch/kocevski/733549/ft2_4FGL_J0956.7+2516_daily_bin1760.fits
Exposure map: /scratch/kocevski/733549/expmap_695520001_695779201_4FGL_J0956.7+2516_daily_bin1760.fits
Exposure cube: /scratch/kocevski/733549/ltcube_695520001_695779201_4FGL_J0956.7+2516_daily_bin1760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/733549/Model_4FGL_J0956.7+2516_daily_bin1760.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1644.93182353

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66773       1.0000          .0000       .10000E+07
     2 'norm      '    .16557       1.0000          .0000       .10000E+07
     3 'norm      '    .31683E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .47985E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    13.615       1.0000          .0000       .10000E+07
     6 'Prefactor '    .15891E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    8.6529       1.0000          .0000       .10000E+07
     8 'Prefactor '    43.176       1.0000          .0000       .10000E+07
     9 'Prefactor '    8.6120       1.0000          .0000       .10000E+07
    10 'norm      '    .25089E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .86783       1.0000          .0000       .10000E+07
    12 'Prefactor '    .71486E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .25122E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .94176E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .91308E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10668E-05   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0622       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95094       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1644.815     FROM MIGRAD    STATUS=CONVERGED    192 CALLS     1100 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22760E-08    301.27       -.66354E-06** at limit **
   2  norm           .0000        74.066       -.92696E-07** at limit **
   3  norm           .0000        30.735       -.19892E-06** at limit **
   4  Prefactor     .55511E-10    26.184       -.29832E-07** at limit **
   5  Prefactor     1.2404        2755.5        .14226E-04    .74333E-04
   6  Prefactor     .38858E-09    51.303        .12256E-06** at limit **
   7  Prefactor     9.1408        22.276        .17524E-07   -.38903E-03
   8  Prefactor     43.337        7.2034       -.56206E-07    .30997E-01
   9  Prefactor     8.6567        8.3007       -.47784E-07   -.40723E-03
  10  norm           .0000        6.4921       -.94646E-08** at limit **
  11  Prefactor     .67222        36.750       -.26228E-06   -.30476E-02
  12  Prefactor     .55511E-09    47.658       -.25814E-06** at limit **
  13  Prefactor      .0000        90.096       -.11388E-05** at limit **
  14  Prefactor      .0000        60.510       -.47115E-06** at limit **
  15  Prefactor      .0000        9.3590        .63063E-07** at limit **
  16  Prefactor      .0000        6.9130       -.20888E-07** at limit **
  17  Normalizat    1.0691        .43547       -.87889E-06   -.29314E-04
  18  Prefactor     .94782        .39574       -.15419E-06   -.28295E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.27596e-09
  norm       = 0
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 1.24043
  Prefactor  = 3.88578e-10
  Prefactor  = 9.14075
  Prefactor  = 43.3374
  Prefactor  = 8.65675
  norm       = 0
  Prefactor  = 0.672216
  Prefactor  = 5.55112e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.0691
  Prefactor  = 0.94782
 **********
 **   18 **HESSE 
 **********

 FCN=   1644.815     FROM HESSE     STATUS=OK           284 CALLS     1384 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22760E-08    307.55        .63367E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        74.254        .12424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        15.922        .60558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    27.099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.2404        2773.2        .27120E-03   -1.5686    
   6  Prefactor     .38858E-09    51.609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.1408        22.343        .34053E-03   -1.5647    
   8  Prefactor     43.337        35.055        .15220E-03   -1.5576    
   9  Prefactor     8.6567        8.3180        .34134E-03   -1.5649    
  10  norm           .0000        6.4771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .67222        72.715        .48010E-03   -1.5692    
  12  Prefactor     .55511E-09    47.970        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        25.175        .98571E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        60.766        .14088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        9.3129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        6.8201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0691        .36670        .39805E-01   -.90750    
  18  Prefactor     .94782        .33289        .45651E-01   -.94490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21845e-08
Minuit parameter uncertainties:
  1  0.00166747
  2  3.78463e-06
  3  1.12365e-05
  4  7.56537e-05
  5  117.356
  6  0.0002782
  7  22.3427
  8  35.0552
  9  8.318
  10  2.6173e-06
  11  13.9831
  12  0.000327208
  13  1.16323e-05
  14  1.68243e-05
  15  6.70963e-06
  16  1.12266e-05
  17  0.367574
  18  0.333614
Done.

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

Extracting fit parameters...

4FGL J0956.7+2516
   Spectrum: PowerLaw
235    Prefactor:  9.141e+00  2.234e+01  0.000e+00  1.000e+06 ( 1.000e-12)
236        Index:  2.547e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  5.839e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  9.478e-01  3.336e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.069e+00  3.676e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.21
Ra Dec: 149.176 25.282
Photon Flux Upper Limit: 3.68e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.87e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/733549/likelihoodResults_695520001_695779201_4FGL_J0956.7+2516_daily_bin1760.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) = 1644.66024878
delta logL = 0.154720733413

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1644.65124253
delta logL = 0.16372698608

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4003       1.0000          .0000       .10000E+07
     2 'Index     '    3.3353       1.0000          .0000       10.000    
     3 'Normalizat'    1.0329       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96867       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1644.651     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3900        76.410        .36845E-03    .69972E-03
   2  Index         3.3359        3.7007        .21437E-01    .32509E-04
   3  Normalizat    1.0329        .35661        .41882E-01    .10373E-04
   4  Prefactor     .96875        .33279        .45874E-01    .11522E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.39004
  Index      = 3.3359
  Normalizat = 1.03286
  Prefactor  = 0.968749
 **********
 **   18 **HESSE 
 **********

 FCN=   1644.651     FROM HESSE     STATUS=OK            31 CALLS      233 TOTAL
                     EDM=   .34E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3900        16.677        .14738E-04   -1.5654    
   2  Index         3.3359        1.4709        .84434E-03   -.33929    
   3  Normalizat    1.0329        .42484        .25278E-03   -.91937    
   4  Prefactor     .96875        .39442        .24427E-03   -.93779    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.40296e-13
Minuit parameter uncertainties:
  1  16.6775
  2  1.49587
  3  0.426245
  4  0.395595
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/733549': 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) = 1644.65124229
delta logL = 0.163727222148

Extracting fit parameters...

4FGL J0956.7+2516
   Spectrum: PowerLaw
235    Prefactor:  7.390e+00  1.668e+01  0.000e+00  1.000e+06 ( 1.000e-12)
236        Index:  3.336e+00  1.496e+00  0.000e+00  1.000e+01 (-1.000e+00)
237        Scale:  5.839e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  9.687e-01  3.956e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.033e+00  4.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
Ra Dec: 149.176 25.282

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/733549/cmap_HighResolution_695520001_695779201_4FGL_J0956.7+2516_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.87e-02', job_status='DONE', photon_flux_upper_limit='3.68e-07', time_completed='2023-01-19 00:50:36.907823', job_id='733549', GAL2='0.97', fit_tolerance='1e-08', EG2='1.03', EG='1.07', time_epoch_completed='1674118236.91', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.64e-01', ts2='0.55', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1760' AND source_name='4FGL J0956.7+2516' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 00:50:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 733549: <4FGL_J0956.7+2516_daily_bin1760> in cluster <slac> Done

Job <4FGL_J0956.7+2516_daily_bin1760> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Jan 19 00:40:24 2023
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:42:35 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:42:35 2023
Terminated at Thu Jan 19 00:50:37 2023
Results reported at Thu Jan 19 00:50:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0956.7+2516_daily_bin1760 149.176 25.2817 695520001 695779201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0956.7+2516 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   371.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   482 sec.
    Turnaround time :                            613 sec.

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

