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


Performing analysis on: 4FGL_J0957.8+3423_daily_bin1759
RA = 149.471, Dec = 34.3975
tmin = 695260801, tmax = 695520001
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='554380', job_status='RUN', time_executed='2023-01-16 01:02:11.165034', time_epoch_executed='1673859731.17' WHERE source_name='4FGL J0957.8+3423' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/554380

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/554380/ft1_4FGL_J0957.8+3423_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/554380/ft2_4FGL_J0957.8+3423_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/554380/ft1_4FGL_J0957.8+3423_daily_bin1759.fits outfile=/scratch/kocevski/554380/ft1_filteredMKT_4FGL_J0957.8+3423_daily_bin1759.fits ra=149.471 dec=34.3975 rad=12.0 tmin=695260801.0 tmax=695520001.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.28
user 2.06
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/554380/ft2_4FGL_J0957.8+3423_daily_bin1759.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/554380/ft2_4FGL_J0957.8+3423_daily_bin1759.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/554380/ft1_filteredMKT_4FGL_J0957.8+3423_daily_bin1759.fits evtable="EVENTS" outfile="/scratch/kocevski/554380/ft1_filtered_4FGL_J0957.8+3423_daily_bin1759.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.45
user 0.29
sys 0.15

Number of photons that the gtmktime cut: 116

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/554380/ft1_filtered_4FGL_J0957.8+3423_daily_bin1759.fits" evtable="EVENTS" scfile=/scratch/kocevski/554380/ft2_4FGL_J0957.8+3423_daily_bin1759.fits sctable="SC_DATA" outfile=/scratch/kocevski/554380/ltcube_695260801_695520001_4FGL_J0957.8+3423_daily_bin1759.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/554380/ft2_4FGL_J0957.8+3423_daily_bin1759.fits
.....................!
real 13.85
user 13.52
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/554380/ft1_filtered_4FGL_J0957.8+3423_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/554380/ft2_4FGL_J0957.8+3423_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/554380/ltcube_695260801_695520001_4FGL_J0957.8+3423_daily_bin1759.fits outfile=/scratch/kocevski/554380/expmap_695260801_695520001_4FGL_J0957.8+3423_daily_bin1759.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/554380/ltcube_695260801_695520001_4FGL_J0957.8+3423_daily_bin1759.fits
.....................!
real 157.72
user 153.00
sys 4.40

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

Setting source of interest to:
4FGL J0957.8+3423 @ 149.471 34.3975

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/554380/ft1_filtered_4FGL_J0957.8+3423_daily_bin1759.fits scfile=/scratch/kocevski/554380/ft2_4FGL_J0957.8+3423_daily_bin1759.fits outfile=/scratch/kocevski/554380/cmap_695260801_695520001_4FGL_J0957.8+3423_daily_bin1759.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.471 yref=34.3975 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.48
user 0.31
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/554380/ft1_filtered_4FGL_J0957.8+3423_daily_bin1759.fits scfile=/scratch/kocevski/554380/ft2_4FGL_J0957.8+3423_daily_bin1759.fits outfile=/scratch/kocevski/554380/cmap_HighResolution_695260801_695520001_4FGL_J0957.8+3423_daily_bin1759.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.471 yref=34.3975 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.50
user 0.31
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/554380/ft1_filtered_4FGL_J0957.8+3423_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/554380/ft2_4FGL_J0957.8+3423_daily_bin1759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/554380/Model_4FGL_J0957.8+3423_daily_bin1759.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/554380/ft1_filtered_4FGL_J0957.8+3423_daily_bin1759.fits........................!
real 18.72
user 17.60
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/554380/ft1_filtered_4FGL_J0957.8+3423_daily_bin1759.fits', '/scratch/kocevski/554380/ft2_4FGL_J0957.8+3423_daily_bin1759.fits', expMap='/scratch/kocevski/554380/expmap_695260801_695520001_4FGL_J0957.8+3423_daily_bin1759.fits', expCube='/scratch/kocevski/554380/ltcube_695260801_695520001_4FGL_J0957.8+3423_daily_bin1759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/554380/Model_4FGL_J0957.8+3423_daily_bin1759.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0957.8+3423'

4FGL J0957.8+3423
   Spectrum: PowerLaw
