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


Performing analysis on: 4FGL_J1135.7-0427_daily_bin1756
RA = 173.943, Dec = -4.4634
tmin = 694483201, tmax = 694742401
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='11709', job_status='RUN', time_executed='2023-01-07 00:49:37.717586', time_epoch_executed='1673081377.72' WHERE source_name='4FGL J1135.7-0427' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/11709

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/11709/ft1_4FGL_J1135.7-0427_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/11709/ft2_4FGL_J1135.7-0427_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/11709/ft1_4FGL_J1135.7-0427_daily_bin1756.fits outfile=/scratch/kocevski/11709/ft1_filteredMKT_4FGL_J1135.7-0427_daily_bin1756.fits ra=173.943 dec=-4.4634 rad=12.0 tmin=694483201.0 tmax=694742401.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.01
user 2.79
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/11709/ft2_4FGL_J1135.7-0427_daily_bin1756.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/11709/ft2_4FGL_J1135.7-0427_daily_bin1756.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/11709/ft1_filteredMKT_4FGL_J1135.7-0427_daily_bin1756.fits evtable="EVENTS" outfile="/scratch/kocevski/11709/ft1_filtered_4FGL_J1135.7-0427_daily_bin1756.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 613

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/11709/ft1_filtered_4FGL_J1135.7-0427_daily_bin1756.fits" evtable="EVENTS" scfile=/scratch/kocevski/11709/ft2_4FGL_J1135.7-0427_daily_bin1756.fits sctable="SC_DATA" outfile=/scratch/kocevski/11709/ltcube_694483201_694742401_4FGL_J1135.7-0427_daily_bin1756.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/11709/ft2_4FGL_J1135.7-0427_daily_bin1756.fits
.....................!
real 16.61
user 16.08
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/11709/ft1_filtered_4FGL_J1135.7-0427_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/11709/ft2_4FGL_J1135.7-0427_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/11709/ltcube_694483201_694742401_4FGL_J1135.7-0427_daily_bin1756.fits outfile=/scratch/kocevski/11709/expmap_694483201_694742401_4FGL_J1135.7-0427_daily_bin1756.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/11709/ltcube_694483201_694742401_4FGL_J1135.7-0427_daily_bin1756.fits
.....................!
real 194.60
user 188.58
sys 5.41

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

