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


Performing analysis on: 4FGL_J1033.1+4115_daily_bin1716
RA = 158.275, Dec = 41.262
tmin = 684115201, tmax = 684374401
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='94620', job_status='RUN', time_executed='2022-09-16 15:26:17.769234', time_epoch_executed='1663367177.77' WHERE source_name='4FGL J1033.1+4115' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/94620

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/94620/ft1_4FGL_J1033.1+4115_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/94620/ft2_4FGL_J1033.1+4115_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/94620/ft1_4FGL_J1033.1+4115_daily_bin1716.fits outfile=/scratch/kocevski/94620/ft1_filteredMKT_4FGL_J1033.1+4115_daily_bin1716.fits ra=158.275 dec=41.262 rad=12.0 tmin=684115201.0 tmax=684374401.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.13
user 3.86
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/94620/ft2_4FGL_J1033.1+4115_daily_bin1716.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/94620/ft2_4FGL_J1033.1+4115_daily_bin1716.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/94620/ft1_filteredMKT_4FGL_J1033.1+4115_daily_bin1716.fits evtable="EVENTS" outfile="/scratch/kocevski/94620/ft1_filtered_4FGL_J1033.1+4115_daily_bin1716.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.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 580

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/94620/ft1_filtered_4FGL_J1033.1+4115_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/94620/ft2_4FGL_J1033.1+4115_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/94620/ltcube_684115201_684374401_4FGL_J1033.1+4115_daily_bin1716.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/94620/ft2_4FGL_J1033.1+4115_daily_bin1716.fits
.....................!
real 14.21
user 13.79
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/94620/ft1_filtered_4FGL_J1033.1+4115_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/94620/ft2_4FGL_J1033.1+4115_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/94620/ltcube_684115201_684374401_4FGL_J1033.1+4115_daily_bin1716.fits outfile=/scratch/kocevski/94620/expmap_684115201_684374401_4FGL_J1033.1+4115_daily_bin1716.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/94620/ltcube_684115201_684374401_4FGL_J1033.1+4115_daily_bin1716.fits
.....................!
real 192.73
user 186.33
sys 4.97

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

Setting source of interest to:
4FGL J1033.1+4115 @ 158.275 41.262

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/94620/ft1_filtered_4FGL_J1033.1+4115_daily_bin1716.fits scfile=/scratch/kocevski/94620/ft2_4FGL_J1033.1+4115_daily_bin1716.fits outfile=/scratch/kocevski/94620/cmap_684115201_684374401_4FGL_J1033.1+4115_daily_bin1716.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=158.275 yref=41.262 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.59
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/94620/ft1_filtered_4FGL_J1033.1+4115_daily_bin1716.fits scfile=/scratch/kocevski/94620/ft2_4FGL_J1033.1+4115_daily_bin1716.fits outfile=/scratch/kocevski/94620/cmap_HighResolution_684115201_684374401_4FGL_J1033.1+4115_daily_bin1716.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=158.275 yref=41.262 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/94620/ft1_filtered_4FGL_J1033.1+4115_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/94620/ft2_4FGL_J1033.1+4115_daily_bin1716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/94620/Model_4FGL_J1033.1+4115_daily_bin1716.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/94620/ft1_filtered_4FGL_J1033.1+4115_daily_bin1716.fits....................!
real 54.86
user 53.24
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/94620/ft1_filtered_4FGL_J1033.1+4115_daily_bin1716.fits', '/scratch/kocevski/94620/ft2_4FGL_J1033.1+4115_daily_bin1716.fits', expMap='/scratch/kocevski/94620/expmap_684115201_684374401_4FGL_J1033.1+4115_daily_bin1716.fits', expCube='/scratch/kocevski/94620/ltcube_684115201_684374401_4FGL_J1033.1+4115_daily_bin1716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/94620/Model_4FGL_J1033.1+4115_daily_bin1716.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1033.1+4115'

4FGL J1033.1+4115
   Spectrum: PowerLaw
