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


Performing analysis on: 4FGL_J0957.6+5523_daily_bin1770
RA = 149.416, Dec = 55.3838
tmin = 698112001, tmax = 698371201
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='481831', job_status='RUN', time_executed='2023-02-18 00:32:12.703880', time_epoch_executed='1676709132.7' WHERE source_name='4FGL J0957.6+5523' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/481831

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/481831/ft1_4FGL_J0957.6+5523_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/481831/ft2_4FGL_J0957.6+5523_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/481831/ft1_4FGL_J0957.6+5523_daily_bin1770.fits outfile=/scratch/kocevski/481831/ft1_filteredMKT_4FGL_J0957.6+5523_daily_bin1770.fits ra=149.416 dec=55.3838 rad=12.0 tmin=698112001.0 tmax=698371201.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 4.34
user 4.13
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/481831/ft2_4FGL_J0957.6+5523_daily_bin1770.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/481831/ft1_filteredMKT_4FGL_J0957.6+5523_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/481831/ft1_filtered_4FGL_J0957.6+5523_daily_bin1770.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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 396

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/481831/ft1_filtered_4FGL_J0957.6+5523_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/481831/ft2_4FGL_J0957.6+5523_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/481831/ltcube_698112001_698371201_4FGL_J0957.6+5523_daily_bin1770.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/481831/ft2_4FGL_J0957.6+5523_daily_bin1770.fits
.....................!
real 11.69
user 11.38
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/481831/ft1_filtered_4FGL_J0957.6+5523_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/481831/ft2_4FGL_J0957.6+5523_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/481831/ltcube_698112001_698371201_4FGL_J0957.6+5523_daily_bin1770.fits outfile=/scratch/kocevski/481831/expmap_698112001_698371201_4FGL_J0957.6+5523_daily_bin1770.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/481831/ltcube_698112001_698371201_4FGL_J0957.6+5523_daily_bin1770.fits
.....................!
real 190.48
user 186.45
sys 3.71

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/481831/ft1_filtered_4FGL_J0957.6+5523_daily_bin1770.fits scfile=/scratch/kocevski/481831/ft2_4FGL_J0957.6+5523_daily_bin1770.fits outfile=/scratch/kocevski/481831/cmap_698112001_698371201_4FGL_J0957.6+5523_daily_bin1770.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/481831/ft1_filtered_4FGL_J0957.6+5523_daily_bin1770.fits scfile=/scratch/kocevski/481831/ft2_4FGL_J0957.6+5523_daily_bin1770.fits outfile=/scratch/kocevski/481831/cmap_HighResolution_698112001_698371201_4FGL_J0957.6+5523_daily_bin1770.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.53
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/481831/ft1_filtered_4FGL_J0957.6+5523_daily_bin1770.fits', '/scratch/kocevski/481831/ft2_4FGL_J0957.6+5523_daily_bin1770.fits', expMap='/scratch/kocevski/481831/expmap_698112001_698371201_4FGL_J0957.6+5523_daily_bin1770.fits', expCube='/scratch/kocevski/481831/ltcube_698112001_698371201_4FGL_J0957.6+5523_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/481831/Model_4FGL_J0957.6+5523_daily_bin1770.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/481831/ft1_filtered_4FGL_J0957.6+5523_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/481831/ft2_4FGL_J0957.6+5523_daily_bin1770.fits
Exposure map: /scratch/kocevski/481831/expmap_698112001_698371201_4FGL_J0957.6+5523_daily_bin1770.fits
Exposure cube: /scratch/kocevski/481831/ltcube_698112001_698371201_4FGL_J0957.6+5523_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/481831/Model_4FGL_J0957.6+5523_daily_bin1770.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) = 4337.55919172

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6673       1.0000          .0000       .10000E+07
     2 'norm      '    5.0196       1.0000          .0000       .10000E+07
     3 'Prefactor '    .15527E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .76395E-02   1.0000          .0000       .10000E+07
     5 'norm      '    3.3547       1.0000          .0000       .10000E+07
     6 'Prefactor '    .78131E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    8.5566       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.7420       1.0000          .0000       .10000E+07
     9 'Prefactor '    .86552E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.9293       1.0000          .0000       .10000E+07
    11 'Prefactor '    .16324E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .43776E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .26038E-02   1.0000          .0000       .10000E+07
    14 'norm      '    1.4296       1.0000          .0000       .10000E+07
    15 'norm      '    21.258       1.0000          .0000       .10000E+07
    16 'Prefactor '    .41686E-05   1.0000          .0000       .10000E+07
    17 'norm      '    1.1528       1.0000          .0000       .10000E+07
    18 'norm      '    5.1630       1.0000          .0000       .10000E+07
    19 'Prefactor '    19.672       1.0000          .0000       .10000E+07
    20 'norm      '    .29591E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    64.959       1.0000          .0000       .10000E+07
    22 'norm      '    .72053E-07   1.0000          .0000       .10000E+07
    23 'norm      '    4.9839       1.0000          .0000       .10000E+07
    24 'Prefactor '    .27441       1.0000          .0000       .10000E+07
    25 'norm      '    .17031       1.0000          .0000       .10000E+07
    26 'Prefactor '    .36710E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    21.655       1.0000          .0000       .10000E+07
    28 'Normalizat'    .66919       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .95337       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=   4337.460     FROM MIGRAD    STATUS=CONVERGED    195 CALLS     2676 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6758        8.1415        .35630E-06    .60962E-02
   2  norm          5.0323        5.3648        .81380E-07   -.78391E-03
   3  Prefactor     .55511E-10    3.5874       -.71360E-06** at limit **
   4  Prefactor     .70166E-07    21.994       -.25873E-05** at limit **
   5  norm          3.3546        1.2056       -.78885E-07   -.27062E-02
   6  Prefactor     .16653E-09    3.1019       -.85890E-06** at limit **
   7  Prefactor     8.5508        8.5711       -.64150E-06   -.29128E-01
   8  Prefactor     3.7446        3.7650       -.29798E-06    .58000E-03
   9  Prefactor     .14022E-06    3.2927        .29593E-06** at limit **
  10  Prefactor     3.9379        8.1314       -.15218E-05   -.50376E-01
  11  Prefactor     .13489E-06    3.0317        .41884E-06** at limit **
  12  norm          .14716E-06    5.9228       -.36615E-06** at limit **
  13  Prefactor     .35361E-07    48.975       -.28979E-05** at limit **
  14  norm          1.4296        .64628        .37225E-07   -.53303E-02
  15  norm          21.247        1.1668        .30676E-07    .11991E-01
  16  Prefactor     .55511E-10    2.2395        .31928E-06** at limit **
  17  norm          1.1524        .73173       -.23131E-07    .17493E-02
  18  norm          5.1651        3.1177       -.14687E-06   -.19155E-02
  19  Prefactor     19.728        1.0196        .12695E-07    .15796E-03
  20  norm          .13078E-06    6.9567       -.92966E-06** at limit **
  21  Prefactor     64.911        1.7798        .74091E-08   -.10561E-01
  22  norm           .0000        1.4442       -.89687E-07** at limit **
  23  norm          4.9840        2.5100        .26758E-06   -.27981E-02
  24  Prefactor     .12319E-05    79.175        .32936E-05** at limit **
  25  norm          .16926        6.2858        .58472E-06** at limit **
  26  Prefactor     .16326E-06    31.238        .96469E-06** at limit **
  27  Prefactor     21.879        3.3486       -.20631E-07    .23826E-01
  28  Normalizat    .66917        .19759        .13474E-04    .51965E-04
  29  Prefactor     .95330        .21979       -.52277E-05    .59174E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.67582
  norm       = 5.03228
  Prefactor  = 5.55112e-11
  Prefactor  = 7.01661e-08
  norm       = 3.35464
  Prefactor  = 1.66533e-10
  Prefactor  = 8.55075
  Prefactor  = 3.74456
  Prefactor  = 1.40221e-07
  Prefactor  = 3.93792
  Prefactor  = 1.34892e-07
  norm       = 1.4716e-07
  Prefactor  = 3.53606e-08
  norm       = 1.42959
  norm       = 21.2473
  Prefactor  = 5.55112e-11
  norm       = 1.15235
  norm       = 5.16508
  Prefactor  = 19.7277
  norm       = 1.30784e-07
  Prefactor  = 64.9108
  norm       = 0
  norm       = 4.98401
  Prefactor  = 1.2319e-06
  norm       = 0.169257
  Prefactor  = 1.63258e-07
  Prefactor  = 21.8785
  Normalizat = 0.669166
  Prefactor  = 0.953303
 **********
 **   18 **HESSE 
 **********

 FCN=   4337.460     FROM HESSE     STATUS=OK           615 CALLS     3291 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6758        8.1575        .36192E-03   -1.5653    
   2  norm          5.0323        5.3742        .44859E-03   -1.5663    
   3  Prefactor     .55511E-10    3.5878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .70166E-07    22.428        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.3546        1.2297        .55229E-03   -1.5671    
   6  Prefactor     .16653E-09    3.0883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.5508        8.7987        .34245E-03   -1.5649    
   8  Prefactor     3.7446        3.7765        .52172E-03   -1.5669    
   9  Prefactor     .14022E-06    7.3868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.9379        10.593        .50868E-03   -1.5668    
  11  Prefactor     .13489E-06    7.5370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .14716E-06    6.8651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .35361E-07    49.166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.4296        .65283        .77817E-03   -1.5684    
  15  norm          21.247        14.947        .21695E-03   -1.5616    
  16  Prefactor     .55511E-10    2.2463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1524        .74847        .97712E-03   -1.5686    
  18  norm          5.1651        3.1234        .44220E-03   -1.5663    
  19  Prefactor     19.728        27.347        .22554E-03   -1.5619    
  20  norm          .13078E-06    7.9200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     64.911        24.663        .12408E-03   -1.5547    
  22  norm           .0000        1.4401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.9840        2.5295        .45023E-03   -1.5663    
  24  Prefactor     .12319E-05    89.081        .10578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .16926        2.4368        .31462E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .16326E-06    32.190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     21.879        20.310        .21495E-03   -1.5614    
  28  Normalizat    .66917        .18561        .41878E-01   -1.0512    
  29  Prefactor     .95330        .19757        .45682E-01   -.94303    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84366e-07
