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 132 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_bin1709
RA = 149.471, Dec = 34.3975
tmin = 682300801, tmax = 682560001
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='87580', job_status='RUN', time_executed='2022-09-16 15:05:04.889971', time_epoch_executed='1663365904.89' WHERE source_name='4FGL J0957.8+3423' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/87580

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/87580/ft1_4FGL_J0957.8+3423_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/87580/ft2_4FGL_J0957.8+3423_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/87580/ft1_4FGL_J0957.8+3423_daily_bin1709.fits outfile=/scratch/kocevski/87580/ft1_filteredMKT_4FGL_J0957.8+3423_daily_bin1709.fits ra=149.471 dec=34.3975 rad=12.0 tmin=682300801.0 tmax=682560001.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 3.74
user 3.50
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/87580/ft2_4FGL_J0957.8+3423_daily_bin1709.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/87580/ft1_filteredMKT_4FGL_J0957.8+3423_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/87580/ft1_filtered_4FGL_J0957.8+3423_daily_bin1709.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 529

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/87580/ft1_filtered_4FGL_J0957.8+3423_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/87580/ft2_4FGL_J0957.8+3423_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/87580/ltcube_682300801_682560001_4FGL_J0957.8+3423_daily_bin1709.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/87580/ft2_4FGL_J0957.8+3423_daily_bin1709.fits
.....................!
real 14.88
user 14.44
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/87580/ft1_filtered_4FGL_J0957.8+3423_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/87580/ft2_4FGL_J0957.8+3423_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/87580/ltcube_682300801_682560001_4FGL_J0957.8+3423_daily_bin1709.fits outfile=/scratch/kocevski/87580/expmap_682300801_682560001_4FGL_J0957.8+3423_daily_bin1709.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/87580/ltcube_682300801_682560001_4FGL_J0957.8+3423_daily_bin1709.fits
.....................!
real 191.75
user 186.12
sys 4.57

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/87580/ft1_filtered_4FGL_J0957.8+3423_daily_bin1709.fits scfile=/scratch/kocevski/87580/ft2_4FGL_J0957.8+3423_daily_bin1709.fits outfile=/scratch/kocevski/87580/cmap_682300801_682560001_4FGL_J0957.8+3423_daily_bin1709.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.57
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/87580/ft1_filtered_4FGL_J0957.8+3423_daily_bin1709.fits scfile=/scratch/kocevski/87580/ft2_4FGL_J0957.8+3423_daily_bin1709.fits outfile=/scratch/kocevski/87580/cmap_HighResolution_682300801_682560001_4FGL_J0957.8+3423_daily_bin1709.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/87580/ft1_filtered_4FGL_J0957.8+3423_daily_bin1709.fits', '/scratch/kocevski/87580/ft2_4FGL_J0957.8+3423_daily_bin1709.fits', expMap='/scratch/kocevski/87580/expmap_682300801_682560001_4FGL_J0957.8+3423_daily_bin1709.fits', expCube='/scratch/kocevski/87580/ltcube_682300801_682560001_4FGL_J0957.8+3423_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/87580/Model_4FGL_J0957.8+3423_daily_bin1709.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/87580/ft1_filtered_4FGL_J0957.8+3423_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/87580/ft2_4FGL_J0957.8+3423_daily_bin1709.fits
Exposure map: /scratch/kocevski/87580/expmap_682300801_682560001_4FGL_J0957.8+3423_daily_bin1709.fits
Exposure cube: /scratch/kocevski/87580/ltcube_682300801_682560001_4FGL_J0957.8+3423_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/87580/Model_4FGL_J0957.8+3423_daily_bin1709.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) = 5957.28181515

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8296       1.0000          .0000       .10000E+07
     2 'Prefactor '    .58121E-03   1.0000          .0000       .10000E+07
     3 'norm      '    3.5189       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.242       1.0000          .0000       .10000E+07
     5 'norm      '    8.5507       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.1896       1.0000          .0000       .10000E+07
     7 'Prefactor '    .34939E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .10479E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    13.528       1.0000          .0000       .10000E+07
    10 'Prefactor '    33.343       1.0000          .0000       .10000E+07
    11 'Prefactor '    12.825       1.0000          .0000       .10000E+07
    12 'Prefactor '    .20139E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.2264       1.0000          .0000       .10000E+07
    14 'Prefactor '    .50265E-06   1.0000          .0000       .10000E+07
    15 'norm      '    28.914       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.2773       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.6630       1.0000          .0000       .10000E+07
    18 'norm      '    2.1987       1.0000          .0000       .10000E+07
    19 'Prefactor '    50.137       1.0000          .0000       .10000E+07
    20 'Prefactor '    .21547E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .76024       1.0000          .0000       .10000E+07
    22 'Prefactor '    6.3171       1.0000          .0000       .10000E+07
    23 'Normalizat'    .82683       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2905       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=   5957.275     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1990 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0590        7.0944       -.98276E-07   -.25611E-02
   2  Prefactor     .95479E-08    17.274        .49793E-06** at limit **
   3  norm          3.5204        1.9432       -.55418E-08   -.39308E-03
   4  Prefactor     10.251        6.8456       -.36193E-07   -.41102E-01
   5  norm          8.5496        8.7828        .37542E-07   -.72919E-03
   6  Prefactor     1.1899        2.6714        .16009E-06    .15580E-02
   7  Prefactor      .0000        1.1919        .75006E-07** at limit **
   8  norm          .47184E-07    39.234       -.34601E-06** at limit **
   9  Prefactor     13.505        2.6486       -.60284E-08    .33618E-01
  10  Prefactor     33.375        7.8941        .65816E-07   -.22869E-01
  11  Prefactor     12.795        4.7001        .61425E-07   -.26315E-01
  12  Prefactor     .55511E-10    2.2547       -.83133E-08** at limit **
  13  Prefactor     6.2566        7.3086        .99308E-07    .30539E-01
  14  Prefactor      .0000        .88584       -.16635E-06** at limit **
  15  norm          28.937        12.478        .21966E-07   -.20571E-01
  16  Prefactor     6.3380        3.7892        .10464E-06    .16169E-03
  17  Prefactor     1.6455        2.9267       -.18829E-06   -.41241E-03
  18  norm          2.2184        7.1128        .29466E-06   -.67255E-02
  19  Prefactor     50.185        1.5538        .82435E-08   -.66558E-01
  20  Prefactor     .57176E-08    10.750        .26054E-06** at limit **
  21  Prefactor     .77089        2.9186        .86003E-07    .12789E-01
  22  Prefactor     6.4289        1.9271        .27683E-07   -.28501E-01
  23  Normalizat    .82646        .21614       -.17384E-05    .37080E-04
  24  Prefactor     1.2903        .24818        .21104E-05    .43059E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.05903
  Prefactor  = 9.54792e-09
  norm       = 3.52045
  Prefactor  = 10.2511
  norm       = 8.54964
  Prefactor  = 1.1899
  Prefactor  = 0
  norm       = 4.71845e-08
  Prefactor  = 13.5049
  Prefactor  = 33.3745
  Prefactor  = 12.7948
  Prefactor  = 5.55112e-11
  Prefactor  = 6.25662
  Prefactor  = 0
  norm       = 28.9372
  Prefactor  = 6.33798
  Prefactor  = 1.64554
  norm       = 2.21843
  Prefactor  = 50.1846
  Prefactor  = 5.71765e-09
  Prefactor  = 0.770894
  Prefactor  = 6.42889
  Normalizat = 0.826462
  Prefactor  = 1.29031
 **********
 **   18 **HESSE 
 **********

 FCN=   5957.275     FROM HESSE     STATUS=OK           459 CALLS     2449 TOTAL
                     EDM=   .82E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0590        49.684        .60431E-03   -1.5673    
   2  Prefactor     .95479E-08    3.4466        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.5204        1.9432        .53867E-03   -1.5670    
   4  Prefactor     10.251        21.299        .31285E-03   -1.5644    
   5  norm          8.5496        10.250        .34257E-03   -1.5649    
   6  Prefactor     1.1899        2.9232        .10443E-02   -1.5686    
   7  Prefactor      .0000        1.1915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .47184E-07    39.780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.505        14.110        .27207E-03   -1.5634    
  10  Prefactor     33.375        23.979        .17320E-03   -1.5592    
  11  Prefactor     12.795        28.598        .27945E-03   -1.5636    
  12  Prefactor     .55511E-10    2.2503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.2566        8.3366        .40207E-03   -1.5658    
  14  Prefactor      .0000        .88108        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          28.937        12.741        .18600E-03   -1.5600    
  16  Prefactor     6.3380        3.8018        .40041E-03   -1.5658    
  17  Prefactor     1.6455        2.9653        .81761E-03   -1.5682    
  18  norm          2.2184        9.2537        .69364E-03   -1.5678    
  19  Prefactor     50.185        70.504        .14124E-03   -1.5566    
  20  Prefactor     .57176E-08    11.641        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .77089        6.3878        .55947E-03   -1.5690    
  22  Prefactor     6.4289        63.296        .39913E-03   -1.5657    
  23  Normalizat    .82646        .18912        .43959E-01   -.99095    
  24  Prefactor     1.2903        .21040        .59065E-01   -.83596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.18224e-07
