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


Performing analysis on: 4FGL_J0941.9+2724_daily_bin1745
RA = 145.494, Dec = 27.4136
tmin = 691632001, tmax = 691891201
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='641705', job_status='RUN', time_executed='2022-12-05 00:22:11.354439', time_epoch_executed='1670228531.35' WHERE source_name='4FGL J0941.9+2724' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/641705

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/641705/ft1_4FGL_J0941.9+2724_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/641705/ft2_4FGL_J0941.9+2724_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/641705/ft1_4FGL_J0941.9+2724_daily_bin1745.fits outfile=/scratch/kocevski/641705/ft1_filteredMKT_4FGL_J0941.9+2724_daily_bin1745.fits ra=145.494 dec=27.4136 rad=12.0 tmin=691632001.0 tmax=691891201.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.38
user 2.16
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/641705/ft2_4FGL_J0941.9+2724_daily_bin1745.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/641705/ft2_4FGL_J0941.9+2724_daily_bin1745.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/641705/ft1_filteredMKT_4FGL_J0941.9+2724_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/641705/ft1_filtered_4FGL_J0941.9+2724_daily_bin1745.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.15

Number of photons that the gtmktime cut: 550

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/641705/ft1_filtered_4FGL_J0941.9+2724_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/641705/ft2_4FGL_J0941.9+2724_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/641705/ltcube_691632001_691891201_4FGL_J0941.9+2724_daily_bin1745.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/641705/ft2_4FGL_J0941.9+2724_daily_bin1745.fits
.....................!
real 12.37
user 12.01
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/641705/ft1_filtered_4FGL_J0941.9+2724_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/641705/ft2_4FGL_J0941.9+2724_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/641705/ltcube_691632001_691891201_4FGL_J0941.9+2724_daily_bin1745.fits outfile=/scratch/kocevski/641705/expmap_691632001_691891201_4FGL_J0941.9+2724_daily_bin1745.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/641705/ltcube_691632001_691891201_4FGL_J0941.9+2724_daily_bin1745.fits
.....................!
real 190.81
user 185.17
sys 5.26

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

Setting source of interest to:
4FGL J0941.9+2724 @ 145.494 27.4136

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/641705/ft1_filtered_4FGL_J0941.9+2724_daily_bin1745.fits scfile=/scratch/kocevski/641705/ft2_4FGL_J0941.9+2724_daily_bin1745.fits outfile=/scratch/kocevski/641705/cmap_691632001_691891201_4FGL_J0941.9+2724_daily_bin1745.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=145.494 yref=27.4136 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/641705/ft1_filtered_4FGL_J0941.9+2724_daily_bin1745.fits scfile=/scratch/kocevski/641705/ft2_4FGL_J0941.9+2724_daily_bin1745.fits outfile=/scratch/kocevski/641705/cmap_HighResolution_691632001_691891201_4FGL_J0941.9+2724_daily_bin1745.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=145.494 yref=27.4136 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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/641705/ft1_filtered_4FGL_J0941.9+2724_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/641705/ft2_4FGL_J0941.9+2724_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/641705/Model_4FGL_J0941.9+2724_daily_bin1745.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/641705/ft1_filtered_4FGL_J0941.9+2724_daily_bin1745.fits.....................!
real 54.64
user 52.23
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/641705/ft1_filtered_4FGL_J0941.9+2724_daily_bin1745.fits', '/scratch/kocevski/641705/ft2_4FGL_J0941.9+2724_daily_bin1745.fits', expMap='/scratch/kocevski/641705/expmap_691632001_691891201_4FGL_J0941.9+2724_daily_bin1745.fits', expCube='/scratch/kocevski/641705/ltcube_691632001_691891201_4FGL_J0941.9+2724_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/641705/Model_4FGL_J0941.9+2724_daily_bin1745.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0941.9+2724'

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  6.273e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
261        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
262        Scale:  8.503e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/641705/ft1_filtered_4FGL_J0941.9+2724_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/641705/ft2_4FGL_J0941.9+2724_daily_bin1745.fits
Exposure map: /scratch/kocevski/641705/expmap_691632001_691891201_4FGL_J0941.9+2724_daily_bin1745.fits
Exposure cube: /scratch/kocevski/641705/ltcube_691632001_691891201_4FGL_J0941.9+2724_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/641705/Model_4FGL_J0941.9+2724_daily_bin1745.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) = 6340.37555906

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.486       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.9110       1.0000          .0000       .10000E+07
     3 'norm      '    23.501       1.0000          .0000       .10000E+07
     4 'norm      '    1.6383       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.4694       1.0000          .0000       .10000E+07
     6 'Prefactor '    .68389E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .37967E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .74940E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    .74869E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .35014       1.0000          .0000       .10000E+07
    11 'norm      '    3.8119       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.4883       1.0000          .0000       .10000E+07
    13 'Prefactor '    .22420E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    8.0874       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12753       1.0000          .0000       .10000E+07
    16 'Normalizat'    .67369       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2822       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6340.342     FROM MIGRAD    STATUS=CONVERGED    124 CALLS      986 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.043        16.522        .73663E-06   -.59144E-03
   2  Prefactor     8.9052        4.7141        .49183E-06    .39558E-01
   3  norm          23.781        3.6098        .33467E-06   -.91346E-02
   4  norm          1.6413        2.2072        .10267E-05    .45457E-04
   5  Prefactor     5.4553        5.0084       -.61426E-06   -.12771E-02
   6  Prefactor     .32585E-07    24.496       -.51968E-05** at limit **
   7  Prefactor     .94369E-09    43.848       -.47072E-05** at limit **
   8  Prefactor      .0000        3.4565        .11289E-05** at limit **
   9  Prefactor      .0000        4.6325       -.43838E-07** at limit **
  10  Prefactor     .36340        3.0470        .48983E-06    .17859E-03
  11  norm          3.8463        4.6608       -.64690E-06   -.29015E-04
  12  Prefactor     1.4871        1.9890       -.13088E-06   -.12145E-02
  13  Prefactor     .65614E-07    27.370       -.68425E-06** at limit **
  14  Prefactor     8.0932        4.4373       -.13031E-06    .44995E-05
  15  Prefactor      .0000        59.639       -.64760E-06** at limit **
  16  Normalizat    .67370        .18582       -.23338E-04    .79539E-05
  17  Prefactor     1.2823        .19444        .38970E-05    .11877E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.0426
  Prefactor  = 8.90519
  norm       = 23.7811
  norm       = 1.64134
  Prefactor  = 5.45533
  Prefactor  = 3.2585e-08
  Prefactor  = 9.4369e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.363401
  norm       = 3.84626
  Prefactor  = 1.48707
  Prefactor  = 6.56142e-08
  Prefactor  = 8.09315
  Prefactor  = 0
  Normalizat = 0.6737
  Prefactor  = 1.28231
 **********
 **   18 **HESSE 
 **********

 FCN=   6340.342     FROM HESSE     STATUS=OK           265 CALLS     1251 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.043        17.010        .20639E-03   -1.5612    
   2  Prefactor     8.9052        19.333        .33553E-03   -1.5648    
   3  norm          23.781        33.435        .20633E-03   -1.5610    
   4  norm          1.6413        2.2456        .82534E-03   -1.5682    
   5  Prefactor     5.4553        5.1117        .42941E-03   -1.5661    
   6  Prefactor     .32585E-07    25.039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .94369E-09    44.112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.4446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.6150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .36340        1.7263        .33156E-02   -1.5696    
  11  norm          3.8463        4.6806        .51674E-03   -1.5669    
  12  Prefactor     1.4871        2.0387        .87864E-03   -1.5684    
  13  Prefactor     .65614E-07    28.442        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.0932        4.4483        .35232E-03   -1.5651    
  15  Prefactor      .0000        59.143        .13242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .67370        .16142        .62030E-01   -1.0494    
  17  Prefactor     1.2823        .16455        .49233E-01   -.83835    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0356e-07
