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


Performing analysis on: 4FGL_J1037.4-2933_daily_bin1747
RA = 159.356, Dec = -29.5568
tmin = 692150401, tmax = 692409601
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='795534', job_status='RUN', time_executed='2022-12-11 00:36:18.410068', time_epoch_executed='1670747778.41' WHERE source_name='4FGL J1037.4-2933' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/795534

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/795534/ft1_4FGL_J1037.4-2933_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/795534/ft2_4FGL_J1037.4-2933_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/795534/ft1_4FGL_J1037.4-2933_daily_bin1747.fits outfile=/scratch/kocevski/795534/ft1_filteredMKT_4FGL_J1037.4-2933_daily_bin1747.fits ra=159.356 dec=-29.5568 rad=12.0 tmin=692150401.0 tmax=692409601.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.99
user 3.78
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/795534/ft2_4FGL_J1037.4-2933_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/795534/ft2_4FGL_J1037.4-2933_daily_bin1747.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/795534/ft1_filteredMKT_4FGL_J1037.4-2933_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/795534/ft1_filtered_4FGL_J1037.4-2933_daily_bin1747.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.46
user 0.32
sys 0.13

Number of photons that the gtmktime cut: 1012

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/795534/ft1_filtered_4FGL_J1037.4-2933_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/795534/ft2_4FGL_J1037.4-2933_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/795534/ltcube_692150401_692409601_4FGL_J1037.4-2933_daily_bin1747.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/795534/ft2_4FGL_J1037.4-2933_daily_bin1747.fits
.....................!
real 11.87
user 11.49
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/795534/ft1_filtered_4FGL_J1037.4-2933_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/795534/ft2_4FGL_J1037.4-2933_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/795534/ltcube_692150401_692409601_4FGL_J1037.4-2933_daily_bin1747.fits outfile=/scratch/kocevski/795534/expmap_692150401_692409601_4FGL_J1037.4-2933_daily_bin1747.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/795534/ltcube_692150401_692409601_4FGL_J1037.4-2933_daily_bin1747.fits
.....................!
real 190.35
user 184.12
sys 5.86

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

