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


Performing analysis on: 4FGL_J1135.7-0427_daily_bin1107
RA = 173.943, Dec = -4.4634
tmin = 526262401, tmax = 526521601
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='941907', job_status='RUN', time_executed='2021-09-04 04:42:06.073145', time_epoch_executed='1630755726.07' WHERE source_name='4FGL J1135.7-0427' and cadence='daily' and bin_id='1107'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941907

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941907/ft1_4FGL_J1135.7-0427_daily_bin1107.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941907/ft2_4FGL_J1135.7-0427_daily_bin1107.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941907/ft1_4FGL_J1135.7-0427_daily_bin1107.fits outfile=/scratch/kocevski/941907/ft1_filteredMKT_4FGL_J1135.7-0427_daily_bin1107.fits ra=173.943 dec=-4.4634 rad=12.0 tmin=526262401.0 tmax=526521601.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 4.03
user 3.77
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/941907/ft2_4FGL_J1135.7-0427_daily_bin1107.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/941907/ft1_filteredMKT_4FGL_J1135.7-0427_daily_bin1107.fits evtable="EVENTS" outfile="/scratch/kocevski/941907/ft1_filtered_4FGL_J1135.7-0427_daily_bin1107.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.53
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941907/ft1_filtered_4FGL_J1135.7-0427_daily_bin1107.fits" evtable="EVENTS" scfile=/scratch/kocevski/941907/ft2_4FGL_J1135.7-0427_daily_bin1107.fits sctable="SC_DATA" outfile=/scratch/kocevski/941907/ltcube_526262401_526521601_4FGL_J1135.7-0427_daily_bin1107.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/941907/ft2_4FGL_J1135.7-0427_daily_bin1107.fits
.....................!
real 12.38
user 12.01
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941907/ft1_filtered_4FGL_J1135.7-0427_daily_bin1107.fits evtable="EVENTS" scfile=/scratch/kocevski/941907/ft2_4FGL_J1135.7-0427_daily_bin1107.fits sctable="SC_DATA" expcube=/scratch/kocevski/941907/ltcube_526262401_526521601_4FGL_J1135.7-0427_daily_bin1107.fits outfile=/scratch/kocevski/941907/expmap_526262401_526521601_4FGL_J1135.7-0427_daily_bin1107.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/941907/ltcube_526262401_526521601_4FGL_J1135.7-0427_daily_bin1107.fits
.....................!
real 192.60
user 186.71
sys 5.39

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/941907/ft1_filtered_4FGL_J1135.7-0427_daily_bin1107.fits scfile=/scratch/kocevski/941907/ft2_4FGL_J1135.7-0427_daily_bin1107.fits outfile=/scratch/kocevski/941907/cmap_526262401_526521601_4FGL_J1135.7-0427_daily_bin1107.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941907/ft1_filtered_4FGL_J1135.7-0427_daily_bin1107.fits scfile=/scratch/kocevski/941907/ft2_4FGL_J1135.7-0427_daily_bin1107.fits outfile=/scratch/kocevski/941907/cmap_HighResolution_526262401_526521601_4FGL_J1135.7-0427_daily_bin1107.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/941907/ft1_filtered_4FGL_J1135.7-0427_daily_bin1107.fits evtable="EVENTS" scfile=/scratch/kocevski/941907/ft2_4FGL_J1135.7-0427_daily_bin1107.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/941907/Model_4FGL_J1135.7-0427_daily_bin1107.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/941907/ft1_filtered_4FGL_J1135.7-0427_daily_bin1107.fits.....................!
real 50.57
user 48.63
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .84813       1.0000         .10000E-03   10000.    
     2 'norm      '    .10229E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.3765       1.0000         .10000E-03   10000.    
     4 'Prefactor '    36.752       1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.234       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12179E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.6372       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    14.459       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.2960       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .20629E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.7971       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    74.476       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .36285E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    64.039       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.0841       1.0000         .10000E-03   10000.    
    26 'norm      '    2.1829       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1558       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .97570       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=   4832.278     FROM MIGRAD    STATUS=CONVERGED    706 CALLS     3015 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .84851        .88040        .13685E-06   -.27338E-03
   2  norm          .10000E-03    10.520       -.33316E-05** at limit **
   3  Prefactor     2.3608        39.637       -.38536E-05   -.65713E-04
   4  Prefactor     36.744        26.050        .63494E-07    .45520E-04
   5  Prefactor     25.235        17.555       -.63095E-06   -.28536E-04
   6  Prefactor     .10000E-03    2.5789       -.16453E-06** at limit **
   7  Prefactor     .10000E-03    181.46       -.45016E-05** at limit **
   8  norm          3.6367        7.1217        .20104E-05   -.13561E-02
   9  Prefactor     .10000E-03    2.2056       -.12463E-06** at limit **
  10  Prefactor     .10000E-03    5.6438       -.17778E-06** at limit **
  11  norm          14.459        19.411       -.22785E-07    .12762E-04
  12  Prefactor     1.2960        2.6361        .13194E-07   -.18046E-03
  13  Prefactor     .10000E-03    8.1256        .88875E-07** at limit **
  14  Prefactor     .10000E-03    14.137        .16562E-05** at limit **
  15  norm          .10002E-03    8.4959       -.11527E-06** at limit **
  16  Prefactor     2.8086        5.5887        .77203E-06    .63308E-04
  17  Prefactor     .10000E-03    16.544       -.39752E-05** at limit **
  18  Prefactor     .10000E-03    12.594        .15196E-05** at limit **
  19  Prefactor     74.461        55.524       -.54155E-05   -.11961E-03
  20  Prefactor     .10000E-03    5.8486        .27030E-07** at limit **
  21  Prefactor     .10000E-03    40.456       -.98048E-05** at limit **
  22  Prefactor     64.041        43.670        .10841E-05    .90317E-04
  23  Prefactor     .10000E-03    20.102        .31591E-05** at limit **
  24  Prefactor     .10000E-03    10.257        .17701E-05** at limit **
  25  Prefactor     4.0845        7.9334        .10394E-05   -.96707E-03
  26  norm          2.1831        2.0880       -.70104E-07    .37441E-04
  27  Normalizat    1.1562        .24997        .28328E-06    .15032E-03
  28  Prefactor     .97538        .17389       -.65679E-07    .20759E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.848511
  norm       = 0.0001
  Prefactor  = 2.36078
  Prefactor  = 36.7436
  Prefactor  = 25.2348
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 3.63673
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.4593
  Prefactor  = 1.29599
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100016
  Prefactor  = 2.80864
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 74.4607
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 64.0412
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 4.08447
  norm       = 2.18307
  Normalizat = 1.1562
  Prefactor  = 0.975377
 **********
 **   18 **HESSE 
 **********

 FCN=   4832.278     FROM HESSE     STATUS=OK           523 CALLS     3538 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .84851        .89075        .52891E-04   -1.5524    
   2  norm          .10000E-03    10.945        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.3608        42.304        .26575E-03   -1.5401    
   4  Prefactor     36.744        26.155        .66109E-04   -1.4495    
   5  Prefactor     25.235        17.578        .79745E-04   -1.4703    
   6  Prefactor     .10000E-03    2.5897        .10898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    183.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.6367        9.3131        .10592E-02   -1.5327    
   9  Prefactor     .10000E-03    2.2160        .10075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.7010        .16128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.459        19.417        .10534E-03   -1.4947    
  12  Prefactor     1.2960        2.5969        .15310E-03   -1.5480    
  13  Prefactor     .10000E-03    8.1285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10002E-03    10.750        .51876E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.8086        5.5334        .19329E-03   -1.5373    
  17  Prefactor     .10000E-03    16.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     74.461        55.678        .23262E-03   -1.3980    
  20  Prefactor     .10000E-03    5.8836        .16416E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    41.575        .42615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     64.041        43.760        .50147E-04   -1.4106    
  23  Prefactor     .10000E-03    20.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    10.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     4.0845        8.6776        .99748E-03   -1.5304    
  26  norm          2.1831        2.0955        .94035E-04   -1.5412    
  27  Normalizat    1.1562        .29781        .29118E-03   -.87967    
  28  Prefactor     .97538        .20787        .22698E-03   -.93555    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.78556e-09
