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 85 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1136.4+7009_daily_bin1674
RA = 174.122, Dec = 70.1537
tmin = 673228801, tmax = 673488001
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='669993', job_status='RUN', time_executed='2022-05-06 02:50:43.027084', time_epoch_executed='1651830643.03' WHERE source_name='4FGL J1136.4+7009' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/669993

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/669993/ft1_4FGL_J1136.4+7009_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/669993/ft2_4FGL_J1136.4+7009_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/669993/ft1_4FGL_J1136.4+7009_daily_bin1674.fits outfile=/scratch/kocevski/669993/ft1_filteredMKT_4FGL_J1136.4+7009_daily_bin1674.fits ra=174.122 dec=70.1537 rad=12.0 tmin=673228801.0 tmax=673488001.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 2.78
user 2.56
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/669993/ft2_4FGL_J1136.4+7009_daily_bin1674.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/669993/ft2_4FGL_J1136.4+7009_daily_bin1674.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/669993/ft1_filteredMKT_4FGL_J1136.4+7009_daily_bin1674.fits evtable="EVENTS" outfile="/scratch/kocevski/669993/ft1_filtered_4FGL_J1136.4+7009_daily_bin1674.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.51
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 1261

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/669993/ft1_filtered_4FGL_J1136.4+7009_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/669993/ft2_4FGL_J1136.4+7009_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/669993/ltcube_673228801_673488001_4FGL_J1136.4+7009_daily_bin1674.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/669993/ft2_4FGL_J1136.4+7009_daily_bin1674.fits
.....................!
real 13.33
user 12.97
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/669993/ft1_filtered_4FGL_J1136.4+7009_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/669993/ft2_4FGL_J1136.4+7009_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/669993/ltcube_673228801_673488001_4FGL_J1136.4+7009_daily_bin1674.fits outfile=/scratch/kocevski/669993/expmap_673228801_673488001_4FGL_J1136.4+7009_daily_bin1674.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/669993/ltcube_673228801_673488001_4FGL_J1136.4+7009_daily_bin1674.fits
.....................!
real 191.23
user 185.33
sys 5.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 237 point sources and 0 extended sources

Setting source of interest to:
4FGL J1136.4+7009 @ 174.122 70.1537

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/669993/ft1_filtered_4FGL_J1136.4+7009_daily_bin1674.fits scfile=/scratch/kocevski/669993/ft2_4FGL_J1136.4+7009_daily_bin1674.fits outfile=/scratch/kocevski/669993/cmap_673228801_673488001_4FGL_J1136.4+7009_daily_bin1674.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.122 yref=70.1537 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/669993/ft1_filtered_4FGL_J1136.4+7009_daily_bin1674.fits scfile=/scratch/kocevski/669993/ft2_4FGL_J1136.4+7009_daily_bin1674.fits outfile=/scratch/kocevski/669993/cmap_HighResolution_673228801_673488001_4FGL_J1136.4+7009_daily_bin1674.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.122 yref=70.1537 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/669993/ft1_filtered_4FGL_J1136.4+7009_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/669993/ft2_4FGL_J1136.4+7009_daily_bin1674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/669993/Model_4FGL_J1136.4+7009_daily_bin1674.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/669993/ft1_filtered_4FGL_J1136.4+7009_daily_bin1674.fits.....................!
real 136.98
user 135.36
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/669993/ft1_filtered_4FGL_J1136.4+7009_daily_bin1674.fits', '/scratch/kocevski/669993/ft2_4FGL_J1136.4+7009_daily_bin1674.fits', expMap='/scratch/kocevski/669993/expmap_673228801_673488001_4FGL_J1136.4+7009_daily_bin1674.fits', expCube='/scratch/kocevski/669993/ltcube_673228801_673488001_4FGL_J1136.4+7009_daily_bin1674.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/669993/Model_4FGL_J1136.4+7009_daily_bin1674.xml', optimizer='MINUIT')

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

4FGL J1136.4+7009
   Spectrum: PowerLaw
