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


Performing analysis on: 4FGL_J1135.7-0427_daily_bin1036
RA = 173.943, Dec = -4.4634
tmin = 507859201, tmax = 508118401
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='941773', job_status='RUN', time_executed='2021-09-04 04:41:55.265240', time_epoch_executed='1630755715.27' WHERE source_name='4FGL J1135.7-0427' and cadence='daily' and bin_id='1036'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941773

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941773/ft1_4FGL_J1135.7-0427_daily_bin1036.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941773/ft2_4FGL_J1135.7-0427_daily_bin1036.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941773/ft1_4FGL_J1135.7-0427_daily_bin1036.fits outfile=/scratch/kocevski/941773/ft1_filteredMKT_4FGL_J1135.7-0427_daily_bin1036.fits ra=173.943 dec=-4.4634 rad=12.0 tmin=507859201.0 tmax=508118401.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.15
user 3.92
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941773/ft1_filtered_4FGL_J1135.7-0427_daily_bin1036.fits" evtable="EVENTS" scfile=/scratch/kocevski/941773/ft2_4FGL_J1135.7-0427_daily_bin1036.fits sctable="SC_DATA" outfile=/scratch/kocevski/941773/ltcube_507859201_508118401_4FGL_J1135.7-0427_daily_bin1036.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/941773/ft2_4FGL_J1135.7-0427_daily_bin1036.fits
.....................!
real 11.75
user 11.35
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941773/ft1_filtered_4FGL_J1135.7-0427_daily_bin1036.fits evtable="EVENTS" scfile=/scratch/kocevski/941773/ft2_4FGL_J1135.7-0427_daily_bin1036.fits sctable="SC_DATA" expcube=/scratch/kocevski/941773/ltcube_507859201_508118401_4FGL_J1135.7-0427_daily_bin1036.fits outfile=/scratch/kocevski/941773/expmap_507859201_508118401_4FGL_J1135.7-0427_daily_bin1036.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/941773/ltcube_507859201_508118401_4FGL_J1135.7-0427_daily_bin1036.fits
.....................!
real 191.32
user 185.71
sys 5.28

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/941773/ft1_filtered_4FGL_J1135.7-0427_daily_bin1036.fits scfile=/scratch/kocevski/941773/ft2_4FGL_J1135.7-0427_daily_bin1036.fits outfile=/scratch/kocevski/941773/cmap_507859201_508118401_4FGL_J1135.7-0427_daily_bin1036.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941773/ft1_filtered_4FGL_J1135.7-0427_daily_bin1036.fits scfile=/scratch/kocevski/941773/ft2_4FGL_J1135.7-0427_daily_bin1036.fits outfile=/scratch/kocevski/941773/cmap_HighResolution_507859201_508118401_4FGL_J1135.7-0427_daily_bin1036.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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/941773/ft1_filtered_4FGL_J1135.7-0427_daily_bin1036.fits evtable="EVENTS" scfile=/scratch/kocevski/941773/ft2_4FGL_J1135.7-0427_daily_bin1036.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/941773/Model_4FGL_J1135.7-0427_daily_bin1036.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/941773/ft1_filtered_4FGL_J1135.7-0427_daily_bin1036.fits.....................!
real 58.56
user 57.01
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0693       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.4121       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10335E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11292E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    48.489       1.0000         .10000E-03   10000.    
     8 'norm      '    3.1725       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.5110       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .69203E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.1277       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.6230       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10836E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.3966       1.0000         .10000E-03   10000.    
    23 'Prefactor '    24.418       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    9.6611       1.0000         .10000E-03   10000.    
    26 'norm      '    6.8450       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.3420       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .78416       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=   6041.013     FROM MIGRAD    STATUS=CONVERGED    675 CALLS     3486 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0693        .90871       -.11154E-07    .80772E-04
   2  norm          .10000E-03    5.3156       -.61258E-07** at limit **
   3  Prefactor     7.4108        14.489        .28443E-07    .80921E-05
   4  Prefactor     .10000E-03    40.001        .46922E-06** at limit **
   5  Prefactor     .10000E-03    4.8055        .12164E-06** at limit **
   6  Prefactor     .10000E-03    5.0900       -.82906E-06** at limit **
   7  Prefactor     48.503        46.770        .79292E-07    .47942E-04
   8  norm          3.1740        8.2578        .81705E-06    .33838E-04
   9  Prefactor     7.5115        5.3250       -.57232E-07    .16208E-03
  10  Prefactor     .10000E-03    5.6664       -.35916E-06** at limit **
  11  norm          .10000E-03    40.176        .19361E-06** at limit **
  12  Prefactor     .10000E-03    1.3337       -.85248E-07** at limit **
  13  Prefactor     .10000E-03    20.800       -.13476E-07** at limit **
  14  Prefactor     .10000E-03    13.182       -.66785E-07** at limit **
  15  norm          .10000E-03    3.9098        .54974E-07** at limit **
  16  Prefactor     8.1286        5.3140       -.46704E-07   -.17810E-03
  17  Prefactor     .10000E-03    16.929        .11725E-06** at limit **
  18  Prefactor     .10000E-03    21.220       -.96188E-07** at limit **
  19  Prefactor     3.5645        270.14        .17530E-04    .10666E-04
  20  Prefactor     .10000E-03    3.3378        .61470E-07** at limit **
  21  Prefactor     .10000E-03    49.177        .22971E-05** at limit **
  22  Prefactor     8.4945        157.50       -.15072E-04   -.33100E-05
  23  Prefactor     24.438        44.450        .14970E-06    .41631E-04
  24  Prefactor     .10000E-03    22.305       -.51521E-07** at limit **
  25  Prefactor     9.6601        10.339        .33626E-07   -.54455E-05
  26  norm          6.8445        3.1993        .14830E-07   -.13451E-04
  27  Normalizat    1.3421        .21644       -.65023E-06    .66453E-04
  28  Prefactor     .78407        .14783        .23401E-06    .73769E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.06934
  norm       = 0.0001
  Prefactor  = 7.41078
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 48.503
  norm       = 3.17404
  Prefactor  = 7.51151
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.1286
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.56445
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.49447
  Prefactor  = 24.4379
  Prefactor  = 0.0001
  Prefactor  = 9.66009
  norm       = 6.84453
  Normalizat = 1.34215
  Prefactor  = 0.784066
 **********
 **   18 **HESSE 
 **********

 FCN=   6041.013     FROM HESSE     STATUS=OK           521 CALLS     4007 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0693        .90905        .54151E-04   -1.5501    
   2  norm          .10000E-03    5.4304        .17498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.4108        14.906        .14732E-03   -1.5163    
   4  Prefactor     .10000E-03    41.269        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.8139        .16640E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.288        .30982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     48.503        46.753        .28793E-03   -1.4314    
   8  norm          3.1740        8.4339        .11376E-02   -1.5352    
   9  Prefactor     7.5115        5.2622        .13879E-03   -1.5160    
  10  Prefactor     .10000E-03    20.510        .35421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    40.370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.3666        .17504E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    20.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.9290        .14992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.1286        5.2788        .64482E-03   -1.5138    
  17  Prefactor     .10000E-03    17.026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    21.540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.5645        270.82        .21226E-03   -1.5330    
  20  Prefactor     .10000E-03    3.3449        .13863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    51.285        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.4945        162.17        .13835E-03   -1.5125    
  23  Prefactor     24.438        44.547        .81064E-04   -1.4719    
  24  Prefactor     .10000E-03    22.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     9.6601        10.347        .12893E-03   -1.5086    
  26  norm          6.8445        3.2005        .89542E-04   -1.5185    
  27  Normalizat    1.3421        .24865        .26635E-03   -.82317    
  28  Prefactor     .78407        .17249        .23969E-03   -1.0032    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.84587e-10
