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


Performing analysis on: 4FGL_J1033.1+4115_daily_bin1711
RA = 158.275, Dec = 41.262
tmin = 682819201, tmax = 683078401
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='94608', job_status='RUN', time_executed='2022-09-16 15:26:34.735736', time_epoch_executed='1663367194.74' WHERE source_name='4FGL J1033.1+4115' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/94608

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/94608/ft1_4FGL_J1033.1+4115_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/94608/ft2_4FGL_J1033.1+4115_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/94608/ft1_4FGL_J1033.1+4115_daily_bin1711.fits outfile=/scratch/kocevski/94608/ft1_filteredMKT_4FGL_J1033.1+4115_daily_bin1711.fits ra=158.275 dec=41.262 rad=12.0 tmin=682819201.0 tmax=683078401.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.55
user 4.30
sys 0.24

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

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

Number of photons that the gtmktime cut: 553

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/94608/ft1_filtered_4FGL_J1033.1+4115_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/94608/ft2_4FGL_J1033.1+4115_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/94608/ltcube_682819201_683078401_4FGL_J1033.1+4115_daily_bin1711.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/94608/ft2_4FGL_J1033.1+4115_daily_bin1711.fits
.....................!
real 13.30
user 12.94
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/94608/ft1_filtered_4FGL_J1033.1+4115_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/94608/ft2_4FGL_J1033.1+4115_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/94608/ltcube_682819201_683078401_4FGL_J1033.1+4115_daily_bin1711.fits outfile=/scratch/kocevski/94608/expmap_682819201_683078401_4FGL_J1033.1+4115_daily_bin1711.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/94608/ltcube_682819201_683078401_4FGL_J1033.1+4115_daily_bin1711.fits
.....................!
real 190.71
user 185.43
sys 4.90

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/94608/ft1_filtered_4FGL_J1033.1+4115_daily_bin1711.fits scfile=/scratch/kocevski/94608/ft2_4FGL_J1033.1+4115_daily_bin1711.fits outfile=/scratch/kocevski/94608/cmap_682819201_683078401_4FGL_J1033.1+4115_daily_bin1711.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/94608/ft1_filtered_4FGL_J1033.1+4115_daily_bin1711.fits scfile=/scratch/kocevski/94608/ft2_4FGL_J1033.1+4115_daily_bin1711.fits outfile=/scratch/kocevski/94608/cmap_HighResolution_682819201_683078401_4FGL_J1033.1+4115_daily_bin1711.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.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/94608/ft1_filtered_4FGL_J1033.1+4115_daily_bin1711.fits', '/scratch/kocevski/94608/ft2_4FGL_J1033.1+4115_daily_bin1711.fits', expMap='/scratch/kocevski/94608/expmap_682819201_683078401_4FGL_J1033.1+4115_daily_bin1711.fits', expCube='/scratch/kocevski/94608/ltcube_682819201_683078401_4FGL_J1033.1+4115_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/94608/Model_4FGL_J1033.1+4115_daily_bin1711.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/94608/ft1_filtered_4FGL_J1033.1+4115_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/94608/ft2_4FGL_J1033.1+4115_daily_bin1711.fits
Exposure map: /scratch/kocevski/94608/expmap_682819201_683078401_4FGL_J1033.1+4115_daily_bin1711.fits
Exposure cube: /scratch/kocevski/94608/ltcube_682819201_683078401_4FGL_J1033.1+4115_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/94608/Model_4FGL_J1033.1+4115_daily_bin1711.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) = 6083.63278201

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4053       1.0000          .0000       .10000E+07
     2 'Prefactor '    .34409       1.0000          .0000       .10000E+07
     3 'Prefactor '    .89239E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .35003E-03   1.0000          .0000       .10000E+07
     5 'norm      '    26.943       1.0000          .0000       .10000E+07
     6 'Prefactor '    .44247E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .60687E-03   1.0000          .0000       .10000E+07
     8 'norm      '    6.9364       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.780       1.0000          .0000       .10000E+07
    10 'norm      '    7.2615       1.0000          .0000       .10000E+07
    11 'Prefactor '    86.720       1.0000          .0000       .10000E+07
    12 'Prefactor '    .29832E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    10.563       1.0000          .0000       .10000E+07
    14 'Prefactor '    .21302E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .64413E-03   1.0000          .0000       .10000E+07
    16 'norm      '    1.6305       1.0000          .0000       .10000E+07
    17 'Prefactor '    12.294       1.0000          .0000       .10000E+07
    18 'Prefactor '    .14535E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .56659E-01   1.0000          .0000       .10000E+07
    20 'norm      '    27.340       1.0000          .0000       .10000E+07
    21 'Prefactor '    3.2607       1.0000          .0000       .10000E+07
    22 'Prefactor '    .10998E-05   1.0000          .0000       .10000E+07
    23 'norm      '    .22359E-05   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2104       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .84320       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=   6083.618     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     2150 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.3943        14.123       -.33781E-05   -.99243E-02
   2  Prefactor     .34997        3.9240       -.14004E-05   -.25089E-02
   3  Prefactor     .14744E-06    28.338        .61075E-05** at limit **
   4  Prefactor     .21677E-05    20.877        .67933E-05** at limit **
   5  norm          26.940        1.6341        .30189E-06    .13531E-01
   6  Prefactor     .38858E-09    13.273        .14986E-05** at limit **
   7  Prefactor     .55511E-09    4.1876       -.42222E-07** at limit **
   8  norm          6.9392        3.1351        .11605E-06   -.12196E-01
   9  Prefactor     16.833        6.8485       -.14323E-06    .71185E-02
  10  norm          7.2876        7.6232       -.12327E-07   -.92173E-04
  11  Prefactor     87.221        16.446        .21058E-05   -.28431    
  12  Prefactor     .67479E-06    17.245       -.45976E-05** at limit **
  13  Prefactor     10.588        5.7801       -.17952E-06   -.34469E-02
  14  Prefactor     .13228E-06    15.682       -.31846E-05** at limit **
  15  Prefactor     .56806E-05    125.09        .22373E-05** at limit **
  16  norm          1.6308        .37697        .22286E-07   -.14466E-01
  17  Prefactor     12.293        12.810       -.21443E-05   -.12077E-01
  18  Prefactor      .0000        4.7444        .62286E-07** at limit **
  19  Prefactor     .11102E-09    34.198        .15768E-05** at limit **
  20  norm          27.342        4.2619       -.33059E-06   -.20774E-02
  21  Prefactor     3.2638        3.9121        .15497E-06   -.94217E-04
  22  Prefactor     .28455E-05    21.691       -.70011E-05** at limit **
  23  norm          .55511E-10    1.7150        .42509E-06** at limit **
  24  Normalizat    1.2097        .21326        .17557E-05   -.48024E-03
  25  Prefactor     .84352        .25359       -.30681E-06   -.20435E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.39435
  Prefactor  = 0.349968
  Prefactor  = 1.47438e-07
  Prefactor  = 2.16771e-06
  norm       = 26.9405
  Prefactor  = 3.88578e-10
  Prefactor  = 5.55112e-10
  norm       = 6.93915
  Prefactor  = 16.833
  norm       = 7.28757
  Prefactor  = 87.2207
  Prefactor  = 6.74794e-07
  Prefactor  = 10.5884
  Prefactor  = 1.32283e-07
  Prefactor  = 5.68062e-06
  norm       = 1.63083
  Prefactor  = 12.293
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  norm       = 27.3416
  Prefactor  = 3.26381
  Prefactor  = 2.8455e-06
  norm       = 5.55112e-11
  Normalizat = 1.20971
  Prefactor  = 0.843516
 **********
 **   18 **HESSE 
 **********

 FCN=   6083.618     FROM HESSE     STATUS=OK           483 CALLS     2633 TOTAL
                     EDM=   .61E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.3943        17.049        .39634E-03   -1.5657    
   2  Prefactor     .34997        22.900        .11860E-01   -1.5696    
   3  Prefactor     .14744E-06    38.629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .21677E-05    22.599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          26.940        14.945        .19269E-03   -1.5604    
   6  Prefactor     .38858E-09    13.119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-09    4.1426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.9392        3.1384        .38069E-03   -1.5655    
   9  Prefactor     16.833        6.8552        .24423E-03   -1.5626    
  10  norm          7.2876        7.6297        .37198E-03   -1.5654    
  11  Prefactor     87.221        79.474        .10739E-03   -1.5521    
  12  Prefactor     .67479E-06    35.356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.588        5.7754        .30803E-03   -1.5643    
  14  Prefactor     .13228E-06    15.789        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .56806E-05    126.01        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.6308        .37618        .49922E-03   -1.5682    
  17  Prefactor     12.293        14.246        .28544E-03   -1.5638    
  18  Prefactor      .0000        4.7467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .11102E-09    34.162        .15284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          27.342        19.494        .19128E-03   -1.5603    
  21  Prefactor     3.2638        3.9621        .56058E-03   -1.5672    
  22  Prefactor     .28455E-05    25.835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .55511E-10    1.7066        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.2097        .18295        .53736E-01   -.86303    
  25  Prefactor     .84352        .21638        .76453E-01   -.98144    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.13031e-06
