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


Performing analysis on: 4FGL_J1136.2+3407_daily_bin1752
RA = 174.075, Dec = 34.129
tmin = 693446401, tmax = 693705601
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='260563', job_status='RUN', time_executed='2022-12-26 00:47:50.816974', time_epoch_executed='1672044470.82' WHERE source_name='4FGL J1136.2+3407' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/260563

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/260563/ft1_4FGL_J1136.2+3407_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/260563/ft2_4FGL_J1136.2+3407_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/260563/ft1_4FGL_J1136.2+3407_daily_bin1752.fits outfile=/scratch/kocevski/260563/ft1_filteredMKT_4FGL_J1136.2+3407_daily_bin1752.fits ra=174.075 dec=34.129 rad=12.0 tmin=693446401.0 tmax=693705601.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.49
user 3.24
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/260563/ft2_4FGL_J1136.2+3407_daily_bin1752.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/260563/ft1_filteredMKT_4FGL_J1136.2+3407_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/260563/ft1_filtered_4FGL_J1136.2+3407_daily_bin1752.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.67
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 743

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/260563/ft1_filtered_4FGL_J1136.2+3407_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/260563/ft2_4FGL_J1136.2+3407_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/260563/ltcube_693446401_693705601_4FGL_J1136.2+3407_daily_bin1752.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/260563/ft2_4FGL_J1136.2+3407_daily_bin1752.fits
.....................!
real 14.81
user 14.44
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/260563/ft1_filtered_4FGL_J1136.2+3407_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/260563/ft2_4FGL_J1136.2+3407_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/260563/ltcube_693446401_693705601_4FGL_J1136.2+3407_daily_bin1752.fits outfile=/scratch/kocevski/260563/expmap_693446401_693705601_4FGL_J1136.2+3407_daily_bin1752.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/260563/ltcube_693446401_693705601_4FGL_J1136.2+3407_daily_bin1752.fits
.....................!
real 192.31
user 186.24
sys 5.52

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/260563/ft1_filtered_4FGL_J1136.2+3407_daily_bin1752.fits scfile=/scratch/kocevski/260563/ft2_4FGL_J1136.2+3407_daily_bin1752.fits outfile=/scratch/kocevski/260563/cmap_693446401_693705601_4FGL_J1136.2+3407_daily_bin1752.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.59
user 0.38
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/260563/ft1_filtered_4FGL_J1136.2+3407_daily_bin1752.fits scfile=/scratch/kocevski/260563/ft2_4FGL_J1136.2+3407_daily_bin1752.fits outfile=/scratch/kocevski/260563/cmap_HighResolution_693446401_693705601_4FGL_J1136.2+3407_daily_bin1752.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.64
user 0.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/260563/ft1_filtered_4FGL_J1136.2+3407_daily_bin1752.fits', '/scratch/kocevski/260563/ft2_4FGL_J1136.2+3407_daily_bin1752.fits', expMap='/scratch/kocevski/260563/expmap_693446401_693705601_4FGL_J1136.2+3407_daily_bin1752.fits', expCube='/scratch/kocevski/260563/ltcube_693446401_693705601_4FGL_J1136.2+3407_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/260563/Model_4FGL_J1136.2+3407_daily_bin1752.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/260563/ft1_filtered_4FGL_J1136.2+3407_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/260563/ft2_4FGL_J1136.2+3407_daily_bin1752.fits
Exposure map: /scratch/kocevski/260563/expmap_693446401_693705601_4FGL_J1136.2+3407_daily_bin1752.fits
Exposure cube: /scratch/kocevski/260563/ltcube_693446401_693705601_4FGL_J1136.2+3407_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/260563/Model_4FGL_J1136.2+3407_daily_bin1752.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) = 7731.33807674

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.4820       1.0000          .0000       .10000E+07
     2 'Prefactor '    37.643       1.0000          .0000       .10000E+07
     3 'Prefactor '    .57127E-05   1.0000          .0000       .10000E+07
     4 'norm      '    2.6160       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.3519       1.0000          .0000       .10000E+07
     6 'Prefactor '    .74736E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .14177E-02   1.0000          .0000       .10000E+07
     8 'norm      '    44.392       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21982E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    14.153       1.0000          .0000       .10000E+07
    11 'Prefactor '    19.097       1.0000          .0000       .10000E+07
    12 'norm      '    .27549E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .17239E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .66919E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    24.051       1.0000          .0000       .10000E+07
    16 'norm      '    2.4962       1.0000          .0000       .10000E+07
    17 'Prefactor '    10.214       1.0000          .0000       .10000E+07
    18 'Prefactor '    2.0942       1.0000          .0000       .10000E+07
    19 'norm      '    .72839E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    61.366       1.0000          .0000       .10000E+07
    21 'norm      '    28.549       1.0000          .0000       .10000E+07
    22 'norm      '    .25448E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    8.5523       1.0000          .0000       .10000E+07
    24 'Prefactor '    .65030       1.0000          .0000       .10000E+07
    25 'Prefactor '    8.4016       1.0000          .0000       .10000E+07
    26 'Normalizat'    .62731       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1663       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=   7731.306     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     2442 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.4207        16.033        .82851E-06   -.38816E-03
   2  Prefactor     41.184        68.878       -.12111E-06   -.11890E-02
   3  Prefactor     .11102E-09    6.2749        .22960E-05** at limit **
   4  norm          2.6159        .39249       -.35015E-07    .37234E-02
   5  Prefactor     4.3565        2.7776        .17734E-06   -.33736E-03
   6  Prefactor     .55511E-10    25.098        .29044E-06** at limit **
   7  Prefactor     .11102E-09    5.4292        .15670E-05** at limit **
   8  norm          44.477        14.104       -.24017E-06   -.56584E-01
   9  Prefactor      .0000        .44720        .25227E-07** at limit **
  10  Prefactor     14.226        4.5556        .40007E-06    .41960E-01
  11  Prefactor     19.283        6.3826       -.13689E-06    .40114E-02
  12  norm           .0000        3.2499       -.49477E-06** at limit **
  13  Prefactor     .55511E-10    20.999       -.45792E-05** at limit **
  14  Prefactor     .35028E-07    22.000       -.81031E-06** at limit **
  15  Prefactor     24.262        31.387        .24191E-05   -.92948E-02
  16  norm          2.4876        1.1851       -.11444E-06   -.19738E-02
  17  Prefactor     10.173        7.1911       -.26439E-06   -.52291E-01
  18  Prefactor     2.0962        1.5409        .32679E-06    .13369E-02
  19  norm           .0000        8.7948        .18330E-06** at limit **
  20  Prefactor     62.663        51.251       -.21822E-05    .63108E-02
  21  norm          28.558        2.8365        .88335E-07   -.37584E-03
  22  norm           .0000        2.8038        .59231E-06** at limit **
  23  Prefactor     8.6737        7.2980        .19893E-06   -.70353E-03
  24  Prefactor     .65129        1.5805       -.35014E-06    .26989E-03
  25  Prefactor     8.3952        3.0238        .11328E-06    .67063E-03
  26  Normalizat    .62514        .19928        .19196E-05   -.17274E-04
  27  Prefactor     1.1675        .23191       -.80765E-05   -.23420E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.4207
  Prefactor  = 41.1842
  Prefactor  = 1.11022e-10
  norm       = 2.61588
  Prefactor  = 4.35654
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  norm       = 44.477
  Prefactor  = 0
  Prefactor  = 14.2256
  Prefactor  = 19.2827
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 3.50275e-08
  Prefactor  = 24.2625
  norm       = 2.48765
  Prefactor  = 10.1729
  Prefactor  = 2.09617
  norm       = 0
  Prefactor  = 62.6629
  norm       = 28.5583
  norm       = 0
  Prefactor  = 8.67368
  Prefactor  = 0.651288
  Prefactor  = 8.39523
  Normalizat = 0.625141
  Prefactor  = 1.16748
 **********
 **   18 **HESSE 
 **********

 FCN=   7731.306     FROM HESSE     STATUS=OK           562 CALLS     3004 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.4207        17.375        .34396E-03   -1.5650    
   2  Prefactor     41.184        68.797        .16301E-03   -1.5580    
   3  Prefactor     .11102E-09    6.2701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.6159        .39223        .46697E-03   -1.5676    
   5  Prefactor     4.3565        2.7805        .48260E-03   -1.5666    
   6  Prefactor     .55511E-10    24.893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    5.4324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          44.477        15.678        .15010E-03   -1.5575    
   9  Prefactor      .0000        .44849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.226        20.177        .26598E-03   -1.5633    
  11  Prefactor     19.283        20.533        .22891E-03   -1.5620    
  12  norm           .0000        3.1144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    7.9146        .11301E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .35028E-07    21.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     24.262        31.900        .20396E-03   -1.5609    
  16  norm          2.4876        1.1871        .64662E-03   -1.5676    
  17  Prefactor     10.173        15.859        .31327E-03   -1.5644    
  18  Prefactor     2.0962        1.5597        .71299E-03   -1.5679    
  19  norm           .0000        8.7599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     62.663        51.458        .12766E-03   -1.5550    
  21  norm          28.558        2.8508        .18719E-03   -1.5601    
  22  norm           .0000        2.7571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     8.6737        7.3035        .34254E-03   -1.5649    
  24  Prefactor     .65129        1.6117        .64838E-03   -1.5692    
  25  Prefactor     8.3952        3.0382        .34562E-03   -1.5650    
  26  Normalizat    .62514        .17273        .73757E-01   -1.0693    
  27  Prefactor     1.1675        .19676        .66705E-01   -.87338    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47202e-07
