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


Performing analysis on: 4FGL_J1135.7-0427_daily_bin517
RA = 173.943, Dec = -4.4634
tmin = 373334401, tmax = 373593601
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='938538', job_status='RUN', time_executed='2021-09-04 04:33:53.861643', time_epoch_executed='1630755233.86' WHERE source_name='4FGL J1135.7-0427' and cadence='daily' and bin_id='517'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/938538

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/938538/ft1_4FGL_J1135.7-0427_daily_bin517.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/938538/ft2_4FGL_J1135.7-0427_daily_bin517.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/938538/ft1_4FGL_J1135.7-0427_daily_bin517.fits outfile=/scratch/kocevski/938538/ft1_filteredMKT_4FGL_J1135.7-0427_daily_bin517.fits ra=173.943 dec=-4.4634 rad=12.0 tmin=373334401.0 tmax=373593601.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.66
user 4.34
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/938538/ft1_filtered_4FGL_J1135.7-0427_daily_bin517.fits" evtable="EVENTS" scfile=/scratch/kocevski/938538/ft2_4FGL_J1135.7-0427_daily_bin517.fits sctable="SC_DATA" outfile=/scratch/kocevski/938538/ltcube_373334401_373593601_4FGL_J1135.7-0427_daily_bin517.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/938538/ft2_4FGL_J1135.7-0427_daily_bin517.fits
.....................!
real 12.37
user 11.95
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/938538/ft1_filtered_4FGL_J1135.7-0427_daily_bin517.fits evtable="EVENTS" scfile=/scratch/kocevski/938538/ft2_4FGL_J1135.7-0427_daily_bin517.fits sctable="SC_DATA" expcube=/scratch/kocevski/938538/ltcube_373334401_373593601_4FGL_J1135.7-0427_daily_bin517.fits outfile=/scratch/kocevski/938538/expmap_373334401_373593601_4FGL_J1135.7-0427_daily_bin517.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/938538/ltcube_373334401_373593601_4FGL_J1135.7-0427_daily_bin517.fits
.....................!
real 190.01
user 185.75
sys 3.89

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/938538/ft1_filtered_4FGL_J1135.7-0427_daily_bin517.fits scfile=/scratch/kocevski/938538/ft2_4FGL_J1135.7-0427_daily_bin517.fits outfile=/scratch/kocevski/938538/cmap_373334401_373593601_4FGL_J1135.7-0427_daily_bin517.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/938538/ft1_filtered_4FGL_J1135.7-0427_daily_bin517.fits scfile=/scratch/kocevski/938538/ft2_4FGL_J1135.7-0427_daily_bin517.fits outfile=/scratch/kocevski/938538/cmap_HighResolution_373334401_373593601_4FGL_J1135.7-0427_daily_bin517.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.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/938538/ft1_filtered_4FGL_J1135.7-0427_daily_bin517.fits evtable="EVENTS" scfile=/scratch/kocevski/938538/ft2_4FGL_J1135.7-0427_daily_bin517.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/938538/Model_4FGL_J1135.7-0427_daily_bin517.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/938538/ft1_filtered_4FGL_J1135.7-0427_daily_bin517.fits.....................!
real 59.58
user 58.27
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6696       1.0000         .10000E-03   10000.    
     2 'norm      '    7.2715       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.5767       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .15268E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    41.349       1.0000         .10000E-03   10000.    
     8 'norm      '    27.354       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.8519       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .43877       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.7546       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    52.937       1.0000         .10000E-03   10000.    
    15 'norm      '    6.0666       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.4164       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.3300       1.0000         .10000E-03   10000.    
    21 'Prefactor '    22.171       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    20.318       1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.4262       1.0000         .10000E-03   10000.    
    26 'norm      '    1.4531       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.3688       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .89828       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=   6332.453     FROM MIGRAD    STATUS=CONVERGED    724 CALLS     3511 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6693        .85477        .85737E-07   -.37690E-03
   2  norm          7.2699        6.8705        .15728E-06   -.91990E-04
   3  Prefactor     6.5742        12.818        .79234E-07   -.74895E-04
   4  Prefactor     .10000E-03    35.335        .28997E-05** at limit **
   5  Prefactor     .10000E-03    9.6925       -.17479E-06** at limit **
   6  Prefactor     .10000E-03    5.1488       -.55156E-07** at limit **
   7  Prefactor     41.368        68.728        .15812E-04   -.11408E-04
   8  norm          27.348        13.348        .58889E-06   -.10598E-03
   9  Prefactor     4.8471        6.3564        .21537E-05   -.43688E-03
  10  Prefactor     .24373        8.7804       -.76886E-06    .19790E-03
  11  norm          .10000E-03    12.818        .17095E-05** at limit **
  12  Prefactor     2.7524        2.5047        .20082E-06   -.45254E-03
  13  Prefactor     .10000E-03    27.295       -.12814E-05** at limit **
  14  Prefactor     53.154        54.536        .26182E-05    .33622E-04
  15  norm          6.0650        5.8772       -.17933E-05   -.20614E-03
  16  Prefactor     .10000E-03    2.5996       -.92915E-07** at limit **
  17  Prefactor     3.4106        22.340        .17759E-05   -.67689E-04
  18  Prefactor     .10000E-03    6.6335       -.77890E-07** at limit **
  19  Prefactor     .10000E-03    17.791       -.42405E-05** at limit **
  20  Prefactor     5.3286        5.0932        .10477E-06   -.52916E-04
  21  Prefactor     22.154        18.694        .12999E-04   -.24777E-04
  22  Prefactor     .10000E-03    14.094       -.39906E-05** at limit **
  23  Prefactor     .10000E-03    16.630        .63095E-05** at limit **
  24  Prefactor     20.310        18.755        .43134E-05   -.29853E-04
  25  Prefactor     5.4222        10.870       -.65605E-06   -.11651E-03
  26  norm          1.4529        1.8904       -.43376E-07   -.21873E-03
  27  Normalizat    1.3696        .23153       -.52311E-05    .15227E-03
  28  Prefactor     .89804        .15497       -.64132E-06   -.14812E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66928
  norm       = 7.26993
  Prefactor  = 6.57418
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.3676
  norm       = 27.3481
  Prefactor  = 4.84715
  Prefactor  = 0.243733
  norm       = 0.0001
  Prefactor  = 2.75239
  Prefactor  = 0.0001
  Prefactor  = 53.1537
  norm       = 6.06499
  Prefactor  = 0.0001
  Prefactor  = 3.41057
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.32857
  Prefactor  = 22.1538
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.3102
  Prefactor  = 5.42222
  norm       = 1.45294
  Normalizat = 1.3696
  Prefactor  = 0.898037
 **********
 **   18 **HESSE 
 **********

 FCN=   6332.453     FROM HESSE     STATUS=OK           523 CALLS     4034 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6693        .91087        .41881E-04   -1.5450    
   2  norm          7.2699        6.8737        .14874E-03   -1.5169    
   3  Prefactor     6.5742        13.761        .15648E-03   -1.5195    
   4  Prefactor     .10000E-03    35.815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.7472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.2552        .35159E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     41.368        68.608        .62339E-04   -1.4421    
   8  norm          27.348        13.297        .76598E-04   -1.4662    
   9  Prefactor     4.8471        6.3042        .18262E-03   -1.5268    
  10  Prefactor     .24373        219.31        .41862E-02   -1.5609    
  11  norm          .10000E-03    12.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.7524        2.5011        .11430E-03   -1.5376    
  13  Prefactor     .10000E-03    27.385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     53.154        56.161        .55126E-04   -1.4249    
  15  norm          6.0650        5.8803        .16301E-03   -1.5215    
  16  Prefactor     .10000E-03    2.6747        .24982E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.4106        22.208        .21886E-03   -1.5339    
  18  Prefactor     .10000E-03    6.6349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    17.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.3286        5.0928        .17091E-03   -1.5246    
  21  Prefactor     22.154        18.745        .85066E-04   -1.4766    
  22  Prefactor     .10000E-03    14.117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    16.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     20.310        18.742        .88858E-04   -1.4806    
  25  Prefactor     5.4222        10.870        .17250E-03   -1.5242    
  26  norm          1.4529        1.8767        .11593E-03   -1.5467    
  27  Normalizat    1.3696        .27183        .28635E-03   -.81512    
  28  Prefactor     .89804        .17953        .24928E-03   -.96210    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.2324e-09
