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


Performing analysis on: 4FGL_J1136.2+3407_daily_bin1772
RA = 174.075, Dec = 34.129
tmin = 698630401, tmax = 698889601
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='630694', job_status='RUN', time_executed='2023-02-24 01:32:09.150570', time_epoch_executed='1677231129.15' WHERE source_name='4FGL J1136.2+3407' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/630694

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/630694/ft1_4FGL_J1136.2+3407_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/630694/ft2_4FGL_J1136.2+3407_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/630694/ft1_4FGL_J1136.2+3407_daily_bin1772.fits outfile=/scratch/kocevski/630694/ft1_filteredMKT_4FGL_J1136.2+3407_daily_bin1772.fits ra=174.075 dec=34.129 rad=12.0 tmin=698630401.0 tmax=698889601.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.02
user 2.81
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/630694/ft2_4FGL_J1136.2+3407_daily_bin1772.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/630694/ft2_4FGL_J1136.2+3407_daily_bin1772.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/630694/ft1_filteredMKT_4FGL_J1136.2+3407_daily_bin1772.fits evtable="EVENTS" outfile="/scratch/kocevski/630694/ft1_filtered_4FGL_J1136.2+3407_daily_bin1772.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: 52

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/630694/ft1_filtered_4FGL_J1136.2+3407_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/630694/ft2_4FGL_J1136.2+3407_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/630694/ltcube_698630401_698889601_4FGL_J1136.2+3407_daily_bin1772.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/630694/ft2_4FGL_J1136.2+3407_daily_bin1772.fits
.....................!
real 12.63
user 12.26
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/630694/ft1_filtered_4FGL_J1136.2+3407_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/630694/ft2_4FGL_J1136.2+3407_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/630694/ltcube_698630401_698889601_4FGL_J1136.2+3407_daily_bin1772.fits outfile=/scratch/kocevski/630694/expmap_698630401_698889601_4FGL_J1136.2+3407_daily_bin1772.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/630694/ltcube_698630401_698889601_4FGL_J1136.2+3407_daily_bin1772.fits
.....................!
real 192.65
user 186.87
sys 5.42

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

Setting source of interest to:
4FGL J1136.2+3407 @ 174.075 34.129

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/630694/ft1_filtered_4FGL_J1136.2+3407_daily_bin1772.fits scfile=/scratch/kocevski/630694/ft2_4FGL_J1136.2+3407_daily_bin1772.fits outfile=/scratch/kocevski/630694/cmap_698630401_698889601_4FGL_J1136.2+3407_daily_bin1772.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=174.075 yref=34.129 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/630694/ft1_filtered_4FGL_J1136.2+3407_daily_bin1772.fits scfile=/scratch/kocevski/630694/ft2_4FGL_J1136.2+3407_daily_bin1772.fits outfile=/scratch/kocevski/630694/cmap_HighResolution_698630401_698889601_4FGL_J1136.2+3407_daily_bin1772.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=174.075 yref=34.129 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/630694/ft1_filtered_4FGL_J1136.2+3407_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/630694/ft2_4FGL_J1136.2+3407_daily_bin1772.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/630694/Model_4FGL_J1136.2+3407_daily_bin1772.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/630694/ft1_filtered_4FGL_J1136.2+3407_daily_bin1772.fits..........................!
real 17.94
user 16.67
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/630694/ft1_filtered_4FGL_J1136.2+3407_daily_bin1772.fits', '/scratch/kocevski/630694/ft2_4FGL_J1136.2+3407_daily_bin1772.fits', expMap='/scratch/kocevski/630694/expmap_698630401_698889601_4FGL_J1136.2+3407_daily_bin1772.fits', expCube='/scratch/kocevski/630694/ltcube_698630401_698889601_4FGL_J1136.2+3407_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/630694/Model_4FGL_J1136.2+3407_daily_bin1772.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1136.2+3407'

4FGL J1136.2+3407
   Spectrum: PowerLaw