Setting source of interest to:
4FGL J1037.4-2933 @ 159.356 -29.5568

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/795534/ft1_filtered_4FGL_J1037.4-2933_daily_bin1747.fits scfile=/scratch/kocevski/795534/ft2_4FGL_J1037.4-2933_daily_bin1747.fits outfile=/scratch/kocevski/795534/cmap_692150401_692409601_4FGL_J1037.4-2933_daily_bin1747.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=159.356 yref=-29.5568 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/795534/ft1_filtered_4FGL_J1037.4-2933_daily_bin1747.fits scfile=/scratch/kocevski/795534/ft2_4FGL_J1037.4-2933_daily_bin1747.fits outfile=/scratch/kocevski/795534/cmap_HighResolution_692150401_692409601_4FGL_J1037.4-2933_daily_bin1747.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=159.356 yref=-29.5568 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.36
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/795534/ft1_filtered_4FGL_J1037.4-2933_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/795534/ft2_4FGL_J1037.4-2933_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/795534/Model_4FGL_J1037.4-2933_daily_bin1747.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/795534/ft1_filtered_4FGL_J1037.4-2933_daily_bin1747.fits.....................!
real 100.16
user 98.72
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/795534/ft1_filtered_4FGL_J1037.4-2933_daily_bin1747.fits', '/scratch/kocevski/795534/ft2_4FGL_J1037.4-2933_daily_bin1747.fits', expMap='/scratch/kocevski/795534/expmap_692150401_692409601_4FGL_J1037.4-2933_daily_bin1747.fits', expCube='/scratch/kocevski/795534/ltcube_692150401_692409601_4FGL_J1037.4-2933_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/795534/Model_4FGL_J1037.4-2933_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1037.4-2933'

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  4.842e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/795534/ft1_filtered_4FGL_J1037.4-2933_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/795534/ft2_4FGL_J1037.4-2933_daily_bin1747.fits
Exposure map: /scratch/kocevski/795534/expmap_692150401_692409601_4FGL_J1037.4-2933_daily_bin1747.fits
Exposure cube: /scratch/kocevski/795534/ltcube_692150401_692409601_4FGL_J1037.4-2933_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/795534/Model_4FGL_J1037.4-2933_daily_bin1747.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) = 10721.3659623

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8736       1.0000          .0000       .10000E+07
     2 'norm      '    .42100       1.0000          .0000       .10000E+07
     3 'norm      '    .33271E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    18.033       1.0000          .0000       .10000E+07
     5 'Prefactor '    .35172E-06   1.0000          .0000       .10000E+07
     6 'norm      '    6.8495       1.0000          .0000       .10000E+07
     7 'norm      '    1.2659       1.0000          .0000       .10000E+07
     8 'Prefactor '    .13797E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .78147E-02   1.0000          .0000       .10000E+07
    10 'norm      '    2.4835       1.0000          .0000       .10000E+07
    11 'Prefactor '    .48069E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.7409       1.0000          .0000       .10000E+07
    13 'Prefactor '    .15207E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .39478E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .76365E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    14.838       1.0000          .0000       .10000E+07
    17 'Prefactor '    109.29       1.0000          .0000       .10000E+07
    18 'Normalizat'    .97653       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94573       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10721.36     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     1380 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8254        4.6230        .28208E-06   -.45338E-03
   2  norm          .42086        .74881       -.70022E-07    .11096E-01
   3  norm          .28810E-07    1.3250       -.60605E-06** at limit **
   4  Prefactor     18.139        1.5961        .27218E-06   -.65051E-01
   5  Prefactor     .33917E-07    2.6385        .15869E-05** at limit **
   6  norm          6.8734        6.1666       -.15264E-05   -.74581E-02
   7  norm          1.2743        4.3971       -.28356E-06   -.88391E-03
   8  Prefactor     .37748E-08    3.2578       -.30123E-05** at limit **
   9  Prefactor     .27756E-09    8.7547       -.19890E-05** at limit **
  10  norm          2.4836        2.6183        .53470E-07   -.27427E-02
  11  Prefactor     .67613E-07    5.3980        .65333E-06** at limit **
  12  Prefactor     2.7453        2.9047        .13293E-06    .56590E-02
  13  Prefactor      .0000        2.6046       -.11944E-05** at limit **
  14  Prefactor     .57604E-06    1.3817        .90842E-06** at limit **
  15  Prefactor     .55511E-10    1.9860        .10684E-05** at limit **
  16  Prefactor     14.850        1.1126       -.65360E-07   -.55797E-02
  17  Prefactor     109.29        1.3723       -.96871E-07    .16070    
  18  Normalizat    .97599        .19352        .32384E-05    .99318E-04
  19  Prefactor     .94598        .97228E-01   -.88424E-06   -.18020E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.82539
  norm       = 0.420862
  norm       = 2.88103e-08
  Prefactor  = 18.1387
  Prefactor  = 3.39173e-08
  norm       = 6.87337
  norm       = 1.27429
  Prefactor  = 3.77476e-09
  Prefactor  = 2.77556e-10
  norm       = 2.48356
  Prefactor  = 6.76126e-08
  Prefactor  = 2.74534
  Prefactor  = 0
  Prefactor  = 5.76039e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 14.8496
  Prefactor  = 109.285
  Normalizat = 0.975986
  Prefactor  = 0.945979
 **********
 **   18 **HESSE 
 **********

 FCN=   10721.36     FROM HESSE     STATUS=OK           308 CALLS     1688 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8254        4.6434        .59936E-03   -1.5674    
   2  norm          .42086        .78468        .26798E-02   -1.5695    
   3  norm          .28810E-07    3.6916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.139        20.746        .23558E-03   -1.5623    
   5  Prefactor     .33917E-07    3.1907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.8734        6.2839        .38312E-03   -1.5656    
   7  norm          1.2743        4.4816        .98963E-03   -1.5685    
   8  Prefactor     .37748E-08    4.0210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .27756E-09    8.7661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.4836        2.6478        .64842E-03   -1.5676    
  11  Prefactor     .67613E-07    6.2045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.7453        2.9293        .61471E-03   -1.5675    
  13  Prefactor      .0000        2.6059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .57604E-06    8.1589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    1.9966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.850        8.6732        .25975E-03   -1.5631    
  17  Prefactor     109.29        60.292        .95661E-04   -1.5499    
  18  Normalizat    .97599        .16733        .72609E-01   -.93839    
  19  Prefactor     .94598        .81852E-01    .45585E-01   -.94552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08084e-06
