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


Performing analysis on: 4FGL_J0923.5+4125_daily_bin1715
RA = 140.895, Dec = 41.4283
tmin = 683856001, tmax = 684115201
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='81627', job_status='RUN', time_executed='2022-09-16 14:42:55.983725', time_epoch_executed='1663364575.98' WHERE source_name='4FGL J0923.5+4125' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/81627

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/81627/ft1_4FGL_J0923.5+4125_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/81627/ft2_4FGL_J0923.5+4125_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/81627/ft1_4FGL_J0923.5+4125_daily_bin1715.fits outfile=/scratch/kocevski/81627/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1715.fits ra=140.895 dec=41.4283 rad=12.0 tmin=683856001.0 tmax=684115201.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.49
user 3.25
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/81627/ft2_4FGL_J0923.5+4125_daily_bin1715.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/81627/ft2_4FGL_J0923.5+4125_daily_bin1715.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/81627/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1715.fits evtable="EVENTS" outfile="/scratch/kocevski/81627/ft1_filtered_4FGL_J0923.5+4125_daily_bin1715.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.50
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 627

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/81627/ft1_filtered_4FGL_J0923.5+4125_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/81627/ft2_4FGL_J0923.5+4125_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/81627/ltcube_683856001_684115201_4FGL_J0923.5+4125_daily_bin1715.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/81627/ft2_4FGL_J0923.5+4125_daily_bin1715.fits
.....................!
real 12.56
user 12.12
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/81627/ft1_filtered_4FGL_J0923.5+4125_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/81627/ft2_4FGL_J0923.5+4125_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/81627/ltcube_683856001_684115201_4FGL_J0923.5+4125_daily_bin1715.fits outfile=/scratch/kocevski/81627/expmap_683856001_684115201_4FGL_J0923.5+4125_daily_bin1715.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/81627/ltcube_683856001_684115201_4FGL_J0923.5+4125_daily_bin1715.fits
.....................!
real 192.25
user 186.15
sys 5.32

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

