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


Performing analysis on: 4FGL_J1135.7-0427_daily_bin873
RA = 173.943, Dec = -4.4634
tmin = 465609601, tmax = 465868801
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='941501', job_status='RUN', time_executed='2021-09-04 04:44:00.103197', time_epoch_executed='1630755840.1' WHERE source_name='4FGL J1135.7-0427' and cadence='daily' and bin_id='873'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941501

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941501/ft1_4FGL_J1135.7-0427_daily_bin873.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941501/ft2_4FGL_J1135.7-0427_daily_bin873.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941501/ft1_4FGL_J1135.7-0427_daily_bin873.fits outfile=/scratch/kocevski/941501/ft1_filteredMKT_4FGL_J1135.7-0427_daily_bin873.fits ra=173.943 dec=-4.4634 rad=12.0 tmin=465609601.0 tmax=465868801.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.50
user 3.30
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941501/ft1_filtered_4FGL_J1135.7-0427_daily_bin873.fits" evtable="EVENTS" scfile=/scratch/kocevski/941501/ft2_4FGL_J1135.7-0427_daily_bin873.fits sctable="SC_DATA" outfile=/scratch/kocevski/941501/ltcube_465609601_465868801_4FGL_J1135.7-0427_daily_bin873.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/941501/ft2_4FGL_J1135.7-0427_daily_bin873.fits
.....................!
real 11.85
user 11.48
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941501/ft1_filtered_4FGL_J1135.7-0427_daily_bin873.fits evtable="EVENTS" scfile=/scratch/kocevski/941501/ft2_4FGL_J1135.7-0427_daily_bin873.fits sctable="SC_DATA" expcube=/scratch/kocevski/941501/ltcube_465609601_465868801_4FGL_J1135.7-0427_daily_bin873.fits outfile=/scratch/kocevski/941501/expmap_465609601_465868801_4FGL_J1135.7-0427_daily_bin873.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/941501/ltcube_465609601_465868801_4FGL_J1135.7-0427_daily_bin873.fits
.....................!
real 190.64
user 185.26
sys 4.91

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/941501/ft1_filtered_4FGL_J1135.7-0427_daily_bin873.fits scfile=/scratch/kocevski/941501/ft2_4FGL_J1135.7-0427_daily_bin873.fits outfile=/scratch/kocevski/941501/cmap_465609601_465868801_4FGL_J1135.7-0427_daily_bin873.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.80
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941501/ft1_filtered_4FGL_J1135.7-0427_daily_bin873.fits scfile=/scratch/kocevski/941501/ft2_4FGL_J1135.7-0427_daily_bin873.fits outfile=/scratch/kocevski/941501/cmap_HighResolution_465609601_465868801_4FGL_J1135.7-0427_daily_bin873.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.73
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3034       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.0114       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.9504       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .19815E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .78060E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.3813       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.0012       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10570E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    29.689       1.0000         .10000E-03   10000.    
    15 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.691       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.4001       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.4015       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.7096       1.0000         .10000E-03   10000.    
    26 'norm      '    1.3080       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2231       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .99905       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=   5452.977     FROM MIGRAD    STATUS=CONVERGED    669 CALLS     3471 TOTAL
                     EDM=   .34E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3034        .69612       -.27804E-06    .36414E-04
   2  norm          .10000E-03    5.8351        .19124E-06** at limit **
   3  Prefactor     3.0117        10.245        .58555E-05    .32540E-04
   4  Prefactor     8.9505        22.511       -.14146E-06   -.45752E-04
   5  Prefactor     .10000E-03    17.361        .12538E-05** at limit **
   6  Prefactor     .10000E-03    4.5123       -.68430E-06** at limit **
   7  Prefactor     .10000E-03    26.902       -.29469E-05** at limit **
   8  norm          .10001E-03    9.0464        .85041E-06** at limit **
   9  Prefactor     8.3794        5.7569        .13570E-06    .52736E-04
  10  Prefactor     7.0028        12.120        .19525E-06   -.81898E-06
  11  norm          .10000E-03    26.573       -.27171E-05** at limit **
  12  Prefactor     .10000E-03    1.5840       -.16156E-07** at limit **
  13  Prefactor     .10000E-03    23.083       -.31163E-06** at limit **
  14  Prefactor     29.691        39.190       -.15033E-06    .10571E-05
  15  norm          .10000E-03    2.9478       -.12712E-07** at limit **
  16  Prefactor     29.691        7.3844       -.61101E-07   -.24186E-03
  17  Prefactor     5.4021        19.526        .13826E-06   -.87156E-05
  18  Prefactor     9.4007        17.337        .10267E-06   -.16798E-05
  19  Prefactor     .10000E-03    19.775        .14417E-05** at limit **
  20  Prefactor     .10000E-03    5.9154       -.25777E-06** at limit **
  21  Prefactor     .10000E-03    48.408        .24532E-05** at limit **
  22  Prefactor     .10000E-03    19.920        .13967E-05** at limit **
  23  Prefactor     .10000E-03    14.237       -.20417E-05** at limit **
  24  Prefactor     .10000E-03    20.097        .12413E-05** at limit **
  25  Prefactor     6.7104        11.282        .30563E-07   -.20821E-04
  26  norm          1.3080        2.0603        .19705E-08   -.40205E-04
  27  Normalizat    1.2230        .24045       -.49978E-06   -.81109E-04
  28  Prefactor     .99906        .17447       -.12930E-06   -.93720E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.30345
  norm       = 0.0001
  Prefactor  = 3.01167
  Prefactor  = 8.95053
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100006
  Prefactor  = 8.37944
  Prefactor  = 7.00276
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.691
  norm       = 0.0001
  Prefactor  = 29.6909
  Prefactor  = 5.40211
  Prefactor  = 9.40066
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.71044
  norm       = 1.30796
  Normalizat = 1.22299
  Prefactor  = 0.999062
 **********
 **   18 **HESSE 
 **********

 FCN=   5452.977     FROM HESSE     STATUS=OK           521 CALLS     3992 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3034        .69780        .39381E-04   -1.5480    
   2  norm          .10000E-03    5.8642        .17419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.0117        10.314        .11694E-02   -1.5361    
   4  Prefactor     8.9505        22.012        .13397E-03   -1.5110    
   5  Prefactor     .10000E-03    17.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.2582        .28515E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    26.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10001E-03    56.976        .38275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.3794        5.5512        .13487E-03   -1.5129    
  10  Prefactor     7.0028        12.103        .15162E-03   -1.5179    
  11  norm          .10000E-03    26.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.6601        .17867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    23.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     29.691        39.192        .73531E-04   -1.4618    
  15  norm          .10000E-03    2.9554        .12377E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     29.691        7.3726        .73528E-04   -1.4618    
  17  Prefactor     5.4021        19.468        .17293E-03   -1.5243    
  18  Prefactor     9.4007        17.331        .13070E-03   -1.5095    
  19  Prefactor     .10000E-03    19.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.9828        .17536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    49.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    19.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    14.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    20.190        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     6.7104        11.229        .15491E-03   -1.5190    
  26  norm          1.3080        2.0156        .12396E-03   -1.5479    
  27  Normalizat    1.2230        .28079        .29559E-03   -.85895    
  28  Prefactor     .99906        .20508        .23980E-03   -.92761    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61568e-10
