/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 191 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 = 7493
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1136.2+3407_daily_bin724
RA = 174.075, Dec = 34.129
tmin = 426988801, tmax = 427248001
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='948188', job_status='RUN', time_executed='2021-09-04 05:04:51.603989', time_epoch_executed='1630757091.6' WHERE source_name='4FGL J1136.2+3407' and cadence='daily' and bin_id='724'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/948188

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/948188/ft1_4FGL_J1136.2+3407_daily_bin724.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/948188/ft2_4FGL_J1136.2+3407_daily_bin724.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/948188/ft1_4FGL_J1136.2+3407_daily_bin724.fits outfile=/scratch/kocevski/948188/ft1_filteredMKT_4FGL_J1136.2+3407_daily_bin724.fits ra=174.075 dec=34.129 rad=12.0 tmin=426988801.0 tmax=427248001.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 5.77
user 5.51
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/948188/ft1_filtered_4FGL_J1136.2+3407_daily_bin724.fits" evtable="EVENTS" scfile=/scratch/kocevski/948188/ft2_4FGL_J1136.2+3407_daily_bin724.fits sctable="SC_DATA" outfile=/scratch/kocevski/948188/ltcube_426988801_427248001_4FGL_J1136.2+3407_daily_bin724.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/948188/ft2_4FGL_J1136.2+3407_daily_bin724.fits
.....................!
real 12.32
user 11.94
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/948188/ft1_filtered_4FGL_J1136.2+3407_daily_bin724.fits evtable="EVENTS" scfile=/scratch/kocevski/948188/ft2_4FGL_J1136.2+3407_daily_bin724.fits sctable="SC_DATA" expcube=/scratch/kocevski/948188/ltcube_426988801_427248001_4FGL_J1136.2+3407_daily_bin724.fits outfile=/scratch/kocevski/948188/expmap_426988801_427248001_4FGL_J1136.2+3407_daily_bin724.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/948188/ltcube_426988801_427248001_4FGL_J1136.2+3407_daily_bin724.fits
.....................!
real 190.66
user 185.46
sys 4.53

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/948188/ft1_filtered_4FGL_J1136.2+3407_daily_bin724.fits scfile=/scratch/kocevski/948188/ft2_4FGL_J1136.2+3407_daily_bin724.fits outfile=/scratch/kocevski/948188/cmap_426988801_427248001_4FGL_J1136.2+3407_daily_bin724.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.65
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/948188/ft1_filtered_4FGL_J1136.2+3407_daily_bin724.fits scfile=/scratch/kocevski/948188/ft2_4FGL_J1136.2+3407_daily_bin724.fits outfile=/scratch/kocevski/948188/cmap_HighResolution_426988801_427248001_4FGL_J1136.2+3407_daily_bin724.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.60
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/948188/ft1_filtered_4FGL_J1136.2+3407_daily_bin724.fits', '/scratch/kocevski/948188/ft2_4FGL_J1136.2+3407_daily_bin724.fits', expMap='/scratch/kocevski/948188/expmap_426988801_427248001_4FGL_J1136.2+3407_daily_bin724.fits', expCube='/scratch/kocevski/948188/ltcube_426988801_427248001_4FGL_J1136.2+3407_daily_bin724.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/948188/Model_4FGL_J1136.2+3407_daily_bin724.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  1.000e-04  1.000e+04 ( 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/948188/ft1_filtered_4FGL_J1136.2+3407_daily_bin724.fits
Spacecraft file(s): /scratch/kocevski/948188/ft2_4FGL_J1136.2+3407_daily_bin724.fits
Exposure map: /scratch/kocevski/948188/expmap_426988801_427248001_4FGL_J1136.2+3407_daily_bin724.fits
Exposure cube: /scratch/kocevski/948188/ltcube_426988801_427248001_4FGL_J1136.2+3407_daily_bin724.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/948188/Model_4FGL_J1136.2+3407_daily_bin724.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) = 5565.52572412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .14270E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.8023       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.3521       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10834E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.930       1.0000         .10000E-03   10000.    
     8 'norm      '    .75571       1.0000         .10000E-03   10000.    
     9 'norm      '    .10101E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.3289       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.7197       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.662       1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.711       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.5596       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.5053       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11894E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.0842       1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.149       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .24289E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    4.3928       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .35860       1.0000         .10000E-03   10000.    
    25 'norm      '    6.6823       1.0000         .10000E-03   10000.    
    26 'Prefactor '    10.192       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10210E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    2.1281       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.4530       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .48322       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5565.518     FROM MIGRAD    STATUS=CONVERGED    842 CALLS     4003 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.8231        .19437E-07** at limit **
   2  Prefactor     .10000E-03    45.813       -.15023E-05** at limit **
   3  Prefactor     .10000E-03    8.0759        .60885E-07** at limit **
   4  norm          2.8020        .52792        .45938E-07   -.20167E-02
   5  Prefactor     2.3508        3.0601        .11011E-06   -.86371E-04
   6  Prefactor     .10000E-03    17.796       -.19155E-06** at limit **
   7  Prefactor     11.966        17.811       -.99473E-06   -.14518E-03
   8  norm          .66378        17.554        .86696E-05   -.18969E-03
   9  norm          .10000E-03    4.7677       -.32558E-07** at limit **
  10  Prefactor     1.3291        1.5283       -.43388E-08   -.12327E-05
  11  Prefactor     .10000E-03    22.149        .20783E-07** at limit **
  12  Prefactor     .10000E-03    8.7794        .74012E-07** at limit **
  13  norm          3.7196        3.0334        .76705E-07   -.11096E-03
  14  Prefactor     14.650        13.090        .10179E-06    .39274E-04
  15  Prefactor     12.709        7.2670       -.28194E-06   -.50680E-03
  16  Prefactor     .10000E-03    118.89       -.57952E-06** at limit **
  17  norm          4.5611        1.6752       -.12894E-06   -.35047E-03
  18  Prefactor     2.5202        46.963        .12921E-04    .24836E-03
  19  Prefactor     .10000E-03    1.2979       -.34731E-06** at limit **
  20  norm          1.0869        11.530        .98326E-05    .10937E-03
  21  Prefactor     19.257        39.267       -.37178E-05    .76099E-04
  22  Prefactor     .10000E-03    44.565        .18898E-05** at limit **
  23  norm          4.3919        1.9673       -.23672E-06    .51238E-04
  24  Prefactor     .56587E-03    49.169       -.92487E-05** at limit **
  25  norm          6.6786        4.1317       -.26171E-06   -.19345E-03
  26  Prefactor     10.194        8.5648       -.33799E-06    .10550E-03
  27  Prefactor     .10000E-03    2.1425        .28493E-06** at limit **
  28  Prefactor     2.1260        3.9354        .21413E-07    .23544E-04
  29  Normalizat    1.4529        .22607       -.11262E-05    .33676E-03
  30  Prefactor     .48348        .23056       -.26758E-06    .36455E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.80204
  Prefactor  = 2.35082
  Prefactor  = 0.0001
  Prefactor  = 11.9661
  norm       = 0.663782
  norm       = 0.0001
  Prefactor  = 1.32908
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.71961
  Prefactor  = 14.6503
  Prefactor  = 12.7087
  Prefactor  = 0.0001
  norm       = 4.56105
  Prefactor  = 2.52017
  Prefactor  = 0.000100002
  norm       = 1.08686
  Prefactor  = 19.2574
  Prefactor  = 0.000100001
  norm       = 4.39187
  Prefactor  = 0.000565866
  norm       = 6.67857
  Prefactor  = 10.1943
  Prefactor  = 0.0001
  Prefactor  = 2.12602
  Normalizat = 1.45294
  Prefactor  = 0.483478
 **********
 **   18 **HESSE 
 **********

 FCN=   5565.518     FROM HESSE     STATUS=OK           598 CALLS     4601 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.8250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    45.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.1182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.8020        .53084        .21586E-04   -1.5373    
   5  Prefactor     2.3508        3.0495        .14137E-03   -1.5401    
   6  Prefactor     .10000E-03    17.888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.966        17.901        .11598E-03   -1.5016    
   8  norm          .66378        93.038        .44373E-02   -1.5545    
   9  norm          .10000E-03    4.7769        .15908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.3291        1.5216        .94970E-04   -1.5477    
  11  Prefactor     .10000E-03    22.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.7943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.7196        3.0181        .11047E-03   -1.5322    
  14  Prefactor     14.650        13.080        .10460E-03   -1.4942    
  15  Prefactor     12.709        7.2557        .11235E-03   -1.4995    
  16  Prefactor     .10000E-03    119.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.5611        1.6804        .54532E-04   -1.5281    
  18  Prefactor     2.5202        49.714        .25817E-03   -1.5390    
  19  Prefactor     .10000E-03    1.8017        .15375E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.0869        12.893        .23073E-02   -1.5499    
  21  Prefactor     19.257        40.140        .91527E-04   -1.4830    
  22  Prefactor     .10000E-03    44.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.3919        1.9689        .65095E-04   -1.5289    
  24  Prefactor     .56587E-03    39.493        .12644       -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          6.6786        4.0835        .10973E-03   -1.5191    
  26  Prefactor     10.194        8.5957        .12551E-03   -1.5069    
  27  Prefactor     .10000E-03    2.1942        .21162E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     2.1260        3.9026        .18428E-03   -1.5416    
  29  Normalizat    1.4529        .25747        .23755E-03   -.79109    
  30  Prefactor     .48348        .25431        .42245E-03   -1.1274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.6056e-09
