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


Performing analysis on: 4FGL_J1136.4+7009_daily_bin1694
RA = 174.122, Dec = 70.1537
tmin = 678412801, tmax = 678672001
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='639836', job_status='RUN', time_executed='2022-07-05 03:29:46.633008', time_epoch_executed='1657016986.63' WHERE source_name='4FGL J1136.4+7009' and cadence='daily' and bin_id='1694'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/639836

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/639836/ft1_4FGL_J1136.4+7009_daily_bin1694.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/639836/ft2_4FGL_J1136.4+7009_daily_bin1694.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/639836/ft1_4FGL_J1136.4+7009_daily_bin1694.fits outfile=/scratch/kocevski/639836/ft1_filteredMKT_4FGL_J1136.4+7009_daily_bin1694.fits ra=174.122 dec=70.1537 rad=12.0 tmin=678412801.0 tmax=678672001.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.75
user 3.42
sys 0.22

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

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

Number of photons that the gtmktime cut: 774

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/639836/ft1_filtered_4FGL_J1136.4+7009_daily_bin1694.fits" evtable="EVENTS" scfile=/scratch/kocevski/639836/ft2_4FGL_J1136.4+7009_daily_bin1694.fits sctable="SC_DATA" outfile=/scratch/kocevski/639836/ltcube_678412801_678672001_4FGL_J1136.4+7009_daily_bin1694.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/639836/ft2_4FGL_J1136.4+7009_daily_bin1694.fits
.....................!
real 14.81
user 14.25
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/639836/ft1_filtered_4FGL_J1136.4+7009_daily_bin1694.fits evtable="EVENTS" scfile=/scratch/kocevski/639836/ft2_4FGL_J1136.4+7009_daily_bin1694.fits sctable="SC_DATA" expcube=/scratch/kocevski/639836/ltcube_678412801_678672001_4FGL_J1136.4+7009_daily_bin1694.fits outfile=/scratch/kocevski/639836/expmap_678412801_678672001_4FGL_J1136.4+7009_daily_bin1694.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/639836/ltcube_678412801_678672001_4FGL_J1136.4+7009_daily_bin1694.fits
.....................!
real 194.32
user 186.68
sys 5.28

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/639836/ft1_filtered_4FGL_J1136.4+7009_daily_bin1694.fits scfile=/scratch/kocevski/639836/ft2_4FGL_J1136.4+7009_daily_bin1694.fits outfile=/scratch/kocevski/639836/cmap_678412801_678672001_4FGL_J1136.4+7009_daily_bin1694.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/639836/ft1_filtered_4FGL_J1136.4+7009_daily_bin1694.fits scfile=/scratch/kocevski/639836/ft2_4FGL_J1136.4+7009_daily_bin1694.fits outfile=/scratch/kocevski/639836/cmap_HighResolution_678412801_678672001_4FGL_J1136.4+7009_daily_bin1694.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.56
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/639836/ft1_filtered_4FGL_J1136.4+7009_daily_bin1694.fits', '/scratch/kocevski/639836/ft2_4FGL_J1136.4+7009_daily_bin1694.fits', expMap='/scratch/kocevski/639836/expmap_678412801_678672001_4FGL_J1136.4+7009_daily_bin1694.fits', expCube='/scratch/kocevski/639836/ltcube_678412801_678672001_4FGL_J1136.4+7009_daily_bin1694.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/639836/Model_4FGL_J1136.4+7009_daily_bin1694.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/639836/ft1_filtered_4FGL_J1136.4+7009_daily_bin1694.fits
Spacecraft file(s): /scratch/kocevski/639836/ft2_4FGL_J1136.4+7009_daily_bin1694.fits
Exposure map: /scratch/kocevski/639836/expmap_678412801_678672001_4FGL_J1136.4+7009_daily_bin1694.fits
Exposure cube: /scratch/kocevski/639836/ltcube_678412801_678672001_4FGL_J1136.4+7009_daily_bin1694.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/639836/Model_4FGL_J1136.4+7009_daily_bin1694.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) = 8269.84551423

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .90489       1.0000         .10000E-03   10000.    
     3 'norm      '    12.851       1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.897       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    28.841       1.0000         .10000E-03   10000.    
     7 'norm      '    2.0309       1.0000         .10000E-03   10000.    
     8 'Prefactor '    52.248       1.0000         .10000E-03   10000.    
     9 'norm      '    1.8979       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .91210       1.0000         .10000E-03   10000.    
    12 'norm      '    1.4380       1.0000         .10000E-03   10000.    
    13 'norm      '    .10050E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.197       1.0000         .10000E-03   10000.    
    16 'Prefactor '    42.039       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.580       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.3191       1.0000         .10000E-03   10000.    
    19 'norm      '    7.1030       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    13.047       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .35619E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.6784       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    3.0291       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10168E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10338E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    4.4611       1.0000         .10000E-03   10000.    
    35 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    36 'Normalizat'    .84415       1.0000         .10000E-01   10.000    
    37 'Prefactor '    1.0629       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=   8269.799     FROM MIGRAD    STATUS=CONVERGED   1054 CALLS     5598 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.1125       -.56419E-06** at limit **
   2  norm          .90495        .57811        .85356E-08    .49327E-04
   3  norm          12.850        12.704        .22748E-08    .20997E-05
   4  Prefactor     25.901        13.101        .21207E-06   -.12458E-03
   5  Prefactor     .10000E-03    26.864        .18214E-05** at limit **
   6  Prefactor     28.827        26.746        .54954E-06    .21264E-04
   7  norm          2.0320        2.4341       -.90212E-07    .16969E-05
   8  Prefactor     52.281        44.926       -.24802E-05   -.71282E-04
   9  norm          1.8999        3.9097        .84712E-07   -.24380E-04
  10  Prefactor     .10000E-03    76.746        .38272E-05** at limit **
  11  Prefactor     .90630        3.3318        .80462E-06    .14618E-03
  12  norm          1.4383        .63154       -.87163E-08   -.26978E-04
  13  norm          .10000E-03    1.1095       -.99109E-07** at limit **
  14  Prefactor     .10000E-03    8.1555        .29062E-06** at limit **
  15  Prefactor     11.198        5.0576        .90750E-07    .42483E-04
  16  Prefactor     42.041        33.618       -.56002E-07    .43093E-04
  17  Prefactor     16.572        23.495        .29420E-06    .95703E-05
  18  Prefactor     6.3189        4.4090       -.14779E-07    .24667E-05
  19  norm          7.1023        11.801        .39703E-07    .36168E-04
  20  Prefactor     .10000E-03    9.5792        .99334E-07** at limit **
  21  norm          13.040        6.9264        .11152E-06    .84186E-03
  22  Prefactor     .10017E-03    6.4080       -.15624E-05** at limit **
  23  Prefactor     5.6699        16.285       -.94114E-07    .97076E-04
  24  Prefactor     .10000E-03    37.821       -.10559E-05** at limit **
  25  Prefactor     .10000E-03    12.255        .82943E-06** at limit **
  26  Prefactor     .10000E-03    30.684        .13040E-05** at limit **
  27  norm          .10000E-03    1.7821       -.13883E-07** at limit **
  28  norm          .10000E-03    1.1188       -.39572E-07** at limit **
  29  Prefactor     .10000E-03    17.421       -.46580E-06** at limit **
  30  Prefactor     3.0267        76.223        .10441E-05    .92653E-05
  31  Prefactor     .10000E-03    39.380       -.15148E-05** at limit **
  32  Prefactor     .10000E-03    16.271       -.46867E-06** at limit **
  33  Prefactor     .10000E-03    46.837       -.18323E-05** at limit **
  34  Prefactor     4.4620        8.0444        .18285E-05    .25188E-03
  35  Prefactor     .10000E-03    16.450       -.39739E-06** at limit **
  36  Normalizat    .84411        .15241       -.29571E-06    .20044E-03
  37  Prefactor     1.0630        .14578        .10625E-06    .14575E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.904954
  norm       = 12.8497
  Prefactor  = 25.9008
  Prefactor  = 0.0001
  Prefactor  = 28.8273
  norm       = 2.03202
  Prefactor  = 52.2814
  norm       = 1.89986
  Prefactor  = 0.0001
  Prefactor  = 0.906304
  norm       = 1.43831
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.1985
  Prefactor  = 42.0409
  Prefactor  = 16.5716
  Prefactor  = 6.31887
  norm       = 7.10229
  Prefactor  = 0.0001
  norm       = 13.0396
  Prefactor  = 0.00010017
  Prefactor  = 5.66989
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.02674
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.46196
  Prefactor  = 0.0001
  Normalizat = 0.844107
  Prefactor  = 1.06298
 **********
 **   18 **HESSE 
 **********

 FCN=   8269.799     FROM HESSE     STATUS=OK           857 CALLS     6455 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.2323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .90495        .57830        .53105E-04   -1.5518    
   3  norm          12.850        12.702        .11174E-03   -1.4991    
   4  Prefactor     25.901        13.020        .78719E-04   -1.4690    
   5  Prefactor     .10000E-03    26.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     28.827        26.687        .74602E-04   -1.4634    
   7  norm          2.0320        2.4130        .12406E-03   -1.5423    
   8  Prefactor     52.281        44.646        .55486E-04   -1.4261    
   9  norm          1.8999        3.8648        .24362E-03   -1.5432    
  10  Prefactor     .10000E-03    76.754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .90630        3.2331        .27032E-03   -1.5518    
  12  norm          1.4383        .62165        .41829E-04   -1.5468    
  13  norm          .10000E-03    1.1214        .18467E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.1782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.198        4.9951        .11973E-03   -1.5039    
  16  Prefactor     42.041        33.685        .61827E-04   -1.4410    
  17  Prefactor     16.572        23.483        .98362E-04   -1.4894    
  18  Prefactor     6.3189        4.4056        .15233E-03   -1.5205    
  19  norm          7.1023        11.790        .15052E-03   -1.5175    
  20  Prefactor     .10000E-03    9.8372        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          13.040        6.2705        .11089E-03   -1.4986    
  22  Prefactor     .10017E-03    35.097        .34227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     5.6699        16.041        .16857E-03   -1.5232    
  24  Prefactor     .10000E-03    37.945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    12.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    30.710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    1.8070        .11852E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    1.9831        .18637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    17.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     3.0267        76.295        .23316E-03   -1.5360    
  31  Prefactor     .10000E-03    39.755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    16.289        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    48.128        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     4.4620        8.0434        .95321E-03   -1.5285    
  35  Prefactor     .10000E-03    16.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  36  Normalizat    .84411        .17134        .26243E-03   -.98453    
  37  Prefactor     1.0630        .16372        .23838E-03   -.90659    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.91968e-09