306    Prefactor:  1.848e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
307        Index:  2.553e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
308        Scale:  6.244e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/630694/ft1_filtered_4FGL_J1136.2+3407_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/630694/ft2_4FGL_J1136.2+3407_daily_bin1772.fits
Exposure map: /scratch/kocevski/630694/expmap_698630401_698889601_4FGL_J1136.2+3407_daily_bin1772.fits
Exposure cube: /scratch/kocevski/630694/ltcube_698630401_698889601_4FGL_J1136.2+3407_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/630694/Model_4FGL_J1136.2+3407_daily_bin1772.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) = 628.559070958

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0959       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.2634       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8485       1.0000          .0000       .10000E+07
     4 'norm      '    1.9830       1.0000          .0000       .10000E+07
     5 'Prefactor '    .64773E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2679       1.0000          .0000       .10000E+07
     7 'Prefactor '    .70918       1.0000          .0000       .10000E+07
     8 'norm      '    3.4464       1.0000          .0000       .10000E+07
     9 'Prefactor '    .95772E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .79494       1.0000          .0000       .10000E+07
    11 'Prefactor '    .43685E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .29243E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    29.938       1.0000          .0000       .10000E+07
    14 'Prefactor '    .24383       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12161E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .83433E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .41487E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .16590E-02   1.0000          .0000       .10000E+07
    19 'norm      '    30.780       1.0000          .0000       .10000E+07
    20 'Prefactor '    180.10       1.0000          .0000       .10000E+07
    21 'norm      '    39.432       1.0000          .0000       .10000E+07
    22 'norm      '    12.995       1.0000          .0000       .10000E+07
    23 'Prefactor '    .84003E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .24466E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    7.3057       1.0000          .0000       .10000E+07
    26 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.4735       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   628.4876     FROM MIGRAD    STATUS=CONVERGED    253 CALLS     2378 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2363        2.4746       -.55062E-07   -.10026E-02
   2  Prefactor     7.9878        10.671       -.11060E-06   -.18394E-01
   3  Prefactor     2.8588        1.0289       -.25545E-08   -.16286E-03
   4  norm          116.82        1618.8       -.87864E-05   -.37161E-02
   5  Prefactor     .92709E-03    376.83       -.29355E-06** at limit **
   6  Prefactor     .26830E-02    611.27       -.30497E-06** at limit **
   7  Prefactor     .10841E-01    12.950        .49959E-06** at limit **
   8  norm          .67337E-02    413.09        .44329E-06** at limit **
   9  Prefactor      .0000        36.730       -.44716E-07** at limit **
  10  Prefactor     .35329E-04    364.32        .81085E-07** at limit **
  11  Prefactor     .13922E-06    135.80        .21263E-06** at limit **
  12  norm           .0000        16.425        .17183E-07** at limit **
  13  Prefactor     44.816        139.13        .16981E-06   -.81004E-01
  14  Prefactor      .0000        54.939        .16332E-06** at limit **
  15  Prefactor     .19117E-05    197.29       -.44612E-06** at limit **
  16  norm           .0000        3.3291        .12225E-07** at limit **
  17  Prefactor     .23759E-07    127.75        .68939E-06** at limit **
  18  Prefactor      .0000        19.648       -.51789E-06** at limit **
  19  norm          31.032        43.080        .43396E-07   -.32226E-02
  20  Prefactor     188.99        73.865       -.13779E-06    .21535    
  21  norm          39.541        10.901       -.13164E-07    .62928E-03
  22  norm          13.174        11.951        .49695E-07   -.44991E-03
  23  Prefactor      .0000        14.283       -.77129E-07** at limit **
  24  Prefactor      .0000        7.8355        .19785E-06** at limit **
  25  Prefactor     7.2981        8.0691       -.19578E-08   -.83346E-04
  26  Normalizat    .10000E-01    .41527        .87397E-05** at limit **
  27  Prefactor     1.4353        .46001        .10405E-04    .46373E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.23629
  Prefactor  = 7.9878
  Prefactor  = 2.85875
  norm       = 116.82
  Prefactor  = 0.000927092
  Prefactor  = 0.00268296
  Prefactor  = 0.0108413
  norm       = 0.00673367
  Prefactor  = 0
  Prefactor  = 3.53294e-05
  Prefactor  = 1.39222e-07
  norm       = 0
  Prefactor  = 44.8157
  Prefactor  = 0
  Prefactor  = 1.91169e-06
  norm       = 0
  Prefactor  = 2.37588e-08
  Prefactor  = 0
  norm       = 31.0315
  Prefactor  = 188.992
  norm       = 39.5405
  norm       = 13.1742
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 7.2981
  Normalizat = 0.01
  Prefactor  = 1.43533
 **********
 **   18 **HESSE 
 **********

 FCN=   628.4876     FROM HESSE     STATUS=OK           528 CALLS     2906 TOTAL
                     EDM=   .36E-03    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2363        64307.        .11381E-02   -1.5686    
   2  Prefactor     7.9878        .61374E+06    .37194E-03   -1.5651    
   3  Prefactor     2.8588        58272.        .60216E-03   -1.5674    
   4  norm          116.82        1554.1        .73567E-03   -1.5492    
   5  Prefactor     .92709E-03    559.41        .42118E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .26830E-02    2811.8        .98837E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10841E-01    5437.6        .59966E-03   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .67337E-02    1961.9        .54455E-03   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        36.025        .14044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .35329E-04    363.36        .53312E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .13922E-06    135.61        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        16.262        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     44.816        155.12        .18279E-03   -1.5574    
  14  Prefactor      .0000        52.684        .11043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .19117E-05    195.59        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        3.2987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .23759E-07    126.99        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        19.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          31.032        43.492        .18027E-03   -1.5597    
  20  Prefactor     188.99        196.21        .74523E-04   -1.5433    
  21  norm          39.541        10.906        .15926E-03   -1.5582    
  22  norm          13.174        11.884        .27761E-03   -1.5635    
  23  Prefactor      .0000        14.265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        7.8138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     7.2981        8.0533        .37085E-03   -1.5654    
  26  Normalizat    .10000E-01    .22266        .22638       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.4353        .45408        .62478E-01   -.79367    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.000359027