Minuit parameter uncertainties:
  1  4.6597e-06
  2  0.000374909
  3  1.39077e-05
  4  0.530836
  5  3.04974
  6  4.15204e-05
  7  17.9091
  8  15.7409
  9  5.48096e-06
  10  1.52166
  11  2.70979e-05
  12  1.75756e-05
  13  3.01824
  14  13.0823
  15  7.2562
  16  1.57644e-06
  17  1.68045
  18  22.4074
  19  0.000133761
  20  7.48841
  21  40.1966
  22  0.000479083
  23  1.96897
  24  0.271459
  25  4.08367
  26  8.59678
  27  3.42046e-05
  28  3.90311
  29  0.257704
  30  0.254911
Done.

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

Extracting fit parameters...

4FGL J1136.2+3407
   Spectrum: PowerLaw
306    Prefactor:  1.271e+01  7.256e+00  1.000e-04  1.000e+04 ( 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:  4.835e-01  2.549e-01  0.000e+00  1.000e+01 ( 1.000e+00)
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  1.453e+00  2.577e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.14
Ra Dec: 174.075 34.129
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 8.79e-08 +/- 5.02e-08
Energy Flux (Fixed Index): 2.41e-05 +/- 1.38e-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) = 5565.5155925
delta logL = 0.0028257981503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5565.51466812
delta logL = 0.00375018344948

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.399       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6011       1.0000          .0000       10.000    
     3 'Normalizat'    1.4496       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .48602       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=   5565.515     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      208 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.399        153.11        .28440E-02    .40255E-03
   2  Index         2.6010        6.2872        .17703        .60792E-04
   3  Normalizat    1.4497        .11114        .53775E-01   -.76508E-07
   4  Prefactor     .48600        .11093        .95055E-01    .35676E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.3988
  Index      = 2.60103
  Normalizat = 1.44967
  Prefactor  = 0.486001
 **********
 **   18 **HESSE 
 **********

 FCN=   5565.515     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.399        8.0419        .11376E-03   -1.5004    
   2  Index         2.6010        .56664        .65663E-02   -.50042    
   3  Normalizat    1.4497        .23661        .23775E-03   -.79203    
   4  Prefactor     .48600        .25227        .42144E-03   -1.1262    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.05774e-10