Minuit parameter uncertainties:
  1  0.697803
  2  3.45357e-06
  3  10.3196
  4  22.0315
  5  2.87778e-05
  6  9.20241e-06
  7  6.66089e-05
  8  0.00121313
  9  5.55157
  10  12.107
  11  6.89631e-05
  12  7.29955e-06
  13  1.32368e-05
  14  39.2261
  15  5.56894e-08
  16  7.3728
  17  19.4908
  18  17.3405
  19  3.26986e-05
  20  3.57939e-06
  21  0.000284464
  22  3.33256e-05
  23  3.33042e-05
  24  4.24958e-05
  25  11.2324
  26  2.0157
  27  0.28114
  28  0.205237
Done.

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

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  1.324e-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:  9.991e-01  2.052e-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.223e+00  2.811e-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: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.18e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/941501/likelihoodResults_465609601_465868801_4FGL_J1135.7-0427_daily_bin873.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) = 5452.97719454
delta logL = -0.000205401497624

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5452.97699094
delta logL = -1.80714778253e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9780       1.0000          .0000       10.000    
     3 'Normalizat'    1.2230       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99906       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=   5452.977     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      283 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11350E-03    7.2650        .18142E-01** at limit **
   2  Index         2.7921        6.8127        .50000        .24084E-04
   3  Normalizat    1.2230        .39125E-02    .29559E-03    .32346E-04
   4  Prefactor     .99906        .29191E-02    .23980E-03   -.21917E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000113503
  Index      = 2.79209
  Normalizat = 1.223
  Prefactor  = 0.999059
 **********
 **   18 **HESSE 
 **********

 FCN=   5452.977     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      312 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11350E-03    414.13        .59334E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7921        5.6737        .50000       -.45736    
   3  Normalizat    1.2230        .30101E-01    .11824E-04   -.85895    
   4  Prefactor     .99906        .22458E-01    .47960E-04   -.92761    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.88304e-07
Minuit parameter uncertainties:
  1  0.150613
  2  734.359
  3  0.0301019
  4  0.0224585
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941501': 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): 102
logL (Free Index) = 5452.97699025
delta logL = -1.11181543616e-06

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  1.135e-04  1.506e-01  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.792e+00  7.344e+02  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:  9.991e-01  2.246e-02  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.223e+00  3.010e-02  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/941501/cmap_HighResolution_465609601_465868801_4FGL_J1135.7-0427_daily_bin873.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.18e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-09-04 04:56:41.703561', job_id='941501', GAL2='1.00', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1630756601.7', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-1.11e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='873' AND source_name='4FGL J1135.7-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:56:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 941501: <4FGL_J1135.7-0427_daily_bin873> in cluster <slac> Done

Job <4FGL_J1135.7-0427_daily_bin873> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep  4 04:41:09 2021
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 04:41:10 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:41:10 2021
Terminated at Sat Sep  4 04:56:42 2021
Results reported at Sat Sep  4 04:56:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.7-0427_daily_bin873 173.943 -4.4634 465609601 465868801 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 :                                   754.37 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             314.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            933 sec.

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

