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


Performing analysis on: 4FGL_J1033.1+4115_daily_bin1749
RA = 158.275, Dec = 41.262
tmin = 692668801, tmax = 692928001
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='947885', job_status='RUN', time_executed='2022-12-17 00:33:33.444359', time_epoch_executed='1671266013.44' WHERE source_name='4FGL J1033.1+4115' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/947885

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/947885/ft1_4FGL_J1033.1+4115_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/947885/ft2_4FGL_J1033.1+4115_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/947885/ft1_4FGL_J1033.1+4115_daily_bin1749.fits outfile=/scratch/kocevski/947885/ft1_filteredMKT_4FGL_J1033.1+4115_daily_bin1749.fits ra=158.275 dec=41.262 rad=12.0 tmin=692668801.0 tmax=692928001.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.64
user 3.42
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/947885/ft2_4FGL_J1033.1+4115_daily_bin1749.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/947885/ft1_filteredMKT_4FGL_J1033.1+4115_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/947885/ft1_filtered_4FGL_J1033.1+4115_daily_bin1749.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 557

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/947885/ft1_filtered_4FGL_J1033.1+4115_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/947885/ft2_4FGL_J1033.1+4115_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/947885/ltcube_692668801_692928001_4FGL_J1033.1+4115_daily_bin1749.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/947885/ft2_4FGL_J1033.1+4115_daily_bin1749.fits
.....................!
real 12.08
user 11.69
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/947885/ft1_filtered_4FGL_J1033.1+4115_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/947885/ft2_4FGL_J1033.1+4115_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/947885/ltcube_692668801_692928001_4FGL_J1033.1+4115_daily_bin1749.fits outfile=/scratch/kocevski/947885/expmap_692668801_692928001_4FGL_J1033.1+4115_daily_bin1749.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/947885/ltcube_692668801_692928001_4FGL_J1033.1+4115_daily_bin1749.fits
.....................!
real 191.15
user 185.17
sys 5.67

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/947885/ft1_filtered_4FGL_J1033.1+4115_daily_bin1749.fits scfile=/scratch/kocevski/947885/ft2_4FGL_J1033.1+4115_daily_bin1749.fits outfile=/scratch/kocevski/947885/cmap_692668801_692928001_4FGL_J1033.1+4115_daily_bin1749.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/947885/ft1_filtered_4FGL_J1033.1+4115_daily_bin1749.fits scfile=/scratch/kocevski/947885/ft2_4FGL_J1033.1+4115_daily_bin1749.fits outfile=/scratch/kocevski/947885/cmap_HighResolution_692668801_692928001_4FGL_J1033.1+4115_daily_bin1749.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.54
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16193E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .14460E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .23046E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.1800       1.0000          .0000       .10000E+07
     5 'norm      '    20.941       1.0000          .0000       .10000E+07
     6 'Prefactor '    .60633E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    15.765       1.0000          .0000       .10000E+07
     8 'norm      '    4.6829       1.0000          .0000       .10000E+07
     9 'Prefactor '    .14824E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .12171E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .17535E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .42904E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.7361       1.0000          .0000       .10000E+07
    14 'Prefactor '    .65769E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    77.889       1.0000          .0000       .10000E+07
    16 'norm      '    1.4641       1.0000          .0000       .10000E+07
    17 'Prefactor '    13.877       1.0000          .0000       .10000E+07
    18 'Prefactor '    .52754E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    173.42       1.0000          .0000       .10000E+07
    20 'norm      '    6.5284       1.0000          .0000       .10000E+07
    21 'Prefactor '    .25273E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .89493E-05   1.0000          .0000       .10000E+07
    23 'norm      '    .17958E-06   1.0000          .0000       .10000E+07
    24 'Normalizat'    .90140       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .88208       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=   6133.924     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     2158 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .87191E-06    10.462        .15977E-05** at limit **
   2  Prefactor     .61467E-06    21.054        .90725E-05** at limit **
   3  Prefactor     .14649E-06    11.197       -.10457E-05** at limit **
   4  Prefactor     1.1828        9.9892        .79837E-06   -.18799E-03
   5  norm          20.947        1.5706       -.35714E-06   -.17325E-01
   6  Prefactor     .22204E-09    2.9728       -.26033E-06** at limit **
   7  Prefactor     15.764        5.1275        .61728E-07    .18253E-02
   8  norm          4.6827        2.9029       -.17675E-07   -.18117E-02
   9  Prefactor      .0000        4.5210       -.19733E-06** at limit **
  10  norm          .55511E-10    4.2997       -.90381E-08** at limit **
  11  Prefactor     .32696E-07    16.835       -.77028E-05** at limit **
  12  Prefactor     .17475E-06    13.980        .23156E-05** at limit **
  13  Prefactor     4.7357        4.1806       -.60449E-08    .60714E-03
  14  Prefactor     .72331E-06    5.3154        .26170E-05** at limit **
  15  Prefactor     77.884        4.8486       -.77400E-06    .95254E-01
  16  norm          1.4642        .33305       -.29278E-07   -.13655E-01
  17  Prefactor     13.857        4.7952        .15666E-05    .48431E-01
  18  Prefactor     .87930E-06    4.9606       -.32261E-05** at limit **
  19  Prefactor     173.49        3.6012        .38106E-06   -.11307    
  20  norm          6.5244        8.6684       -.36973E-06   -.62419E-02
  21  Prefactor     .10075E-04    4.3130        .47759E-05** at limit **
  22  Prefactor     .72164E-09    40.923       -.56268E-05** at limit **
  23  norm          .61062E-09    2.2843       -.66701E-06** at limit **
  24  Normalizat    .90146        .18167        .34510E-05    .23094E-03
  25  Prefactor     .88205        .22171       -.39871E-05    .10244E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.71914e-07
  Prefactor  = 6.14675e-07
  Prefactor  = 1.46494e-07
  Prefactor  = 1.18285
  norm       = 20.9467
  Prefactor  = 2.22045e-10
  Prefactor  = 15.7642
  norm       = 4.68265
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 3.26961e-08
  Prefactor  = 1.74749e-07
  Prefactor  = 4.73569
  Prefactor  = 7.2331e-07
  Prefactor  = 77.884
  norm       = 1.46422
  Prefactor  = 13.8569
  Prefactor  = 8.79297e-07
  Prefactor  = 173.495
  norm       = 6.52438
  Prefactor  = 1.00755e-05
  Prefactor  = 7.21645e-10
  norm       = 6.10623e-10
  Normalizat = 0.901457
  Prefactor  = 0.882053
 **********
 **   18 **HESSE 
 **********

 FCN=   6133.924     FROM HESSE     STATUS=OK           473 CALLS     2631 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .87191E-06    26.916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .61467E-06    32.173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .14649E-06    11.799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1828        10.005        .10523E-02   -1.5686    
   5  norm          20.947        15.597        .21859E-03   -1.5616    
   6  Prefactor     .22204E-09    2.9738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.764        5.1776        .25198E-03   -1.5629    
   8  norm          4.6827        2.9213        .46480E-03   -1.5665    
   9  Prefactor      .0000        4.5238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    4.3185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .32696E-07    22.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .17475E-06    14.946        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7357        4.1941        .46212E-03   -1.5664    
  14  Prefactor     .72331E-06    8.3106        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     77.884        70.912        .11332E-03   -1.5531    
  16  norm          1.4642        .33978        .46888E-03   -1.5684    
  17  Prefactor     13.857        14.831        .26862E-03   -1.5634    
  18  Prefactor     .87930E-06    8.4258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     173.49        106.46        .75943E-04   -1.5445    
  20  norm          6.5244        9.2748        .39254E-03   -1.5657    
  21  Prefactor     .10075E-04    2.4995        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .72164E-09    43.473        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .61062E-09    2.2748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .90146        .15872        .44919E-01   -.96409    
  25  Prefactor     .88205        .18956        .65394E-01   -.96771    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.70824e-06