Minuit parameter uncertainties:
  1  570.148
  2  2826.34
  3  824.443
  4  852.455
  5  1.44045
  6  5.49578
  7  15.3698
  8  7.27175
  9  9.30423e-06
  10  0.226618
  11  0.00869132
  12  3.14281e-06
  13  155.139
  14  4.25816e-05
  15  0.0386746
  16  9.2401e-07
  17  0.0034748
  18  7.0434e-06
  19  43.492
  20  196.219
  21  10.9061
  22  11.8845
  23  1.13038e-05
  24  1.17599e-05
  25  8.05331
  26  5.80319e-07
  27  0.455357
Done.

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

Extracting fit parameters...

4FGL J1136.2+3407
   Spectrum: PowerLaw
306    Prefactor:  0.000e+00  4.258e-05  0.000e+00  1.000e+06 ( 1.000e-12)
307        Index:  2.553e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
308        Scale:  6.244e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  1.435e+00  4.554e-01  0.000e+00  1.000e+01 ( 1.000e+00)
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  1.000e-02  5.803e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 174.075 34.129
Photon Flux Upper Limit: 1.42e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.10e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/630694/likelihoodResults_698630401_698889601_4FGL_J1136.2+3407_daily_bin1772.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 628.496657586
delta logL = -0.00906093903347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 628.487596702
delta logL = -5.53169456907e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   628.0803     FROM MIGRAD    STATUS=CONVERGED    161 CALLS      330 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26094E-02    .19835        .42118E-04** at limit **
   2  Index         9.6078        5.1958        .23087       -.84887E-05
   3  Normalizat    .10000E-01    .11489        .18453    ** at limit **
   4  Prefactor     1.3725        .26859        .62404E-01   -.12629E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00260942
  Index      = 9.60781
  Normalizat = 0.01
  Prefactor  = 1.37249
 **********
 **   18 **HESSE 
 **********

 FCN=   628.0803     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      361 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26094E-02    .29549        .17338E-06   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.6078        5.2450        .11428E-01    1.1721    
   3  Normalizat    .10000E-01    .27020        .75999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3725        .38643        .27581E-03   -.81176    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.9779e-09
Minuit parameter uncertainties:
  1  0.0555355
  2  12.5935
  3  7.68759e-06
  4  0.387246
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/630694': 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) = 628.080279743
delta logL = 0.407316903822

Extracting fit parameters...

4FGL J1136.2+3407
   Spectrum: PowerLaw
306    Prefactor:  2.609e-03  5.554e-02  0.000e+00  1.000e+06 ( 1.000e-12)
307        Index:  9.608e+00  1.259e+01  0.000e+00  1.000e+01 (-1.000e+00)
308        Scale:  6.244e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  1.372e+00  3.872e-01  0.000e+00  1.000e+01 ( 1.000e+00)
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  1.000e-02  7.688e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 174.075 34.129

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/630694/cmap_HighResolution_698630401_698889601_4FGL_J1136.2+3407_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-01', job_status='DONE', photon_flux_upper_limit='1.42e-06', time_completed='2023-02-24 01:38:17.040936', job_id='630694', GAL2='1.37', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677231497.04', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.44', dlogl='4.07e-01', ts2='0.83', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1772' AND source_name='4FGL J1136.2+3407' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:38:17 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 630694: <4FGL_J1136.2+3407_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1136.2+3407_daily_bin1772> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Feb 24 01:30:15 2023
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:30:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:30:16 2023
Terminated at Fri Feb 24 01:38:17 2023
Results reported at Fri Feb 24 01:38:17 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1136.2+3407_daily_bin1772 174.075 34.129 698630401 698889601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1136.2+3407 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   370.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   481 sec.
    Turnaround time :                            482 sec.

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

