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


Performing analysis on: 4FGL_J1037.7+5711_daily_bin1759
RA = 159.429, Dec = 57.192
tmin = 695260801, tmax = 695520001
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='555591', job_status='RUN', time_executed='2023-01-16 01:02:39.414907', time_epoch_executed='1673859759.41' WHERE source_name='4FGL J1037.7+5711' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/555591

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/555591/ft1_4FGL_J1037.7+5711_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/555591/ft2_4FGL_J1037.7+5711_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/555591/ft1_4FGL_J1037.7+5711_daily_bin1759.fits outfile=/scratch/kocevski/555591/ft1_filteredMKT_4FGL_J1037.7+5711_daily_bin1759.fits ra=159.429 dec=57.192 rad=12.0 tmin=695260801.0 tmax=695520001.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.74
user 2.51
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/555591/ft2_4FGL_J1037.7+5711_daily_bin1759.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/555591/ft2_4FGL_J1037.7+5711_daily_bin1759.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/555591/ft1_filteredMKT_4FGL_J1037.7+5711_daily_bin1759.fits evtable="EVENTS" outfile="/scratch/kocevski/555591/ft1_filtered_4FGL_J1037.7+5711_daily_bin1759.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.16

Number of photons that the gtmktime cut: 416

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/555591/ft1_filtered_4FGL_J1037.7+5711_daily_bin1759.fits" evtable="EVENTS" scfile=/scratch/kocevski/555591/ft2_4FGL_J1037.7+5711_daily_bin1759.fits sctable="SC_DATA" outfile=/scratch/kocevski/555591/ltcube_695260801_695520001_4FGL_J1037.7+5711_daily_bin1759.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/555591/ft2_4FGL_J1037.7+5711_daily_bin1759.fits
.....................!
real 14.25
user 13.73
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/555591/ft1_filtered_4FGL_J1037.7+5711_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/555591/ft2_4FGL_J1037.7+5711_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/555591/ltcube_695260801_695520001_4FGL_J1037.7+5711_daily_bin1759.fits outfile=/scratch/kocevski/555591/expmap_695260801_695520001_4FGL_J1037.7+5711_daily_bin1759.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/555591/ltcube_695260801_695520001_4FGL_J1037.7+5711_daily_bin1759.fits
.....................!
real 193.07
user 185.89
sys 6.09

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

Setting source of interest to:
4FGL J1037.7+5711 @ 159.429 57.192

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/555591/ft1_filtered_4FGL_J1037.7+5711_daily_bin1759.fits scfile=/scratch/kocevski/555591/ft2_4FGL_J1037.7+5711_daily_bin1759.fits outfile=/scratch/kocevski/555591/cmap_695260801_695520001_4FGL_J1037.7+5711_daily_bin1759.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.429 yref=57.192 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/555591/ft1_filtered_4FGL_J1037.7+5711_daily_bin1759.fits scfile=/scratch/kocevski/555591/ft2_4FGL_J1037.7+5711_daily_bin1759.fits outfile=/scratch/kocevski/555591/cmap_HighResolution_695260801_695520001_4FGL_J1037.7+5711_daily_bin1759.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.429 yref=57.192 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/555591/ft1_filtered_4FGL_J1037.7+5711_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/555591/ft2_4FGL_J1037.7+5711_daily_bin1759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/555591/Model_4FGL_J1037.7+5711_daily_bin1759.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/555591/ft1_filtered_4FGL_J1037.7+5711_daily_bin1759.fits.....................!
real 48.40
user 46.80
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/555591/ft1_filtered_4FGL_J1037.7+5711_daily_bin1759.fits', '/scratch/kocevski/555591/ft2_4FGL_J1037.7+5711_daily_bin1759.fits', expMap='/scratch/kocevski/555591/expmap_695260801_695520001_4FGL_J1037.7+5711_daily_bin1759.fits', expCube='/scratch/kocevski/555591/ltcube_695260801_695520001_4FGL_J1037.7+5711_daily_bin1759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/555591/Model_4FGL_J1037.7+5711_daily_bin1759.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1037.7+5711'

4FGL J1037.7+5711
   Spectrum: LogParabola