286    Prefactor:  1.465e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.164e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.466e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/554380/ft1_filtered_4FGL_J0957.8+3423_daily_bin1759.fits
Spacecraft file(s): /scratch/kocevski/554380/ft2_4FGL_J0957.8+3423_daily_bin1759.fits
Exposure map: /scratch/kocevski/554380/expmap_695260801_695520001_4FGL_J0957.8+3423_daily_bin1759.fits
Exposure cube: /scratch/kocevski/554380/ltcube_695260801_695520001_4FGL_J0957.8+3423_daily_bin1759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/554380/Model_4FGL_J0957.8+3423_daily_bin1759.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) = 1388.53337667

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15946E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    9.8622       1.0000          .0000       .10000E+07
     3 'norm      '    .25387E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20555E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .35666E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .21438E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.3954       1.0000          .0000       .10000E+07
     8 'norm      '    .40063E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .41810E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    65.982       1.0000          .0000       .10000E+07
    11 'Prefactor '    10.483       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10205E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    50.518       1.0000          .0000       .10000E+07
    14 'Prefactor '    .63295E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .61731E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .37370       1.0000          .0000       .10000E+07
    17 'Prefactor '    .17577E-02   1.0000          .0000       .10000E+07
    18 'norm      '    15.119       1.0000          .0000       .10000E+07
    19 'Prefactor '    116.25       1.0000          .0000       .10000E+07
    20 'Prefactor '    95.489       1.0000          .0000       .10000E+07
    21 'Prefactor '    1.3880       1.0000          .0000       .10000E+07
    22 'Prefactor '    29.025       1.0000          .0000       .10000E+07
    23 'Normalizat'    .36557       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2765       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1388.169     FROM MIGRAD    STATUS=CONVERGED    284 CALLS     2156 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23870E-08    87.008        .34365E-07** at limit **
   2  Prefactor     9.8492        13.713       -.32519E-07   -.11334E-03
   3  norm           .0000        7.3671       -.15088E-07** at limit **
   4  Prefactor      .0000        26.967       -.66754E-07** at limit **
   5  norm           .0000        8.2372        .52667E-08** at limit **
   6  Prefactor      .0000        2.9241       -.50013E-07** at limit **
   7  Prefactor     7.4798        24.005       -.18918E-06    .31739E-03
   8  norm          .16653E-09    30.551        .56710E-06** at limit **
   9  Prefactor      .0000        81.344       -.21736E-06** at limit **
  10  Prefactor     74.196        55.653       -.23964E-05    .37114E-01
  11  Prefactor     .29103E-04    792.01        .61243E-05** at limit **
  12  Prefactor      .0000        9.9979        .66460E-07** at limit **
  13  Prefactor     49.954        38.778        .17664E-06    .72937E-03
  14  Prefactor      .0000        3.9875        .71572E-07** at limit **
  15  norm           .0000        8.4040        .44171E-07** at limit **
  16  Prefactor     .75339        58.304       -.35314E-05    .90820E-03
  17  Prefactor      .0000        16.976       -.18415E-07** at limit **
  18  norm          14.942        24.257       -.50439E-06   -.62375E-03
  19  Prefactor     128.52        107.66       -.20726E-05   -.23881E-01
  20  Prefactor     98.411        74.152        .12342E-05    .22325E-01
  21  Prefactor     1.5533        10.924        .18698E-06    .34416E-05
  22  Prefactor     25.303        54.189        .61890E-06    .35847E-02
  23  Normalizat    .35296        .47176       -.11710E-04   -.58229E-04
  24  Prefactor     1.2849        .47242       -.10283E-05   -.66238E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.38698e-09
  Prefactor  = 9.84923
  norm       = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 7.4798
  norm       = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 74.1964
  Prefactor  = 2.91034e-05
  Prefactor  = 0
  Prefactor  = 49.9542
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0.753392
  Prefactor  = 0
  norm       = 14.9421
  Prefactor  = 128.519
  Prefactor  = 98.4113
  Prefactor  = 1.55331
  Prefactor  = 25.3027
  Normalizat = 0.352956
  Prefactor  = 1.28488
 **********
 **   18 **HESSE 
 **********

 FCN=   1388.169     FROM HESSE     STATUS=OK           449 CALLS     2605 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23870E-08    87.129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.8492        13.770        .31884E-03   -1.5645    
   3  norm           .0000        7.3682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        26.956        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        8.2280        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.9317        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.4798        24.586        .36857E-03   -1.5653    
   8  norm          .16653E-09    30.149        .15961E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        81.540        .15883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     74.196        83.632        .12312E-03   -1.5536    
  11  Prefactor     .29103E-04    890.92        .30921E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        9.9875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     49.954        40.209        .14070E-03   -1.5567    
  14  Prefactor      .0000        3.9692        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        8.4143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .75339        22.029        .67940E-02   -1.5691    
  17  Prefactor      .0000        17.050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          14.942        24.550        .25732E-03   -1.5631    
  19  Prefactor     128.52        119.58        .92755E-04   -1.5481    
  20  Prefactor     98.411        80.708        .10234E-03   -1.5510    
  21  Prefactor     1.5533        12.235        .92241E-03   -1.5683    
  22  Prefactor     25.303        55.246        .18565E-03   -1.5607    
  23  Normalizat    .35296        .49339        .81548E-01   -1.1981    
  24  Prefactor     1.2849        .44446        .52464E-01   -.83758    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.61704e-07