Minuit parameter uncertainties:
  1  8.15746
  2  5.37418
  3  2.51286e-05
  4  0.00250924
  5  1.22969
  6  4.21391e-05
  7  8.79871
  8  3.77654
  9  0.00203551
  10  10.5929
  11  0.00201654
  12  0.00201016
  13  0.00263779
  14  0.652826
  15  14.9473
  16  2.32481e-05
  17  0.748471
  18  3.12339
  19  27.3468
  20  0.0020353
  21  24.6629
  22  8.02329e-06
  23  2.52945
  24  0.0209516
  25  1.28444
  26  0.00458455
  27  20.31
  28  0.185787
  29  0.19772
Done.

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

Extracting fit parameters...

4FGL J0957.6+5523
   Spectrum: LogParabola
392         norm:  1.430e+00  6.528e-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:  9.533e-01  1.977e-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:  6.692e-01  1.858e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.06
Ra Dec: 149.416 55.384
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 7.02e-08 +/- 3.21e-08
Energy Flux (Fixed Index): 4.82e-05 +/- 2.20e-05

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) = 4336.67398474
delta logL = 0.786327129503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4336.67207637
delta logL = 0.788235505982

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1848       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4303       1.0000          .0000       5.0000    
     3 'Normalizat'    .62385       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98224       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=   4336.672     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      210 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1848        7.9434        .61927E-03    .56846E-03
   2  alpha         2.4303        3.7083        .19017        .37842E-04
   3  Normalizat    .62381        .11134        .60868E-01    .18165E-04
   4  Prefactor     .98228        .99986E-01    .46045E-01    .47289E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.18481
  alpha      = 2.43033
  Normalizat = 0.623807
  Prefactor  = 0.98228
 **********
 **   18 **HESSE 
 **********

 FCN=   4336.672     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1848        .62313        .27415E-05   -1.5686    
   2  alpha         2.4303        .44531        .79651E-02   -.27871E-01
   3  Normalizat    .62381        .19819        .26927E-03   -1.0698    
   4  Prefactor     .98228        .22010        .24531E-03   -.93323    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.37959e-10