416         norm:  1.718e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
417        alpha:  1.758e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
418         beta:  7.199e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
419           Eb:  1.415e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/555591/ft1_filtered_4FGL_J1037.7+5711_daily_bin1759.fits
Spacecraft file(s): /scratch/kocevski/555591/ft2_4FGL_J1037.7+5711_daily_bin1759.fits
Exposure map: /scratch/kocevski/555591/expmap_695260801_695520001_4FGL_J1037.7+5711_daily_bin1759.fits
Exposure cube: /scratch/kocevski/555591/ltcube_695260801_695520001_4FGL_J1037.7+5711_daily_bin1759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/555591/Model_4FGL_J1037.7+5711_daily_bin1759.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) = 4630.39622899

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .93620       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.9549       1.0000          .0000       .10000E+07
     3 'Prefactor '    .30231E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.8575       1.0000          .0000       .10000E+07
     5 'Prefactor '    16.392       1.0000          .0000       .10000E+07
     6 'norm      '    .86659E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .13689E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .92704E-07   1.0000          .0000       .10000E+07
     9 'norm      '    47.562       1.0000          .0000       .10000E+07
    10 'Prefactor '    .81479E-02   1.0000          .0000       .10000E+07
    11 'norm      '     .0000       1.0000          .0000       .10000E+07
    12 'norm      '    .84621E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    52.544       1.0000          .0000       .10000E+07
    14 'norm      '    16.888       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.6343       1.0000          .0000       .10000E+07
    16 'norm      '    4.0210       1.0000          .0000       .10000E+07
    17 'norm      '    .39733       1.0000          .0000       .10000E+07
    18 'Prefactor '    2.8751       1.0000          .0000       .10000E+07
    19 'Prefactor '    47.346       1.0000          .0000       .10000E+07
    20 'norm      '    .88818E-08   1.0000          .0000       .10000E+07
    21 'Prefactor '    .15641E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    11.257       1.0000          .0000       .10000E+07
    23 'Prefactor '    .66950       1.0000          .0000       .10000E+07
    24 'norm      '    22.338       1.0000          .0000       .10000E+07
    25 'Prefactor '    9.6535       1.0000          .0000       .10000E+07
    26 'Prefactor '    16.359       1.0000          .0000       .10000E+07
    27 'norm      '    .51400E-04   1.0000          .0000       .10000E+07
    28 'norm      '    2.6138       1.0000          .0000       .10000E+07
    29 'Prefactor '    .34972E-06   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.3185       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .88786       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4630.341     FROM MIGRAD    STATUS=CONVERGED    235 CALLS     3040 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .93621        1.0901        .71505E-08    .40214E-03
   2  Prefactor     3.9289        5.8641       -.76180E-07   -.63576E-03
   3  Prefactor     .84099E-07    19.277       -.10038E-05** at limit **
   4  Prefactor     4.9331        10.771       -.12843E-06   -.81500E-03
   5  Prefactor     16.317        16.367        .11657E-06    .17270E-01
   6  norm          .40801E-07    9.1558        .14384E-06** at limit **
   7  Prefactor     .25654E-04    65.084        .58825E-06** at limit **
   8  norm           .0000        .45451        .13509E-07** at limit **
   9  norm          48.040        14.199       -.12634E-06   -.46117E-01
  10  Prefactor     .47640E-06    25.100        .13004E-06** at limit **
  11  norm           .0000        .23290       -.54670E-07** at limit **
  12  norm          .49593E-04    42.603       -.80184E-06** at limit **
  13  Prefactor     54.549        41.087        .33113E-06    .28884E-01
  14  norm          16.891        16.490        .31419E-06    .59432E-01
  15  Prefactor     6.4839        18.239       -.16071E-06    .25632E-01
  16  norm          4.0376        3.0147        .36776E-07   -.11238E-02
  17  norm          .39771        1.3250        .17749E-07    .74420E-03
  18  Prefactor     1.5214        312.21        .22771E-05    .57215E-01
  19  Prefactor     50.447        94.640       -.96133E-06    .13088    
  20  norm          .49960E-09    1.2487        .54001E-07** at limit **
  21  Prefactor     .20761E-07    35.042        .38556E-06** at limit **
  22  Prefactor     11.266        3.2696        .13355E-07   -.22218E-01
  23  Prefactor     .55787E-04    67.590       -.14844E-05** at limit **
  24  norm          24.680        30.187        .59966E-06   -.53329E-01
  25  Prefactor     9.8871        10.885       -.11706E-06    .13846E-02
  26  Prefactor     16.374        2.5802       -.23797E-07    .20293E-01
  27  norm          .16931E-07    3.7998        .11026E-06** at limit **
  28  norm          2.5939        4.8416        .36077E-07   -.28307E-04
  29  Prefactor     .30309E-07    8.7036       -.39513E-06** at limit **
  30  Normalizat    1.3163        .25480       -.41488E-05   -.71911E-05
  31  Prefactor     .88741        .28168        .62173E-05    .41781E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.936212
  Prefactor  = 3.92894
  Prefactor  = 8.40994e-08
  Prefactor  = 4.93314
  Prefactor  = 16.3173
  norm       = 4.08007e-08
  Prefactor  = 2.56539e-05
  norm       = 0
  norm       = 48.0405
  Prefactor  = 4.76397e-07
  norm       = 0
  norm       = 4.95928e-05
  Prefactor  = 54.5494
  norm       = 16.891
  Prefactor  = 6.48388
  norm       = 4.03764
  norm       = 0.397713
  Prefactor  = 1.52144
  Prefactor  = 50.4469
  norm       = 4.996e-10
  Prefactor  = 2.07612e-08
  Prefactor  = 11.2664
  Prefactor  = 5.57869e-05
  norm       = 24.6797
  Prefactor  = 9.88709
  Prefactor  = 16.3739
  norm       = 1.69309e-08
  norm       = 2.5939
  Prefactor  = 3.03091e-08
  Normalizat = 1.31634
  Prefactor  = 0.887409
 **********
 **   18 **HESSE 
 **********

 FCN=   4630.341     FROM HESSE     STATUS=OK           694 CALLS     3734 TOTAL
                     EDM=   .43E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .93621        1.0964        .43289E-03   -1.5689    
   2  Prefactor     3.9289        5.8922        .50698E-03   -1.5668    
   3  Prefactor     .84099E-07    19.327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.9331        10.831        .45617E-03   -1.5664    
   5  Prefactor     16.317        16.479        .24711E-03   -1.5627    
   6  norm          .40801E-07    9.1663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .25654E-04    73.161        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .44763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          48.040        35.789        .14501E-03   -1.5569    
  10  Prefactor     .47640E-06    25.124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .23230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .49593E-04    2.4904        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     54.549        54.358        .13797E-03   -1.5560    
  14  norm          16.891        16.585        .24345E-03   -1.5626    
  15  Prefactor     6.4839        18.101        .38936E-03   -1.5657    
  16  norm          4.0376        2.9773        .50266E-03   -1.5668    
  17  norm          .39771        1.3249        .32291E-02   -1.5695    
  18  Prefactor     1.5214        2876.8        .59919E-03   -1.5683    
  19  Prefactor     50.447        100.63        .14534E-03   -1.5566    
  20  norm          .49960E-09    1.2431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .20761E-07    35.045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     11.266        22.323        .29834E-03   -1.5641    
  23  Prefactor     .55787E-04    209.36        .63219E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          24.680        50.601        .21164E-03   -1.5609    
  25  Prefactor     9.8871        11.189        .32229E-03   -1.5645    
  26  Prefactor     16.374        20.689        .24736E-03   -1.5627    
  27  norm          .16931E-07    3.8141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          2.5939        4.8765        .63065E-03   -1.5676    
  29  Prefactor     .30309E-07    8.7101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.3163        .21565        .52475E-01   -.83080    
  31  Prefactor     .88741        .24075        .72719E-01   -.96582    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.26767e-05
