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


Performing analysis on: 4FGL_J1033.1+4115_daily_bin1762
RA = 158.275, Dec = 41.262
tmin = 696038401, tmax = 696297601
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='106570', job_status='RUN', time_executed='2023-01-25 00:49:54.389733', time_epoch_executed='1674636594.39' WHERE source_name='4FGL J1033.1+4115' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106570

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106570/ft1_4FGL_J1033.1+4115_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106570/ft2_4FGL_J1033.1+4115_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106570/ft1_4FGL_J1033.1+4115_daily_bin1762.fits outfile=/scratch/kocevski/106570/ft1_filteredMKT_4FGL_J1033.1+4115_daily_bin1762.fits ra=158.275 dec=41.262 rad=12.0 tmin=696038401.0 tmax=696297601.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.46
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/106570/ft2_4FGL_J1033.1+4115_daily_bin1762.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/106570/ft1_filteredMKT_4FGL_J1033.1+4115_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/106570/ft1_filtered_4FGL_J1033.1+4115_daily_bin1762.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.54
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 492

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106570/ft1_filtered_4FGL_J1033.1+4115_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/106570/ft2_4FGL_J1033.1+4115_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/106570/ltcube_696038401_696297601_4FGL_J1033.1+4115_daily_bin1762.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/106570/ft2_4FGL_J1033.1+4115_daily_bin1762.fits
.....................!
real 13.95
user 13.53
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106570/ft1_filtered_4FGL_J1033.1+4115_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/106570/ft2_4FGL_J1033.1+4115_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/106570/ltcube_696038401_696297601_4FGL_J1033.1+4115_daily_bin1762.fits outfile=/scratch/kocevski/106570/expmap_696038401_696297601_4FGL_J1033.1+4115_daily_bin1762.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/106570/ltcube_696038401_696297601_4FGL_J1033.1+4115_daily_bin1762.fits
.....................!
real 191.27
user 185.79
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/106570/ft1_filtered_4FGL_J1033.1+4115_daily_bin1762.fits scfile=/scratch/kocevski/106570/ft2_4FGL_J1033.1+4115_daily_bin1762.fits outfile=/scratch/kocevski/106570/cmap_696038401_696297601_4FGL_J1033.1+4115_daily_bin1762.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106570/ft1_filtered_4FGL_J1033.1+4115_daily_bin1762.fits scfile=/scratch/kocevski/106570/ft2_4FGL_J1033.1+4115_daily_bin1762.fits outfile=/scratch/kocevski/106570/cmap_HighResolution_696038401_696297601_4FGL_J1033.1+4115_daily_bin1762.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .26937E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    23.778       1.0000          .0000       .10000E+07
     3 'Prefactor '    10.091       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.0883       1.0000          .0000       .10000E+07
     5 'norm      '    3.1339       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.6663       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.7904       1.0000          .0000       .10000E+07
     8 'norm      '    6.0631       1.0000          .0000       .10000E+07
     9 'Prefactor '    .39613E-06   1.0000          .0000       .10000E+07
    10 'norm      '    17.225       1.0000          .0000       .10000E+07
    11 'Prefactor '    .53792E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .59650E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.0497       1.0000          .0000       .10000E+07
    14 'Prefactor '    .53470E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .56379E-01   1.0000          .0000       .10000E+07
    16 'norm      '    1.5359       1.0000          .0000       .10000E+07
    17 'Prefactor '    .29166E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    8.7180       1.0000          .0000       .10000E+07
    19 'Prefactor '    26.509       1.0000          .0000       .10000E+07
    20 'norm      '    7.6019       1.0000          .0000       .10000E+07
    21 'Prefactor '    .90815E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11148       1.0000          .0000       .10000E+07
    23 'norm      '    1.8059       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.1509       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .63344       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=   5542.489     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     2087 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11435E-07    4.8588        .54577E-07** at limit **
   2  Prefactor     23.896        3.0904        .11639E-08    .48800E-01
   3  Prefactor     10.084        1.0316        .30895E-08   -.85195E-02
   4  Prefactor     2.1465        10.033       -.65582E-07   -.11232E-02
   5  norm          3.1192        5.4136        .58456E-09   -.14040E-02
   6  Prefactor     4.6300        6.0059       -.75798E-07    .74071E-02
   7  Prefactor     6.7503        5.0889        .10043E-06    .73032E-02
   8  norm          6.0649        3.2077        .59019E-08   -.38442E-04
   9  Prefactor     .61062E-09    1.7744        .12096E-08** at limit **
  10  norm          17.247        2.4475        .13591E-08   -.44224E-01
  11  Prefactor     .20262E-06    35.347        .14393E-06** at limit **
  12  Prefactor     .48295E-08    12.047       -.10677E-06** at limit **
  13  Prefactor     1.1213        3.6652        .41464E-07    .14056E-02
  14  Prefactor     .15682E-06    7.2365        .25789E-06** at limit **
  15  Prefactor     .76050E-08    21.539        .53232E-06** at limit **
  16  norm          1.5361        .36160        .68348E-08    .14699E-01
  17  Prefactor     .40579E-07    4.4093        .13211E-06** at limit **
  18  Prefactor     8.7232        4.1265        .34290E-07   -.15069E-02
  19  Prefactor     26.636        3.5551        .89873E-09   -.11257    
  20  norm          7.5096        11.089        .53353E-07    .37117E-01
  21  Prefactor     .41923E-04    1.9972        .70601E-07** at limit **
  22  Prefactor     .11244E-05    12.323        .27698E-06** at limit **
  23  norm          1.8101        2.4906       -.45320E-07   -.32406E-02
  24  Normalizat    1.1508        .19234       -.10904E-05    .35693E-04
  25  Prefactor     .63328        .22568        .16184E-05    .46314E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.14353e-08
  Prefactor  = 23.8959
  Prefactor  = 10.084
  Prefactor  = 2.14653
  norm       = 3.11922
  Prefactor  = 4.63004
  Prefactor  = 6.75029
  norm       = 6.06492
  Prefactor  = 6.10623e-10
  norm       = 17.2472
  Prefactor  = 2.02616e-07
  Prefactor  = 4.82947e-09
  Prefactor  = 1.12131
  Prefactor  = 1.56819e-07
  Prefactor  = 7.60503e-09
  norm       = 1.53607
  Prefactor  = 4.05787e-08
  Prefactor  = 8.72324
  Prefactor  = 26.6363
  norm       = 7.50961
  Prefactor  = 4.19225e-05
  Prefactor  = 1.12443e-06
  norm       = 1.81006
  Normalizat = 1.15083
  Prefactor  = 0.63328
 **********
 **   18 **HESSE 
 **********

 FCN=   5542.489     FROM HESSE     STATUS=OK           483 CALLS     2570 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11435E-07    4.8815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     23.896        21.595        .20512E-03   -1.5610    
   3  Prefactor     10.084        19.505        .31519E-03   -1.5644    
   4  Prefactor     2.1465        10.152        .71415E-03   -1.5679    
   5  norm          3.1192        5.4479        .57241E-03   -1.5673    
   6  Prefactor     4.6300        6.0133        .46564E-03   -1.5665    
   7  Prefactor     6.7503        5.1257        .38481E-03   -1.5656    
   8  norm          6.0649        3.2136        .40752E-03   -1.5659    
   9  Prefactor     .61062E-09    1.7769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          17.247        11.631        .24105E-03   -1.5625    
  11  Prefactor     .20262E-06    35.668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .48295E-08    12.849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1213        3.7854        .12088E-02   -1.5687    
  14  Prefactor     .15682E-06    10.936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .76050E-08    21.623        .15295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.5361        .37472        .47021E-03   -1.5683    
  17  Prefactor     .40579E-07    11.565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.7232        14.884        .33924E-03   -1.5649    
  19  Prefactor     26.636        40.325        .19426E-03   -1.5605    
  20  norm          7.5096        13.057        .36348E-03   -1.5653    
  21  Prefactor     .41923E-04    2.9401        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .11244E-05    102.83        .13631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.8101        2.6089        .77736E-03   -1.5681    
  24  Normalizat    1.1508        .17093        .36225E-01   -.88136    
  25  Prefactor     .63328        .19971        .74946E-01   -1.0620    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16804e-06
