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


Performing analysis on: 4FGL_J1033.1+4115_daily_bin1710
RA = 158.275, Dec = 41.262
tmin = 682560001, tmax = 682819201
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='94607', job_status='RUN', time_executed='2022-09-16 15:25:47.120957', time_epoch_executed='1663367147.12' WHERE source_name='4FGL J1033.1+4115' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/94607

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/94607/ft1_4FGL_J1033.1+4115_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/94607/ft2_4FGL_J1033.1+4115_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/94607/ft1_4FGL_J1033.1+4115_daily_bin1710.fits outfile=/scratch/kocevski/94607/ft1_filteredMKT_4FGL_J1033.1+4115_daily_bin1710.fits ra=158.275 dec=41.262 rad=12.0 tmin=682560001.0 tmax=682819201.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.69
user 3.44
sys 0.21

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

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

Number of photons that the gtmktime cut: 540

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/94607/ft1_filtered_4FGL_J1033.1+4115_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/94607/ft2_4FGL_J1033.1+4115_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/94607/ltcube_682560001_682819201_4FGL_J1033.1+4115_daily_bin1710.fits outfile=/scratch/kocevski/94607/expmap_682560001_682819201_4FGL_J1033.1+4115_daily_bin1710.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/94607/ltcube_682560001_682819201_4FGL_J1033.1+4115_daily_bin1710.fits
.....................!
real 192.83
user 187.06
sys 5.32

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/94607/ft1_filtered_4FGL_J1033.1+4115_daily_bin1710.fits scfile=/scratch/kocevski/94607/ft2_4FGL_J1033.1+4115_daily_bin1710.fits outfile=/scratch/kocevski/94607/cmap_682560001_682819201_4FGL_J1033.1+4115_daily_bin1710.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/94607/ft1_filtered_4FGL_J1033.1+4115_daily_bin1710.fits scfile=/scratch/kocevski/94607/ft2_4FGL_J1033.1+4115_daily_bin1710.fits outfile=/scratch/kocevski/94607/cmap_HighResolution_682560001_682819201_4FGL_J1033.1+4115_daily_bin1710.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.57
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0642       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.581       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.477       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.361       1.0000          .0000       .10000E+07
     5 'norm      '    .38745E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .33759E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.8111       1.0000          .0000       .10000E+07
     8 'norm      '    7.3113       1.0000          .0000       .10000E+07
     9 'Prefactor '    .36179E-05   1.0000          .0000       .10000E+07
    10 'norm      '    20.107       1.0000          .0000       .10000E+07
    11 'Prefactor '    20.862       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11729E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .33967E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    18.433       1.0000          .0000       .10000E+07
    15 'Prefactor '    74.151       1.0000          .0000       .10000E+07
    16 'norm      '    1.4252       1.0000          .0000       .10000E+07
    17 'Prefactor '    30.860       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21515E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    99.142       1.0000          .0000       .10000E+07
    20 'norm      '    .36364       1.0000          .0000       .10000E+07
    21 'Prefactor '    .22223E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .32507E-06   1.0000          .0000       .10000E+07
    23 'norm      '    .13323E-07   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0125       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0208       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.576     FROM MIGRAD    STATUS=CONVERGED    225 CALLS     2189 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19573E-06    386.00       -.17715E-05** at limit **
   2  Prefactor     16.929        32.995        .59609E-06   -.10736E-01
   3  Prefactor     11.093        64.241       -.54226E-06   -.67224E-02
   4  Prefactor     12.380        10.794       -.49456E-08    .15528E-03
   5  norm           .0000        6.0207        .15516E-07** at limit **
   6  Prefactor      .0000        1.4963        .43477E-08** at limit **
   7  Prefactor     2.8242        4.0206        .17230E-08   -.16544E-04
   8  norm          7.3186        3.1820       -.20495E-09    .29822E-04
   9  Prefactor      .0000        2.1447       -.12500E-07** at limit **
  10  norm          20.141        11.633       -.17842E-07    .13523E-02
  11  Prefactor     20.719        4.1672       -.31877E-07    .67618E-02
  12  Prefactor     .17963E-06    35.409       -.38461E-06** at limit **
  13  Prefactor      .0000        2.2533       -.39339E-08** at limit **
  14  Prefactor     18.720        10.452       -.22647E-07    .59259E-01
  15  Prefactor     75.736        71.470        .60353E-07   -.19727E-01
  16  norm          1.4246        .36491        .90766E-09    .16078E-03
  17  Prefactor     30.947        18.953        .18188E-07   -.49292E-02
  18  Prefactor     .27756E-09    15.669       -.14559E-07** at limit **
  19  Prefactor     100.45        43.882        .60866E-07    .24386E-01
  20  norm          .37501        56.889       -.25742E-06    .23003E-03
  21  Prefactor      .0000        1.9083        .19936E-08** at limit **
  22  Prefactor     .83489E-07    27.731        .14424E-06** at limit **
  23  norm           .0000        1.1353        .71586E-08** at limit **
  24  Normalizat    1.0094        .20594       -.40343E-06   -.36157E-05
  25  Prefactor     1.0222        .24205        .23278E-06   -.19203E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.95732e-07
  Prefactor  = 16.9288
  Prefactor  = 11.0928
  Prefactor  = 12.3802
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.82422
  norm       = 7.31858
  Prefactor  = 0
  norm       = 20.1406
  Prefactor  = 20.7187
  Prefactor  = 1.79634e-07
  Prefactor  = 0
  Prefactor  = 18.7202
  Prefactor  = 75.7355
  norm       = 1.4246
  Prefactor  = 30.9469
  Prefactor  = 2.77556e-10
  Prefactor  = 100.452
  norm       = 0.375014
  Prefactor  = 0
  Prefactor  = 8.34888e-08
  norm       = 0
  Normalizat = 1.00941
  Prefactor  = 1.02222
 **********
 **   18 **HESSE 
 **********

 FCN=   6083.576     FROM HESSE     STATUS=OK           483 CALLS     2672 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19573E-06    12.134        .11834E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.929        37.362        .27154E-03   -1.5626    
   3  Prefactor     11.093        67.700        .28333E-03   -1.5641    
   4  Prefactor     12.380        10.826        .28467E-03   -1.5638    
   5  norm           .0000        6.0435        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.4981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.8242        4.0393        .60643E-03   -1.5674    
   8  norm          7.3186        3.1838        .37070E-03   -1.5654    
   9  Prefactor      .0000        2.1498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          20.141        11.618        .22309E-03   -1.5618    
  11  Prefactor     20.719        47.186        .21900E-03   -1.5617    
  12  Prefactor     .17963E-06    36.347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.2492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.720        28.992        .23300E-03   -1.5621    
  15  Prefactor     75.736        85.846        .11614E-03   -1.5534    
  16  norm          1.4246        .36403        .50249E-03   -1.5684    
  17  Prefactor     30.947        19.181        .18004E-03   -1.5597    
  18  Prefactor     .27756E-09    15.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     100.45        79.294        .10044E-03   -1.5508    
  20  norm          .37501        8.0473        .93826E-02   -1.5696    
  21  Prefactor      .0000        1.8915        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .83489E-07    28.269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        1.1391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0094        .17480        .44842E-01   -.92716    
  25  Prefactor     1.0222        .20696        .67179E-01   -.91993    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50257e-07