Minuit parameter uncertainties:
  1  1.09642
  2  5.89222
  3  0.00254968
  4  10.8312
  5  16.4793
  6  0.00122305
  7  0.0866467
  8  7.09091e-07
  9  35.7891
  10  0.00691938
  11  1.6411e-06
  12  0.0222266
  13  54.3588
  14  16.5851
  15  18.1007
  16  2.97733
  17  1.32486
  18  132.38
  19  100.638
  20  4.98188e-05
  21  0.00170583
  22  22.3236
  23  0.21615
  24  50.6015
  25  11.1887
  26  20.6889
  27  0.000508228
  28  4.87655
  29  0.00102751
  30  0.215802
  31  0.241039
Done.

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

Extracting fit parameters...

4FGL J1037.7+5711
   Spectrum: LogParabola
416         norm:  3.977e-01  1.325e+00  0.000e+00  1.000e+06 ( 1.000e-12)
417        alpha:  1.758e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
418         beta:  7.199e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
419           Eb:  1.415e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
765    Prefactor:  8.874e-01  2.410e-01  0.000e+00  1.000e+01 ( 1.000e+00)
766        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
767        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
764   Normalization:  1.316e+00  2.158e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 159.429 57.192
Photon Flux Upper Limit: 5.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.18e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/555591/likelihoodResults_695260801_695520001_4FGL_J1037.7+5711_daily_bin1759.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) = 4630.31503814
delta logL = 0.02582723251

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4630.31425174
delta logL = 0.0266136386663

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35706       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2253       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3136       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88831       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4630.314     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      223 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .35883        21.886        .25672E-02   -.97079E-02
   2  alpha         2.2271        2.7887        .41470        .18722E-05
   3  Normalizat    1.3136        .29672E-01    .52514E-01   -.20254E-03
   4  Prefactor     .88825        .34618E-01    .72678E-01    .95592E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.35883
  alpha      = 2.22707
  Normalizat = 1.31364
  Prefactor  = 0.888248
 **********
 **   18 **HESSE 
 **********

 FCN=   4630.314     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .35883        1.3694        .11412E-03   -1.5696    
   2  alpha         2.2271        1.9596        .32749E-01   -.10939    
   3  Normalizat    1.3136        .23645        .23218E-03   -.83160    
   4  Prefactor     .88825        .27561        .32159E-03   -.96553    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38327e-09
