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


Performing analysis on: 4FGL_J1037.4-2933_daily_bin1750
RA = 159.356, Dec = -29.5568
tmin = 692928001, tmax = 693187201
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='5111', job_status='RUN', time_executed='2022-12-20 00:32:26.167022', time_epoch_executed='1671525146.17' WHERE source_name='4FGL J1037.4-2933' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/5111

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/5111/ft1_4FGL_J1037.4-2933_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/5111/ft2_4FGL_J1037.4-2933_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/5111/ft1_4FGL_J1037.4-2933_daily_bin1750.fits outfile=/scratch/kocevski/5111/ft1_filteredMKT_4FGL_J1037.4-2933_daily_bin1750.fits ra=159.356 dec=-29.5568 rad=12.0 tmin=692928001.0 tmax=693187201.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.43
user 3.21
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/5111/ft2_4FGL_J1037.4-2933_daily_bin1750.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/5111/ft1_filteredMKT_4FGL_J1037.4-2933_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/5111/ft1_filtered_4FGL_J1037.4-2933_daily_bin1750.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.49
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 830

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/5111/ft1_filtered_4FGL_J1037.4-2933_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/5111/ft2_4FGL_J1037.4-2933_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/5111/ltcube_692928001_693187201_4FGL_J1037.4-2933_daily_bin1750.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/5111/ft2_4FGL_J1037.4-2933_daily_bin1750.fits
.....................!
real 11.54
user 11.19
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/5111/ft1_filtered_4FGL_J1037.4-2933_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/5111/ft2_4FGL_J1037.4-2933_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/5111/ltcube_692928001_693187201_4FGL_J1037.4-2933_daily_bin1750.fits outfile=/scratch/kocevski/5111/expmap_692928001_693187201_4FGL_J1037.4-2933_daily_bin1750.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/5111/ltcube_692928001_693187201_4FGL_J1037.4-2933_daily_bin1750.fits
.....................!
real 191.47
user 186.47
sys 4.63

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/5111/ft1_filtered_4FGL_J1037.4-2933_daily_bin1750.fits scfile=/scratch/kocevski/5111/ft2_4FGL_J1037.4-2933_daily_bin1750.fits outfile=/scratch/kocevski/5111/cmap_692928001_693187201_4FGL_J1037.4-2933_daily_bin1750.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/5111/ft1_filtered_4FGL_J1037.4-2933_daily_bin1750.fits scfile=/scratch/kocevski/5111/ft2_4FGL_J1037.4-2933_daily_bin1750.fits outfile=/scratch/kocevski/5111/cmap_HighResolution_692928001_693187201_4FGL_J1037.4-2933_daily_bin1750.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.55
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/5111/ft1_filtered_4FGL_J1037.4-2933_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/5111/ft2_4FGL_J1037.4-2933_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/5111/Model_4FGL_J1037.4-2933_daily_bin1750.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/5111/ft1_filtered_4FGL_J1037.4-2933_daily_bin1750.fits.....................!
real 91.75
user 90.29
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .87001E-03   1.0000          .0000       .10000E+07
     2 'norm      '    2.0883       1.0000          .0000       .10000E+07
     3 'norm      '    .45653E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .57276E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14937       1.0000          .0000       .10000E+07
     6 'norm      '    .10361E-02   1.0000          .0000       .10000E+07
     7 'norm      '    25.187       1.0000          .0000       .10000E+07
     8 'Prefactor '    .21943       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27919E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .63443       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.8876       1.0000          .0000       .10000E+07
    12 'Prefactor '    .63217       1.0000          .0000       .10000E+07
    13 'Prefactor '    18.532       1.0000          .0000       .10000E+07
    14 'Prefactor '    .31057E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    18.577       1.0000          .0000       .10000E+07
    16 'Prefactor '    .85219       1.0000          .0000       .10000E+07
    17 'Prefactor '    51.419       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0583       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .89651       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=   8766.133     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1436 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .24192E-06    8.2416        .24619E-06** at limit **
   2  norm          2.0883        1.1093       -.86377E-07   -.10499E-03
   3  norm          .31697E-07    5.0178        .10945E-05** at limit **
   4  Prefactor     .49405E-08    137.14       -.19001E-05** at limit **
   5  Prefactor     .34200E-06    31.083        .39231E-06** at limit **
   6  norm          .27756E-09    5.4710       -.40128E-06** at limit **
   7  norm          25.284        8.7151        .14544E-06    .75394E-02
   8  Prefactor     .22286        3.3847        .49329E-07** at limit **
   9  Prefactor     .57898E-07    5.8262        .12858E-05** at limit **
  10  norm          .64602        4.6877       -.67269E-07    .30760E-02
  11  Prefactor     9.8579        3.3791        .76629E-07    .21138E-01
  12  Prefactor     .59595        6.0667       -.18082E-06   -.10972E-01
  13  Prefactor     18.517        7.4025       -.36770E-06    .54565E-01
  14  Prefactor     .38303E-08    10.151       -.90107E-06** at limit **
  15  Prefactor     18.573        8.6851        .44209E-06    .59591E-01
  16  Prefactor     .83785        8.2746        .80748E-06   -.29856E-01
  17  Prefactor     51.390        2.2152       -.51798E-07    .77032E-01
  18  Normalizat    1.0585        .22844       -.19223E-04    .56402E-04
  19  Prefactor     .89656        .11067        .14026E-04    .12693E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.41918e-07
  norm       = 2.0883
  norm       = 3.16969e-08
  Prefactor  = 4.94049e-09
  Prefactor  = 3.42004e-07
  norm       = 2.77556e-10
  norm       = 25.2836
  Prefactor  = 0.222856
  Prefactor  = 5.78981e-08
  norm       = 0.646022
  Prefactor  = 9.85793
  Prefactor  = 0.595951
  Prefactor  = 18.5168
  Prefactor  = 3.83027e-09
  Prefactor  = 18.5729
  Prefactor  = 0.837855
  Prefactor  = 51.3897
  Normalizat = 1.05853
  Prefactor  = 0.896559
 **********
 **   18 **HESSE 
 **********

 FCN=   8766.133     FROM HESSE     STATUS=OK           316 CALLS     1752 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .24192E-06    11.933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.0883        1.1131        .71415E-03   -1.5679    
   3  norm          .31697E-07    12.525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .49405E-08    135.93        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .34200E-06    6.0773        .12757E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .27756E-09    5.5719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          25.284        8.7835        .19930E-03   -1.5607    
   8  Prefactor     .22286        4.5645        .73553E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .57898E-07    11.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .64602        5.8864        .66199E-03   -1.5692    
  11  Prefactor     9.8579        14.042        .31843E-03   -1.5645    
  12  Prefactor     .59595        9.4673        .66394E-03   -1.5693    
  13  Prefactor     18.517        10.306        .23238E-03   -1.5622    
  14  Prefactor     .38303E-08    10.151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     18.573        9.8257        .23210E-03   -1.5622    
  16  Prefactor     .83785        21.647        .49123E-03   -1.5690    
  17  Prefactor     51.390        55.936        .13947E-03   -1.5565    
  18  Normalizat    1.0585        .19827        .73489E-01   -.91095    
  19  Prefactor     .89656        .93554E-01    .44961E-01   -.96261    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97092e-06