Minuit parameter uncertainties:
  1  0.909057
  2  2.51894e-06
  3  14.9131
  4  0.000282795
  5  1.86686e-06
  6  0.000316204
  7  46.7886
  8  8.43705
  9  5.26253
  10  0.000500576
  11  0.000270759
  12  1.23937e-06
  13  1.87936e-05
  14  5.61845e-05
  15  3.45182e-07
  16  5.27908
  17  4.22829e-05
  18  1.09407e-05
  19  62.434
  20  1.42833e-06
  21  1.60118e-05
  22  74.4646
  23  44.6078
  24  2.41165e-05
  25  10.3485
  26  3.20056
  27  0.248874
  28  0.17261
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  7.841e-01  1.726e-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.342e+00  2.489e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 173.943 -4.463
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/941773/likelihoodResults_507859201_508118401_4FGL_J1135.7-0427_daily_bin1036.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) = 6041.0135673
delta logL = -0.00022834176616

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6041.01333861
delta logL = 3.50805748894e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0899       1.0000          .0000       10.000    
     3 'Normalizat'    1.3421       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78407       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=   6041.013     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      244 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.496        .90712E-02** at limit **
   2  Index         3.0935        8.3231        .50000       -.13341E-05
   3  Normalizat    1.3421        .45335E-02    .60225E-01    .20987E-04
   4  Prefactor     .78407        .32293E-02    .43510E-01    .23438E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.09353
  Normalizat = 1.34215
  Prefactor  = 0.784067
 **********
 **   18 **HESSE 
 **********

 FCN=   6041.013     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      277 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    147.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0935        8.2777        .50000       -.39119    
   3  Normalizat    1.3421        .13087E-01    .26635E-03   -.82317    
   4  Prefactor     .78407        .93239E-02    .23969E-03   -1.0032    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.14025e-09
Minuit parameter uncertainties:
  1  0.000273344
  2  312.142
  3  0.0130869
  4  0.0093239
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941773': 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) = 6041.01333858
delta logL = 3.76548086933e-07

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  2.733e-04  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  3.094e+00  3.121e+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:  7.841e-01  9.324e-03  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.342e+00  1.309e-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/941773/cmap_HighResolution_507859201_508118401_4FGL_J1135.7-0427_daily_bin1036.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.21e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-09-04 04:55:17.087193', job_id='941773', GAL2='0.78', fit_tolerance='1e-08', EG2='1.34', EG='1.34', time_epoch_completed='1630756517.09', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='3.77e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1036' AND source_name='4FGL J1135.7-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:55:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0140>
Subject: Job 941773: <4FGL_J1135.7-0427_daily_bin1036> in cluster <slac> Done

Job <4FGL_J1135.7-0427_daily_bin1036> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep  4 04:41:26 2021
Job was executed on host(s) <bullet0140>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 04:41:27 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:27 2021
Terminated at Sat Sep  4 04:55:17 2021
Results reported at Sat Sep  4 04:55:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.7-0427_daily_bin1036 173.943 -4.4634 507859201 508118401 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 :                                   792.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             324.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            831 sec.

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