Minuit parameter uncertainties:
  1  0.00047304
  2  21.5955
  3  19.5055
  4  9.33611
  5  5.44795
  6  6.0133
  7  5.1257
  8  3.21356
  9  6.67562e-05
  10  11.6308
  11  0.00537664
  12  0.000499332
  13  3.78537
  14  0.00261934
  15  0.000810841
  16  0.374721
  17  0.00137001
  18  14.8842
  19  40.3257
  20  13.0566
  21  0.0222041
  22  0.0215062
  23  2.60892
  24  0.17101
  25  0.199936
Done.

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

Extracting fit parameters...

4FGL J1033.1+4115
   Spectrum: PowerLaw
339    Prefactor:  1.121e+00  3.785e+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:  6.333e-01  1.999e-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.151e+00  1.710e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/106570/likelihoodResults_696038401_696297601_4FGL_J1033.1+4115_daily_bin1762.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) = 5542.3836993
delta logL = 0.105121046846

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5542.38362258
delta logL = 0.10519776748

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8809       1.0000          .0000       .10000E+07
     2 'Index     '    1.8390       1.0000          .0000       10.000    
     3 'Normalizat'    1.1569       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62420       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=   5542.384     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      242 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8864        11.891        .75875E-03    .85863E-02
   2  Index         1.8394        1.7482        .26806       -.97015E-04
   3  Normalizat    1.1569        .16669        .36045E-01   -.30657E-06
   4  Prefactor     .62418        .20665        .75424E-01    .23239E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.88643
  Index      = 1.83936
  Normalizat = 1.15695
  Prefactor  = 0.624185
 **********
 **   18 **HESSE 
 **********

 FCN=   5542.384     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8864        3.8331        .20006E-04   -1.5680    
   2  Index         1.8394        .96921        .13661E-01   -.68430    
   3  Normalizat    1.1569        .18591        .20915E-03   -.87944    
   4  Prefactor     .62418        .22517        .33394E-03   -1.0658    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05135e-10