Minuit parameter uncertainties:
  1  0.00968871
  2  0.00889397
  3  0.00262926
  4  6.88031
  5  15.5965
  6  5.10807e-05
  7  5.17757
  8  2.92129
  9  1.37793e-05
  10  2.82707e-05
  11  0.00170903
  12  0.00323222
  13  4.1941
  14  0.00490363
  15  70.9124
  16  0.339777
  17  14.831
  18  0.00544375
  19  106.463
  20  9.27479
  21  0.0100367
  22  0.000354272
  23  7.34559e-05
  24  0.158805
  25  0.189699
Done.

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

Extracting fit parameters...

4FGL J1033.1+4115
   Spectrum: PowerLaw
339    Prefactor:  4.736e+00  4.194e+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.821e-01  1.897e-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:  9.015e-01  1.588e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.02
Ra Dec: 158.275 41.262
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.48e-08 +/- 3.08e-08
Energy Flux (Fixed Index): 1.12e-05 +/- 9.93e-06

TS (Fixed Index): 2.02
Ra Dec: 158.275 41.262
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/947885/likelihoodResults_692668801_692928001_4FGL_J1033.1+4115_daily_bin1749.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) = 6133.92383052
delta logL = 0.000100263981039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6133.92379835
delta logL = 0.000132433589897

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7669       1.0000          .0000       .10000E+07
     2 'Index     '    2.3998       1.0000          .0000       10.000    
     3 'Normalizat'    .90194       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88169       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=   6133.924     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      223 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7701        114.10        .46059E-03    .31950E-02
   2  Index         2.4005        6.1322        .23904        .55847E-04
   3  Normalizat    .90188        .59284E-01    .44926E-01   -.11552E-03
   4  Prefactor     .88164        .69809E-01    .65408E-01   -.36000E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.77009
  Index      = 2.4005
  Normalizat = 0.901881
  Prefactor  = 0.881639
 **********
 **   18 **HESSE 
 **********

 FCN=   6133.924     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7701        4.8185        .14416E-04   -1.5664    
   2  Index         2.4005        .73730        .84780E-02   -.54673    
   3  Normalizat    .90188        .17981        .23044E-03   -.96394    
   4  Prefactor     .88164        .22219        .28931E-03   -.96786    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8849e-11
