/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 150 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 = 7398
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1135.7-0427_daily_bin373
RA = 173.943, Dec = -4.4634
tmin = 336009601, tmax = 336268801
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='937552', job_status='RUN', time_executed='2021-09-04 04:29:29.778364', time_epoch_executed='1630754969.78' WHERE source_name='4FGL J1135.7-0427' and cadence='daily' and bin_id='373'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/937552

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/937552/ft1_4FGL_J1135.7-0427_daily_bin373.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/937552/ft2_4FGL_J1135.7-0427_daily_bin373.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/937552/ft1_4FGL_J1135.7-0427_daily_bin373.fits outfile=/scratch/kocevski/937552/ft1_filteredMKT_4FGL_J1135.7-0427_daily_bin373.fits ra=173.943 dec=-4.4634 rad=12.0 tmin=336009601.0 tmax=336268801.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.31
user 3.08
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/937552/ft2_4FGL_J1135.7-0427_daily_bin373.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/937552/ft2_4FGL_J1135.7-0427_daily_bin373.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/937552/ft1_filteredMKT_4FGL_J1135.7-0427_daily_bin373.fits evtable="EVENTS" outfile="/scratch/kocevski/937552/ft1_filtered_4FGL_J1135.7-0427_daily_bin373.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/937552/ft1_filtered_4FGL_J1135.7-0427_daily_bin373.fits" evtable="EVENTS" scfile=/scratch/kocevski/937552/ft2_4FGL_J1135.7-0427_daily_bin373.fits sctable="SC_DATA" outfile=/scratch/kocevski/937552/ltcube_336009601_336268801_4FGL_J1135.7-0427_daily_bin373.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/937552/ft2_4FGL_J1135.7-0427_daily_bin373.fits
.....................!
real 12.01
user 11.61
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/937552/ft1_filtered_4FGL_J1135.7-0427_daily_bin373.fits evtable="EVENTS" scfile=/scratch/kocevski/937552/ft2_4FGL_J1135.7-0427_daily_bin373.fits sctable="SC_DATA" expcube=/scratch/kocevski/937552/ltcube_336009601_336268801_4FGL_J1135.7-0427_daily_bin373.fits outfile=/scratch/kocevski/937552/expmap_336009601_336268801_4FGL_J1135.7-0427_daily_bin373.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/937552/ltcube_336009601_336268801_4FGL_J1135.7-0427_daily_bin373.fits
.....................!
real 190.59
user 184.97
sys 4.87

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