Minuit parameter uncertainties:
  1  24.6568
  2  0.000363042
  3  1.94316
  4  21.2987
  5  10.2498
  6  2.92321
  7  1.33356e-06
  8  0.00274073
  9  14.1099
  10  23.9791
  11  28.5982
  12  1.58641e-05
  13  8.33657
  14  2.32089e-06
  15  12.7414
  16  3.80175
  17  2.96527
  18  9.06175
  19  70.5052
  20  0.000517231
  21  4.43816
  22  40.3451
  23  0.189266
  24  0.210536
Done.

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

Extracting fit parameters...

4FGL J0957.8+3423
   Spectrum: PowerLaw
286    Prefactor:  6.257e+00  8.337e+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

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.290e+00  2.105e-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:  8.265e-01  1.893e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.03
Ra Dec: 149.471 34.398
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.80e-08 +/- 2.39e-08
Energy Flux (Fixed Index): 8.64e-06 +/- 1.15e-05

TS (Fixed Index): 1.03
Ra Dec: 149.471 34.398
Photon Flux Upper Limit: 8.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/87580/likelihoodResults_682300801_682560001_4FGL_J0957.8+3423_daily_bin1709.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) = 5956.91990982
delta logL = 0.354629868169

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5956.33300508
delta logL = 0.941534610122

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86060E-05   1.0000          .0000       .10000E+07
     2 'Index     '    8.4633       1.0000          .0000       10.000    
     3 'Normalizat'    .71240       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3996       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5956.333     FROM MIGRAD    STATUS=CONVERGED    341 CALLS      707 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81199E-05    .90222E-05     .0000    ** at limit **
   2  Index         8.4859        .38177         .0000        .10775E-03
   3  Normalizat    .71271        .18111         .0000        .95371E-04
   4  Prefactor     1.3991        .21198         .0000        .11917E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.11995e-06
  Index      = 8.48591
  Normalizat = 0.712713
  Prefactor  = 1.39909
 **********
 **   18 **HESSE 
 **********

 FCN=   5956.333     FROM HESSE     STATUS=OK            33 CALLS      740 TOTAL
                     EDM=   .29E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81199E-05    .94996E-05    .74902E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.4859        .45181        .49144E-02   -106.04    
   3  Normalizat    .71271        .21951        .28616E-03   -1.0339    
   4  Prefactor     1.3991        .25735        .25270E-03   -.80407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.88248e-05