Minuit parameter uncertainties:
  1  1.14835e-05
  2  0.578301
  3  12.7046
  4  13.021
  5  5.8106e-05
  6  26.6985
  7  2.41313
  8  44.675
  9  3.86535
  10  0.000232904
  11  3.23371
  12  0.621657
  13  4.08556e-06
  14  1.06062e-05
  15  4.9953
  16  33.7
  17  23.4964
  18  4.40581
  19  11.7943
  20  1.21225e-06
  21  6.27086
  22  0.00488677
  23  16.0532
  24  5.04976e-05
  25  1.94607e-05
  26  6.43955e-05
  27  5.21538e-07
  28  6.66103e-07
  29  1.47704e-05
  30  30.4353
  31  5.75353e-05
  32  8.36825e-06
  33  1.42937e-05
  34  8.04532
  35  8.88722e-06
  36  0.171448
  37  0.163799
Done.

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

Extracting fit parameters...

4FGL J1136.4+7009
   Spectrum: PowerLaw
399    Prefactor:  6.319e+00  4.406e+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.063e+00  1.638e-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:  8.441e-01  1.714e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.23
Ra Dec: 174.122 70.154
Photon Index (Fixed Index): 1.81 +/- 0.00
Photon Flux (Fixed Index): 2.86e-08 +/- 1.99e-08
Energy Flux (Fixed Index): 3.31e-05 +/- 2.31e-05

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) = 8269.70656467
delta logL = 0.0923396569833

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8269.69178586
delta logL = 0.107118465205

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3099       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0050       1.0000          .0000       10.000    
     3 'Normalizat'    .83661       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0658       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8269.692     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      271 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3095        4.6485        .12981E-03    .12324E-02
   2  Index         2.0049        .44304        .58551E-02    .22532E-03
   3  Normalizat    .83674        .15939        .26339E-03   -.15642E-03
   4  Prefactor     1.0657        .16047        .23805E-03   -.20772E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.30952
  Index      = 2.00485
  Normalizat = 0.836737
  Prefactor  = 1.06572
 **********
 **   18 **HESSE 
 **********

 FCN=   8269.692     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3095        4.3911        .51923E-05   -1.5247    
   2  Index         2.0049        .41843        .23420E-03   -.64229    
   3  Normalizat    .83674        .15940        .10535E-04   -.98720    
   4  Prefactor     1.0657        .16054        .47611E-04   -.90570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.33148e-10
