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


Performing analysis on: 4FGL_J0957.6+5523_daily_bin1757
RA = 149.416, Dec = 55.3838
tmin = 694742401, tmax = 695001601
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='191800', job_status='RUN', time_executed='2023-01-10 00:39:06.775038', time_epoch_executed='1673339946.78' WHERE source_name='4FGL J0957.6+5523' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/191800

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/191800/ft1_4FGL_J0957.6+5523_daily_bin1757.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/191800/ft2_4FGL_J0957.6+5523_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/191800/ft1_4FGL_J0957.6+5523_daily_bin1757.fits outfile=/scratch/kocevski/191800/ft1_filteredMKT_4FGL_J0957.6+5523_daily_bin1757.fits ra=149.416 dec=55.3838 rad=12.0 tmin=694742401.0 tmax=695001601.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.92
user 2.65
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/191800/ft2_4FGL_J0957.6+5523_daily_bin1757.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/191800/ft2_4FGL_J0957.6+5523_daily_bin1757.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/191800/ft1_filteredMKT_4FGL_J0957.6+5523_daily_bin1757.fits evtable="EVENTS" outfile="/scratch/kocevski/191800/ft1_filtered_4FGL_J0957.6+5523_daily_bin1757.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.55
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 460

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/191800/ft1_filtered_4FGL_J0957.6+5523_daily_bin1757.fits" evtable="EVENTS" scfile=/scratch/kocevski/191800/ft2_4FGL_J0957.6+5523_daily_bin1757.fits sctable="SC_DATA" outfile=/scratch/kocevski/191800/ltcube_694742401_695001601_4FGL_J0957.6+5523_daily_bin1757.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/191800/ft2_4FGL_J0957.6+5523_daily_bin1757.fits
.....................!
real 14.22
user 13.85
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/191800/ft1_filtered_4FGL_J0957.6+5523_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/191800/ft2_4FGL_J0957.6+5523_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/191800/ltcube_694742401_695001601_4FGL_J0957.6+5523_daily_bin1757.fits outfile=/scratch/kocevski/191800/expmap_694742401_695001601_4FGL_J0957.6+5523_daily_bin1757.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/191800/ltcube_694742401_695001601_4FGL_J0957.6+5523_daily_bin1757.fits
.....................!
real 192.12
user 185.65
sys 6.08

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

Setting source of interest to:
4FGL J0957.6+5523 @ 149.416 55.3838

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/191800/ft1_filtered_4FGL_J0957.6+5523_daily_bin1757.fits scfile=/scratch/kocevski/191800/ft2_4FGL_J0957.6+5523_daily_bin1757.fits outfile=/scratch/kocevski/191800/cmap_694742401_695001601_4FGL_J0957.6+5523_daily_bin1757.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.416 yref=55.3838 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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/191800/ft1_filtered_4FGL_J0957.6+5523_daily_bin1757.fits scfile=/scratch/kocevski/191800/ft2_4FGL_J0957.6+5523_daily_bin1757.fits outfile=/scratch/kocevski/191800/cmap_HighResolution_694742401_695001601_4FGL_J0957.6+5523_daily_bin1757.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.416 yref=55.3838 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/191800/ft1_filtered_4FGL_J0957.6+5523_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/191800/ft2_4FGL_J0957.6+5523_daily_bin1757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/191800/Model_4FGL_J0957.6+5523_daily_bin1757.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/191800/ft1_filtered_4FGL_J0957.6+5523_daily_bin1757.fits....................!
real 52.61
user 51.16
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/191800/ft1_filtered_4FGL_J0957.6+5523_daily_bin1757.fits', '/scratch/kocevski/191800/ft2_4FGL_J0957.6+5523_daily_bin1757.fits', expMap='/scratch/kocevski/191800/expmap_694742401_695001601_4FGL_J0957.6+5523_daily_bin1757.fits', expCube='/scratch/kocevski/191800/ltcube_694742401_695001601_4FGL_J0957.6+5523_daily_bin1757.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/191800/Model_4FGL_J0957.6+5523_daily_bin1757.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0957.6+5523'

4FGL J0957.6+5523
   Spectrum: LogParabola
