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


Performing analysis on: 4FGL_J0957.6+5523_daily_bin1754
RA = 149.416, Dec = 55.3838
tmin = 693964801, tmax = 694224001
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='640568', job_status='RUN', time_executed='2023-01-01 01:03:24.524598', time_epoch_executed='1672563804.52' WHERE source_name='4FGL J0957.6+5523' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/640568

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/640568/ft1_4FGL_J0957.6+5523_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/640568/ft2_4FGL_J0957.6+5523_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/640568/ft1_4FGL_J0957.6+5523_daily_bin1754.fits outfile=/scratch/kocevski/640568/ft1_filteredMKT_4FGL_J0957.6+5523_daily_bin1754.fits ra=149.416 dec=55.3838 rad=12.0 tmin=693964801.0 tmax=694224001.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.95
user 3.72
sys 0.22

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

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

Number of photons that the gtmktime cut: 261

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/640568/ft1_filtered_4FGL_J0957.6+5523_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/640568/ft2_4FGL_J0957.6+5523_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/640568/ltcube_693964801_694224001_4FGL_J0957.6+5523_daily_bin1754.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/640568/ft2_4FGL_J0957.6+5523_daily_bin1754.fits
.....................!
real 16.84
user 16.38
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/640568/ft1_filtered_4FGL_J0957.6+5523_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/640568/ft2_4FGL_J0957.6+5523_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/640568/ltcube_693964801_694224001_4FGL_J0957.6+5523_daily_bin1754.fits outfile=/scratch/kocevski/640568/expmap_693964801_694224001_4FGL_J0957.6+5523_daily_bin1754.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/640568/ltcube_693964801_694224001_4FGL_J0957.6+5523_daily_bin1754.fits
.....................!
real 192.54
user 186.67
sys 5.46

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/640568/ft1_filtered_4FGL_J0957.6+5523_daily_bin1754.fits scfile=/scratch/kocevski/640568/ft2_4FGL_J0957.6+5523_daily_bin1754.fits outfile=/scratch/kocevski/640568/cmap_693964801_694224001_4FGL_J0957.6+5523_daily_bin1754.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.56
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/640568/ft1_filtered_4FGL_J0957.6+5523_daily_bin1754.fits scfile=/scratch/kocevski/640568/ft2_4FGL_J0957.6+5523_daily_bin1754.fits outfile=/scratch/kocevski/640568/cmap_HighResolution_693964801_694224001_4FGL_J0957.6+5523_daily_bin1754.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.59
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.3923       1.0000          .0000       .10000E+07
     2 'norm      '    .87238E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.9400       1.0000          .0000       .10000E+07
     4 'Prefactor '    9.0812       1.0000          .0000       .10000E+07
     5 'norm      '    .63705E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.8591       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.9984       1.0000          .0000       .10000E+07
     8 'Prefactor '    .19216E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    6.7972       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11554       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.676       1.0000          .0000       .10000E+07
    12 'norm      '    .18360E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .67851E-03   1.0000          .0000       .10000E+07
    14 'norm      '    1.7478       1.0000          .0000       .10000E+07
    15 'norm      '    .36823E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .81454E-05   1.0000          .0000       .10000E+07
    17 'norm      '    1.9984       1.0000          .0000       .10000E+07
    18 'norm      '    3.9624       1.0000          .0000       .10000E+07
    19 'Prefactor '    .33266E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .26649E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    3.8054       1.0000          .0000       .10000E+07
    22 'norm      '    7.9928       1.0000          .0000       .10000E+07
    23 'norm      '    .12101E-05   1.0000          .0000       .10000E+07
    24 'Prefactor '    .73792E-01   1.0000          .0000       .10000E+07
    25 'norm      '    .60618       1.0000          .0000       .10000E+07
    26 'Prefactor '    6.1314       1.0000          .0000       .10000E+07
    27 'Prefactor '    .33405       1.0000          .0000       .10000E+07
    28 'Normalizat'    .37636       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.5169       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=   2839.202     FROM MIGRAD    STATUS=CONVERGED    194 CALLS     2103 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.2279        9.7938        .63842E-07    .36009E-03
   2  norm           .0000        2.7031       -.39849E-07** at limit **
   3  Prefactor     6.0578        1.4854        .94636E-08   -.38253E-02
   4  Prefactor     7.7218        10.007        .23566E-06    .11728E-02
   5  norm           .0000        .94260       -.20492E-07** at limit **
   6  Prefactor     4.8295        6.3035       -.18940E-07   -.25518E-02
   7  Prefactor     4.2720        1.9578       -.31654E-07    .56212E-01
   8  Prefactor      .0000        3.2610        .97031E-07** at limit **
   9  Prefactor     6.7531        1.7567        .42204E-07    .15730E-01
  10  Prefactor     .16653E-09    41.954        .10982E-06** at limit **
  11  Prefactor     20.585        1.6448        .87134E-08   -.23466E-01
  12  norm           .0000        6.6488       -.24867E-07** at limit **
  13  Prefactor     .60507E-08    11.723       -.49058E-07** at limit **
  14  norm          1.7464        .85514       -.52181E-08   -.73993E-03
  15  norm          .22204E-09    8.3228        .14331E-06** at limit **
  16  Prefactor     .55511E-10    3.3445       -.13428E-06** at limit **
  17  norm          1.9979        1.2268       -.39761E-08   -.47250E-03
  18  norm          3.9609        2.9696       -.16004E-07   -.61518E-03
  19  Prefactor     .25480E-07    54.881        .69727E-06** at limit **
  20  norm          .16653E-09    21.228        .25121E-06** at limit **
  21  Prefactor     3.2159        4.7406        .20654E-06   -.68206E-02
  22  norm          8.0856        4.0872       -.55417E-08    .19045E-02
  23  norm           .0000        1.1200       -.95790E-08** at limit **
  24  Prefactor     .52180E-07    75.830        .58462E-06** at limit **
  25  norm          .62108        2.5499       -.56056E-07    .11503E-04
  26  Prefactor     4.7499        249.43        .20403E-05    .73837E-03
  27  Prefactor     .18557E-06    223.53       -.11006E-05** at limit **
  28  Normalizat    .38097        .25009        .13401E-05    .26141E-04
  29  Prefactor     1.5147        .29672       -.97070E-06    .16564E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.22786
  norm       = 0
  Prefactor  = 6.05781
  Prefactor  = 7.72182
  norm       = 0
  Prefactor  = 4.82954
  Prefactor  = 4.27202
  Prefactor  = 0
  Prefactor  = 6.75308
  Prefactor  = 1.66533e-10
  Prefactor  = 20.5852
  norm       = 0
  Prefactor  = 6.05072e-09
  norm       = 1.74637
  norm       = 2.22045e-10
  Prefactor  = 5.55112e-11
  norm       = 1.9979
  norm       = 3.9609
  Prefactor  = 2.54796e-08
  norm       = 1.66533e-10
  Prefactor  = 3.21593
  norm       = 8.08563
  norm       = 0
  Prefactor  = 5.21805e-08
  norm       = 0.621077
  Prefactor  = 4.74987
  Prefactor  = 1.85574e-07
  Normalizat = 0.380966
  Prefactor  = 1.51469
 **********
 **   18 **HESSE 
 **********

 FCN=   2839.202     FROM HESSE     STATUS=OK           627 CALLS     2730 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.2279        9.9327        .32676E-03   -1.5647    
   2  norm           .0000        2.7084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.0578        14.228        .41178E-03   -1.5659    
   4  Prefactor     7.7218        38.276        .33235E-03   -1.5652    
   5  norm           .0000        .92669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.8295        6.3540        .45610E-03   -1.5664    
   7  Prefactor     4.2720        18.948        .50412E-03   -1.5667    
   8  Prefactor      .0000        3.2629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.7531        34.599        .38461E-03   -1.5656    
  10  Prefactor     .16653E-09    6.3955        .80064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.585        12.422        .21999E-03   -1.5617    
  12  norm           .0000        6.6708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .60507E-08    11.747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.7464        .85567        .75537E-03   -1.5682    
  15  norm          .22204E-09    8.3304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    3.3525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.9979        1.2369        .73240E-03   -1.5680    
  18  norm          3.9609        2.9677        .50648E-03   -1.5668    
  19  Prefactor     .25480E-07    60.260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .16653E-09    21.244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.2159        91.464        .51719E-03   -1.5672    
  22  norm          8.0856        5.3200        .35441E-03   -1.5651    
  23  norm           .0000        1.1229        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .52180E-07    76.414        .14695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .62108        2.7579        .68677E-03   -1.5692    
  26  Prefactor     4.7499        257.15        .40521E-03   -1.5664    
  27  Prefactor     .18557E-06    26.104        .14515E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .38097        .25109        .76947E-01   -1.1830    
  29  Prefactor     1.5147        .27520        .49193E-01   -.77129    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50843e-07