Minuit parameter uncertainties:
  1  0.00091463
  2  13.7699
  3  5.56672e-07
  4  1.36172e-05
  5  6.81649e-08
  6  4.52329e-06
  7  24.5863
  8  0.000148065
  9  5.24604e-05
  10  83.6331
  11  0.322096
  12  1.38328e-05
  13  40.2096
  14  6.78654e-06
  15  3.09747e-06
  16  8.1477
  17  1.87843e-05
  18  24.5502
  19  119.581
  20  80.7087
  21  8.71887
  22  55.2471
  23  0.499653
  24  0.44578
Done.

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

Extracting fit parameters...

4FGL J0957.8+3423
   Spectrum: PowerLaw
286    Prefactor:  4.995e+01  4.021e+01  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.164e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.466e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.285e+00  4.458e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  3.530e-01  4.997e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.17
Ra Dec: 149.471 34.398
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.43e-07 +/- 1.15e-07
Energy Flux (Fixed Index): 6.90e-05 +/- 5.55e-05

TS (Fixed Index): 3.17
Ra Dec: 149.471 34.398
Photon Flux Upper Limit: 3.66e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.78e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/554380/likelihoodResults_695260801_695520001_4FGL_J0957.8+3423_daily_bin1759.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) = 1386.86538858
delta logL = 1.3033054842

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1386.83496364
delta logL = 1.33373043228

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1386.835     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      297 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.6503        18.716        .57511E-05    .11608E-01
   2  Index         3.3588        .91716        .18065E-03    .34361E-03
   3  Normalizat    .14788        .39825        .55128E-03   -.12711E-03
   4  Prefactor     1.4488        .46542        .22018E-03   -.58100E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.65033
  Index      = 3.35883
  Normalizat = 0.14788
  Prefactor  = 1.44882
 **********
 **   18 **HESSE 
 **********

 FCN=   1386.835     FROM HESSE     STATUS=OK            23 CALLS      320 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.6503        18.077        .11502E-05   -1.5646    
   2  Index         3.3588        .88607        .72260E-05   -.33443    
   3  Normalizat    .14788        .39697        .22051E-04   -1.3353    
   4  Prefactor     1.4488        .46381        .44035E-04   -.78983    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34525e-09
Minuit parameter uncertainties:
  1  18.0768
  2  0.891351
  3  0.405076
  4  0.465158
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/554380': 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) = 1386.83496075
delta logL = 1.33373332208

Extracting fit parameters...

4FGL J0957.8+3423
   Spectrum: PowerLaw
286    Prefactor:  9.650e+00  1.808e+01  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  3.359e+00  8.914e-01  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.466e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.449e+00  4.652e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  1.479e-01  4.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.45
Ra Dec: 149.471 34.398
Photon Index (Free Index): 3.36 +/- 0.89
Photon Flux (Free Index): 3.39e-07 +/- 2.02e-07
Energy Flux (Free Index): 5.87e-05 +/- 3.26e-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/554380/cmap_HighResolution_695260801_695520001_4FGL_J0957.8+3423_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.78e-02', comment='SUCCESS', photon_flux='1.43e-07', energy_flux2='5.87e-05', photon_flux_error='1.15e-07', dlogl='1.33e+00', energy_flux='6.90e-05', photon_flux2='3.39e-07', job_status='DONE', time_completed='2023-01-16 01:07:34.085423', photon_index_error2='0.89', photon_index2='3.36', ts='3.17', fit_tolerance='1e-08', GAL='1.28', photon_index_error='0.00', photon_flux_upper_limit='3.66e-07', energy_flux_error2='3.26e-05', EG='0.35', time_epoch_completed='1673860054.09', return_code='0', job_id='554380', GAL2='1.45', EG2='0.15', return_code2='0', energy_flux_error='5.55e-05', photon_flux_error2='2.02e-07', ts2='6.45', photon_index='2.16' WHERE bin_id='1759' AND source_name='4FGL J0957.8+3423' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:07:34 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 554380: <4FGL_J0957.8+3423_daily_bin1759> in cluster <slac> Done

Job <4FGL_J0957.8+3423_daily_bin1759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Jan 16 00:55:39 2023
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 00:59:01 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 00:59:01 2023
Terminated at Mon Jan 16 01:07:34 2023
Results reported at Mon Jan 16 01:07:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.8+3423_daily_bin1759 149.471 34.3975 695260801 695520001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0957.8+3423 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   324.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             271.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   513 sec.
    Turnaround time :                            715 sec.

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