Minuit parameter uncertainties:
  1  1.36941
  2  2.25759
  3  0.236647
  4  0.276042
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/555591': 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): 0
logL (Free Index) = 4630.31424852
delta logL = 0.0266168541875

Extracting fit parameters...

4FGL J1037.7+5711
   Spectrum: LogParabola
416         norm:  3.588e-01  1.369e+00  0.000e+00  1.000e+06 ( 1.000e-12)
417        alpha:  2.227e+00  2.258e+00  0.000e+00  5.000e+00 ( 1.000e+00)
418         beta:  7.199e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
419           Eb:  1.415e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
765    Prefactor:  8.882e-01  2.760e-01  0.000e+00  1.000e+01 ( 1.000e+00)
766        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
767        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
764   Normalization:  1.314e+00  2.366e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
Ra Dec: 159.429 57.192

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/555591/cmap_HighResolution_695260801_695520001_4FGL_J1037.7+5711_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.18e-05', job_status='DONE', photon_flux_upper_limit='5.35e-08', time_completed='2023-01-16 01:15:16.494485', job_id='555591', GAL2='0.89', fit_tolerance='1e-08', EG2='1.31', EG='1.32', time_epoch_completed='1673860516.49', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='2.66e-02', ts2='0.16', photon_index_error='0.00', photon_index='1.76' WHERE bin_id='1759' AND source_name='4FGL J1037.7+5711' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:15:16 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 555591: <4FGL_J1037.7+5711_daily_bin1759> in cluster <slac> Done

Job <4FGL_J1037.7+5711_daily_bin1759> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon Jan 16 01:00:18 2023
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 01:00:43 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 01:00:43 2023
Terminated at Mon Jan 16 01:15:17 2023
Results reported at Mon Jan 16 01:15:17 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1037.7+5711_daily_bin1759 159.429 57.192 695260801 695520001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1037.7+5711 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   757.21 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             283.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            899 sec.

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

