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


Performing analysis on: 4FGL_J1135.7-0427_daily_bin1475
RA = 173.943, Dec = -4.4634
tmin = 621648001, tmax = 621907201
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='943737', job_status='RUN', time_executed='2021-09-04 04:47:41.791964', time_epoch_executed='1630756061.79' WHERE source_name='4FGL J1135.7-0427' and cadence='daily' and bin_id='1475'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/943737

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/943737/ft1_4FGL_J1135.7-0427_daily_bin1475.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/943737/ft2_4FGL_J1135.7-0427_daily_bin1475.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/943737/ft1_4FGL_J1135.7-0427_daily_bin1475.fits outfile=/scratch/kocevski/943737/ft1_filteredMKT_4FGL_J1135.7-0427_daily_bin1475.fits ra=173.943 dec=-4.4634 rad=12.0 tmin=621648001.0 tmax=621907201.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.56
user 5.06
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/943737/ft2_4FGL_J1135.7-0427_daily_bin1475.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/943737/ft1_filteredMKT_4FGL_J1135.7-0427_daily_bin1475.fits evtable="EVENTS" outfile="/scratch/kocevski/943737/ft1_filtered_4FGL_J1135.7-0427_daily_bin1475.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.91
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/943737/ft1_filtered_4FGL_J1135.7-0427_daily_bin1475.fits" evtable="EVENTS" scfile=/scratch/kocevski/943737/ft2_4FGL_J1135.7-0427_daily_bin1475.fits sctable="SC_DATA" outfile=/scratch/kocevski/943737/ltcube_621648001_621907201_4FGL_J1135.7-0427_daily_bin1475.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/943737/ft2_4FGL_J1135.7-0427_daily_bin1475.fits
.....................!
real 12.47
user 11.78
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/943737/ft1_filtered_4FGL_J1135.7-0427_daily_bin1475.fits evtable="EVENTS" scfile=/scratch/kocevski/943737/ft2_4FGL_J1135.7-0427_daily_bin1475.fits sctable="SC_DATA" expcube=/scratch/kocevski/943737/ltcube_621648001_621907201_4FGL_J1135.7-0427_daily_bin1475.fits outfile=/scratch/kocevski/943737/expmap_621648001_621907201_4FGL_J1135.7-0427_daily_bin1475.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/943737/ltcube_621648001_621907201_4FGL_J1135.7-0427_daily_bin1475.fits
.....................!
real 191.96
user 185.03
sys 4.88

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/943737/ft1_filtered_4FGL_J1135.7-0427_daily_bin1475.fits scfile=/scratch/kocevski/943737/ft2_4FGL_J1135.7-0427_daily_bin1475.fits outfile=/scratch/kocevski/943737/cmap_621648001_621907201_4FGL_J1135.7-0427_daily_bin1475.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 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/943737/ft1_filtered_4FGL_J1135.7-0427_daily_bin1475.fits scfile=/scratch/kocevski/943737/ft2_4FGL_J1135.7-0427_daily_bin1475.fits outfile=/scratch/kocevski/943737/cmap_HighResolution_621648001_621907201_4FGL_J1135.7-0427_daily_bin1475.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/943737/ft1_filtered_4FGL_J1135.7-0427_daily_bin1475.fits evtable="EVENTS" scfile=/scratch/kocevski/943737/ft2_4FGL_J1135.7-0427_daily_bin1475.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/943737/Model_4FGL_J1135.7-0427_daily_bin1475.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/943737/ft1_filtered_4FGL_J1135.7-0427_daily_bin1475.fits.....................!
real 57.88
user 54.36
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/943737/ft1_filtered_4FGL_J1135.7-0427_daily_bin1475.fits', '/scratch/kocevski/943737/ft2_4FGL_J1135.7-0427_daily_bin1475.fits', expMap='/scratch/kocevski/943737/expmap_621648001_621907201_4FGL_J1135.7-0427_daily_bin1475.fits', expCube='/scratch/kocevski/943737/ltcube_621648001_621907201_4FGL_J1135.7-0427_daily_bin1475.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/943737/Model_4FGL_J1135.7-0427_daily_bin1475.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/943737/ft1_filtered_4FGL_J1135.7-0427_daily_bin1475.fits
Spacecraft file(s): /scratch/kocevski/943737/ft2_4FGL_J1135.7-0427_daily_bin1475.fits
Exposure map: /scratch/kocevski/943737/expmap_621648001_621907201_4FGL_J1135.7-0427_daily_bin1475.fits
Exposure cube: /scratch/kocevski/943737/ltcube_621648001_621907201_4FGL_J1135.7-0427_daily_bin1475.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/943737/Model_4FGL_J1135.7-0427_daily_bin1475.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) = 5566.43276104

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2143       1.0000         .10000E-03   10000.    
     2 'norm      '    12.199       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.4617       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    125.44       1.0000         .10000E-03   10000.    
     8 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10279E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    47.226       1.0000         .10000E-03   10000.    
    11 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.608       1.0000         .10000E-03   10000.    
    13 'Prefactor '    39.308       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .16218       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.3826       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.7708       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .23123E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10270E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10598E-01   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.4794       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.2121       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=   5566.207     FROM MIGRAD    STATUS=CONVERGED    686 CALLS     3540 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2151        .78266       -.63942E-07   -.26765E-03
   2  norm          12.199        9.2980       -.11843E-06    .17451E-04
   3  Prefactor     6.4460        13.507       -.84117E-06   -.36717E-05
   4  Prefactor     .10000E-03    6.1723        .12587E-06** at limit **
   5  Prefactor     .10000E-03    3.6583       -.76750E-08** at limit **
   6  Prefactor     .10000E-03    4.1490       -.42518E-07** at limit **
   7  Prefactor     125.44        93.537       -.39838E-06    .10576E-04
   8  norm          .10000E-03    4.0338        .42404E-07** at limit **
   9  Prefactor     .10000E-03    2.4591        .40021E-06** at limit **
  10  Prefactor     47.229        20.210       -.34797E-06    .28648E-04
  11  norm          .10000E-03    52.571        .46118E-06** at limit **
  12  Prefactor     11.610        4.8868       -.12475E-06    .28704E-03
  13  Prefactor     39.298        48.076       -.40973E-05    .15993E-04
  14  Prefactor     .10000E-03    14.761        .75499E-08** at limit **
  15  norm          .13557        28.425        .14002E-04   -.18773E-03
  16  Prefactor     2.3834        3.6436       -.59591E-06   -.65272E-04
  17  Prefactor     9.7708        22.696       -.76199E-06    .68574E-05
  18  Prefactor     .10000E-03    27.917       -.64836E-06** at limit **
  19  Prefactor     .10000E-03    40.786        .34624E-05** at limit **
  20  Prefactor     .10003E-03    75.860        .23731E-04** at limit **
  21  Prefactor     .10000E-03    5.3665        .34683E-08** at limit **
  22  Prefactor     .10000E-03    28.205       -.24633E-06** at limit **
  23  Prefactor     .10000E-03    96.212       -.48374E-05** at limit **
  24  Prefactor     .10001E-03    132.50        .17130E-04** at limit **
  25  Prefactor     .10000E-03    6.4693       -.12227E-06** at limit **
  26  norm          .10000E-03    1.2908       -.30124E-07** at limit **
  27  Normalizat    1.4790        .29188        .32941E-05    .21832E-03
  28  Prefactor     1.2123        .20280        .70760E-06    .25840E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.21515
  norm       = 12.1991
  Prefactor  = 6.44598
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 125.439
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 47.2294
  norm       = 0.000100001
  Prefactor  = 11.6099
  Prefactor  = 39.2977
  Prefactor  = 0.0001
  norm       = 0.135573
  Prefactor  = 2.38337
  Prefactor  = 9.77082
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100035
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.47898
  Prefactor  = 1.21233
 **********
 **   18 **HESSE 
 **********

 FCN=   5566.207     FROM HESSE     STATUS=OK           519 CALLS     4059 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2151        .78691        .47022E-04   -1.5488    
   2  norm          12.199        9.2986        .11469E-03   -1.5009    
   3  Prefactor     6.4460        13.736        .15788E-03   -1.5200    
   4  Prefactor     .10000E-03    6.1756        .18102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.6595        .13937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.2432        .14834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     125.44        93.538        .35940E-04   -1.3463    
   8  norm          .10000E-03    4.0432        .14633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.4695        .11424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     47.229        20.204        .58347E-04   -1.4332    
  11  norm          .10000E-03    53.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.610        4.9011        .10054E-03   -1.5026    
  13  Prefactor     39.298        48.365        .63931E-04   -1.4453    
  14  Prefactor     .10000E-03    14.764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .13557        8.5200        .60392E-01   -1.5634    
  16  Prefactor     2.3834        3.6029        .16299E-03   -1.5399    
  17  Prefactor     9.7708        22.640        .12820E-03   -1.5083    
  18  Prefactor     .10000E-03    28.019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    41.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10003E-03    94.837        .46851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.3710        .16880E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    28.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    97.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10001E-03    130.24        .36304E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    6.4875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.2971        .82773E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.4790        .34551        .33293E-03   -.78371    
  28  Prefactor     1.2123        .24380        .26184E-03   -.85953    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.58363e-10
