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


Performing analysis on: 4FGL_J1135.7-0427_daily_bin1009
RA = 173.943, Dec = -4.4634
tmin = 500860801, tmax = 501120001
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='941724', job_status='RUN', time_executed='2021-09-04 04:43:59.400164', time_epoch_executed='1630755839.4' WHERE source_name='4FGL J1135.7-0427' and cadence='daily' and bin_id='1009'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941724

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941724/ft1_4FGL_J1135.7-0427_daily_bin1009.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941724/ft2_4FGL_J1135.7-0427_daily_bin1009.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941724/ft1_4FGL_J1135.7-0427_daily_bin1009.fits outfile=/scratch/kocevski/941724/ft1_filteredMKT_4FGL_J1135.7-0427_daily_bin1009.fits ra=173.943 dec=-4.4634 rad=12.0 tmin=500860801.0 tmax=501120001.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.55
user 4.28
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941724/ft1_filtered_4FGL_J1135.7-0427_daily_bin1009.fits" evtable="EVENTS" scfile=/scratch/kocevski/941724/ft2_4FGL_J1135.7-0427_daily_bin1009.fits sctable="SC_DATA" outfile=/scratch/kocevski/941724/ltcube_500860801_501120001_4FGL_J1135.7-0427_daily_bin1009.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/941724/ft2_4FGL_J1135.7-0427_daily_bin1009.fits
.....................!
real 12.28
user 11.92
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941724/ft1_filtered_4FGL_J1135.7-0427_daily_bin1009.fits evtable="EVENTS" scfile=/scratch/kocevski/941724/ft2_4FGL_J1135.7-0427_daily_bin1009.fits sctable="SC_DATA" expcube=/scratch/kocevski/941724/ltcube_500860801_501120001_4FGL_J1135.7-0427_daily_bin1009.fits outfile=/scratch/kocevski/941724/expmap_500860801_501120001_4FGL_J1135.7-0427_daily_bin1009.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/941724/ltcube_500860801_501120001_4FGL_J1135.7-0427_daily_bin1009.fits
.....................!
real 190.81
user 186.00
sys 4.44

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/941724/ft1_filtered_4FGL_J1135.7-0427_daily_bin1009.fits scfile=/scratch/kocevski/941724/ft2_4FGL_J1135.7-0427_daily_bin1009.fits outfile=/scratch/kocevski/941724/cmap_500860801_501120001_4FGL_J1135.7-0427_daily_bin1009.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.54
user 0.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/941724/ft1_filtered_4FGL_J1135.7-0427_daily_bin1009.fits evtable="EVENTS" scfile=/scratch/kocevski/941724/ft2_4FGL_J1135.7-0427_daily_bin1009.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/941724/Model_4FGL_J1135.7-0427_daily_bin1009.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/941724/ft1_filtered_4FGL_J1135.7-0427_daily_bin1009.fits.....................!
real 64.42
user 59.86
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2004       1.0000         .10000E-03   10000.    
     2 'norm      '    21.400       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.0043       1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.350       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.4067       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.4705       1.0000         .10000E-03   10000.    
    11 'norm      '    58.833       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.3946       1.0000         .10000E-03   10000.    
    13 'Prefactor '    80.523       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.5914       1.0000         .10000E-03   10000.    
    15 'norm      '    2.2153       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .24183       1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.854       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    16.105       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    13.693       1.0000         .10000E-03   10000.    
    26 'norm      '    1.9345       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .82644       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.2266       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=   6326.730     FROM MIGRAD    STATUS=CONVERGED    678 CALLS     3485 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2003        .55462        .29190E-07    .32929E-04
   2  norm          21.399        9.2681       -.37586E-06    .42506E-05
   3  Prefactor     5.0035        6.5969       -.71887E-06   -.98226E-04
   4  Prefactor     26.348        18.275        .12691E-05   -.62313E-04
   5  Prefactor     .10000E-03    8.9077        .46911E-05** at limit **
   6  Prefactor     .10000E-03    2.4417       -.37332E-06** at limit **
   7  Prefactor     .10000E-03    39.543       -.15694E-04** at limit **
   8  norm          .10000E-03    11.480       -.39144E-05** at limit **
   9  Prefactor     3.4079        8.1652        .13156E-04   -.44635E-04
  10  Prefactor     1.4672        12.974       -.37863E-05   -.39674E-03
  11  norm          58.820        49.462       -.86090E-05   -.96139E-04
  12  Prefactor     1.3945        1.3184        .42673E-07    .22216E-03
  13  Prefactor     80.511        46.648       -.49421E-05   -.25727E-04
  14  Prefactor     8.5885        28.934       -.10001E-04    .29960E-04
  15  norm          2.2428        7.7422        .50810E-05    .12017E-03
  16  Prefactor     .18224        3.2591       -.27739E-05    .15403E-02
  17  Prefactor     22.956        24.350        .21996E-05    .60597E-03
  18  Prefactor     .10000E-03    8.4245       -.39564E-05** at limit **
  19  Prefactor     .10000E-03    43.761        .23570E-04** at limit **
  20  Prefactor     .10000E-03    5.4403        .66214E-07** at limit **
  21  Prefactor     16.125        17.480       -.45092E-05    .19368E-03
  22  Prefactor     .10000E-03    21.023        .14435E-05** at limit **
  23  Prefactor     .10000E-03    19.182        .40324E-05** at limit **
  24  Prefactor     .10000E-03    11.631        .12597E-05** at limit **
  25  Prefactor     13.688        21.676        .40718E-05   -.12518E-04
  26  norm          1.9344        3.0380       -.85150E-06   -.30120E-03
  27  Normalizat    .82640        .23351       -.27321E-05    .35095E-03
  28  Prefactor     1.2268        .16314        .98546E-06    .34961E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.20029
  norm       = 21.399
  Prefactor  = 5.00349
  Prefactor  = 26.3484
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 3.4079
  Prefactor  = 1.46718
  norm       = 58.8201
  Prefactor  = 1.3945
  Prefactor  = 80.5106
  Prefactor  = 8.58853
  norm       = 2.24282
  Prefactor  = 0.182241
  Prefactor  = 22.9564
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.1251
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.6884
  norm       = 1.9344
  Normalizat = 0.826398
  Prefactor  = 1.22681
 **********
 **   18 **HESSE 
 **********

 FCN=   6326.730     FROM HESSE     STATUS=OK           523 CALLS     4008 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2003        .56263        .38204E-04   -1.5489    
   2  norm          21.399        9.2684        .86584E-04   -1.4782    
   3  Prefactor     5.0035        6.6119        .17976E-03   -1.5261    
   4  Prefactor     26.348        18.236        .78040E-04   -1.4681    
   5  Prefactor     .10000E-03    8.8914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.4690        .12135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    39.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    11.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.4079        7.8890        .21918E-03   -1.5339    
  10  Prefactor     1.4672        13.263        .35438E-03   -1.5466    
  11  norm          58.820        49.064        .52305E-04   -1.4173    
  12  Prefactor     1.3945        1.3408        .86207E-04   -1.5472    
  13  Prefactor     80.511        46.508        .44757E-04   -1.3911    
  14  Prefactor     8.5885        28.832        .13676E-03   -1.5122    
  15  norm          2.2428        7.8734        .27632E-03   -1.5408    
  16  Prefactor     .18224        52.084        .22372E-02   -1.5623    
  17  Prefactor     22.956        25.877        .83788E-04   -1.4749    
  18  Prefactor     .10000E-03    8.4270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    43.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.4772        .18114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     16.125        17.532        .99802E-04   -1.4905    
  22  Prefactor     .10000E-03    21.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    19.192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    11.647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     13.688        21.756        .10824E-03   -1.4968    
  26  norm          1.9344        3.0301        .14298E-03   -1.5430    
  27  Normalizat    .82640        .26833        .34639E-03   -.99097    
  28  Prefactor     1.2268        .18994        .21797E-03   -.85510    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.45887e-08