399    Prefactor:  1.574e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
400        Index:  1.811e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
401        Scale:  2.611e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/669993/ft1_filtered_4FGL_J1136.4+7009_daily_bin1674.fits
Spacecraft file(s): /scratch/kocevski/669993/ft2_4FGL_J1136.4+7009_daily_bin1674.fits
Exposure map: /scratch/kocevski/669993/expmap_673228801_673488001_4FGL_J1136.4+7009_daily_bin1674.fits
Exposure cube: /scratch/kocevski/669993/ltcube_673228801_673488001_4FGL_J1136.4+7009_daily_bin1674.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/669993/Model_4FGL_J1136.4+7009_daily_bin1674.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) = 13404.9397263

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.6593       1.0000         .10000E-03   10000.    
     3 'norm      '    24.595       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.599       1.0000         .10000E-03   10000.    
     7 'norm      '    .10138E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    34.265       1.0000         .10000E-03   10000.    
     9 'norm      '    17.954       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13638E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.0759       1.0000         .10000E-03   10000.    
    13 'norm      '    1.3264       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.7074       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.1202       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.7744       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.420       1.0000         .10000E-03   10000.    
    21 'norm      '    .27670       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.6282       1.0000         .10000E-03   10000.    
    23 'Prefactor '    10.652       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    24.101       1.0000         .10000E-03   10000.    
    27 'norm      '    1.5800       1.0000         .10000E-03   10000.    
    28 'norm      '    2.1129       1.0000         .10000E-03   10000.    
    29 'Prefactor '    2.9375       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    8.8020       1.0000         .10000E-03   10000.    
    33 'Prefactor '    2.5698       1.0000         .10000E-03   10000.    
    34 'Prefactor '    4.7085       1.0000         .10000E-03   10000.    
    35 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    36 'Normalizat'    .95830       1.0000         .10000E-01   10.000    
    37 'Prefactor '    1.0722       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13404.93     FROM MIGRAD    STATUS=CONVERGED   1051 CALLS     5589 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.4147        .74069E-07** at limit **
   2  norm          3.6593        .75533        .41706E-07    .13284E-03
   3  norm          24.594        15.804        .14880E-06    .36501E-05
   4  Prefactor     .10000E-03    10.176       -.16322E-05** at limit **
   5  Prefactor     .10000E-03    11.530       -.35329E-06** at limit **
   6  Prefactor     14.598        14.145        .26599E-06    .57878E-05
   7  norm          .10000E-03    .63482        .95433E-09** at limit **
   8  Prefactor     34.249        30.095        .21208E-05    .83875E-04
   9  norm          17.956        4.9538        .68191E-07   -.21630E-03
  10  Prefactor     .10000E-03    48.635       -.56343E-05** at limit **
  11  Prefactor     .10000E-03    2.5946       -.64329E-06** at limit **
  12  norm          1.0752        .53954        .67732E-07    .17751E-02
  13  norm          1.3264        1.4351        .68372E-06    .14570E-02
  14  Prefactor     .10000E-03    6.7089        .50664E-07** at limit **
  15  Prefactor     .10000E-03    2.9318        .12940E-05** at limit **
  16  Prefactor     2.7069        16.738        .64032E-05    .95687E-05
  17  Prefactor     7.1202        10.499        .27940E-06    .13661E-04
  18  Prefactor     1.7745        1.7575        .72597E-07    .68568E-04
  19  norm          .10000E-03    3.5161       -.79358E-07** at limit **
  20  Prefactor     14.421        8.4643        .60317E-07   -.11833E-03
  21  norm          .27802        1.4615       -.36352E-06    .44042E-04
  22  Prefactor     5.6284        5.8975        .11738E-05   -.36280E-04
  23  Prefactor     10.653        11.606       -.35477E-06   -.21925E-04
  24  Prefactor     .10001E-03    61.596        .58821E-05** at limit **
  25  Prefactor     .10000E-03    4.7008        .24144E-06** at limit **
  26  Prefactor     24.102        29.119       -.17423E-06   -.75250E-05
  27  norm          1.5801        2.4375        .26453E-06   -.82344E-05
  28  norm          2.1129        1.8506        .39234E-07   -.74272E-04
  29  Prefactor     2.9293        57.342        .28987E-05   -.18502E-04
  30  Prefactor     .10000E-03    17.206        .65178E-06** at limit **
  31  Prefactor     .10000E-03    6.5909        .61793E-07** at limit **
  32  Prefactor     8.8020        9.7861       -.63657E-06   -.11562E-04
  33  Prefactor     2.5696        8.7951        .61875E-05    .13464E-04
  34  Prefactor     4.7088        5.6017        .19352E-05   -.59639E-05
  35  Prefactor     .10000E-03    4.6875        .31645E-06** at limit **
  36  Normalizat    .95828        .11900       -.13984E-05    .49565E-04
  37  Prefactor     1.0722        .11609       -.80597E-07   -.10327E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.65933
  norm       = 24.5942
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 14.5982
  norm       = 0.0001
  Prefactor  = 34.2487
  norm       = 17.9562
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 1.07516
  norm       = 1.32638
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 2.70686
  Prefactor  = 7.12023
  Prefactor  = 1.77446
  norm       = 0.0001
  Prefactor  = 14.421
  norm       = 0.278016
  Prefactor  = 5.62838
  Prefactor  = 10.6526
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 24.1016
  norm       = 1.58014
  norm       = 2.11285
  Prefactor  = 2.92929
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.80199
  Prefactor  = 2.56964
  Prefactor  = 4.70879
  Prefactor  = 0.0001
  Normalizat = 0.958285
  Prefactor  = 1.07219 **********
 **   18 **HESSE 
 **********

 FCN=   13404.93     FROM HESSE     STATUS=OK           863 CALLS     6452 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.4342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.6593        .75491        .43745E-04   -1.5325    
   3  norm          24.594        15.801        .80773E-04   -1.4716    
   4  Prefactor     .10000E-03    10.635        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.598        14.124        .10483E-03   -1.4944    
   7  norm          .10000E-03    .64231        .89779E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     34.249        30.039        .68459E-04   -1.4537    
   9  norm          17.956        4.9366        .94524E-04   -1.4860    
  10  Prefactor     .10000E-03    48.406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.6643        .36211E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0752        .51203        .52276E-04   -1.5501    
  13  norm          1.3264        1.2727        .11916E-03   -1.5478    
  14  Prefactor     .10000E-03    6.7338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.9186        .30512E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.7069        16.864        .12378E-02   -1.5379    
  17  Prefactor     7.1202        10.492        .15033E-03   -1.5174    
  18  Prefactor     1.7745        1.7673        .14828E-03   -1.5442    
  19  norm          .10000E-03    3.5352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     14.421        8.4295        .10548E-03   -1.4948    
  21  norm          .27802        9.6817        .24336E-02   -1.5603    
  22  Prefactor     5.6284        6.2880        .84666E-03   -1.5233    
  23  Prefactor     10.653        11.593        .12276E-03   -1.5055    
  24  Prefactor     .10001E-03    61.540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    4.7121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     24.102        29.107        .81595E-04   -1.4726    
  27  norm          1.5801        2.4126        .21651E-03   -1.5457    
  28  norm          2.1129        1.8387        .13927E-03   -1.5417    
  29  Prefactor     2.9293        57.474        .23699E-03   -1.5366    
  30  Prefactor     .10000E-03    17.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    6.5950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     8.8020        9.7892        .67552E-03   -1.5115    
  33  Prefactor     2.5696        8.8079        .12731E-02   -1.5387    
  34  Prefactor     4.7088        5.5866        .92723E-03   -1.5274    
  35  Prefactor     .10000E-03    4.6985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  36  Normalizat    .95828        .13478        .25540E-03   -.94441    
  37  Prefactor     1.0722        .13329        .24848E-03   -.90360    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08566e-09