Minuit parameter uncertainties:
  1  4.6434
  2  0.78468
  3  0.000651965
  4  20.7457
  5  0.000658105
  6  6.28388
  7  4.48166
  8  0.000247007
  9  9.78675e-05
  10  2.64782
  11  0.00129539
  12  2.92928
  13  1.02562e-05
  14  0.00433586
  15  2.07091e-05
  16  8.67322
  17  60.292
  18  0.167418
  19  0.0818625
Done.

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

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  2.776e-10  9.787e-05  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
561    Prefactor:  9.460e-01  8.186e-02  0.000e+00  1.000e+01 ( 1.000e+00)
562        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
563        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  9.760e-01  1.674e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 159.356 -29.557
Photon Flux Upper Limit: 6.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/795534/likelihoodResults_692150401_692409601_4FGL_J1037.4-2933_daily_bin1747.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) = 10721.4144306
delta logL = -0.0561724312065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10721.3304983
delta logL = 0.0277599153342

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66400E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.4843       1.0000          .0000       10.000    
     3 'Normalizat'    .96169       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95049       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10721.36     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      283 TOTAL
                     EDM=   .67E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    6.3013        .36229E-06** at limit **
   2  Index         1.7426        .27181        .38747E-05    .14274E-10
   3  Normalizat    .97598        .18876        .49504E-05    .67574E-04
   4  Prefactor     .94598        .97106E-01   -.15831E-05   -.14841E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.74263
  Normalizat = 0.975984
  Prefactor  = 0.945981
 **********
 **   18 **HESSE 
 **********

 FCN=   10721.36     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      318 TOTAL
                     EDM=   .11E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .35744E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7426        5.2900        .50000       -33.848    
   3  Normalizat    .97598        .31589E-03    .72609E-01   -19.788    
   4  Prefactor     .94598        .16220E-03    .45645E-01   -134.14    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.08113e-14
Minuit parameter uncertainties:
  1  2.30812e-06
  2  16756.1
  3  0.000315885
  4  0.000162199
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/795534': 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): 102
logL (Free Index) = 10721.3582582
delta logL = 8.0035533756e-11

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  5.551e-11  2.308e-06  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  1.743e+00  1.676e+04  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  1.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
561    Prefactor:  9.460e-01  1.622e-04  0.000e+00  1.000e+01 ( 1.000e+00)
562        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
563        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  9.760e-01  3.159e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 159.356 -29.557

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/795534/cmap_HighResolution_692150401_692409601_4FGL_J1037.4-2933_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.15e-03', job_status='DONE', photon_flux_upper_limit='6.66e-08', time_completed='2022-12-11 00:48:12.114103', job_id='795534', GAL2='0.95', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1670748492.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.00e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1747' AND source_name='4FGL J1037.4-2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 00:48:12 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 795534: <4FGL_J1037.4-2933_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1037.4-2933_daily_bin1747> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Dec 11 00:35:21 2022
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 00:35:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 00:35:23 2022
Terminated at Sun Dec 11 00:48:12 2022
Results reported at Sun Dec 11 00:48:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1037.4-2933_daily_bin1747 159.356 -29.5568 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1037.4-2933 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   715.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             352.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   769 sec.
    Turnaround time :                            771 sec.

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