Minuit parameter uncertainties:
  1  0.0033981
  2  1.11312
  3  0.00125988
  4  0.00163858
  5  0.0028834
  6  8.08123e-05
  7  8.7835
  8  2.01715
  9  0.00165426
  10  3.90013
  11  14.0425
  12  4.75061
  13  10.3057
  14  0.000394007
  15  9.82571
  16  8.5176
  17  55.9369
  18  0.198413
  19  0.0935703
Done.

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

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  5.790e-08  1.654e-03  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:  8.966e-01  9.357e-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:  1.059e+00  1.984e-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: 7.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/5111/likelihoodResults_692928001_693187201_4FGL_J1037.4-2933_daily_bin1750.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) = 8766.17485711
delta logL = -0.0418176599906

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8766.13303953
delta logL = -7.68795871409e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11824E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.1841       1.0000          .0000       10.000    
     3 'Normalizat'    1.0585       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89653       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=   8766.133     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      207 TOTAL
                     EDM=   .32E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    8.6692       -.40548E-06** at limit **
   2  Index         1.7641        5.8471       -.26902E-04   -.11752E-10
   3  Normalizat    1.0585        .22031       -.36855E-05   -.31282E-04
   4  Prefactor     .89656        .11013        .13749E-05   -.24001E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.76409
  Normalizat = 1.05853
  Prefactor  = 0.896559
 **********
 **   18 **HESSE 
 **********

 FCN=   8766.133     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      240 TOTAL
                     EDM=   .13E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    1.2541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7641        7.6474        .35018       -.70388    
   3  Normalizat    1.0585        .18514E-02    .73489E-01   -.91095    
   4  Prefactor     .89656        .92432E-03    .44961E-01   -.96261    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26324e-13
Minuit parameter uncertainties:
  1  1.20933e-05
  2  100607
  3  0.00185139
  4  0.000924316
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/5111': 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) = 8766.13303945
delta logL = 2.44654074777e-09

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  5.551e-11  1.209e-05  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  1.764e+00  1.006e+05  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:  8.966e-01  9.243e-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.059e+00  1.851e-03  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/5111/cmap_HighResolution_692928001_693187201_4FGL_J1037.4-2933_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.17e-03', job_status='DONE', photon_flux_upper_limit='7.98e-08', time_completed='2022-12-20 00:43:38.502220', job_id='5111', GAL2='0.90', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1671525818.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.45e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1750' AND source_name='4FGL J1037.4-2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:43:38 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 5111: <4FGL_J1037.4-2933_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1037.4-2933_daily_bin1750> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Dec 20 00:30:18 2022
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:30:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:30:20 2022
Terminated at Tue Dec 20 00:43:38 2022
Results reported at Tue Dec 20 00:43:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1037.4-2933_daily_bin1750 159.356 -29.5568 692928001 693187201 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 :                                   675.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             301.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            800 sec.

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

