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


Performing analysis on: 4FGL_J1156.6+0640_daily_bin1778
RA = 179.164, Dec = 6.6728
tmin = 700185601, tmax = 700444801
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='960958', job_status='RUN', time_executed='2023-03-14 00:50:54.733039', time_epoch_executed='1678780254.73' WHERE source_name='4FGL J1156.6+0640' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/960958

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/960958/ft1_4FGL_J1156.6+0640_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/960958/ft2_4FGL_J1156.6+0640_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/960958/ft1_4FGL_J1156.6+0640_daily_bin1778.fits outfile=/scratch/kocevski/960958/ft1_filteredMKT_4FGL_J1156.6+0640_daily_bin1778.fits ra=179.164 dec=6.6728 rad=12.0 tmin=700185601.0 tmax=700444801.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.96
user 3.71
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/960958/ft2_4FGL_J1156.6+0640_daily_bin1778.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/960958/ft2_4FGL_J1156.6+0640_daily_bin1778.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/960958/ft1_filteredMKT_4FGL_J1156.6+0640_daily_bin1778.fits evtable="EVENTS" outfile="/scratch/kocevski/960958/ft1_filtered_4FGL_J1156.6+0640_daily_bin1778.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: 560

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/960958/ft1_filtered_4FGL_J1156.6+0640_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/960958/ft2_4FGL_J1156.6+0640_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/960958/ltcube_700185601_700444801_4FGL_J1156.6+0640_daily_bin1778.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/960958/ft2_4FGL_J1156.6+0640_daily_bin1778.fits
.....................!
real 12.84
user 12.46
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/960958/ft1_filtered_4FGL_J1156.6+0640_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/960958/ft2_4FGL_J1156.6+0640_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/960958/ltcube_700185601_700444801_4FGL_J1156.6+0640_daily_bin1778.fits outfile=/scratch/kocevski/960958/expmap_700185601_700444801_4FGL_J1156.6+0640_daily_bin1778.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/960958/ltcube_700185601_700444801_4FGL_J1156.6+0640_daily_bin1778.fits
.....................!
real 192.67
user 187.49
sys 4.53

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