Minuit parameter uncertainties:
  1  17.3749
  2  68.7986
  3  4.89959e-05
  4  0.392232
  5  2.78052
  6  8.76167e-05
  7  5.21724e-05
  8  15.6781
  9  2.77523e-06
  10  20.177
  11  20.5332
  12  1.0724e-05
  13  3.67374e-05
  14  0.00173694
  15  31.9007
  16  1.18714
  17  15.8595
  18  1.55966
  19  1.76493e-05
  20  51.458
  21  2.85083
  22  1.63576e-05
  23  7.30354
  24  1.61168
  25  3.03821
  26  0.172881
  27  0.196884
Done.

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

Extracting fit parameters...

4FGL J1136.2+3407
   Spectrum: PowerLaw
306    Prefactor:  3.503e-08  1.737e-03  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.167e+00  1.969e-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:  6.251e-01  1.729e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 174.075 34.129
Photon Flux Upper Limit: 7.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/260563/likelihoodResults_693446401_693705601_4FGL_J1136.2+3407_daily_bin1752.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) = 7731.34774652
delta logL = -0.0413800137567

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7731.30637758
delta logL = -1.10723030957e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .61021E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.3519       1.0000          .0000       10.000    
     3 'Normalizat'    .62508       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1673       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=   7731.306     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      254 TOTAL
                     EDM=   .79E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .28780        .42118E-03** at limit **
   2  Index         1.9975        7.2763        .50000       -.22737E-10
   3  Normalizat    .62514        .48387E-03    .73757E-01    .66790E-05
   4  Prefactor     1.1675        .58463E-03    .66704E-01   -.28376E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.99752
  Normalizat = 0.625141
  Prefactor  = 1.16748
 **********
 **   18 **HESSE 
 **********

 FCN=   7731.306     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      287 TOTAL
                     EDM=   .22E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    7.8549        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9975        6.5754        .50000       -.64412    
   3  Normalizat    .62514        .24655E-02    .32654E-03   -1.0693    
   4  Prefactor     1.1675        .29830E-02    .29505E-03   -.87338    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.2274e-13