Minuit parameter uncertainties:
  1  4.81852
  2  0.741015
  3  0.179928
  4  0.222421
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/947885': 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) = 6133.92379677
delta logL = 0.000134010570946

Extracting fit parameters...

4FGL J1033.1+4115
   Spectrum: PowerLaw
339    Prefactor:  4.770e+00  4.819e+00  0.000e+00  1.000e+06 ( 1.000e-12)
340        Index:  2.401e+00  7.410e-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.816e-01  2.224e-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:  9.019e-01  1.799e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.00
Ra Dec: 158.275 41.262
Photon Index (Free Index): 2.40 +/- 0.74
Photon Flux (Free Index): 3.45e-08 +/- 3.36e-08
Energy Flux (Free Index): 1.13e-05 +/- 1.19e-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/947885/cmap_HighResolution_692668801_692928001_4FGL_J1033.1+4115_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.97e-03', comment='SUCCESS', photon_flux='3.48e-08', energy_flux2='1.13e-05', photon_flux_error='3.08e-08', dlogl='1.34e-04', energy_flux='1.12e-05', photon_flux2='3.45e-08', job_status='DONE', time_completed='2022-12-17 00:45:41.366498', photon_index_error2='0.74', photon_index2='2.40', ts='2.02', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='1.19e-05', EG='0.90', time_epoch_completed='1671266741.37', return_code='0', job_id='947885', GAL2='0.88', EG2='0.90', return_code2='0', energy_flux_error='9.93e-06', photon_flux_error2='3.36e-08', ts2='2.00', photon_index='2.41' WHERE bin_id='1749' AND source_name='4FGL J1033.1+4115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 00:45:41 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 947885: <4FGL_J1033.1+4115_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1033.1+4115_daily_bin1749> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Dec 17 00:30:24 2022
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:30:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:30:25 2022
Terminated at Sat Dec 17 00:45:41 2022
Results reported at Sat Dec 17 00:45:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1033.1+4115_daily_bin1749 158.275 41.262 692668801 692928001 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 :                                   730.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            917 sec.

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

