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


Performing analysis on: 4FGL_J0957.8+3423_daily_bin1718
RA = 149.471, Dec = 34.3975
tmin = 684633601, tmax = 684892801
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='87592', job_status='RUN', time_executed='2022-09-16 15:03:56.333552', time_epoch_executed='1663365836.33' WHERE source_name='4FGL J0957.8+3423' and cadence='daily' and bin_id='1718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/87592

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/87592/ft1_4FGL_J0957.8+3423_daily_bin1718.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/87592/ft2_4FGL_J0957.8+3423_daily_bin1718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/87592/ft1_4FGL_J0957.8+3423_daily_bin1718.fits outfile=/scratch/kocevski/87592/ft1_filteredMKT_4FGL_J0957.8+3423_daily_bin1718.fits ra=149.471 dec=34.3975 rad=12.0 tmin=684633601.0 tmax=684892801.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.65
user 2.42
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/87592/ft2_4FGL_J0957.8+3423_daily_bin1718.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/87592/ft1_filteredMKT_4FGL_J0957.8+3423_daily_bin1718.fits evtable="EVENTS" outfile="/scratch/kocevski/87592/ft1_filtered_4FGL_J0957.8+3423_daily_bin1718.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: 327

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/87592/ft1_filtered_4FGL_J0957.8+3423_daily_bin1718.fits" evtable="EVENTS" scfile=/scratch/kocevski/87592/ft2_4FGL_J0957.8+3423_daily_bin1718.fits sctable="SC_DATA" outfile=/scratch/kocevski/87592/ltcube_684633601_684892801_4FGL_J0957.8+3423_daily_bin1718.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/87592/ft2_4FGL_J0957.8+3423_daily_bin1718.fits
.....................!
real 12.85
user 12.42
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/87592/ft1_filtered_4FGL_J0957.8+3423_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/87592/ft2_4FGL_J0957.8+3423_daily_bin1718.fits sctable="SC_DATA" expcube=/scratch/kocevski/87592/ltcube_684633601_684892801_4FGL_J0957.8+3423_daily_bin1718.fits outfile=/scratch/kocevski/87592/expmap_684633601_684892801_4FGL_J0957.8+3423_daily_bin1718.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/87592/ltcube_684633601_684892801_4FGL_J0957.8+3423_daily_bin1718.fits
.....................!
real 158.10
user 152.03
sys 4.51

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/87592/ft1_filtered_4FGL_J0957.8+3423_daily_bin1718.fits scfile=/scratch/kocevski/87592/ft2_4FGL_J0957.8+3423_daily_bin1718.fits outfile=/scratch/kocevski/87592/cmap_684633601_684892801_4FGL_J0957.8+3423_daily_bin1718.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/87592/ft1_filtered_4FGL_J0957.8+3423_daily_bin1718.fits scfile=/scratch/kocevski/87592/ft2_4FGL_J0957.8+3423_daily_bin1718.fits outfile=/scratch/kocevski/87592/cmap_HighResolution_684633601_684892801_4FGL_J0957.8+3423_daily_bin1718.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.48
user 0.32
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12774E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.9082       1.0000          .0000       .10000E+07
     3 'norm      '    1.0779       1.0000          .0000       .10000E+07
     4 'Prefactor '    21.010       1.0000          .0000       .10000E+07
     5 'norm      '    .46938       1.0000          .0000       .10000E+07
     6 'Prefactor '    .26046E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .39333       1.0000          .0000       .10000E+07
     8 'norm      '    .86761E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    31.563       1.0000          .0000       .10000E+07
    10 'Prefactor '    .83640E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .24941E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .36044E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .92431E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.1706       1.0000          .0000       .10000E+07
    15 'norm      '    .67420E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .11048E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .16261E-02   1.0000          .0000       .10000E+07
    18 'norm      '    8.2282       1.0000          .0000       .10000E+07
    19 'Prefactor '    .32615E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .24380E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .48194E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .60278       1.0000          .0000       .10000E+07
    23 'Normalizat'    .84510       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3329       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=   3739.138     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1978 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .74568E-06    31.663        .24210E-06** at limit **
   2  Prefactor     4.9054        3.1374       -.15334E-08   -.33039E-03
   3  norm          1.0765        1.2362        .23273E-07    .90569E-03
   4  Prefactor     21.454        6.7344       -.19888E-07    .42049E-01
   5  norm          .21254        4.9297        .10269E-07** at limit **
   6  Prefactor      .0000        .85301        .56353E-07** at limit **
   7  Prefactor     .42173        14.085        .35700E-06    .38093E-03
   8  norm          .16653E-09    4.3954        .67022E-07** at limit **
   9  Prefactor     31.399        7.2793       -.19797E-07    .57699E-01
  10  Prefactor     .22204E-08    5.7499        .79856E-07** at limit **
  11  Prefactor     .80888E-05    40.853       -.11891E-06** at limit **
  12  Prefactor     .55511E-10    22.211       -.34188E-06** at limit **
  13  Prefactor     .72109E-07    8.7571       -.29719E-07** at limit **
  14  Prefactor     5.1638        4.2366        .92158E-07    .69199E-03
  15  norm          .17480E-06    26.984        .34316E-06** at limit **
  16  Prefactor     .35449E-06    4.3987        .16557E-06** at limit **
  17  Prefactor     .90206E-07    10.347       -.80155E-08** at limit **
  18  norm          7.9181        9.6398        .72125E-07    .30675E-03
  19  Prefactor     .12257E-04    30.048       -.59978E-07** at limit **
  20  Prefactor     .63283E-08    14.350        .14122E-06** at limit **
  21  Prefactor     .47184E-08    8.3968        .95688E-07** at limit **
  22  Prefactor     .29388E-06    21.002        .19168E-06** at limit **
  23  Normalizat    .84617        .24614       -.17641E-05   -.44006E-04
  24  Prefactor     1.3325        .29131       -.16391E-05   -.51411E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.45681e-07
  Prefactor  = 4.90538
  norm       = 1.07646
  Prefactor  = 21.4538
  norm       = 0.212543
  Prefactor  = 0
  Prefactor  = 0.421729
  norm       = 1.66533e-10
  Prefactor  = 31.3994
  Prefactor  = 2.22045e-09
  Prefactor  = 8.08881e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 7.2109e-08
  Prefactor  = 5.16378
  norm       = 1.74805e-07
  Prefactor  = 3.54494e-07
  Prefactor  = 9.02056e-08
  norm       = 7.91811
  Prefactor  = 1.2257e-05
  Prefactor  = 6.32827e-09
  Prefactor  = 4.71845e-09
  Prefactor  = 2.93876e-07
  Normalizat = 0.846169
  Prefactor  = 1.33252
 **********
 **   18 **HESSE 
 **********

 FCN=   3739.138     FROM HESSE     STATUS=OK           455 CALLS     2433 TOTAL
                     EDM=   .60E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .74568E-06    41.225        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.9054        3.1693        .45377E-03   -1.5664    
   3  norm          1.0765        1.2342        .11625E-03   -1.5687    
   4  Prefactor     21.454        23.859        .21823E-03   -1.5615    
   5  norm          .21254        9.4855        .81852E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .85402        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .42173        3.3074        .62195E-02   -1.5695    
   8  norm          .16653E-09    10.080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     31.399        44.063        .17802E-03   -1.5596    
  10  Prefactor     .22204E-08    10.139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .80888E-05    72.617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    7.4831        .86193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .72109E-07    9.3675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.1638        4.2961        .44186E-03   -1.5663    
  15  norm          .17480E-06    30.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .35449E-06    35.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .90206E-07    11.646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.9181        9.6340        .34926E-03   -1.5652    
  19  Prefactor     .12257E-04    65.405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .63283E-08    14.393        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .47184E-08    8.4395        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .29388E-06    111.33        .68979E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .84617        .21735        .44196E-01   -.98378    
  24  Prefactor     1.3325        .24995        .57293E-01   -.82345    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.02525e-07