Minuit parameter uncertainties:
  1  4.39138
  2  0.419199
  3  0.15949
  4  0.160613
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/639836': 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) = 8269.69178535
delta logL = 0.107118973956

Extracting fit parameters...

4FGL J1136.4+7009
   Spectrum: PowerLaw
399    Prefactor:  5.310e+00  4.391e+00  1.000e-04  1.000e+04 ( 1.000e-13)
400        Index:  2.005e+00  4.192e-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.066e+00  1.606e-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:  8.367e-01  1.595e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.44
Ra Dec: 174.122 70.154
Photon Index (Free Index): 2.00 +/- 0.42
Photon Flux (Free Index): 3.66e-08 +/- 2.83e-08
Energy Flux (Free Index): 2.50e-05 +/- 2.18e-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/639836/cmap_HighResolution_678412801_678672001_4FGL_J1136.4+7009_daily_bin1694.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.86e-08', energy_flux2='2.50e-05', photon_flux_error='1.99e-08', dlogl='1.07e-01', energy_flux='3.31e-05', photon_flux2='3.66e-08', job_status='DONE', time_completed='2022-07-05 03:54:12.245086', photon_index_error2='0.42', photon_index2='2.00', ts='6.23', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='2.18e-05', EG='0.84', time_epoch_completed='1657018452.25', return_code='0', job_id='639836', GAL2='1.07', EG2='0.84', return_code2='0', energy_flux_error='2.31e-05', photon_flux_error2='2.83e-08', ts2='6.44', photon_index='1.81' WHERE bin_id='1694' AND source_name='4FGL J1136.4+7009' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul  5 03:54:12 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 639848: <4FGL_J1136.4+7009_daily_bin1694> in cluster <slac> Done

Job <4FGL_J1136.4+7009_daily_bin1694> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Tue Jul  5 00:06:15 2022
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul  5 03:26:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul  5 03:26:26 2022
Terminated at Tue Jul  5 03:49:48 2022
Results reported at Tue Jul  5 03:49:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1136.4+7009_daily_bin1694 174.122 70.1537 678412801 678672001 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 :                                   1177.19 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             293.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1402 sec.
    Turnaround time :                            13413 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0087>
Subject: Job 639836: <4FGL_J1136.4+7009_daily_bin1694> in cluster <slac> Done

Job <4FGL_J1136.4+7009_daily_bin1694> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Jul  5 00:06:15 2022
Job was executed on host(s) <bullet0087>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul  5 03:26:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul  5 03:26:19 2022
Terminated at Tue Jul  5 03:54:12 2022
Results reported at Tue Jul  5 03:54:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1136.4+7009_daily_bin1694 174.122 70.1537 678412801 678672001 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 :                                   1449.06 sec.
    Max Memory :                                 636 MB
    Average Memory :                             296.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2931 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1673 sec.
    Turnaround time :                            13677 sec.

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