Setting source of interest to:
4FGL J1135.7-0427 @ 173.943 -4.4634

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/11709/ft1_filtered_4FGL_J1135.7-0427_daily_bin1756.fits scfile=/scratch/kocevski/11709/ft2_4FGL_J1135.7-0427_daily_bin1756.fits outfile=/scratch/kocevski/11709/cmap_694483201_694742401_4FGL_J1135.7-0427_daily_bin1756.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=173.943 yref=-4.4634 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/11709/ft1_filtered_4FGL_J1135.7-0427_daily_bin1756.fits scfile=/scratch/kocevski/11709/ft2_4FGL_J1135.7-0427_daily_bin1756.fits outfile=/scratch/kocevski/11709/cmap_HighResolution_694483201_694742401_4FGL_J1135.7-0427_daily_bin1756.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=173.943 yref=-4.4634 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/11709/ft1_filtered_4FGL_J1135.7-0427_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/11709/ft2_4FGL_J1135.7-0427_daily_bin1756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/11709/Model_4FGL_J1135.7-0427_daily_bin1756.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/11709/ft1_filtered_4FGL_J1135.7-0427_daily_bin1756.fits.....................!
real 61.35
user 59.91
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/11709/ft1_filtered_4FGL_J1135.7-0427_daily_bin1756.fits', '/scratch/kocevski/11709/ft2_4FGL_J1135.7-0427_daily_bin1756.fits', expMap='/scratch/kocevski/11709/expmap_694483201_694742401_4FGL_J1135.7-0427_daily_bin1756.fits', expCube='/scratch/kocevski/11709/ltcube_694483201_694742401_4FGL_J1135.7-0427_daily_bin1756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/11709/Model_4FGL_J1135.7-0427_daily_bin1756.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1135.7-0427'

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  4.801e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.601e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  8.991e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/11709/ft1_filtered_4FGL_J1135.7-0427_daily_bin1756.fits
Spacecraft file(s): /scratch/kocevski/11709/ft2_4FGL_J1135.7-0427_daily_bin1756.fits
Exposure map: /scratch/kocevski/11709/expmap_694483201_694742401_4FGL_J1135.7-0427_daily_bin1756.fits
Exposure cube: /scratch/kocevski/11709/ltcube_694483201_694742401_4FGL_J1135.7-0427_daily_bin1756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/11709/Model_4FGL_J1135.7-0427_daily_bin1756.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) = 6565.18231859

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16216E-05   1.0000          .0000       .10000E+07
     2 'norm      '    6.1133       1.0000          .0000       .10000E+07
     3 'Prefactor '    22.233       1.0000          .0000       .10000E+07
     4 'Prefactor '    .45812       1.0000          .0000       .10000E+07
     5 'Prefactor '    16.828       1.0000          .0000       .10000E+07
     6 'norm      '    .61871E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.4685       1.0000          .0000       .10000E+07
     8 'Prefactor '    184.88       1.0000          .0000       .10000E+07
     9 'norm      '    14.856       1.0000          .0000       .10000E+07
    10 'Prefactor '    .23252E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .54160E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    19.533       1.0000          .0000       .10000E+07
    13 'norm      '    .23914E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.2365       1.0000          .0000       .10000E+07
    15 'Prefactor '    14.389       1.0000          .0000       .10000E+07
    16 'Prefactor '    .24478E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .10666E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    22.050       1.0000          .0000       .10000E+07
    19 'Prefactor '    .42068E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .81074E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    8.6298       1.0000          .0000       .10000E+07
    22 'norm      '    .28933E-04   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1437       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99235       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6565.174     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     2008 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .82639        .10041E-06** at limit **
   2  norm          6.1082        5.9785        .17441E-06    .44428E-04
   3  Prefactor     22.210        1.3494        .11348E-06   -.48652E-02
   4  Prefactor     .46293        1.0800        .34676E-06    .16160E-01
   5  Prefactor     16.924        2.2751        .47380E-07   -.96629E-01
   6  norm          .36526E-07    3.8844        .10135E-05** at limit **
   7  Prefactor     4.4650        5.7310        .89034E-07   -.38600E-02
   8  Prefactor     184.81        1.6616        .58873E-07   -.51824E-01
   9  norm          14.856        1.1920        .28663E-07   -.88233E-02
  10  Prefactor     .17680E-04    1.6633        .19235E-05** at limit **
  11  Prefactor     .14894E-06    16.433        .26470E-05** at limit **
  12  Prefactor     19.583        1.0148        .96619E-08    .31509E-03
  13  norm          .14377E-07    3.0726       -.31480E-06** at limit **
  14  Prefactor     5.2377        3.8088       -.21348E-07   -.17659E-02
  15  Prefactor     14.382        1.1381        .13906E-07    .14403E-01
  16  Prefactor     .56621E-08    1.7975        .56975E-06** at limit **
  17  Prefactor     .25202E-07    4.7480        .90014E-06** at limit **
  18  Prefactor     22.132        1.0535       -.48859E-07    .63043E-02
  19  Prefactor     .11102E-08    7.5720       -.33674E-06** at limit **
  20  Prefactor     .12507E-06    29.473        .59294E-05** at limit **
  21  Prefactor     8.5963        10.804       -.11141E-05   -.48218E-01
  22  norm          .35461E-06    2.0525        .11351E-05** at limit **
  23  Normalizat    1.1439        .27135       -.51218E-05   -.60612E-04
  24  Prefactor     .99225        .19543        .10180E-04   -.41202E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 6.10821
  Prefactor  = 22.2099
  Prefactor  = 0.462933
  Prefactor  = 16.9235
  norm       = 3.65263e-08
  Prefactor  = 4.465
  Prefactor  = 184.81
  norm       = 14.8564
  Prefactor  = 1.76803e-05
  Prefactor  = 1.48936e-07
  Prefactor  = 19.5826
  norm       = 1.43774e-08
  Prefactor  = 5.23768
  Prefactor  = 14.3822
  Prefactor  = 5.66214e-09
  Prefactor  = 2.52021e-08
  Prefactor  = 22.132
  Prefactor  = 1.11022e-09
  Prefactor  = 1.25067e-07
  Prefactor  = 8.59633
  norm       = 3.54605e-07
  Normalizat = 1.14392
  Prefactor  = 0.992251
 **********
 **   18 **HESSE 
 **********

 FCN=   6565.174     FROM HESSE     STATUS=OK           461 CALLS     2469 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .39299        .17881E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.1082        5.9899        .40582E-03   -1.5659    
   3  Prefactor     22.210        18.526        .21213E-03   -1.5614    
   4  Prefactor     .46293        5.3728        .60613E-02   -1.5694    
   5  Prefactor     16.924        46.921        .24388E-03   -1.5626    
   6  norm          .36526E-07    4.0077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.4650        6.6181        .47609E-03   -1.5666    
   8  Prefactor     184.81        23.446        .73552E-04   -1.5436    
   9  norm          14.856        18.500        .25960E-03   -1.5631    
  10  Prefactor     .17680E-04    2.0951        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .14894E-06    16.907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     19.583        34.886        .22634E-03   -1.5619    
  13  norm          .14377E-07    3.1206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.2377        3.9098        .43902E-03   -1.5662    
  15  Prefactor     14.382        16.081        .26378E-03   -1.5632    
  16  Prefactor     .56621E-08    1.8266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .25202E-07    4.8978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     22.132        25.559        .21302E-03   -1.5614    
  19  Prefactor     .11102E-08    7.6101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .12507E-06    29.879        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.5963        13.798        .34098E-03   -1.5649    
  22  norm          .35461E-06    2.1975        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1439        .23694        .71138E-01   -.88354    
  24  Prefactor     .99225        .16539        .46171E-01   -.92988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45051e-06