339    Prefactor:  3.495e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
340        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  6.847e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/94620/ft1_filtered_4FGL_J1033.1+4115_daily_bin1716.fits
Spacecraft file(s): /scratch/kocevski/94620/ft2_4FGL_J1033.1+4115_daily_bin1716.fits
Exposure map: /scratch/kocevski/94620/expmap_684115201_684374401_4FGL_J1033.1+4115_daily_bin1716.fits
Exposure cube: /scratch/kocevski/94620/ltcube_684115201_684374401_4FGL_J1033.1+4115_daily_bin1716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/94620/Model_4FGL_J1033.1+4115_daily_bin1716.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) = 6378.33974145

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .92521E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .31400E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    13.458       1.0000          .0000       .10000E+07
     4 'Prefactor '    .30476E-06   1.0000          .0000       .10000E+07
     5 'norm      '    .66175E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .11837       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.9637       1.0000          .0000       .10000E+07
     8 'norm      '    1.2330       1.0000          .0000       .10000E+07
     9 'Prefactor '    .57614       1.0000          .0000       .10000E+07
    10 'norm      '    .13963E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    32.015       1.0000          .0000       .10000E+07
    12 'Prefactor '    18.601       1.0000          .0000       .10000E+07
    13 'Prefactor '    .75575E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .11127E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .84126       1.0000          .0000       .10000E+07
    16 'norm      '    1.2107       1.0000          .0000       .10000E+07
    17 'Prefactor '    8.6958       1.0000          .0000       .10000E+07
    18 'Prefactor '    .13767E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    83.508       1.0000          .0000       .10000E+07
    20 'norm      '    .29569E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    1.2149       1.0000          .0000       .10000E+07
    22 'Prefactor '    22.772       1.0000          .0000       .10000E+07
    23 'norm      '    1.6477       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0302       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0820       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6378.340     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2205 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22204E-09    3.3343       -.12201E-05** at limit **
   2  Prefactor     .22204E-09    5.5555       -.20401E-05** at limit **
   3  Prefactor     13.452        2.6495       -.86675E-06   -.25770E-01
   4  Prefactor     .49960E-09    2.5702        .12343E-05** at limit **
   5  norm          .16653E-09    2.6987       -.91297E-06** at limit **
   6  Prefactor     .22136        11.141       -.16724E-05** at limit **
   7  Prefactor     3.9640        3.3025       -.66498E-06   -.24970E-02
   8  norm          1.2327        1.6626        .37381E-06    .11874E-02
   9  Prefactor     .58382        5.1399       -.20567E-06   -.33050E-02
  10  norm          .55511E-10    7.5180        .13790E-05** at limit **
  11  Prefactor     31.969        3.0437        .68052E-06   -.61103E-01
  12  Prefactor     18.621        20.399       -.66320E-05   -.94464E-02
  13  Prefactor     .27756E-09    2.7742        .14209E-07** at limit **
  14  Prefactor     .27756E-09    10.157       -.79124E-07** at limit **
  15  Prefactor     .13456E-06    380.33        .48845E-06** at limit **
  16  norm          1.2114        .34261       -.51431E-08    .70057E-03
  17  Prefactor     8.6930        2.8151        .34418E-06   -.77329E-02
  18  Prefactor     .13878E-08    5.2907        .15591E-05** at limit **
  19  Prefactor     83.714        4.2820       -.45341E-07    .13348E-01
  20  norm          .11102E-09    17.779        .22222E-05** at limit **
  21  Prefactor     1.2173        1.8766       -.62768E-06   -.70534E-02
  22  Prefactor     22.753        3.4669        .10101E-05   -.51620E-01
  23  norm          1.6481        1.7962        .16283E-06   -.80687E-02
  24  Normalizat    1.0301        .18681        .94863E-05   -.16316E-04
  25  Prefactor     1.0820        .24226       -.16354E-04    .36426E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.22045e-10
  Prefactor  = 2.22045e-10
  Prefactor  = 13.4524
  Prefactor  = 4.996e-10
  norm       = 1.66533e-10
  Prefactor  = 0.221357
  Prefactor  = 3.96397
  norm       = 1.23267
  Prefactor  = 0.583825
  norm       = 5.55112e-11
  Prefactor  = 31.9689
  Prefactor  = 18.621
  Prefactor  = 2.77556e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 1.34559e-07
  norm       = 1.21137
  Prefactor  = 8.69301
  Prefactor  = 1.38778e-09
  Prefactor  = 83.7141
  norm       = 1.11022e-10
  Prefactor  = 1.21728
  Prefactor  = 22.7528
  norm       = 1.64807
  Normalizat = 1.03008
  Prefactor  = 1.08204
 **********
 **   18 **HESSE 
 **********

 FCN=   6378.340     FROM HESSE     STATUS=OK           489 CALLS     2694 TOTAL
                     EDM=   .24E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22204E-09    3.3420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .22204E-09    5.6644        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.452        16.665        .27278E-03   -1.5635    
   4  Prefactor     .49960E-09    2.5722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .16653E-09    2.7028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .22136        2.2479        .63821E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.9640        3.3754        .50640E-03   -1.5668    
   8  norm          1.2327        1.7058        .10116E-02   -1.5686    
   9  Prefactor     .58382        5.3484        .71393E-03   -1.5693    
  10  norm          .55511E-10    7.5499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     31.969        44.896        .17676E-03   -1.5595    
  12  Prefactor     18.621        20.765        .23195E-03   -1.5622    
  13  Prefactor     .27756E-09    2.7630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .27756E-09    10.169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13456E-06    379.17        .49909E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.2114        .35021        .54014E-03   -1.5686    
  17  Prefactor     8.6930        11.427        .33968E-03   -1.5649    
  18  Prefactor     .13878E-08    5.4652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     83.714        74.444        .10944E-03   -1.5525    
  20  norm          .11102E-09    8.4764        .75969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.2173        2.0387        .10246E-02   -1.5686    
  22  Prefactor     22.753        33.665        .20961E-03   -1.5613    
  23  norm          1.6481        1.8320        .82238E-03   -1.5682    
  24  Normalizat    1.0301        .15796        .42142E-01   -.92029    
  25  Prefactor     1.0820        .20517        .65153E-01   -.90043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.38427e-06