Minuit parameter uncertainties:
  1  0.62313
  2  0.447697
  3  0.198418
  4  0.220303
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/481831': 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) = 4336.67207634
delta logL = 0.788235536057

Extracting fit parameters...

4FGL J0957.6+5523
   Spectrum: LogParabola
392         norm:  1.185e+00  6.231e-01  0.000e+00  1.000e+06 ( 1.000e-11)
393        alpha:  2.430e+00  4.477e-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:  9.823e-01  2.203e-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:  6.238e-01  1.984e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.68
Ra Dec: 149.416 55.384
Photon Index (Free Index): 2.43 +/- 0.45
Photon Flux (Free Index): 1.08e-07 +/- 5.06e-08
Energy Flux (Free Index): 3.40e-05 +/- 1.53e-05

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/481831/cmap_HighResolution_698112001_698371201_4FGL_J0957.6+5523_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.02e-08', energy_flux2='3.40e-05', photon_flux_error='3.21e-08', dlogl='7.88e-01', energy_flux='4.82e-05', photon_flux2='1.08e-07', job_status='DONE', time_completed='2023-02-18 00:42:30.640961', photon_index_error2='0.45', photon_index2='2.43', ts='17.06', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.53e-05', EG='0.67', time_epoch_completed='1676709750.64', return_code='0', job_id='481831', GAL2='0.98', EG2='0.62', return_code2='0', energy_flux_error='2.20e-05', photon_flux_error2='5.06e-08', ts2='18.68', photon_index='1.90' WHERE bin_id='1770' AND source_name='4FGL J0957.6+5523' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 00:42:30 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0006>
Subject: Job 481831: <4FGL_J0957.6+5523_daily_bin1770> in cluster <slac> Done

Job <4FGL_J0957.6+5523_daily_bin1770> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Sat Feb 18 00:30:42 2023
Job was executed on host(s) <bullet0006>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:30:47 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:30:47 2023
Terminated at Sat Feb 18 00:42:31 2023
Results reported at Sat Feb 18 00:42:31 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.6+5523_daily_bin1770 149.416 55.3838 698112001 698371201 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 :                                   620.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             298.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   703 sec.
    Turnaround time :                            709 sec.

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