Minuit parameter uncertainties:
  1  3.83308
  2  0.979619
  3  0.186014
  4  0.225494
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106570': 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) = 5542.38362159
delta logL = 0.105198762172

Extracting fit parameters...

4FGL J1033.1+4115
   Spectrum: PowerLaw
339    Prefactor:  1.886e+00  3.833e+00  0.000e+00  1.000e+06 ( 1.000e-12)
340        Index:  1.839e+00  9.796e-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:  6.242e-01  2.255e-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.157e+00  1.860e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
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/106570/cmap_HighResolution_696038401_696297601_4FGL_J1033.1+4115_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.25e-03', job_status='DONE', photon_flux_upper_limit='8.08e-08', time_completed='2023-01-25 01:00:44.779779', job_id='106570', GAL2='0.62', fit_tolerance='1e-08', EG2='1.16', EG='1.15', time_epoch_completed='1674637244.78', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='1.05e-01', ts2='0.33', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1762' AND source_name='4FGL J1033.1+4115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:00:44 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 106570: <4FGL_J1033.1+4115_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1033.1+4115_daily_bin1762> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jan 25 00:45:26 2023
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:48:58 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:48:58 2023
Terminated at Wed Jan 25 01:00:45 2023
Results reported at Wed Jan 25 01:00:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1033.1+4115_daily_bin1762 158.275 41.262 696038401 696297601 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 :                                   652.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             314.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            919 sec.

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