Minuit parameter uncertainties:
  1  5.61469e-05
  2  7.2546e-05
  3  16.6654
  4  7.13078e-05
  5  4.10509e-05
  6  1.4108
  7  3.37545
  8  1.70581
  9  3.53413
  10  4.98966e-05
  11  44.8966
  12  20.7646
  13  5.7072e-05
  14  0.000109156
  15  0.014286
  16  0.35021
  17  11.4268
  18  0.000175372
  19  74.4445
  20  6.12751e-05
  21  2.03867
  22  33.6651
  23  1.83203
  24  0.158031
  25  0.205321
Done.

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

Extracting fit parameters...

4FGL J1033.1+4115
   Spectrum: PowerLaw
339    Prefactor:  2.776e-10  5.707e-05  0.000e+00  1.000e+06 ( 1.000e-12)
340        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  6.847e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.082e+00  2.053e-01  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  1.030e+00  1.580e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 158.275 41.262
Photon Flux Upper Limit: 6.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/94620/likelihoodResults_684115201_684374401_4FGL_J1033.1+4115_daily_bin1716.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): 102
logL (Free Index) = 6378.34098617
delta logL = -0.00135160559512

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6378.33963521
delta logL = -6.42146005703e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6378.340     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      279 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3156        .42118E-03** at limit **
   2  Index         2.5995        1.4556        .34151E-04     .0000    
   3  Normalizat    1.0301        1.2383       -.22600E-04    .86518E-03
   4  Prefactor     1.0820        1.1610        .55184E-04    .52055E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59948
  Normalizat = 1.03008
  Prefactor  = 1.08204
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6378.340     FROM HESSE     STATUS=FAILED         9 CALLS      288 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76379        1.9717        .34151E-04   -.50077    
   3  Normalizat    1.0301        1.2383       -.22600E-04   -.92029    
   4  Prefactor     1.0820        1.1610        .55184E-04   -.90043    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.92912e-10
Minuit parameter uncertainties:
  1  1.36968e-05
  2  1.48377
  3  1.27577
  4  1.18986
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/94620': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6378.33963457
delta logL = -2.76486389339e-10

Extracting fit parameters...

4FGL J1033.1+4115
   Spectrum: PowerLaw
339    Prefactor:  0.000e+00  1.370e-05  0.000e+00  1.000e+06 ( 1.000e-12)
340        Index:  2.599e+00  1.484e+00  0.000e+00  1.000e+01 (-1.000e+00)
341        Scale:  6.847e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.082e+00  1.190e+00  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  1.030e+00  1.276e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 158.275 41.262

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/94620/cmap_HighResolution_684115201_684374401_4FGL_J1033.1+4115_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.70e-03', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2022-09-16 15:38:25.006114', job_id='94620', GAL2='1.08', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1663367905.01', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-2.76e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1716' AND source_name='4FGL J1033.1+4115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:38:25 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0181>
Subject: Job 94620: <4FGL_J1033.1+4115_daily_bin1716> in cluster <slac> Done

Job <4FGL_J1033.1+4115_daily_bin1716> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 15:25:16 2022
Job was executed on host(s) <bullet0181>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:25:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:25:39 2022
Terminated at Fri Sep 16 15:38:25 2022
Results reported at Fri Sep 16 15:38:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1033.1+4115_daily_bin1716 158.275 41.262 684115201 684374401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1033.1+4115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   727.58 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             328.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            789 sec.

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