Setting source of interest to:
4FGL J1156.6+0640 @ 179.164 6.6728

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/960958/ft1_filtered_4FGL_J1156.6+0640_daily_bin1778.fits scfile=/scratch/kocevski/960958/ft2_4FGL_J1156.6+0640_daily_bin1778.fits outfile=/scratch/kocevski/960958/cmap_700185601_700444801_4FGL_J1156.6+0640_daily_bin1778.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=179.164 yref=6.6728 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/960958/ft1_filtered_4FGL_J1156.6+0640_daily_bin1778.fits scfile=/scratch/kocevski/960958/ft2_4FGL_J1156.6+0640_daily_bin1778.fits outfile=/scratch/kocevski/960958/cmap_HighResolution_700185601_700444801_4FGL_J1156.6+0640_daily_bin1778.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=179.164 yref=6.6728 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/960958/ft1_filtered_4FGL_J1156.6+0640_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/960958/ft2_4FGL_J1156.6+0640_daily_bin1778.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/960958/Model_4FGL_J1156.6+0640_daily_bin1778.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/960958/ft1_filtered_4FGL_J1156.6+0640_daily_bin1778.fits....................!
real 60.60
user 59.16
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/960958/ft1_filtered_4FGL_J1156.6+0640_daily_bin1778.fits', '/scratch/kocevski/960958/ft2_4FGL_J1156.6+0640_daily_bin1778.fits', expMap='/scratch/kocevski/960958/expmap_700185601_700444801_4FGL_J1156.6+0640_daily_bin1778.fits', expCube='/scratch/kocevski/960958/ltcube_700185601_700444801_4FGL_J1156.6+0640_daily_bin1778.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/960958/Model_4FGL_J1156.6+0640_daily_bin1778.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1156.6+0640'

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  6.059e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/960958/ft1_filtered_4FGL_J1156.6+0640_daily_bin1778.fits
Spacecraft file(s): /scratch/kocevski/960958/ft2_4FGL_J1156.6+0640_daily_bin1778.fits
Exposure map: /scratch/kocevski/960958/expmap_700185601_700444801_4FGL_J1156.6+0640_daily_bin1778.fits
Exposure cube: /scratch/kocevski/960958/ltcube_700185601_700444801_4FGL_J1156.6+0640_daily_bin1778.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/960958/Model_4FGL_J1156.6+0640_daily_bin1778.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) = 6293.93324692

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74253E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.0773       1.0000          .0000       .10000E+07
     3 'Prefactor '    .54707E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .33883E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .20259E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    11.260       1.0000          .0000       .10000E+07
     7 'Prefactor '    .23148E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    38.412       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20128E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12447E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .19879E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .45077E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .10562E-01   1.0000          .0000       .10000E+07
    14 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    15 'norm      '    1.2993       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.4288       1.0000          .0000       .10000E+07
    17 'norm      '    91.277       1.0000          .0000       .10000E+07
    18 'norm      '    .85099E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    12.223       1.0000          .0000       .10000E+07
    20 'norm      '    3.3685       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1085       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0041       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6293.927     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     1783 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .61062E-09    8.0460       -.61591E-06** at limit **
   2  Prefactor     4.0785        2.5477        .19740E-06    .15894E-02
   3  Prefactor     .10958E-06    18.843        .86338E-06** at limit **
   4  Prefactor     .55511E-10    2.5501        .81142E-06** at limit **
   5  Prefactor     .55511E-10    3.1171        .45761E-06** at limit **
   6  Prefactor     11.480        1.3008       -.20009E-07   -.16518E-02
   7  Prefactor     .20484E-07    19.084        .79796E-06** at limit **
   8  Prefactor     38.489        4.7892        .14544E-06   -.11552    
   9  Prefactor     .17542E-07    11.112        .46508E-06** at limit **
  10  Prefactor     .55511E-10    2.1681       -.27019E-07** at limit **
  11  Prefactor      .0000        .83941        .24883E-06** at limit **
  12  Prefactor     .47407E-07    12.062       -.19755E-05** at limit **
  13  Prefactor     .11413E-06    20.732       -.27914E-06** at limit **
  14  norm           .0000        .51333        .15770E-06** at limit **
  15  norm          1.2996        2.9270       -.22643E-06   -.13746E-03
  16  Prefactor     5.4636        1.1211       -.41384E-07    .11304E-02
  17  norm          91.221        2.2238        .42387E-07   -.83318E-01
  18  norm           .0000        1.1181       -.40435E-07** at limit **
  19  Prefactor     12.290        10.265       -.49518E-06   -.98505E-02
  20  norm          3.3698        1.7336        .22783E-06   -.29272E-02
  21  Normalizat    1.1079        .22601       -.20400E-05   -.62570E-04
  22  Prefactor     1.0042        .19437       -.28539E-05   -.47268E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.10623e-10
  Prefactor  = 4.07853
  Prefactor  = 1.09579e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 11.48
  Prefactor  = 2.04836e-08
  Prefactor  = 38.4889
  Prefactor  = 1.75415e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 4.74065e-08
  Prefactor  = 1.14131e-07
  norm       = 0
  norm       = 1.29961
  Prefactor  = 5.46363
  norm       = 91.2208
  norm       = 0
  Prefactor  = 12.2896
  norm       = 3.36978
  Normalizat = 1.10791
  Prefactor  = 1.00421
 **********
 **   18 **HESSE 
 **********

 FCN=   6293.927     FROM HESSE     STATUS=OK           390 CALLS     2173 TOTAL
                     EDM=   .82E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .61062E-09    8.0480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.0785        2.5554        .49906E-03   -1.5668    
   3  Prefactor     .10958E-06    37.850        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    2.5499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    3.1165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.480        21.434        .29831E-03   -1.5640    
   7  Prefactor     .20484E-07    37.975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     38.489        40.639        .16137E-03   -1.5584    
   9  Prefactor     .17542E-07    11.119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    2.1744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        .84240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .47407E-07    12.135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .11413E-06    20.097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .51356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.2996        3.3112        .96927E-03   -1.5685    
  16  Prefactor     5.4636        18.704        .43104E-03   -1.5661    
  17  norm          91.221        51.352        .10468E-03   -1.5517    
  18  norm           .0000        .23323        .22162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.290        10.284        .28627E-03   -1.5638    
  20  norm          3.3698        1.7485        .55111E-03   -1.5671    
  21  Normalizat    1.1079        .19991        .60029E-01   -.89498    
  22  Prefactor     1.0042        .16526        .44396E-01   -.92589    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.15787e-07