Minuit parameter uncertainties:
  1  0.890768
  2  0.000131917
  3  20.0031
  4  26.1629
  5  17.5816
  6  3.38613e-06
  7  0.000930116
  8  9.31683
  9  3.2648e-06
  10  9.21757e-06
  11  19.4253
  12  2.59714
  13  3.68711e-06
  14  9.4853e-05
  15  0.000825238
  16  5.53436
  17  0.000253701
  18  8.16625e-05
  19  55.7169
  20  2.29136e-06
  21  0.000437075
  22  43.7821
  23  0.000217777
  24  8.81214e-05
  25  8.68029
  26  2.0956
  27  0.298249
  28  0.208039
Done.

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

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  3.687e-06  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.754e-01  2.080e-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.156e+00  2.982e-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: 8.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/941907/likelihoodResults_526262401_526521601_4FGL_J1135.7-0427_daily_bin1107.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) = 4832.27830856
delta logL = -0.000584057648666

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4832.27772613
delta logL = -1.62071683008e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11911E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5783       1.0000          .0000       10.000    
     3 'Normalizat'    1.1565       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97517       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=   4832.278     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      253 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.088        .18142E-01** at limit **
   2  Index         1.9331        5.6927        .50000        .39472E-06
   3  Normalizat    1.1562        .10283E-01    .29118E-03   -.28234E-03
   4  Prefactor     .97538        .74751E-02    .22698E-03   -.35970E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.93307
  Normalizat = 1.1562
  Prefactor  = 0.975376
 **********
 **   18 **HESSE 
 **********

 FCN=   4832.278     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      282 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    253.51        .22866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9331        6.9865        .50000       -.66034    
   3  Normalizat    1.1562        .29620E-01    .58235E-04   -.87967    
   4  Prefactor     .97538        .21533E-01    .45397E-04   -.93555    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.16781e-09
Minuit parameter uncertainties:
  1  2.56265e-05
  2  914.708
  3  0.0296209
  4  0.021533
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941907': 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) = 4832.27772276
delta logL = 1.74393608177e-06

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  2.563e-05  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  1.933e+00  9.147e+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.754e-01  2.153e-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.156e+00  2.962e-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/941907/cmap_HighResolution_526262401_526521601_4FGL_J1135.7-0427_daily_bin1107.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.33e-03', job_status='DONE', photon_flux_upper_limit='8.09e-08', time_completed='2021-09-04 04:54:13.307114', job_id='941907', GAL2='0.98', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1630756453.31', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.74e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1107' AND source_name='4FGL J1135.7-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:54:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 941907: <4FGL_J1135.7-0427_daily_bin1107> in cluster <slac> Done

Job <4FGL_J1135.7-0427_daily_bin1107> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep  4 04:41:34 2021
Job was executed on host(s) <bullet0212>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 04:41:36 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:36 2021
Terminated at Sat Sep  4 04:54:14 2021
Results reported at Sat Sep  4 04:54:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.7-0427_daily_bin1107 173.943 -4.4634 526262401 526521601 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 :                                   681.14 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             312.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            760 sec.

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