Minuit parameter uncertainties:
  1  0.562631
  2  9.26902
  3  6.61288
  4  18.2401
  5  0.000108371
  6  4.16329e-05
  7  6.95059e-05
  8  0.000386698
  9  7.89138
  10  8.8247
  11  49.0981
  12  1.34079
  13  46.5288
  14  28.8783
  15  7.87703
  16  6.16548
  17  25.8899
  18  3.85519e-06
  19  0.000142606
  20  3.24288e-06
  21  17.5377
  22  4.82862e-05
  23  1.35812e-06
  24  2.70812e-06
  25  21.7685
  26  3.03039
  27  0.268764
  28  0.190046
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.227e+00  1.900e-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:  8.264e-01  2.688e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.36
Ra Dec: 173.943 -4.463
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 1.52e-07 +/- 8.79e-08
Energy Flux (Fixed Index): 3.99e-05 +/- 2.31e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6326.72996274
delta logL = 0.000159125135724

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6326.72973921
delta logL = 0.000382661938602

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    79.309       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6156       1.0000          .0000       10.000    
     3 'Normalizat'    .82494       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2274       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=   6326.730     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      264 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     79.259        64.661        .45096E-04    .52991E-04
   2  Index         2.6147        .52740        .47133E-02    .48756E-03
   3  Normalizat    .82501        .25617        .34666E-03    .53062E-04
   4  Prefactor     1.2276        .18916        .21791E-03   -.12208E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 79.259
  Index      = 2.61473
  Normalizat = 0.825009
  Prefactor  = 1.22765
 **********
 **   18 **HESSE 
 **********

 FCN=   6326.730     FROM HESSE     STATUS=OK            25 CALLS      289 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     79.259        60.896        .90192E-05   -1.3925    
   2  Index         2.6147        .49623        .94266E-03   -.49730    
   3  Normalizat    .82501        .25599        .13866E-04   -.99148    
   4  Prefactor     1.2276        .18899        .87163E-05   -.85485    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.15549e-11
