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


Performing analysis on: 4FGL_J1037.4-2933_daily_bin1753
RA = 159.356, Dec = -29.5568
tmin = 693705601, tmax = 693964801
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='451427', job_status='RUN', time_executed='2022-12-29 00:46:16.193856', time_epoch_executed='1672303576.19' WHERE source_name='4FGL J1037.4-2933' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/451427

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/451427/ft1_4FGL_J1037.4-2933_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/451427/ft2_4FGL_J1037.4-2933_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/451427/ft1_4FGL_J1037.4-2933_daily_bin1753.fits outfile=/scratch/kocevski/451427/ft1_filteredMKT_4FGL_J1037.4-2933_daily_bin1753.fits ra=159.356 dec=-29.5568 rad=12.0 tmin=693705601.0 tmax=693964801.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 4.69
user 4.41
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/451427/ft2_4FGL_J1037.4-2933_daily_bin1753.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/451427/ft1_filteredMKT_4FGL_J1037.4-2933_daily_bin1753.fits evtable="EVENTS" outfile="/scratch/kocevski/451427/ft1_filtered_4FGL_J1037.4-2933_daily_bin1753.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.54
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 635

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/451427/ft1_filtered_4FGL_J1037.4-2933_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/451427/ft2_4FGL_J1037.4-2933_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/451427/ltcube_693705601_693964801_4FGL_J1037.4-2933_daily_bin1753.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/451427/ft2_4FGL_J1037.4-2933_daily_bin1753.fits
.....................!
real 15.28
user 14.86
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/451427/ft1_filtered_4FGL_J1037.4-2933_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/451427/ft2_4FGL_J1037.4-2933_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/451427/ltcube_693705601_693964801_4FGL_J1037.4-2933_daily_bin1753.fits outfile=/scratch/kocevski/451427/expmap_693705601_693964801_4FGL_J1037.4-2933_daily_bin1753.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/451427/ltcube_693705601_693964801_4FGL_J1037.4-2933_daily_bin1753.fits
.....................!
real 193.89
user 188.37
sys 4.80

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/451427/ft1_filtered_4FGL_J1037.4-2933_daily_bin1753.fits scfile=/scratch/kocevski/451427/ft2_4FGL_J1037.4-2933_daily_bin1753.fits outfile=/scratch/kocevski/451427/cmap_693705601_693964801_4FGL_J1037.4-2933_daily_bin1753.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.57
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/451427/ft1_filtered_4FGL_J1037.4-2933_daily_bin1753.fits scfile=/scratch/kocevski/451427/ft2_4FGL_J1037.4-2933_daily_bin1753.fits outfile=/scratch/kocevski/451427/cmap_HighResolution_693705601_693964801_4FGL_J1037.4-2933_daily_bin1753.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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/451427/ft1_filtered_4FGL_J1037.4-2933_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/451427/ft2_4FGL_J1037.4-2933_daily_bin1753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/451427/Model_4FGL_J1037.4-2933_daily_bin1753.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/451427/ft1_filtered_4FGL_J1037.4-2933_daily_bin1753.fits.....................!
real 75.79
user 74.16
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/451427/ft1_filtered_4FGL_J1037.4-2933_daily_bin1753.fits', '/scratch/kocevski/451427/ft2_4FGL_J1037.4-2933_daily_bin1753.fits', expMap='/scratch/kocevski/451427/expmap_693705601_693964801_4FGL_J1037.4-2933_daily_bin1753.fits', expCube='/scratch/kocevski/451427/ltcube_693705601_693964801_4FGL_J1037.4-2933_daily_bin1753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/451427/Model_4FGL_J1037.4-2933_daily_bin1753.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/451427/ft1_filtered_4FGL_J1037.4-2933_daily_bin1753.fits
Spacecraft file(s): /scratch/kocevski/451427/ft2_4FGL_J1037.4-2933_daily_bin1753.fits
Exposure map: /scratch/kocevski/451427/expmap_693705601_693964801_4FGL_J1037.4-2933_daily_bin1753.fits
Exposure cube: /scratch/kocevski/451427/ltcube_693705601_693964801_4FGL_J1037.4-2933_daily_bin1753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/451427/Model_4FGL_J1037.4-2933_daily_bin1753.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) = 7032.83163786

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17616E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .48025       1.0000          .0000       .10000E+07
     3 'norm      '    .24663E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .28492E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .45298E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .88471E-03   1.0000          .0000       .10000E+07
     7 'norm      '    5.9481       1.0000          .0000       .10000E+07
     8 'Prefactor '    .22911E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19514E-01   1.0000          .0000       .10000E+07
    10 'norm      '    7.8940       1.0000          .0000       .10000E+07
    11 'Prefactor '    16.605       1.0000          .0000       .10000E+07
    12 'Prefactor '    8.5007       1.0000          .0000       .10000E+07
    13 'Prefactor '    .86545E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .53400E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.5568       1.0000          .0000       .10000E+07
    16 'Prefactor '    .24619E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .72774E-01   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2676       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0115       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=   7032.827     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1418 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44909E-07    3.7975        .44343E-07** at limit **
   2  norm          .48007        .87041        .34446E-07    .97568E-02
   3  norm          .55511E-10    2.8165       -.26808E-07** at limit **
   4  Prefactor     .72242E-06    23.585       -.16915E-06** at limit **
   5  Prefactor     .16287E-06    4.6560        .30956E-07** at limit **
   6  norm          .33307E-08    3.4670        .55510E-07** at limit **
   7  norm          5.9274        5.8965       -.20751E-08    .37138E-03
   8  Prefactor     .21094E-07    3.9613       -.43712E-07** at limit **
   9  Prefactor     .57732E-08    13.754        .37954E-06** at limit **
  10  norm          7.8941        4.9557        .33288E-09   -.41943E-01
  11  Prefactor     16.598        11.632       -.50973E-07    .92859E-01
  12  Prefactor     8.5009        5.0320       -.41228E-08    .60031E-01
  13  Prefactor     .14655E-07    266.45       -.16076E-05** at limit **
  14  Prefactor      .0000        1.9945        .95393E-08** at limit **
  15  Prefactor     2.5651        1.2079        .90881E-08    .64790E-02
  16  Prefactor     .10048E-06    5.6956        .23427E-09** at limit **
  17  Prefactor     .10270E-07    .83513        .56245E-08** at limit **
  18  Normalizat    1.2678        .28715        .37110E-05    .12219E-03
  19  Prefactor     1.0116        .13511       -.19486E-05   -.19150E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.49085e-08
  norm       = 0.480066
  norm       = 5.55112e-11
  Prefactor  = 7.22422e-07
  Prefactor  = 1.6287e-07
  norm       = 3.33067e-09
  norm       = 5.92736
  Prefactor  = 2.10942e-08
  Prefactor  = 5.77316e-09
  norm       = 7.89407
  Prefactor  = 16.5979
  Prefactor  = 8.50092
  Prefactor  = 1.46549e-08
  Prefactor  = 0
  Prefactor  = 2.56509
  Prefactor  = 1.00475e-07
  Prefactor  = 1.02696e-08
  Normalizat = 1.26781
  Prefactor  = 1.01155
 **********
 **   18 **HESSE 
 **********

 FCN=   7032.827     FROM HESSE     STATUS=OK           310 CALLS     1728 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .44909E-07    4.7430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .48007        1.0809        .24059E-02   -1.5694    
   3  norm          .55511E-10    2.8193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .72242E-06    35.437        .16531E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16287E-06    5.6668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .33307E-08    3.5031        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.9274        5.9098        .41149E-03   -1.5659    
   8  Prefactor     .21094E-07    4.2584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .57732E-08    13.705        .17069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.8941        5.7109        .35664E-03   -1.5652    
  11  Prefactor     16.598        20.141        .24552E-03   -1.5626    
  12  Prefactor     8.5009        6.4463        .34358E-03   -1.5650    
  13  Prefactor     .14655E-07    17.766        .65903E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.9956        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.5651        8.4937        .63823E-03   -1.5676    
  16  Prefactor     .10048E-06    6.0594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10270E-07    43.549        .14728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2678        .24912        .78822E-01   -.84532    
  19  Prefactor     1.0116        .11513        .43115E-01   -.92345    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.31023e-07