Setting source of interest to:
4FGL J0923.5+4125 @ 140.895 41.4283

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/81627/ft1_filtered_4FGL_J0923.5+4125_daily_bin1715.fits scfile=/scratch/kocevski/81627/ft2_4FGL_J0923.5+4125_daily_bin1715.fits outfile=/scratch/kocevski/81627/cmap_683856001_684115201_4FGL_J0923.5+4125_daily_bin1715.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=140.895 yref=41.4283 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/81627/ft1_filtered_4FGL_J0923.5+4125_daily_bin1715.fits scfile=/scratch/kocevski/81627/ft2_4FGL_J0923.5+4125_daily_bin1715.fits outfile=/scratch/kocevski/81627/cmap_HighResolution_683856001_684115201_4FGL_J0923.5+4125_daily_bin1715.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=140.895 yref=41.4283 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/81627/ft1_filtered_4FGL_J0923.5+4125_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/81627/ft2_4FGL_J0923.5+4125_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/81627/Model_4FGL_J0923.5+4125_daily_bin1715.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/81627/ft1_filtered_4FGL_J0923.5+4125_daily_bin1715.fits.....................!
real 60.53
user 58.40
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/81627/ft1_filtered_4FGL_J0923.5+4125_daily_bin1715.fits', '/scratch/kocevski/81627/ft2_4FGL_J0923.5+4125_daily_bin1715.fits', expMap='/scratch/kocevski/81627/expmap_683856001_684115201_4FGL_J0923.5+4125_daily_bin1715.fits', expCube='/scratch/kocevski/81627/ltcube_683856001_684115201_4FGL_J0923.5+4125_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/81627/Model_4FGL_J0923.5+4125_daily_bin1715.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0923.5+4125'

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  1.066e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  2.355e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/81627/ft1_filtered_4FGL_J0923.5+4125_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/81627/ft2_4FGL_J0923.5+4125_daily_bin1715.fits
Exposure map: /scratch/kocevski/81627/expmap_683856001_684115201_4FGL_J0923.5+4125_daily_bin1715.fits
Exposure cube: /scratch/kocevski/81627/ltcube_683856001_684115201_4FGL_J0923.5+4125_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/81627/Model_4FGL_J0923.5+4125_daily_bin1715.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) = 6862.47262549

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5387       1.0000          .0000       .10000E+07
     2 'Prefactor '    .36516E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    70.431       1.0000          .0000       .10000E+07
     4 'Prefactor '    .49685E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .59297E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .25102E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    39.639       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16321E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.0933       1.0000          .0000       .10000E+07
    10 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
    11 'Prefactor '    .27022E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .28164       1.0000          .0000       .10000E+07
    13 'Prefactor '    .65094E-04   1.0000          .0000       .10000E+07
    14 'norm      '    17.256       1.0000          .0000       .10000E+07
    15 'Prefactor '    .36138E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    10.292       1.0000          .0000       .10000E+07
    17 'Prefactor '    .87857E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .42610E-04   1.0000          .0000       .10000E+07
    19 'norm      '    .20070E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .20354E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .92270E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    .47617       1.0000          .0000       .10000E+07
    23 'Prefactor '    .28022E-03   1.0000          .0000       .10000E+07
    24 'norm      '    .19344E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    2.6467       1.0000          .0000       .10000E+07
    26 'Prefactor '    .87480       1.0000          .0000       .10000E+07
    27 'norm      '    1.4451       1.0000          .0000       .10000E+07
    28 'Normalizat'    1.1376       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0869       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6862.436     FROM MIGRAD    STATUS=CONVERGED    183 CALLS     2670 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4250        3.6632       -.61051E-06    .71242E-03
   2  Prefactor      .0000        2.0574       -.42393E-06** at limit **
   3  Prefactor     71.226        30.746        .13882E-05   -.12168    
   4  Prefactor     .20349E-05    21.676        .24442E-05** at limit **
   5  norm           .0000        2.5483        .81080E-07** at limit **
   6  norm          .19429E-08    4.8283        .83408E-06** at limit **
   7  Prefactor     39.445        1.6607        .65942E-07   -.43886E-02
   8  Prefactor      .0000        15.167       -.11068E-06** at limit **
   9  Prefactor     2.0942        2.7744       -.69376E-06   -.13661E-04
  10  norm           .0000        .78876        .25378E-06** at limit **
  11  Prefactor     .71054E-08    9.4909        .12316E-05** at limit **
  12  norm          .28169        .32423        .92272E-07    .33962E-02
  13  Prefactor      .0000        1.6173       -.50534E-06** at limit **
  14  norm          17.250        7.5951        .63658E-06    .46751E-01
  15  Prefactor      .0000        .61098        .44838E-06** at limit **
  16  Prefactor     10.293        8.3276       -.58973E-06   -.13969E-01
  17  Prefactor      .0000        1.1255        .60272E-07** at limit **
  18  Prefactor     .25857E-06    17.745        .88035E-06** at limit **
  19  norm          .49405E-08    2.6506       -.46864E-06** at limit **
  20  Prefactor     .76050E-08    4.1680        .50183E-06** at limit **
  21  Prefactor     .92191E-01    1.4008       -.54425E-06** at limit **
  22  Prefactor     .90322E-04    50.210       -.22749E-05** at limit **
  23  Prefactor     .88263E-08    2.8105        .59975E-06** at limit **
  24  norm          .49960E-08    3.8949        .48482E-06** at limit **
  25  Prefactor     2.6320        4.9251        .81010E-07    .61988E-03
  26  Prefactor     .88525        .72894        .35218E-07    .12691E-01
  27  norm          1.4791        1.9961        .49209E-06   -.13300E-01
  28  Normalizat    1.1381        .19671       -.24366E-04    .72460E-04
  29  Prefactor     1.0865        .22070        .11466E-04    .90394E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.425
  Prefactor  = 0
  Prefactor  = 71.2259
  Prefactor  = 2.03487e-06
  norm       = 0
  norm       = 1.94289e-09
  Prefactor  = 39.4449
  Prefactor  = 0
  Prefactor  = 2.09423
  norm       = 0
  Prefactor  = 7.10543e-09
  norm       = 0.281686
  Prefactor  = 0
  norm       = 17.2501
  Prefactor  = 0
  Prefactor  = 10.2925
  Prefactor  = 0
  Prefactor  = 2.58571e-07
  norm       = 4.94049e-09
  Prefactor  = 7.60503e-09
  Prefactor  = 0.0921907
  Prefactor  = 9.03222e-05
  Prefactor  = 8.82627e-09
  norm       = 4.996e-09
  Prefactor  = 2.63195
  Prefactor  = 0.885247
  norm       = 1.47908
  Normalizat = 1.13808
  Prefactor  = 1.08646
 **********
 **   18 **HESSE 
 **********

 FCN=   6862.436     FROM HESSE     STATUS=OK           615 CALLS     3285 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4250        14.634        .42667E-03   -1.5661    
   2  Prefactor      .0000        2.0510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     71.226        35.722        .11916E-03   -1.5539    
   4  Prefactor     .20349E-05    23.648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        2.5481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .19429E-08    4.8418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     39.445        23.274        .15885E-03   -1.5582    
   8  Prefactor      .0000        15.126        .17292E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.0942        2.8035        .71318E-03   -1.5679    
  10  norm           .0000        .78811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .71054E-08    9.6908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .28169        .35628        .10473E-02   -1.5697    
  13  Prefactor      .0000        1.6087        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          17.250        9.2541        .24083E-03   -1.5625    
  15  Prefactor      .0000        .61014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.293        8.5636        .31208E-03   -1.5644    
  17  Prefactor      .0000        1.1246        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .25857E-06    17.971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .49405E-08    4.1545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .76050E-08    8.0131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .92191E-01    2.9319        .80755E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .90322E-04    133.28        .81144E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .88263E-08    4.0631        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .49960E-08    8.0872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     2.6320        5.1093        .62640E-03   -1.5676    
  26  Prefactor     .88525        8.9971        .47518E-03   -1.5689    
  27  norm          1.4791        23.459        .89652E-03   -1.5684    
  28  Normalizat    1.1381        .17195        .54594E-01   -.88538    
  29  Prefactor     1.0865        .18723        .63354E-01   -.89900    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04227e-06