Minuit parameter uncertainties:
  1  9.9327
  2  8.67309e-06
  3  14.228
  4  34.3843
  5  6.86409e-07
  6  6.35405
  7  17.9941
  8  8.51143e-06
  9  30.5716
  10  6.73692e-05
  11  12.4217
  12  2.1441e-05
  13  0.000532047
  14  0.855668
  15  8.20434e-05
  16  2.76703e-05
  17  1.23688
  18  2.96774
  19  0.00247923
  20  0.000110313
  21  34.3017
  22  5.31998
  23  2.02103e-06
  24  0.00399314
  25  2.61755
  26  69.9006
  27  0.00440206
  28  0.251838
  29  0.275472
Done.

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

Extracting fit parameters...

4FGL J0957.6+5523
   Spectrum: LogParabola
392         norm:  1.746e+00  8.557e-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:  1.515e+00  2.755e-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:  3.810e-01  2.518e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.73
Ra Dec: 149.416 55.384
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 8.58e-08 +/- 4.20e-08
Energy Flux (Fixed Index): 5.89e-05 +/- 2.88e-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) = 2838.8834504
delta logL = 0.318907084069

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2838.88163824
delta logL = 0.32071924717

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7587       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6034       1.0000          .0000       5.0000    
     3 'Normalizat'    .39413       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5088       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=   2838.882     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      207 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7587        .90497        .78451E-03   -.95078E-02
   2  alpha         1.6034        .35314        .17974       -.63985E-05
   3  Normalizat    .39409        .22067        .75742E-01    .21183E-04
   4  Prefactor     1.5088        .26671        .49292E-01   -.36211E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.75868
  alpha      = 1.60339
  Normalizat = 0.394091
  Prefactor  = 1.5088
 **********
 **   18 **HESSE 
 **********

 FCN=   2838.882     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7587        .90611        .34540E-05   -1.5681    
   2  alpha         1.6034        .36369        .76959E-02   -.36682    
   3  Normalizat    .39409        .24131        .33542E-03   -1.1761    
   4  Prefactor     1.5088        .29259        .21789E-03   -.77294    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83642e-11