Minuit parameter uncertainties:
  1  0.786915
  2  9.29968
  3  13.7423
  4  7.91941e-06
  5  5.47845e-06
  6  2.83216e-05
  7  93.6483
  8  5.8529e-06
  9  7.70724e-06
  10  20.2065
  11  0.000359965
  12  4.90126
  13  48.4131
  14  9.58965e-06
  15  2.14902
  16  3.60324
  17  22.6596
  18  0.000114317
  19  0.000190581
  20  0.00364279
  21  1.37824e-05
  22  8.07215e-05
  23  0.000741155
  24  0.00239113
  25  2.94592e-05
  26  9.13761e-06
  27  0.346062
  28  0.244031
Done.

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

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  3.930e+01  4.841e+01  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.212e+00  2.440e-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:  1.479e+00  3.461e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.80
Ra Dec: 173.943 -4.463
Photon Flux Upper Limit: 2.55e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.00e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/943737/likelihoodResults_621648001_621907201_4FGL_J1135.7-0427_daily_bin1475.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5566.17648739
delta logL = 0.0309461005718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5566.16581171
delta logL = 0.0416217733282

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5566.166     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      286 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.378        52.504        .70403E-04   -.11788E-04
   2  Index         2.8277        .87889        .79379E-02    .37515E-03
   3  Normalizat    1.4636        .34304        .33434E-03   -.62123E-04
   4  Prefactor     1.2196        .24310        .26116E-03    .56895E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.3778
  Index      = 2.82774
  Normalizat = 1.46363
  Prefactor  = 1.21965
 **********
 **   18 **HESSE 
 **********

 FCN=   5566.166     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .97E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.378        48.909        .28161E-05   -1.4569    
   2  Index         2.8277        .81783        .15876E-02   -.44943    
   3  Normalizat    1.4636        .34339        .13374E-04   -.78805    
   4  Prefactor     1.2196        .24315        .10446E-04   -.85729    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.69593e-11