Minuit parameter uncertainties:
  1  2.62876e-06
  2  0.754913
  3  15.8035
  4  0.000172893
  5  8.40547e-05
  6  14.1275
  7  6.31849e-08
  8  30.0526
  9  4.93669
  10  0.000854342
  11  7.01524e-05
  12  0.512035
  13  1.27274
  14  2.56047e-05
  15  0.000309587
  16  13.5182
  17  10.4946
  18  1.76738
  19  6.34012e-06
  20  8.43019
  21  3.28124
  22  6.28871
  23  11.5951
  24  0.00137266
  25  1.02325e-05
  26  29.1238
  27  2.41275
  28  1.83878
  29  25.9788
  30  5.45468e-05
  31  2.57598e-06
  32  9.79098
  33  8.81236
  34  5.58723
  35  1.43862e-05
  36  0.134826
  37  0.133328
Done.

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

Extracting fit parameters...

4FGL J1136.4+7009
   Spectrum: PowerLaw
399    Prefactor:  1.774e+00  1.767e+00  1.000e-04  1.000e+04 ( 1.000e-13)
400        Index:  1.811e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
401        Scale:  2.611e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
759    Prefactor:  1.072e+00  1.333e-01  0.000e+00  1.000e+01 ( 1.000e+00)
760        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
761        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
758   Normalization:  9.583e-01  1.348e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.41
Ra Dec: 174.122 70.154
Photon Index (Fixed Index): 1.81 +/- 0.00
Photon Flux (Fixed Index): 8.03e-09 +/- 7.99e-09
Energy Flux (Fixed Index): 9.30e-06 +/- 9.26e-06

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) = 13404.3824926
delta logL = 0.547934583774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13404.3818704
delta logL = 0.54855679046

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0543       1.0000         .10000E-03   10000.    
     2 'Index     '    .95720       1.0000          .0000       10.000    
     3 'Normalizat'    .96412       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0711       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13404.38     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      261 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0544        62.944        .25867E-01   -.18084E-02
   2  Index         .95717        7.1874        .45730       -.96822E-04
   3  Normalizat    .96411        .60571E-01    .45716E-01    .27033E-04
   4  Prefactor     1.0711        .50145E-01    .56220E-01    .15941E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05435
  Index      = 0.957174
  Normalizat = 0.964115
  Prefactor  = 1.07113
 **********
 **   18 **HESSE 
 **********

 FCN=   13404.38     FROM HESSE     STATUS=OK            35 CALLS      296 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0544        1.4754        .14802E-02   -1.5503    
   2  Index         .95717        .72038        .21070E-01   -.94171    
   3  Normalizat    .96411        .12740        .25468E-03   -.94243    
   4  Prefactor     1.0711        .13095        .24858E-03   -.90395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47951e-10