392         norm:  1.692e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
393        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
394         beta:  7.829e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
395           Eb:  7.977e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/191800/ft1_filtered_4FGL_J0957.6+5523_daily_bin1757.fits
Spacecraft file(s): /scratch/kocevski/191800/ft2_4FGL_J0957.6+5523_daily_bin1757.fits
Exposure map: /scratch/kocevski/191800/expmap_694742401_695001601_4FGL_J0957.6+5523_daily_bin1757.fits
Exposure cube: /scratch/kocevski/191800/ltcube_694742401_695001601_4FGL_J0957.6+5523_daily_bin1757.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/191800/Model_4FGL_J0957.6+5523_daily_bin1757.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) = 5015.68290087

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.285       1.0000          .0000       .10000E+07
     2 'norm      '    .28968E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .16154E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    27.246       1.0000          .0000       .10000E+07
     5 'norm      '    3.1369       1.0000          .0000       .10000E+07
     6 'Prefactor '    .55998       1.0000          .0000       .10000E+07
     7 'Prefactor '    .29169E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.1408       1.0000          .0000       .10000E+07
     9 'Prefactor '    .14625E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12903E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .63276E-02   1.0000          .0000       .10000E+07
    12 'norm      '    4.9932       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.452       1.0000          .0000       .10000E+07
    14 'norm      '    .56680       1.0000          .0000       .10000E+07
    15 'norm      '    46.105       1.0000          .0000       .10000E+07
    16 'Prefactor '    .63439E-03   1.0000          .0000       .10000E+07
    17 'norm      '    1.2219       1.0000          .0000       .10000E+07
    18 'norm      '    2.2580       1.0000          .0000       .10000E+07
    19 'Prefactor '    .23961E-02   1.0000          .0000       .10000E+07
    20 'norm      '    15.361       1.0000          .0000       .10000E+07
    21 'Prefactor '    35.115       1.0000          .0000       .10000E+07
    22 'norm      '    7.9098       1.0000          .0000       .10000E+07
    23 'norm      '    .54106       1.0000          .0000       .10000E+07
    24 'Prefactor '    .34725E-02   1.0000          .0000       .10000E+07
    25 'norm      '    1.5659       1.0000          .0000       .10000E+07
    26 'Prefactor '    .72939E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    .21469E-01   1.0000          .0000       .10000E+07
    28 'Normalizat'    1.1040       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .62744       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5015.565     FROM MIGRAD    STATUS=CONVERGED    192 CALLS     2692 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.810        10.354        .15847E-06   -.15992E-02
   2  norm          .20580E-05    21.889        .19877E-06** at limit **
   3  Prefactor     .22204E-09    43.508       -.76716E-06** at limit **
   4  Prefactor     30.870        64.141       -.74201E-06   -.47982E-02
   5  norm          3.1361        1.0850        .94986E-07   -.63954E-02
   6  Prefactor     .34085        11.636       -.31674E-06   -.26543E-01
   7  Prefactor     .11796E-06    13.141        .48968E-06** at limit **
   8  Prefactor     2.1042        5.3813        .48639E-06   -.63729E-03
   9  Prefactor     .15649E-06    12.849        .54178E-07** at limit **
  10  Prefactor     .11102E-09    3.4902        .11538E-06** at limit **
  11  Prefactor     .44836E-06    16.802        .55668E-07** at limit **
  12  norm          4.9576        9.9136       -.29121E-06   -.26055E-03
  13  Prefactor     12.760        39.840       -.41102E-06    .14863E-01
  14  norm          .56583        .42222       -.81073E-08    .13244E-02
  15  norm          46.088        3.3441       -.25182E-07   -.48226E-02
  16  Prefactor     .10547E-08    7.7734       -.43999E-06** at limit **
  17  norm          1.2228        .61933       -.32369E-07    .52630E-02
  18  norm          2.2636        2.6145       -.26487E-07    .33085E-03
  19  Prefactor     .38858E-08    10.320        .66755E-06** at limit **
  20  norm          15.393        13.786        .49230E-07    .14651E-01
  21  Prefactor     35.248        2.0638       -.12571E-07    .28304E-02
  22  norm          7.9018        2.9479        .20363E-07   -.26097E-04
  23  norm          .54209        .99340       -.47097E-07    .98637E-03
  24  Prefactor     .12322E-05    34.039       -.41890E-06** at limit **
  25  norm          1.5700        1.6015        .10480E-06   -.21176E-02
  26  Prefactor     .95818E-06    16.770        .32873E-06** at limit **
  27  Prefactor     .17764E-08    51.841        .19518E-05** at limit **
  28  Normalizat    1.1021        .20113       -.28022E-05    .77113E-06
  29  Prefactor     .62764        .21199        .25538E-05    .26569E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.8099
  norm       = 2.05796e-06
  Prefactor  = 2.22045e-10
  Prefactor  = 30.87
  norm       = 3.13607
  Prefactor  = 0.340854
  Prefactor  = 1.17961e-07
  Prefactor  = 2.10425
  Prefactor  = 1.56486e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 4.48364e-07
  norm       = 4.95759
  Prefactor  = 12.7603
  norm       = 0.565829
  norm       = 46.0884
  Prefactor  = 1.05471e-09
  norm       = 1.22276
  norm       = 2.2636
  Prefactor  = 3.88578e-09
  norm       = 15.3929
  Prefactor  = 35.2475
  norm       = 7.90179
  norm       = 0.542095
  Prefactor  = 1.23218e-06
  norm       = 1.57003
  Prefactor  = 9.58178e-07
  Prefactor  = 1.77636e-09
  Normalizat = 1.10215
  Prefactor  = 0.627635
 **********
 **   18 **HESSE 
 **********

 FCN=   5015.565     FROM HESSE     STATUS=OK           627 CALLS     3319 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.810        28.641        .20729E-03   -1.5612    
   2  norm          .20580E-05    30.624        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .22204E-09    42.875        .17304E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     30.870        64.435        .19161E-03   -1.5597    
   5  norm          3.1361        1.0863        .57213E-03   -1.5673    
   6  Prefactor     .34085        6.5404        .72892E-02   -1.5696    
   7  Prefactor     .11796E-06    14.797        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.1042        5.4374        .70414E-03   -1.5679    
   9  Prefactor     .15649E-06    13.974        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    3.4788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .44836E-06    23.076        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.9576        10.028        .44980E-03   -1.5663    
  13  Prefactor     12.760        41.923        .29579E-03   -1.5637    
  14  norm          .56583        .43345        .72256E-03   -1.5693    
  15  norm          46.088        25.283        .14729E-03   -1.5572    
  16  Prefactor     .10547E-08    7.7460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.2228        .62284        .84872E-03   -1.5686    
  18  norm          2.2636        2.6430        .68338E-03   -1.5678    
  19  Prefactor     .38858E-08    10.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          15.393        13.872        .25528E-03   -1.5629    
  21  Prefactor     35.248        27.417        .16877E-03   -1.5589    
  22  norm          7.9018        3.8364        .35628E-03   -1.5652    
  23  norm          .54209        1.1852        .21534E-02   -1.5693    
  24  Prefactor     .12322E-05    38.425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.5700        1.6667        .84959E-03   -1.5683    
  26  Prefactor     .95818E-06    24.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .17764E-08    13.485        .13213E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.1021        .19154        .37841E-01   -.89683    
  29  Prefactor     .62764        .19219        .71302E-01   -1.0643    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21421e-07