Minuit parameter uncertainties:
  1  48.9701
  2  0.822396
  3  0.34394
  4  0.243372
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/943737': 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) = 5566.16580095
delta logL = 0.0416325372953

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  3.238e+01  4.897e+01  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.828e+00  8.224e-01  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.220e+00  2.434e-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:  1.464e+00  3.439e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.80
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/943737/cmap_HighResolution_621648001_621907201_4FGL_J1135.7-0427_daily_bin1475.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.00e-02', job_status='DONE', photon_flux_upper_limit='2.55e-07', time_completed='2021-09-04 05:00:49.817479', job_id='943737', GAL2='1.22', fit_tolerance='1e-08', EG2='1.46', EG='1.48', time_epoch_completed='1630756849.82', return_code2='0', ts='0.80', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='4.16e-02', ts2='0.88', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1475' AND source_name='4FGL J1135.7-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 05:00:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 943737: <4FGL_J1135.7-0427_daily_bin1475> in cluster <slac> Done

Job <4FGL_J1135.7-0427_daily_bin1475> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 04:47:05 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 04:47:07 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:47:07 2021
Terminated at Sat Sep  4 05:00:50 2021
Results reported at Sat Sep  4 05:00:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.7-0427_daily_bin1475 173.943 -4.4634 621648001 621907201 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 :                                   779.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             329.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            825 sec.

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

