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


Performing analysis on: 4FGL_J1135.7-0427_daily_bin755
RA = 173.943, Dec = -4.4634
tmin = 435024001, tmax = 435283201
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='940156', job_status='RUN', time_executed='2021-09-04 04:39:46.667378', time_epoch_executed='1630755586.67' WHERE source_name='4FGL J1135.7-0427' and cadence='daily' and bin_id='755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/940156

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/940156/ft1_4FGL_J1135.7-0427_daily_bin755.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/940156/ft2_4FGL_J1135.7-0427_daily_bin755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/940156/ft1_4FGL_J1135.7-0427_daily_bin755.fits outfile=/scratch/kocevski/940156/ft1_filteredMKT_4FGL_J1135.7-0427_daily_bin755.fits ra=173.943 dec=-4.4634 rad=12.0 tmin=435024001.0 tmax=435283201.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.17
user 4.93
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/940156/ft1_filtered_4FGL_J1135.7-0427_daily_bin755.fits" evtable="EVENTS" scfile=/scratch/kocevski/940156/ft2_4FGL_J1135.7-0427_daily_bin755.fits sctable="SC_DATA" outfile=/scratch/kocevski/940156/ltcube_435024001_435283201_4FGL_J1135.7-0427_daily_bin755.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/940156/ft2_4FGL_J1135.7-0427_daily_bin755.fits
.....................!
real 12.28
user 11.84
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/940156/ft1_filtered_4FGL_J1135.7-0427_daily_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/940156/ft2_4FGL_J1135.7-0427_daily_bin755.fits sctable="SC_DATA" expcube=/scratch/kocevski/940156/ltcube_435024001_435283201_4FGL_J1135.7-0427_daily_bin755.fits outfile=/scratch/kocevski/940156/expmap_435024001_435283201_4FGL_J1135.7-0427_daily_bin755.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/940156/ltcube_435024001_435283201_4FGL_J1135.7-0427_daily_bin755.fits
.....................!
real 194.20
user 187.33
sys 5.19

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/940156/ft1_filtered_4FGL_J1135.7-0427_daily_bin755.fits scfile=/scratch/kocevski/940156/ft2_4FGL_J1135.7-0427_daily_bin755.fits outfile=/scratch/kocevski/940156/cmap_435024001_435283201_4FGL_J1135.7-0427_daily_bin755.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.65
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/940156/ft1_filtered_4FGL_J1135.7-0427_daily_bin755.fits scfile=/scratch/kocevski/940156/ft2_4FGL_J1135.7-0427_daily_bin755.fits outfile=/scratch/kocevski/940156/cmap_HighResolution_435024001_435283201_4FGL_J1135.7-0427_daily_bin755.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.57
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/940156/ft1_filtered_4FGL_J1135.7-0427_daily_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/940156/ft2_4FGL_J1135.7-0427_daily_bin755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/940156/Model_4FGL_J1135.7-0427_daily_bin755.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/940156/ft1_filtered_4FGL_J1135.7-0427_daily_bin755.fits.....................!
real 52.69
user 51.14
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6136       1.0000         .10000E-03   10000.    
     2 'norm      '    7.8270       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.551       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .16200E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .22154       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .66638       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11779E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    26.299       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    33.490       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11066E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    17.916       1.0000         .10000E-03   10000.    
    24 'Prefactor '    49.043       1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.5170       1.0000         .10000E-03   10000.    
    26 'norm      '    1.7593       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .73723       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.3679       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=   5619.317     FROM MIGRAD    STATUS=CONVERGED    693 CALLS     3585 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6137        .88409       -.26149E-08   -.25920E-03
   2  norm          7.8273        7.0742        .57427E-06   -.70040E-04
   3  Prefactor     .10000E-03    5.2513        .19615E-07** at limit **
   4  Prefactor     12.564        17.684       -.24081E-06   -.16928E-03
   5  Prefactor     .10000E-03    7.5539       -.15059E-06** at limit **
   6  Prefactor     .10002E-03    4.1662        .12459E-05** at limit **
   7  Prefactor     .10000E-03    27.999       -.33160E-06** at limit **
   8  norm          .10000E-03    13.497       -.60909E-06** at limit **
   9  Prefactor     .10000E-03    1.3676        .46818E-07** at limit **
  10  Prefactor     .29331        7.0505        .17393E-05   -.59541E-03
  11  norm          .10000E-03    8.0826        .26649E-07** at limit **
  12  Prefactor     .66633        1.3854        .58527E-06    .10612E-02
  13  Prefactor     .10001E-03    102.28        .70917E-05** at limit **
  14  Prefactor     26.284        31.963       -.29661E-06   -.97051E-04
  15  norm          .10000E-03    2.3629        .57281E-07** at limit **
  16  Prefactor     .10000E-03    1.5502        .54057E-07** at limit **
  17  Prefactor     .10000E-03    15.250        .19595E-06** at limit **
  18  Prefactor     .10000E-03    22.814        .53037E-06** at limit **
  19  Prefactor     .10000E-03    27.049       -.26369E-06** at limit **
  20  Prefactor     .10000E-03    5.4894       -.51113E-06** at limit **
  21  Prefactor     33.480        19.054       -.94436E-06    .12483E-04
  22  Prefactor     .10004E-03    161.62       -.66822E-05** at limit **
  23  Prefactor     17.885        55.649       -.14192E-05   -.59922E-04
  24  Prefactor     49.050        31.808       -.59416E-06    .10638E-04
  25  Prefactor     4.5169        10.035        .64246E-05   -.11962E-03
  26  norm          1.7593        2.0528       -.45899E-06   -.31907E-04
  27  Normalizat    .73698        .24768        .15013E-05   -.29855E-03
  28  Prefactor     1.3680        .17642       -.82402E-06   -.30284E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.61367
  norm       = 7.82725
  Prefactor  = 0.0001
  Prefactor  = 12.5639
  Prefactor  = 0.0001
  Prefactor  = 0.000100018
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.293314
  norm       = 0.0001
  Prefactor  = 0.666329
  Prefactor  = 0.000100013
  Prefactor  = 26.2842
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.4796
  Prefactor  = 0.000100037
  Prefactor  = 17.8853
  Prefactor  = 49.0501
  Prefactor  = 4.51686
  norm       = 1.7593
  Normalizat = 0.73698
  Prefactor  = 1.36798
 **********
 **   18 **HESSE 
 **********

 FCN=   5619.317     FROM HESSE     STATUS=OK           517 CALLS     4102 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6137        .88338        .39440E-04   -1.5385    
   2  norm          7.8273        7.0732        .71663E-03   -1.5148    
   3  Prefactor     .10000E-03    5.2618        .16768E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.564        17.667        .11307E-03   -1.4999    
   5  Prefactor     .10000E-03    7.5718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10002E-03    11.418        .28624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    28.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    13.974        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.3712        .85580E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .29331        41.858        .36982E-02   -1.5600    
  11  norm          .10000E-03    8.0875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .66633        1.1153        .12768E-02   -1.5545    
  13  Prefactor     .10001E-03    106.15        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     26.284        31.940        .78116E-04   -1.4682    
  15  norm          .10000E-03    2.3694        .11251E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.5617        .91085E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    15.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    22.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    27.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.5026        .17137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     33.480        19.012        .69244E-04   -1.4550    
  22  Prefactor     .10004E-03    166.57        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     17.885        55.771        .94623E-04   -1.4862    
  24  Prefactor     49.050        31.762        .57261E-04   -1.4306    
  25  Prefactor     4.5169        9.9866        .94714E-03   -1.5283    
  26  norm          1.7593        2.0476        .10996E-03   -1.5443    
  27  Normalizat    .73698        .28388        .35902E-03   -1.0245    
  28  Prefactor     1.3680        .20587        .20786E-03   -.81308    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.97342e-09