Minuit parameter uncertainties:
  1  28.6407
  2  0.0158776
  3  0.000193842
  4  64.4361
  5  1.08629
  6  2.98617
  7  0.00264263
  8  5.43744
  9  0.00295736
  10  4.25813e-05
  11  0.00643318
  12  10.0277
  13  41.9241
  14  0.433449
  15  25.2834
  16  0.000180765
  17  0.622843
  18  2.64298
  19  0.000399694
  20  13.8719
  21  27.4174
  22  3.83642
  23  1.18519
  24  0.0137619
  25  1.66673
  26  0.00969672
  27  0.000308071
  28  0.19166
  29  0.19239
Done.

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

Extracting fit parameters...

4FGL J0957.6+5523
   Spectrum: LogParabola
392         norm:  5.658e-01  4.334e-01  0.000e+00  1.000e+06 ( 1.000e-11)
393        alpha:  1.900e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
394         beta:  7.829e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
395           Eb:  7.977e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
763    Prefactor:  6.276e-01  1.924e-01  0.000e+00  1.000e+01 ( 1.000e+00)
764        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
765        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
762   Normalization:  1.102e+00  1.917e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.38
Ra Dec: 149.416 55.384
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 2.78e-08 +/- 2.13e-08
Energy Flux (Fixed Index): 1.91e-05 +/- 1.46e-05