Minuit parameter uncertainties:
  1  8.04264
  2  0.568229
  3  0.236794
  4  0.252854
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/948188': 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) = 5565.51466811
delta logL = 0.00375018862906

Extracting fit parameters...

4FGL J1136.2+3407
   Spectrum: PowerLaw
306    Prefactor:  1.240e+01  8.043e+00  1.000e-04  1.000e+04 ( 1.000e-12)
307        Index:  2.601e+00  5.682e-01  0.000e+00  1.000e+01 (-1.000e+00)
308        Scale:  6.244e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
622   Normalization:  1.450e+00  2.368e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.11
Ra Dec: 174.075 34.129
Photon Index (Free Index): 2.60 +/- 0.57
Photon Flux (Free Index): 9.09e-08 +/- 5.96e-08
Energy Flux (Free Index): 2.38e-05 +/- 1.39e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/948188/cmap_HighResolution_426988801_427248001_4FGL_J1136.2+3407_daily_bin724.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.79e-08', energy_flux2='2.38e-05', photon_flux_error='5.02e-08', dlogl='3.75e-03', energy_flux='2.41e-05', photon_flux2='9.09e-08', job_status='DONE', time_completed='2021-09-04 05:17:16.351470', photon_index_error2='0.57', photon_index2='2.60', ts='6.14', fit_tolerance='1e-08', GAL='0.48', photon_index_error='0.00', energy_flux_error2='1.39e-05', EG='1.45', time_epoch_completed='1630757836.35', return_code='0', job_id='948188', GAL2='0.49', EG2='1.45', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='5.96e-08', ts2='6.11', photon_index='2.55' WHERE bin_id='724' AND source_name='4FGL J1136.2+3407' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 05:17:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 948188: <4FGL_J1136.2+3407_daily_bin724> in cluster <slac> Done

Job <4FGL_J1136.2+3407_daily_bin724> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep  4 05:01:25 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 05:01:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 05:01:26 2021
Terminated at Sat Sep  4 05:17:17 2021
Results reported at Sat Sep  4 05:17:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1136.2+3407_daily_bin724 174.075 34.129 426988801 427248001 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 :                                   742.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             247.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   950 sec.
    Turnaround time :                            952 sec.

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