Minuit parameter uncertainties:
  1  60.9437
  2  0.497295
  3  0.256361
  4  0.189092
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941724': 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) = 6326.72972867
delta logL = 0.000393200145481

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.228e+00  1.891e-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:  8.250e-01  2.564e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.49
Ra Dec: 173.943 -4.463
Photon Index (Free Index): 2.61 +/- 0.50
Photon Flux (Free Index): 1.53e-07 +/- 8.32e-08
Energy Flux (Free Index): 3.96e-05 +/- 2.23e-05

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/941724/cmap_HighResolution_500860801_501120001_4FGL_J1135.7-0427_daily_bin1009.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.52e-07', energy_flux2='3.96e-05', photon_flux_error='8.79e-08', dlogl='3.93e-04', energy_flux='3.99e-05', photon_flux2='1.53e-07', job_status='DONE', time_completed='2021-09-04 04:56:32.021751', photon_index_error2='0.50', photon_index2='2.61', ts='5.36', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', energy_flux_error2='2.23e-05', EG='0.83', time_epoch_completed='1630756592.02', return_code='0', job_id='941724', GAL2='1.23', EG2='0.83', return_code2='0', energy_flux_error='2.31e-05', photon_flux_error2='8.32e-08', ts2='5.49', photon_index='2.60' WHERE bin_id='1009' AND source_name='4FGL J1135.7-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:56:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 941724: <4FGL_J1135.7-0427_daily_bin1009> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.7-0427_daily_bin1009 173.943 -4.4634 500860801 501120001 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 :                                   742.31 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             326.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   907 sec.
    Turnaround time :                            909 sec.

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