Setting source of interest to:
4FGL J1135.7-0427 @ 173.943 -4.4634

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/937552/ft1_filtered_4FGL_J1135.7-0427_daily_bin373.fits scfile=/scratch/kocevski/937552/ft2_4FGL_J1135.7-0427_daily_bin373.fits outfile=/scratch/kocevski/937552/cmap_336009601_336268801_4FGL_J1135.7-0427_daily_bin373.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=173.943 yref=-4.4634 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 1.01
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/937552/ft1_filtered_4FGL_J1135.7-0427_daily_bin373.fits scfile=/scratch/kocevski/937552/ft2_4FGL_J1135.7-0427_daily_bin373.fits outfile=/scratch/kocevski/937552/cmap_HighResolution_336009601_336268801_4FGL_J1135.7-0427_daily_bin373.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=173.943 yref=-4.4634 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/937552/ft1_filtered_4FGL_J1135.7-0427_daily_bin373.fits evtable="EVENTS" scfile=/scratch/kocevski/937552/ft2_4FGL_J1135.7-0427_daily_bin373.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/937552/Model_4FGL_J1135.7-0427_daily_bin373.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/937552/ft1_filtered_4FGL_J1135.7-0427_daily_bin373.fits.....................!
real 59.93
user 58.10
sys 1.61

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/937552/ft1_filtered_4FGL_J1135.7-0427_daily_bin373.fits', '/scratch/kocevski/937552/ft2_4FGL_J1135.7-0427_daily_bin373.fits', expMap='/scratch/kocevski/937552/expmap_336009601_336268801_4FGL_J1135.7-0427_daily_bin373.fits', expCube='/scratch/kocevski/937552/ltcube_336009601_336268801_4FGL_J1135.7-0427_daily_bin373.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/937552/Model_4FGL_J1135.7-0427_daily_bin373.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1135.7-0427'

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  4.801e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.601e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  8.991e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/937552/ft1_filtered_4FGL_J1135.7-0427_daily_bin373.fits
Spacecraft file(s): /scratch/kocevski/937552/ft2_4FGL_J1135.7-0427_daily_bin373.fits
Exposure map: /scratch/kocevski/937552/expmap_336009601_336268801_4FGL_J1135.7-0427_daily_bin373.fits
Exposure cube: /scratch/kocevski/937552/ltcube_336009601_336268801_4FGL_J1135.7-0427_daily_bin373.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/937552/Model_4FGL_J1135.7-0427_daily_bin373.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) = 6228.04271693

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0307       1.0000         .10000E-03   10000.    
     2 'norm      '    10.115       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    94.124       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.6448       1.0000         .10000E-03   10000.    
     7 'Prefactor '    36.743       1.0000         .10000E-03   10000.    
     8 'norm      '    5.6762       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    45.495       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.4927       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.4306       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .19074E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    15.491       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .49881       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    1.3014       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .95080       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0745       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6228.024     FROM MIGRAD    STATUS=CONVERGED    731 CALLS     3558 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0305        .91495       -.12623E-07   -.88748E-04
   2  norm          10.113        7.7169        .56049E-07   -.10193E-04
   3  Prefactor     .10000E-03    10.382        .28698E-07** at limit **
   4  Prefactor     94.126        28.243        .21802E-06    .43633E-04
   5  Prefactor     .10000E-03    4.7202       -.72613E-07** at limit **
   6  Prefactor     7.6418        8.1914        .21576E-05   -.71329E-03
   7  Prefactor     36.676        93.607       -.13498E-04   -.19119E-03
   8  norm          5.6731        11.031        .27360E-05   -.42044E-03
   9  Prefactor     .10000E-03    3.6116       -.26082E-06** at limit **
  10  Prefactor     .10000E-03    2.2096       -.13582E-07** at limit **
  11  norm          45.479        26.844       -.26272E-06    .38390E-04
  12  Prefactor     4.4913        3.1609       -.60584E-08   -.96766E-04
  13  Prefactor     .10000E-03    26.585       -.58429E-07** at limit **
  14  Prefactor     .10000E-03    13.980        .25749E-07** at limit **
  15  norm          .10000E-03    12.700        .77185E-07** at limit **
  16  Prefactor     6.4249        4.7804        .11946E-06   -.74830E-04
  17  Prefactor     .10000E-03    6.2621        .46183E-07** at limit **
  18  Prefactor     .10000E-03    6.9135        .13887E-07** at limit **
  19  Prefactor     .10000E-03    33.124       -.31164E-06** at limit **
  20  Prefactor     .10000E-03    6.4412        .31925E-06** at limit **
  21  Prefactor     .10000E-03    33.016        .74670E-06** at limit **
  22  Prefactor     .10000E-03    128.98        .13409E-06** at limit **
  23  Prefactor     15.442        51.339       -.10070E-05   -.62801E-04
  24  Prefactor     .19591        24.152        .47917E-06   -.11819E-04
  25  Prefactor     .10000E-03    9.6721        .27881E-07** at limit **
  26  norm          1.3030        1.8339        .48080E-08   -.66604E-04
  27  Normalizat    .95108        .24627       -.14268E-05   -.55974E-04
  28  Prefactor     1.0744        .16411        .22926E-06   -.12786E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.03047
  norm       = 10.1133
  Prefactor  = 0.0001
  Prefactor  = 94.1259
  Prefactor  = 0.0001
  Prefactor  = 7.64175
  Prefactor  = 36.6756
  norm       = 5.67315
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 45.4787
  Prefactor  = 4.49133
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.42485
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.4416
  Prefactor  = 0.19591
  Prefactor  = 0.0001
  norm       = 1.30297
  Normalizat = 0.951078
  Prefactor  = 1.07444
 **********
 **   18 **HESSE 
 **********

 FCN=   6228.024     FROM HESSE     STATUS=OK           521 CALLS     4079 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0305        .91363        .39778E-04   -1.5360    
   2  norm          10.113        7.7176        .12599E-03   -1.5072    
   3  Prefactor     .10000E-03    10.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     94.126        28.832        .41426E-04   -1.3765    
   5  Prefactor     .10000E-03    4.7229        .16742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.6418        8.3267        .72519E-03   -1.5155    
   7  Prefactor     36.676        101.30        .66117E-04   -1.4496    
   8  norm          5.6731        11.065        .84301E-03   -1.5232    
   9  Prefactor     .10000E-03    3.6542        .14624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.2113        .11456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          45.479        26.810        .59442E-04   -1.4358    
  12  Prefactor     4.4913        3.1767        .11041E-03   -1.5284    
  13  Prefactor     .10000E-03    26.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    13.051        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.4249        4.7644        .13900E-03   -1.5201    
  17  Prefactor     .10000E-03    6.2747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.9146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    33.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    66.758        .36134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    33.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    130.64        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     15.442        49.891        .10176E-03   -1.4922    
  24  Prefactor     .19591        33.796        .10343       -1.5619    
  25  Prefactor     .10000E-03    9.7221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          1.3030        1.8015        .12219E-03   -1.5480    
  27  Normalizat    .95108        .28786        .33272E-03   -.94688    
  28  Prefactor     1.0744        .19110        .22900E-03   -.90288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86025e-09