Minuit parameter uncertainties:
  1  17.0098
  2  19.333
  3  33.4354
  4  2.24564
  5  5.11174
  6  0.00180705
  7  0.000412187
  8  6.54591e-06
  9  4.97417e-06
  10  1.5841
  11  4.68064
  12  2.03869
  13  0.0027318
  14  4.44831
  15  4.17666e-05
  16  0.161533
  17  0.164617
Done.

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

Extracting fit parameters...

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  3.259e-08  1.807e-03  0.000e+00  1.000e+06 ( 1.000e-13)
261        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
262        Scale:  8.503e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.282e+00  1.646e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  6.737e-01  1.615e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 145.494 27.414
Photon Flux Upper Limit: 6.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.24e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/641705/likelihoodResults_691632001_691891201_4FGL_J0941.9+2724_daily_bin1745.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) = 6340.36150338
delta logL = -0.0196616806115

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6340.34184179
delta logL = -8.8126398623e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6340.342     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      201 TOTAL
                     EDM=   .14E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        27.049       -.41168E-05** at limit **
   2  Index         2.2606        3.3154        .21499E-04     .0000    
   3  Normalizat    .67370        .18023       -.86375E-05   -.67166E-05
   4  Prefactor     1.2823        .19225       -.13665E-05    .17465E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.26058
  Normalizat = 0.673699
  Prefactor  = 1.28231
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6340.342     FROM HESSE     STATUS=FAILED        11 CALLS      212 TOTAL
                     EDM=   .14E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        26.979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .56725        1.8087        .21499E-04   -.57983    
   3  Normalizat    .67370        1.0131       -.86375E-05   -1.0494    
   4  Prefactor     1.2823        1.0810       -.13665E-05   -.83835    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.43005e-12
Minuit parameter uncertainties:
  1  3.85711e-05
  2  1.21839
  3  1.04338
  4  1.10081
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/641705': 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) = 6340.3418417
delta logL = 6.48469722364e-10

Extracting fit parameters...

4FGL J0941.9+2724
   Spectrum: PowerLaw
260    Prefactor:  0.000e+00  3.857e-05  0.000e+00  1.000e+06 ( 1.000e-13)
261        Index:  2.261e+00  1.218e+00  0.000e+00  1.000e+01 (-1.000e+00)
262        Scale:  8.503e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.282e+00  1.101e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  6.737e-01  1.043e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 145.494 27.414

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/641705/cmap_HighResolution_691632001_691891201_4FGL_J0941.9+2724_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.24e-03', job_status='DONE', photon_flux_upper_limit='6.77e-08', time_completed='2022-12-05 00:30:26.806056', job_id='641705', GAL2='1.28', fit_tolerance='1e-08', EG2='0.67', EG='0.67', time_epoch_completed='1670229026.81', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.28', dlogl='6.48e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1745' AND source_name='4FGL J0941.9+2724' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:30:26 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 641705: <4FGL_J0941.9+2724_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0941.9+2724_daily_bin1745> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Dec  5 00:20:28 2022
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:20:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:20:29 2022
Terminated at Mon Dec  5 00:30:27 2022
Results reported at Mon Dec  5 00:30:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0941.9+2724_daily_bin1745 145.494 27.4136 691632001 691891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0941.9+2724 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   494.22 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             315.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   598 sec.
    Turnaround time :                            599 sec.

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