Minuit parameter uncertainties:
  1  0.0110889
  2  3.1693
  3  1.23416
  4  23.8593
  5  2.83978
  6  5.6675e-07
  7  2.36205
  8  7.72768e-05
  9  44.0632
  10  0.000299901
  11  0.0484725
  12  4.73999e-05
  13  0.00164359
  14  4.29612
  15  0.00460461
  16  0.00706562
  17  0.00204964
  18  9.63399
  19  0.0566279
  20  0.000604328
  21  0.000398641
  22  0.01144
  23  0.217573
  24  0.250173
Done.

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

Extracting fit parameters...

4FGL J0957.8+3423
   Spectrum: PowerLaw
286    Prefactor:  7.211e-08  1.644e-03  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.333e+00  2.502e-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.462e-01  2.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/87592/likelihoodResults_684633601_684892801_4FGL_J0957.8+3423_daily_bin1718.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) = 3739.18960992
delta logL = -0.0515743922451

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3738.58333663
delta logL = 0.55469889654

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .61111E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.6554       1.0000          .0000       10.000    
     3 'Normalizat'    .76693       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3941       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   3739.138     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      329 TOTAL
                     EDM=   .27E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .38483        .42118E-03** at limit **
   2  Index         .15392        .26169        .62613E-06     .0000    
   3  Normalizat    .84617        1.1578       -.53731E-04    .23327E-04
   4  Prefactor     1.3325        1.0414       -.38075E-04   -.82410E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.15392
  Normalizat = 0.84617
  Prefactor  = 1.33252
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   3739.138     FROM HESSE     STATUS=FAILED         9 CALLS      338 TOTAL
                     EDM=   .27E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .38483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16963        .26169        .62613E-06   -177.25    
   3  Normalizat    .84617        1.1578       -.53731E-04    55.565    
   4  Prefactor     1.3325        1.0414       -.38075E-04   -2.3181    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.70659e-12
Minuit parameter uncertainties:
  1  9.13736e-07
  2  0.263702
  3  1.19454
  4  1.05842
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/87592': 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): 101
logL (Free Index) = 3739.13803552
delta logL = 3.84761733585e-09

Extracting fit parameters...

4FGL J0957.8+3423
   Spectrum: PowerLaw
286    Prefactor:  0.000e+00  9.137e-07  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  1.539e-01  2.637e-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.333e+00  1.058e+00  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.462e-01  1.195e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 149.471 34.398

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/87592/cmap_HighResolution_684633601_684892801_4FGL_J0957.8+3423_daily_bin1718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.34e-03', job_status='DONE', photon_flux_upper_limit='9.66e-08', time_completed='2022-09-16 15:10:54.040766', job_id='87592', GAL2='1.33', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1663366254.04', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.33', dlogl='3.85e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1718' AND source_name='4FGL J0957.8+3423' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:10:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 87592: <4FGL_J0957.8+3423_daily_bin1718> in cluster <slac> Done

Job <4FGL_J0957.8+3423_daily_bin1718> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 15:00:30 2022
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:02:55 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:55 2022
Terminated at Fri Sep 16 15:10:54 2022
Results reported at Fri Sep 16 15:10:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.8+3423_daily_bin1718 149.471 34.3975 684633601 684892801 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 :                                   416.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             306.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   479 sec.
    Turnaround time :                            624 sec.

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