Minuit parameter uncertainties:
  1  0.913632
  2  7.71832
  3  1.06948e-06
  4  28.8362
  5  1.25575e-05
  6  8.32798
  7  101.783
  8  11.0688
  9  2.61745e-05
  10  2.57385e-06
  11  26.8173
  12  3.17679
  13  4.54222e-05
  14  3.06267e-06
  15  1.66957e-06
  16  4.76466
  17  2.55751e-06
  18  2.52941e-07
  19  8.10635e-05
  20  0.000162148
  21  8.91685e-05
  22  0.000127853
  23  50.0263
  24  5.14788
  25  2.54983e-06
  26  1.80155
  27  0.288332
  28  0.191226
Done.

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

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  4.542e-05  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.601e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  8.991e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.074e+00  1.912e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  9.511e-01  2.883e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 173.943 -4.463
Photon Flux Upper Limit: 9.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/937552/likelihoodResults_336009601_336268801_4FGL_J1135.7-0427_daily_bin373.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6228.02370679
delta logL = -0.000177413555321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6228.02352949
delta logL = -1.17018316814e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6228.024     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      234 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6873.2        .90712E-02** at limit **
   2  Index         2.5325        5.9409        .50000       -.52812E-05
   3  Normalizat    .95108        .10133        .75186E-01    .34971E-04
   4  Prefactor     1.0744        .73664E-01    .38650E-01    .22535E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.53254
  Normalizat = 0.951077
  Prefactor  = 1.07444
 **********
 **   18 **HESSE 
 **********

 FCN=   6228.024     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    42.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5325        6.1960        .50000       -.51610    
   3  Normalizat    .95108        .25124        .33272E-03   -.94688    
   4  Prefactor     1.0744        .18403        .22900E-03   -.90288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16643e-11
Minuit parameter uncertainties:
  1  0.000129893
  2  5.62022
  3  0.251556
  4  0.184134
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/937552': 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) = 6228.02352946
delta logL = -8.14115992398e-08

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  1.299e-04  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.533e+00  5.620e+00  0.000e+00  1.000e+01 (-1.000e+00)
301        Scale:  8.991e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.074e+00  1.841e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  9.511e-01  2.516e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 173.943 -4.463

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/937552/cmap_HighResolution_336009601_336268801_4FGL_J1135.7-0427_daily_bin373.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.61e-03', job_status='DONE', photon_flux_upper_limit='9.73e-08', time_completed='2021-09-04 04:43:19.261684', job_id='937552', GAL2='1.07', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1630755799.26', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-8.14e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='373' AND source_name='4FGL J1135.7-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:43:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 937552: <4FGL_J1135.7-0427_daily_bin373> in cluster <slac> Done

Job <4FGL_J1135.7-0427_daily_bin373> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Sep  4 04:26:49 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 04:26:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 04:26:50 2021
Terminated at Sat Sep  4 04:43:19 2021
Results reported at Sat Sep  4 04:43:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.7-0427_daily_bin373 173.943 -4.4634 336009601 336268801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1135.7-0427 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   824.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             288.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   989 sec.
    Turnaround time :                            990 sec.

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