Minuit parameter uncertainties:
  1  1.47546
  2  0.727777
  3  0.127441
  4  0.130988
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/670059': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13404.3818704
delta logL = 0.548556792493

Extracting fit parameters...

4FGL J1136.4+7009
   Spectrum: PowerLaw
399    Prefactor:  1.054e+00  1.475e+00  1.000e-04  1.000e+04 ( 1.000e-13)
400        Index:  9.572e-01  7.278e-01  0.000e+00  1.000e+01 (-1.000e+00)
401        Scale:  2.611e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
759    Prefactor:  1.071e+00  1.310e-01  0.000e+00  1.000e+01 ( 1.000e+00)
760        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
761        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
758   Normalization:  9.641e-01  1.274e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.50
Ra Dec: 174.122 70.154
Photon Index (Free Index): 0.96 +/- 0.73
Photon Flux (Free Index): 1.92e-09 +/- 2.38e-09
Energy Flux (Free Index): 3.09e-05 +/- 4.42e-05

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/670059/cmap_HighResolution_673228801_673488001_4FGL_J1136.4+7009_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.03e-09', energy_flux2='3.09e-05', photon_flux_error='7.99e-09', dlogl='5.49e-01', energy_flux='9.30e-06', photon_flux2='1.92e-09', job_status='DONE', time_completed='2022-05-06 03:26:12.327457', photon_index_error2='0.73', photon_index2='0.96', ts='4.41', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='4.42e-05', EG='0.96', time_epoch_completed='1651832772.33', return_code='0', job_id='670059', GAL2='1.07', EG2='0.96', return_code2='0', energy_flux_error='9.26e-06', photon_flux_error2='2.38e-09', ts2='5.50', photon_index='1.81' WHERE bin_id='1674' AND source_name='4FGL J1136.4+7009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 03:26:12 PDT 2022



------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 669993: <4FGL_J1136.4+7009_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1136.4+7009_daily_bin1674> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri May  6 00:07:12 2022
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:48:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:48:53 2022
Terminated at Fri May  6 03:26:11 2022
Results reported at Fri May  6 03:26:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1136.4+7009_daily_bin1674 174.122 70.1537 673228801 673488001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1136.4+7009 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   2127.31 sec.
    Max Memory :                                 1259 MB
    Average Memory :                             343.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2238 sec.
    Turnaround time :                            11939 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 670059: <4FGL_J1136.4+7009_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1136.4+7009_daily_bin1674> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri May  6 00:07:16 2022
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:49:10 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:49:10 2022
Terminated at Fri May  6 03:26:13 2022
Results reported at Fri May  6 03:26:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1136.4+7009_daily_bin1674 174.122 70.1537 673228801 673488001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1136.4+7009 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   2126.32 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             323.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2222 sec.
    Turnaround time :                            11937 sec.

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