Minuit parameter uncertainties:
  1  0.906107
  2  0.365181
  3  0.241948
  4  0.292921
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/640568': 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) = 2838.88163821
delta logL = 0.320719275813

Extracting fit parameters...

4FGL J0957.6+5523
   Spectrum: LogParabola
392         norm:  1.759e+00  9.061e-01  0.000e+00  1.000e+06 ( 1.000e-11)
393        alpha:  1.603e+00  3.652e-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:  1.509e+00  2.929e-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:  3.941e-01  2.419e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.36
Ra Dec: 149.416 55.384
Photon Index (Free Index): 1.60 +/- 0.37
Photon Flux (Free Index): 6.84e-08 +/- 4.08e-08
Energy Flux (Free Index): 9.19e-05 +/- 7.23e-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/640568/cmap_HighResolution_693964801_694224001_4FGL_J0957.6+5523_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.58e-08', energy_flux2='9.19e-05', photon_flux_error='4.20e-08', dlogl='3.21e-01', energy_flux='5.89e-05', photon_flux2='6.84e-08', job_status='DONE', time_completed='2023-01-01 01:12:03.166575', photon_index_error2='0.37', photon_index2='1.60', ts='15.73', fit_tolerance='1e-08', GAL='1.51', photon_index_error='0.00', energy_flux_error2='7.23e-05', EG='0.38', time_epoch_completed='1672564323.17', return_code='0', job_id='640568', GAL2='1.51', EG2='0.39', return_code2='0', energy_flux_error='2.88e-05', photon_flux_error2='4.08e-08', ts2='16.36', photon_index='1.90' WHERE bin_id='1754' AND source_name='4FGL J0957.6+5523' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 01:12:03 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 640568: <4FGL_J0957.6+5523_daily_bin1754> in cluster <slac> Done

Job <4FGL_J0957.6+5523_daily_bin1754> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jan  1 01:00:18 2023
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 01:01:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 01:01:25 2023
Terminated at Sun Jan  1 01:12:03 2023
Results reported at Sun Jan  1 01:12:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.6+5523_daily_bin1754 149.416 55.3838 693964801 694224001 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 :                                   519.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             294.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   638 sec.
    Turnaround time :                            705 sec.

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