Minuit parameter uncertainties:
  1  14.6339
  2  7.72903e-06
  3  35.7223
  4  0.0138737
  5  2.0961e-06
  6  0.00019291
  7  23.2745
  8  5.42498e-06
  9  2.80352
  10  2.23554e-06
  11  0.000523899
  12  0.356278
  13  5.10481e-06
  14  9.25406
  15  3.24105e-06
  16  8.56365
  17  7.30005e-06
  18  0.00431116
  19  0.000287052
  20  0.000493558
  21  1.03979
  22  0.219443
  23  0.000378547
  24  0.000401207
  25  5.10929
  26  5.64435
  27  11.7811
  28  0.172033
  29  0.187344
Done.

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

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  0.000e+00  3.241e-06  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  2.355e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  1.086e+00  1.873e-01  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  1.138e+00  1.720e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 140.895 41.428
Photon Flux Upper Limit: 4.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/81627/likelihoodResults_683856001_684115201_4FGL_J0923.5+4125_daily_bin1715.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) = 6862.43653221
delta logL = -0.000494841001455

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6862.43604499
delta logL = -7.62230774853e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6862.436     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      232 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .74441        .42118E-03** at limit **
   2  Index         1.9214        1.1307       -.37169E-06     .0000    
   3  Normalizat    1.1381        1.1327       -.50788E-06   -.24434E-04
   4  Prefactor     1.0865        1.1571        .16488E-05   -.12684E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.9214
  Normalizat = 1.13808
  Prefactor  = 1.08646
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6862.436     FROM HESSE     STATUS=FAILED         9 CALLS      241 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .74441        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .38983        1.6611       -.37169E-06   -.66330    
   3  Normalizat    1.1381        1.1327       -.50788E-06   -.88538    
   4  Prefactor     1.0865        1.1571        .16488E-05   -.89900    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.94659e-12
Minuit parameter uncertainties:
  1  2.18849e-06
  2  1.14682
  3  1.1584
  4  1.18558
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/81627': 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) = 6862.43603737
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  0.000e+00  2.188e-06  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  1.921e+00  1.147e+00  0.000e+00  1.000e+01 (-1.000e+00)
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  1.086e+00  1.186e+00  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  1.138e+00  1.158e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 140.895 41.428

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/81627/cmap_HighResolution_683856001_684115201_4FGL_J0923.5+4125_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.28e-03', job_status='DONE', photon_flux_upper_limit='4.26e-08', time_completed='2022-09-16 14:56:48.724981', job_id='81627', GAL2='1.09', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1663365408.73', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1715' AND source_name='4FGL J0923.5+4125' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:56:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 81627: <4FGL_J0923.5+4125_daily_bin1715> in cluster <slac> Done

Job <4FGL_J0923.5+4125_daily_bin1715> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 14:40:16 2022
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:40:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 14:40:39 2022
Terminated at Fri Sep 16 14:56:49 2022
Results reported at Fri Sep 16 14:56:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+4125_daily_bin1715 140.895 41.4283 683856001 684115201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0923.5+4125 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   833.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             322.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   970 sec.
    Turnaround time :                            993 sec.

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