Minuit parameter uncertainties:
  1  17.0491
  2  5.6619
  3  0.00477306
  4  0.0139983
  5  14.9453
  6  0.000143174
  7  9.43902e-05
  8  3.13845
  9  6.8552
  10  7.62976
  11  79.4748
  12  0.00976894
  13  5.77544
  14  0.00289059
  15  0.0535101
  16  0.376184
  17  14.2456
  18  1.84861e-05
  19  0.000115963
  20  19.4942
  21  3.96208
  22  0.017148
  23  2.22999e-05
  24  0.183049
  25  0.216601
Done.

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

Extracting fit parameters...

4FGL J1033.1+4115
   Spectrum: PowerLaw
339    Prefactor:  1.059e+01  5.775e+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

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  8.435e-01  2.166e-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.210e+00  1.830e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.63
Ra Dec: 158.275 41.262
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 7.78e-08 +/- 4.24e-08
Energy Flux (Fixed Index): 2.51e-05 +/- 1.37e-05

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) = 6082.91837715
delta logL = 0.699392526494

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6082.91737528
delta logL = 0.700394394351

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7758       1.0000          .0000       .10000E+07
     2 'Index     '    3.0658       1.0000          .0000       10.000    
     3 'Normalizat'    1.1594       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88449       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.

 FCN=   6082.917     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      246 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7759        54.751        .38522E-03   -.25605E-02
   2  Index         3.0658        3.3977        .12818        .10950E-03
   3  Normalizat    1.1594        .89078E-01    .54681E-01    .56875E-05
   4  Prefactor     .88447        .94221E-01    .74846E-01    .17243E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.77585
  Index      = 3.06582
  Normalizat = 1.15941
  Prefactor  = 0.884474
 **********
 **   18 **HESSE 
 **********

 FCN=   6082.917     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7759        5.7545        .90633E-05   -1.5656    
   2  Index         3.0658        .64507        .50515E-02   -.39720    
   3  Normalizat    1.1594        .21582        .24179E-03   -.87867    
   4  Prefactor     .88447        .25626        .33122E-03   -.96686    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3246e-10