Minuit parameter uncertainties:
  1  0.883388
  2  7.07398
  3  1.83585e-06
  4  17.6738
  5  8.44054e-07
  6  0.00091793
  7  0.000143417
  8  0.000129631
  9  2.78304e-06
  10  7.01169
  11  1.73111e-05
  12  1.11533
  13  0.00235943
  14  31.9605
  15  5.248e-08
  16  6.30998e-07
  17  2.53493e-05
  18  0.000221397
  19  5.85954e-05
  20  2.10623e-06
  21  19.0155
  22  0.00498152
  23  55.9343
  24  31.7733
  25  9.99027
  26  2.04765
  27  0.284449
  28  0.205991
Done.

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

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  2.359e-03  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.368e+00  2.060e-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:  7.370e-01  2.844e-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.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/940156/likelihoodResults_435024001_435283201_4FGL_J1135.7-0427_daily_bin755.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) = 5619.31692145
delta logL = -4.48299369964e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5619.31687665
delta logL = -3.12056727125e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7554       1.0000          .0000       10.000    
     3 'Normalizat'    .73698       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3680       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=   5619.317     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      250 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    63.048        .90712E-02** at limit **
   2  Index         2.7254        5.3685        .50000        .19589E-05
   3  Normalizat    .73698        .45181E-02    .81081E-01    .71330E-04
   4  Prefactor     1.3680        .34639E-02    .47023E-01    .61606E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100009
  Index      = 2.72536
  Normalizat = 0.736984
  Prefactor  = 1.36797
 **********
 **   18 **HESSE 
 **********

 FCN=   5619.317     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      281 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    1688.3        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7254        8.6066        .50000       -.47229    
   3  Normalizat    .73698        .23876E-01    .35901E-03   -1.0245    
   4  Prefactor     1.3680        .18346E-01    .20786E-03   -.81308    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.6636e-08
Minuit parameter uncertainties:
  1  0.00815223
  2  579.114
  3  0.023876
  4  0.0183464
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/940156': 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) = 5619.31687662
delta logL = -7.2841430665e-09

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  8.152e-03  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.725e+00  5.791e+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:  1.368e+00  1.835e-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:  7.370e-01  2.388e-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/940156/cmap_HighResolution_435024001_435283201_4FGL_J1135.7-0427_daily_bin755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.96e-03', job_status='DONE', photon_flux_upper_limit='1.14e-07', time_completed='2021-09-04 04:52:48.070487', job_id='940156', GAL2='1.37', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1630756368.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.37', dlogl='-7.28e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='755' AND source_name='4FGL J1135.7-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:52:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 940156: <4FGL_J1135.7-0427_daily_bin755> in cluster <slac> Done

Job <4FGL_J1135.7-0427_daily_bin755> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep  4 04:36:18 2021
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 04:36:20 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:36:20 2021
Terminated at Sat Sep  4 04:52:48 2021
Results reported at Sat Sep  4 04:52:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.7-0427_daily_bin755 173.943 -4.4634 435024001 435283201 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 :                                   778.00 sec.
    Max Memory :                                 1230 MB
    Average Memory :                             252.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   988 sec.
    Turnaround time :                            990 sec.

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