Minuit parameter uncertainties:
  1  3.55555e-05
  2  63302.3
  3  0.00246548
  4  0.00298299
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/260563': 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) = 7731.30636651
delta logL = 7.75798980612e-10

Extracting fit parameters...

4FGL J1136.2+3407
   Spectrum: PowerLaw
306    Prefactor:  5.551e-11  3.556e-05  0.000e+00  1.000e+06 ( 1.000e-12)
307        Index:  1.998e+00  6.330e+04  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.167e+00  2.983e-03  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:  6.251e-01  2.465e-03  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/260563/cmap_HighResolution_693446401_693705601_4FGL_J1136.2+3407_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.11e-03', job_status='DONE', photon_flux_upper_limit='7.83e-08', time_completed='2022-12-26 01:01:48.409943', job_id='260563', GAL2='1.17', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1672045308.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='7.76e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1752' AND source_name='4FGL J1136.2+3407' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 01:01:48 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0198>
Subject: Job 260563: <4FGL_J1136.2+3407_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1136.2+3407_daily_bin1752> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Dec 26 00:45:18 2022
Job was executed on host(s) <bullet0198>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:47:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:47:32 2022
Terminated at Mon Dec 26 01:01:48 2022
Results reported at Mon Dec 26 01:01:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1136.2+3407_daily_bin1752 174.075 34.129 693446401 693705601 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 :                                   838.93 sec.
    Max Memory :                                 631 MB
    Average Memory :                             317.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   856 sec.
    Turnaround time :                            990 sec.

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