Minuit parameter uncertainties:
  1  5.75448
  2  0.64719
  3  0.215989
  4  0.256613
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/94608': 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) = 6082.91737526
delta logL = 0.700394415238

Extracting fit parameters...

4FGL J1033.1+4115
   Spectrum: PowerLaw
339    Prefactor:  6.776e+00  5.754e+00  0.000e+00  1.000e+06 ( 1.000e-12)
340        Index:  3.066e+00  6.472e-01  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:  8.845e-01  2.566e-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.159e+00  2.160e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.11
Ra Dec: 158.275 41.262
Photon Index (Free Index): 3.07 +/- 0.65
Photon Flux (Free Index): 1.20e-07 +/- 6.32e-08
Energy Flux (Free Index): 2.32e-05 +/- 1.11e-05

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/94608/cmap_HighResolution_682819201_683078401_4FGL_J1033.1+4115_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.78e-08', energy_flux2='2.32e-05', photon_flux_error='4.24e-08', dlogl='7.00e-01', energy_flux='2.51e-05', photon_flux2='1.20e-07', job_status='DONE', time_completed='2022-09-16 15:37:22.911180', photon_index_error2='0.65', photon_index2='3.07', ts='6.63', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='1.11e-05', EG='1.21', time_epoch_completed='1663367842.91', return_code='0', job_id='94608', GAL2='0.88', EG2='1.16', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='6.32e-08', ts2='8.11', photon_index='2.41' WHERE bin_id='1711' AND source_name='4FGL J1033.1+4115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:37:22 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 94608: <4FGL_J1033.1+4115_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1033.1+4115_daily_bin1711> 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) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:25:35 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:35 2022
Terminated at Fri Sep 16 15:37:23 2022
Results reported at Fri Sep 16 15:37:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1033.1+4115_daily_bin1711 158.275 41.262 682819201 683078401 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 :                                   650.31 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             321.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            727 sec.

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