Minuit parameter uncertainties:
  1  0.000922858
  2  1.08095
  3  3.02151e-05
  4  0.0101195
  5  0.00192128
  6  0.000215145
  7  5.90983
  8  0.00059916
  9  0.000562373
  10  5.7109
  11  20.1415
  12  6.44631
  13  0.00102045
  14  7.62907e-06
  15  8.49376
  16  0.0015605
  17  0.00133605
  18  0.249358
  19  0.115156
Done.

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

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  5.773e-09  5.624e-04  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:  1.012e+00  1.152e-01  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:  1.268e+00  2.494e-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: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/451427/likelihoodResults_693705601_693964801_4FGL_J1037.4-2933_daily_bin1753.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) = 7032.86227123
delta logL = -0.0350694921426

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7032.64385442
delta logL = 0.183347317208

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7032.827     FROM MIGRAD    STATUS=CONVERGED    177 CALLS      692 TOTAL
                     EDM=   .31E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .10262E-01    .14868E-02** at limit **
   2  Index         1.3064        9.0921        .50000        .22737E-10
   3  Normalizat    1.2678        .24590E-03    .18345E-01    .17897E-04
   4  Prefactor     1.0116        .11846E-03    .12376E-01   -.52228E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.30644
  Normalizat = 1.26781
  Prefactor  = 1.01155
 **********
 **   18 **HESSE 
 **********

 FCN=   7032.827     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      719 TOTAL
                     EDM=   .15E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .70420E-01    .21248E-03   -623.61    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3064        9.2925        .51000       -9571.6    
   3  Normalizat    1.2678        .64391E-03    .34827E-03    2335.0    
   4  Prefactor     1.0116        .31021E-03    .18440E-03   -63.755    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.5234e-14
Minuit parameter uncertainties:
  1  3.70854e-06
  2  19213.1
  3  0.00064391
  4  0.000310214
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/451427': 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) = 7032.82720174
delta logL = 3.6925484892e-10

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  5.551e-11  3.709e-06  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  1.306e+00  1.921e+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:  1.012e+00  3.102e-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:  1.268e+00  6.439e-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/451427/cmap_HighResolution_693705601_693964801_4FGL_J1037.4-2933_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.31e-03', job_status='DONE', photon_flux_upper_limit='1.20e-07', time_completed='2022-12-29 00:56:37.409403', job_id='451427', GAL2='1.01', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1672304197.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.69e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1753' AND source_name='4FGL J1037.4-2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 00:56:37 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0195>
Subject: Job 451427: <4FGL_J1037.4-2933_daily_bin1753> in cluster <slac> Done

Job <4FGL_J1037.4-2933_daily_bin1753> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Dec 29 00:40:30 2022
Job was executed on host(s) <bullet0195>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 00:44:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 00:44:04 2022
Terminated at Thu Dec 29 00:56:37 2022
Results reported at Thu Dec 29 00:56:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1037.4-2933_daily_bin1753 159.356 -29.5568 693705601 693964801 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 :                                   622.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   753 sec.
    Turnaround time :                            967 sec.

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