Minuit parameter uncertainties:
  1  1.0966e-06
  2  5.98991
  3  18.5256
  4  3.15422
  5  46.9224
  6  0.000765281
  7  6.61811
  8  23.446
  9  18.5002
  10  0.0121726
  11  0.00317347
  12  34.8866
  13  0.000423776
  14  3.90979
  15  16.0813
  16  0.000203749
  17  0.000702367
  18  25.5593
  19  0.000183268
  20  0.00386641
  21  13.7976
  22  0.00176545
  23  0.237163
  24  0.165471
Done.

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

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  1.489e-07  3.173e-03  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  2.601e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  8.991e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  9.923e-01  1.655e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.144e+00  2.372e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 173.943 -4.463
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/11709/likelihoodResults_694483201_694742401_4FGL_J1135.7-0427_daily_bin1756.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) = 6565.20292444
delta logL = -0.0285287754914

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6565.16270878
delta logL = 0.0116868898604

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6565.163     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      233 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14151        2.4766        .23014E-02** at limit **
   2  Index         4.6076        .70507        .50000        .87271E-04
   3  Normalizat    1.1324        .10946E-01    .71444E-01    .19468E-04
   4  Prefactor     .99744        .80801E-02    .46235E-01    .80494E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.141506
  Index      = 4.6076
  Normalizat = 1.13241
  Prefactor  = 0.997441
 **********
 **   18 **HESSE 
 **********

 FCN=   6565.163     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      268 TOTAL
                     EDM=   .65E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14151        277.96        .12865E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6076        7.3030        .58013E-02   -.78560E-01
   3  Normalizat    1.1324        .16401        .31613E-03   -.88718    
   4  Prefactor     .99744        .10413        .24569E-03   -.92815    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.47444e-07
Minuit parameter uncertainties:
  1  12.5437
  2  38.8827
  3  0.164081
  4  0.104147
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/11709': 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) = 6565.16270788
delta logL = 0.0116877877608

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  1.415e-01  1.254e+01  0.000e+00  1.000e+06 ( 1.000e-13)
300        Index:  4.608e+00  3.888e+01  0.000e+00  1.000e+01 (-1.000e+00)
301        Scale:  8.991e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  9.974e-01  1.041e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.132e+00  1.641e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 173.943 -4.463

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/11709/cmap_HighResolution_694483201_694742401_4FGL_J1135.7-0427_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.11e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2023-01-07 01:00:54.164395', job_id='11709', GAL2='1.00', fit_tolerance='1e-08', EG2='1.13', EG='1.14', time_epoch_completed='1673082054.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.17e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1756' AND source_name='4FGL J1135.7-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 01:00:54 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0195>
Subject: Job 11709: <4FGL_J1135.7-0427_daily_bin1756> in cluster <slac> Done

Job <4FGL_J1135.7-0427_daily_bin1756> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Jan  7 00:45:20 2023
Job was executed on host(s) <bullet0195>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 00:46:04 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 00:46:04 2023
Terminated at Sat Jan  7 01:00:54 2023
Results reported at Sat Jan  7 01:00:54 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.7-0427_daily_bin1756 173.943 -4.4634 694483201 694742401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1135.7-0427 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   678.05 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             284.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            934 sec.

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