TS (Fixed Index): 3.38
Ra Dec: 149.416 55.384
Photon Flux Upper Limit: 7.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.32e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/191800/likelihoodResults_694742401_695001601_4FGL_J0957.6+5523_daily_bin1757.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) = 5014.2189086
delta logL = 1.34631027342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5014.19968066
delta logL = 1.36553820941

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5014.200     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      208 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .31561        3.0640        .47804E-03    .53227E-02
   2  alpha         3.0897        4.0427        .26147        .41836E-04
   3  Normalizat    1.0474        .68647E-01    .40735E-01    .62635E-05
   4  Prefactor     .66254        .68538E-01    .69529E-01    .18289E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.315611
  alpha      = 3.08973
  Normalizat = 1.04743
  Prefactor  = 0.662537
 **********
 **   18 **HESSE 
 **********

 FCN=   5014.200     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .31561        .36627        .21411E-05   -1.5697    
   2  alpha         3.0897        .86056        .10676E-01    .23813    
   3  Normalizat    1.0474        .19328        .22834E-03   -.91458    
   4  Prefactor     .66254        .20808        .30771E-03   -1.0501    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9803e-09
Minuit parameter uncertainties:
  1  0.366273
  2  0.879655
  3  0.193408
  4  0.208325
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/191800': 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) = 5014.19968062
delta logL = 1.36553825098

Extracting fit parameters...

4FGL J0957.6+5523
   Spectrum: LogParabola
392         norm:  3.156e-01  3.663e-01  0.000e+00  1.000e+06 ( 1.000e-11)
393        alpha:  3.090e+00  8.797e-01  0.000e+00  5.000e+00 ( 1.000e+00)
394         beta:  7.829e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
395           Eb:  7.977e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
763    Prefactor:  6.625e-01  2.083e-01  0.000e+00  1.000e+01 ( 1.000e+00)
764        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
765        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
762   Normalization:  1.047e+00  1.934e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.17
Ra Dec: 149.416 55.384
Photon Index (Free Index): 3.09 +/- 0.88
Photon Flux (Free Index): 7.47e-08 +/- 4.91e-08
Energy Flux (Free Index): 1.50e-05 +/- 8.39e-06

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/191800/cmap_HighResolution_694742401_695001601_4FGL_J0957.6+5523_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.32e-05', comment='SUCCESS', photon_flux='2.78e-08', energy_flux2='1.50e-05', photon_flux_error='2.13e-08', dlogl='1.37e+00', energy_flux='1.91e-05', photon_flux2='7.47e-08', job_status='DONE', time_completed='2023-01-10 00:51:57.763707', photon_index_error2='0.88', photon_index2='3.09', ts='3.38', fit_tolerance='1e-08', GAL='0.63', photon_index_error='0.00', photon_flux_upper_limit='7.75e-08', energy_flux_error2='8.39e-06', EG='1.10', time_epoch_completed='1673340717.76', return_code='0', job_id='191800', GAL2='0.66', EG2='1.05', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='4.91e-08', ts2='6.17', photon_index='1.90' WHERE bin_id='1757' AND source_name='4FGL J0957.6+5523' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 00:51:57 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 191800: <4FGL_J0957.6+5523_daily_bin1757> in cluster <slac> Done

Job <4FGL_J0957.6+5523_daily_bin1757> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Jan 10 00:35:21 2023
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 00:38:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 00:38:17 2023
Terminated at Tue Jan 10 00:51:58 2023
Results reported at Tue Jan 10 00:51:58 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.6+5523_daily_bin1757 149.416 55.3838 694742401 695001601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0957.6+5523 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   773.13 sec.
    Max Memory :                                 1201 MB
    Average Memory :                             325.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   821 sec.
    Turnaround time :                            997 sec.

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