Minuit parameter uncertainties:
  1  0.00308245
  2  37.3626
  3  54.8092
  4  10.8258
  5  1.15096e-05
  6  1.54771e-07
  7  4.03928
  8  3.18376
  9  2.68825e-07
  10  11.6177
  11  47.1873
  12  0.00511086
  13  5.5532e-07
  14  28.9925
  15  85.8478
  16  0.364034
  17  19.1811
  18  0.000128904
  19  79.2945
  20  3.4744
  21  8.59174e-08
  22  0.00307287
  23  1.7009e-07
  24  0.174897
  25  0.207121
Done.

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

Extracting fit parameters...

4FGL J1033.1+4115
   Spectrum: PowerLaw
339    Prefactor:  0.000e+00  5.553e-07  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.022e+00  2.071e-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.009e+00  1.749e-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.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/94607/likelihoodResults_682560001_682819201_4FGL_J1033.1+4115_daily_bin1710.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) = 6083.57830115
delta logL = -0.00195652829643

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6083.5763447
delta logL = -8.2816768554e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52847E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.8073       1.0000          .0000       10.000    
     3 'Normalizat'    1.0095       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0221       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=   6083.576     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      294 TOTAL
                     EDM=   .22E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .10308E-01    .42118E-03** at limit **
   2  Index         2.8741        8.4743        .50000        .22737E-10
   3  Normalizat    1.0094        .30243E-03    .46286E-01   -.53548E-03
   4  Prefactor     1.0222        .37594E-03    .67178E-01   -.42574E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.87407
  Normalizat = 1.00941
  Prefactor  = 1.02222
 **********
 **   18 **HESSE 
 **********

 FCN=   6083.576     FROM HESSE     STATUS=NOT POSDEF    25 CALLS      319 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .10416        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8741        8.2740        .50000       -.43917    
   3  Normalizat    1.0094        .95822E-03    .24160E-03   -.92716    
   4  Prefactor     1.0222        .11903E-02    .29716E-03   -.91993    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.23773e-12
Minuit parameter uncertainties:
  1  5.20867e-06
  2  40366
  3  0.000958222
  4  0.00119026
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/94607': 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) = 6083.57634462
delta logL = -1.70985003933e-10

Extracting fit parameters...

4FGL J1033.1+4115
   Spectrum: PowerLaw
339    Prefactor:  5.551e-11  5.209e-06  0.000e+00  1.000e+06 ( 1.000e-12)
340        Index:  2.874e+00  4.037e+04  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.022e+00  1.190e-03  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.009e+00  9.582e-04  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/94607/cmap_HighResolution_682560001_682819201_4FGL_J1033.1+4115_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.02e-03', job_status='DONE', photon_flux_upper_limit='6.49e-08', time_completed='2022-09-16 15:37:31.134404', job_id='94607', GAL2='1.02', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1663367851.13', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='-1.71e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1710' AND source_name='4FGL J1033.1+4115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:37:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 94607: <4FGL_J1033.1+4115_daily_bin1710> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1033.1+4115_daily_bin1710 158.275 41.262 682560001 682819201 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 :                                   705.25 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             351.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            736 sec.

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