Minuit parameter uncertainties:
  1  0.000141464
  2  2.55541
  3  0.00407282
  4  1.71416e-05
  5  1.9535e-05
  6  21.4345
  7  0.00176322
  8  40.6394
  9  0.000883971
  10  1.57186e-05
  11  9.19292e-07
  12  0.00151705
  13  0.00302865
  14  2.41564e-06
  15  3.31124
  16  18.7041
  17  51.3523
  18  1.87721e-06
  19  10.2839
  20  1.74854
  21  0.200045
  22  0.165348
Done.

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

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  1.096e-07  4.073e-03  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  2.318e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.004e+00  1.653e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.108e+00  2.000e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 179.164 6.673
Photon Flux Upper Limit: 6.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/960958/likelihoodResults_700185601_700444801_4FGL_J1156.6+0640_daily_bin1778.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) = 6293.93962614
delta logL = -0.0126142338695

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6293.92701206
delta logL = -1.49815605255e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6293.927     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      226 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        21.140        .42118E-03** at limit **
   2  Index         3.3899        1.8918        .53091E-03     .0000    
   3  Normalizat    1.1079        1.1499        .65325E-05    .30391E-03
   4  Prefactor     1.0042        1.2902        .88392E-05    .17848E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.38988
  Normalizat = 1.10792
  Prefactor  = 1.00421
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6293.927     FROM HESSE     STATUS=FAILED         9 CALLS      235 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        21.140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2839        2.2401        .53091E-03   -.32787    
   3  Normalizat    1.1079        1.1499        .65325E-05   -.89498    
   4  Prefactor     1.0042        1.2902        .88392E-05   -.92589    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.18604e-10
Minuit parameter uncertainties:
  1  3.92995e-05
  2  1.94613
  3  1.17759
  4  1.33353
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/960958': 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): 101
logL (Free Index) = 6293.92701191
delta logL = 1.36878952617e-09

Extracting fit parameters...

4FGL J1156.6+0640
   Spectrum: PowerLaw
302    Prefactor:  0.000e+00  3.930e-05  0.000e+00  1.000e+06 ( 1.000e-14)
303        Index:  3.390e+00  1.946e+00  0.000e+00  1.000e+01 (-1.000e+00)
304        Scale:  1.417e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  1.004e+00  1.334e+00  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.108e+00  1.178e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 179.164 6.673

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/960958/cmap_HighResolution_700185601_700444801_4FGL_J1156.6+0640_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-03', job_status='DONE', photon_flux_upper_limit='6.05e-08', time_completed='2023-03-14 01:01:02.521359', job_id='960958', GAL2='1.00', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1678780862.52', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.37e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1778' AND source_name='4FGL J1156.6+0640' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 01:01:02 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 960958: <4FGL_J1156.6+0640_daily_bin1778> in cluster <slac> Done

Job <4FGL_J1156.6+0640_daily_bin1778> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Mar 14 00:50:20 2023
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 00:50:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 00:50:21 2023
Terminated at Tue Mar 14 01:01:03 2023
Results reported at Tue Mar 14 01:01:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1156.6+0640_daily_bin1778 179.164 6.6728 700185601 700444801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1156.6+0640 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   609.20 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             314.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   641 sec.
    Turnaround time :                            643 sec.

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