Minuit parameter uncertainties:
  1  0.910877
  2  6.87449
  3  13.7675
  4  0.000363084
  5  3.11369e-05
  6  1.79515e-05
  7  68.7394
  8  13.2988
  9  6.30503
  10  14.6733
  11  5.4997e-05
  12  2.50118
  13  0.000144079
  14  56.2174
  15  5.88087
  16  1.0201e-05
  17  17.4152
  18  1.34565e-06
  19  8.21543e-05
  20  5.09318
  21  18.7496
  22  5.55731e-05
  23  1.46957e-05
  24  18.7478
  25  10.8743
  26  1.87677
  27  0.272117
  28  0.179648
Done.

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

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  1.441e-04  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:  8.980e-01  1.796e-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.370e+00  2.721e-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.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/938538/likelihoodResults_373334401_373593601_4FGL_J1135.7-0427_daily_bin517.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) = 6332.4530949
delta logL = -0.000173977771738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6332.45292127
delta logL = -3.44904947269e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10254E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5181       1.0000          .0000       10.000    
     3 'Normalizat'    1.3696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89804       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=   6332.453     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      273 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    6735.2        .18142E-02** at limit **
   2  Index         2.5555        5.1285        .50000       -.15234E-04
   3  Normalizat    1.3696        .93915E-01    .28636E-03   -.99610E-04
   4  Prefactor     .89804        .68259E-01    .24928E-03   -.27591E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Index      = 2.55554
  Normalizat = 1.3696
  Prefactor  = 0.898041
 **********
 **   18 **HESSE 
 **********

 FCN=   6332.453     FROM HESSE     STATUS=OK            29 CALLS      302 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    30.662        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5555        6.2746        .50000       -.51082    
   3  Normalizat    1.3696        .24286        .11454E-04   -.81512    
   4  Prefactor     .89804        .17660        .99714E-05   -.96210    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.54761e-10
Minuit parameter uncertainties:
  1  0.000847756
  2  4.84298
  3  0.243063
  4  0.176716
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/938538': 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) = 6332.45292109
delta logL = -1.64346602105e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  8.980e-01  1.767e-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.370e+00  2.431e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/938538/cmap_HighResolution_373334401_373593601_4FGL_J1135.7-0427_daily_bin517.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.06e-03', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2021-09-04 04:47:52.976953', job_id='938538', GAL2='0.90', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1630756072.98', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='-1.64e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='517' AND source_name='4FGL J1135.7-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:47:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 938538: <4FGL_J1135.7-0427_daily_bin517> in cluster <slac> Done

Job <4FGL_J1135.7-0427_daily_bin517> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep  4 04:31:15 2021
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 04:31:17 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:31:17 2021
Terminated at Sat Sep  4 04:47:53 2021
Results reported at Sat Sep  4 04:47:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.7-0427_daily_bin517 173.943 -4.4634 373334401 373593601 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 :                                   837.42 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             314.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   996 sec.
    Turnaround time :                            998 sec.

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