Minuit parameter uncertainties:
  1  9.49964e-06
  2  0.453015
  3  0.219782
  4  0.257583
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/87580': 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) = 5956.33299083
delta logL = 0.941548855038

Extracting fit parameters...

4FGL J0957.8+3423
   Spectrum: PowerLaw
286    Prefactor:  8.120e-06  9.500e-06  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  8.486e+00  4.530e-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.399e+00  2.576e-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:  7.127e-01  2.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.22
Ra Dec: 149.471 34.398
Photon Index (Free Index): 8.49 +/- 0.45
Photon Flux (Free Index): 8.74e-08 +/- 1.89e-07
Energy Flux (Free Index): 1.00e-05 +/- 2.17e-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/87580/cmap_HighResolution_682300801_682560001_4FGL_J0957.8+3423_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.40e-03', comment='SUCCESS', photon_flux='1.80e-08', energy_flux2='1.00e-05', photon_flux_error='2.39e-08', dlogl='9.42e-01', energy_flux='8.64e-06', photon_flux2='8.74e-08', job_status='DONE', time_completed='2022-09-16 15:15:54.003026', photon_index_error2='0.45', photon_index2='8.49', ts='1.03', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', photon_flux_upper_limit='8.43e-08', energy_flux_error2='2.17e-05', EG='0.83', time_epoch_completed='1663366554.0', return_code='0', job_id='87580', GAL2='1.40', EG2='0.71', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='1.89e-07', ts2='3.22', photon_index='2.16' WHERE bin_id='1709' AND source_name='4FGL J0957.8+3423' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:15:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 87580: <4FGL_J0957.8+3423_daily_bin1709> in cluster <slac> Done

Job <4FGL_J0957.8+3423_daily_bin1709> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 15:00:29 2022
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:02:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:02:43 2022
Terminated at Fri Sep 16 15:15:54 2022
Results reported at Fri Sep 16 15:15:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.8+3423_daily_bin1709 149.471 34.3975 682300801 682560001 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 :                                   650.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             297.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            925 sec.

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

