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


Performing analysis on: 4FGL_J1135.7-0427_daily_bin1018
RA = 173.943, Dec = -4.4634
tmin = 503193601, tmax = 503452801
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='941739', job_status='RUN', time_executed='2021-09-04 04:42:05.174241', time_epoch_executed='1630755725.17' WHERE source_name='4FGL J1135.7-0427' and cadence='daily' and bin_id='1018'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941739

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941739/ft1_4FGL_J1135.7-0427_daily_bin1018.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941739/ft2_4FGL_J1135.7-0427_daily_bin1018.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941739/ft1_4FGL_J1135.7-0427_daily_bin1018.fits outfile=/scratch/kocevski/941739/ft1_filteredMKT_4FGL_J1135.7-0427_daily_bin1018.fits ra=173.943 dec=-4.4634 rad=12.0 tmin=503193601.0 tmax=503452801.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.07
user 4.83
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941739/ft1_filtered_4FGL_J1135.7-0427_daily_bin1018.fits" evtable="EVENTS" scfile=/scratch/kocevski/941739/ft2_4FGL_J1135.7-0427_daily_bin1018.fits sctable="SC_DATA" outfile=/scratch/kocevski/941739/ltcube_503193601_503452801_4FGL_J1135.7-0427_daily_bin1018.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/941739/ft2_4FGL_J1135.7-0427_daily_bin1018.fits
.....................!
real 11.72
user 11.33
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941739/ft1_filtered_4FGL_J1135.7-0427_daily_bin1018.fits evtable="EVENTS" scfile=/scratch/kocevski/941739/ft2_4FGL_J1135.7-0427_daily_bin1018.fits sctable="SC_DATA" expcube=/scratch/kocevski/941739/ltcube_503193601_503452801_4FGL_J1135.7-0427_daily_bin1018.fits outfile=/scratch/kocevski/941739/expmap_503193601_503452801_4FGL_J1135.7-0427_daily_bin1018.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/941739/ltcube_503193601_503452801_4FGL_J1135.7-0427_daily_bin1018.fits
.....................!
real 189.43
user 183.85
sys 4.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/941739/ft1_filtered_4FGL_J1135.7-0427_daily_bin1018.fits scfile=/scratch/kocevski/941739/ft2_4FGL_J1135.7-0427_daily_bin1018.fits outfile=/scratch/kocevski/941739/cmap_503193601_503452801_4FGL_J1135.7-0427_daily_bin1018.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/941739/ft1_filtered_4FGL_J1135.7-0427_daily_bin1018.fits scfile=/scratch/kocevski/941739/ft2_4FGL_J1135.7-0427_daily_bin1018.fits outfile=/scratch/kocevski/941739/cmap_HighResolution_503193601_503452801_4FGL_J1135.7-0427_daily_bin1018.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/941739/ft1_filtered_4FGL_J1135.7-0427_daily_bin1018.fits evtable="EVENTS" scfile=/scratch/kocevski/941739/ft2_4FGL_J1135.7-0427_daily_bin1018.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/941739/Model_4FGL_J1135.7-0427_daily_bin1018.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/941739/ft1_filtered_4FGL_J1135.7-0427_daily_bin1018.fits.....................!
real 54.45
user 52.14
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .43191E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    .11884E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.605       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.7807       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.2594       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    39.953       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.0026       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.5743       1.0000         .10000E-03   10000.    
    14 'Prefactor '    51.162       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.4185       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.269       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.189       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .24454E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10971E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    103.22       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    7.6020       1.0000         .10000E-03   10000.    
    26 'norm      '    2.6809       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .85315       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0285       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=   5618.644     FROM MIGRAD    STATUS=CONVERGED    686 CALLS     3491 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .40313E-01    .96834       -.60168E-07   -.17511E-03
   2  norm          .10000E-03    15.559       -.41267E-06** at limit **
   3  Prefactor     17.600        15.775        .97912E-07    .48572E-04
   4  Prefactor     .10000E-03    7.6511       -.12317E-06** at limit **
   5  Prefactor     .10000E-03    11.390        .60275E-06** at limit **
   6  Prefactor     .10000E-03    2.2244        .59641E-07** at limit **
   7  Prefactor     .10000E-03    20.470        .14564E-05** at limit **
   8  norm          1.7817        7.2268        .10674E-04   -.24056E-03
   9  Prefactor     9.2623        6.5778       -.78784E-06    .44882E-04
  10  Prefactor     .10000E-03    5.3535       -.27905E-06** at limit **
  11  norm          39.937        34.779        .11133E-05   -.97808E-05
  12  Prefactor     3.0033        2.6897        .15625E-06    .74408E-04
  13  Prefactor     9.5795        33.473       -.43847E-06   -.10852E-04
  14  Prefactor     51.161        35.556        .23761E-06    .18782E-04
  15  norm          .10000E-03    5.4635        .16108E-06** at limit **
  16  Prefactor     2.4173        4.2811       -.53179E-06   -.27619E-03
  17  Prefactor     16.274        21.281        .42888E-06    .51589E-04
  18  Prefactor     .10000E-03    17.757        .72735E-07** at limit **
  19  Prefactor     13.149        36.931        .74843E-05    .64802E-04
  20  Prefactor     .10000E-03    4.0964        .39629E-06** at limit **
  21  Prefactor     .10004E-03    52.935       -.75164E-05** at limit **
  22  Prefactor     .10000E-03    34.304       -.30207E-05** at limit **
  23  Prefactor     103.24        58.120       -.10321E-05    .12742E-04
  24  Prefactor     .10000E-03    12.930       -.50987E-06** at limit **
  25  Prefactor     7.6027        11.673        .25861E-06    .42403E-04
  26  norm          2.6808        2.3188        .17382E-08    .69901E-04
  27  Normalizat    .85262        .22141       -.26412E-05    .46927E-04
  28  Prefactor     1.0288        .15468        .11878E-05    .41611E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0403132
  norm       = 0.0001
  Prefactor  = 17.5998
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.78169
  Prefactor  = 9.26233
  Prefactor  = 0.0001
  norm       = 39.937
  Prefactor  = 3.00329
  Prefactor  = 9.57954
  Prefactor  = 51.1612
  norm       = 0.0001
  Prefactor  = 2.41729
  Prefactor  = 16.2742
  Prefactor  = 0.0001
  Prefactor  = 13.1491
  Prefactor  = 0.0001
  Prefactor  = 0.000100038
  Prefactor  = 0.000100004
  Prefactor  = 103.238
  Prefactor  = 0.0001
  Prefactor  = 7.60269
  norm       = 2.68075
  Normalizat = 0.852618
  Prefactor  = 1.02881
 **********
 **   18 **HESSE 
 **********

 FCN=   5618.644     FROM HESSE     STATUS=OK           521 CALLS     4012 TOTAL
                     EDM=   .77E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .40313E-01    3.2415        .97715E-03   -1.5668    
   2  norm          .10000E-03    16.206        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.600        16.299        .95456E-04   -1.4869    
   4  Prefactor     .10000E-03    7.6890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.2436        .10913E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    20.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.7817        7.4140        .15681E-02   -1.5441    
   9  Prefactor     9.2623        6.5943        .13151E-03   -1.5099    
  10  Prefactor     .10000E-03    5.4589        .16931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          39.937        34.863        .63415E-04   -1.4443    
  12  Prefactor     3.0033        2.6893        .10977E-03   -1.5361    
  13  Prefactor     9.5795        33.349        .12951E-03   -1.5089    
  14  Prefactor     51.161        35.563        .56069E-04   -1.4276    
  15  norm          .10000E-03    5.5285        .17070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.4173        4.2205        .18042E-03   -1.5397    
  17  Prefactor     16.274        21.109        .99299E-04   -1.4901    
  18  Prefactor     .10000E-03    17.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     13.149        37.032        .11030E-03   -1.4983    
  20  Prefactor     .10000E-03    4.1112        .14818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10004E-03    55.964        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    34.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     103.24        58.366        .19788E-03   -1.3672    
  24  Prefactor     .10000E-03    12.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     7.6027        11.669        .14545E-03   -1.5156    
  26  norm          2.6808        2.3202        .96637E-04   -1.5380    
  27  Normalizat    .85262        .25864        .30713E-03   -.98146    
  28  Prefactor     1.0288        .18244        .20972E-03   -.91775    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.7281e-08
Minuit parameter uncertainties:
  1  0.722122
  2  0.000101698
  3  16.3028
  4  7.84549e-06
  5  4.91592e-05
  6  8.52505e-07
  7  8.00928e-07
  8  7.27033
  9  6.5948
  10  1.1997e-05
  11  34.8803
  12  2.6894
  13  33.4138
  14  35.5777
  15  2.41952e-05
  16  4.22107
  17  21.1186
  18  2.75311e-05
  19  37.0967
  20  4.45786e-05
  21  0.00291433
  22  0.000712662
  23  58.398
  24  1.39381e-05
  25  11.6723
  26  2.32023
  27  0.259015
  28  0.182548
Done.

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

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  9.580e+00  3.341e+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.029e+00  1.825e-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.526e-01  2.590e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.11
Ra Dec: 173.943 -4.463
Photon Flux Upper Limit: 1.46e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.14e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/941739/likelihoodResults_503193601_503452801_4FGL_J1135.7-0427_daily_bin1018.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) = 5618.58555657
delta logL = 0.0585897044612

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5618.48889158
delta logL = 0.155254703797

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63294       1.0000         .10000E-03   10000.    
     2 'Index     '    4.6823       1.0000          .0000       10.000    
     3 'Normalizat'    .80931       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0522       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=   5618.489     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      279 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62475        70.765        .47208E-04   -.36870E-03
   2  Index         4.6891        6.7929        .80232E-02   -.22567E-04
   3  Normalizat    .80930        .18947        .31447E-03   -.52783E-04
   4  Prefactor     1.0522        .13872        .20767E-03   -.35583E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.62475
  Index      = 4.68912
  Normalizat = 0.809301
  Prefactor  = 1.05218
 **********
 **   18 **HESSE 
 **********

 FCN=   5618.489     FROM HESSE     STATUS=OK            25 CALLS      304 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62475        16.037        .18883E-05   -1.5550    
   2  Index         4.6891        7.0733        .32093E-03   -.62215E-01
   3  Normalizat    .80930        .25282        .12579E-04   -.99725    
   4  Prefactor     1.0522        .18285        .83069E-05   -.91010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16064e-10
Minuit parameter uncertainties:
  1  6.33206
  2  5.18193
  3  0.253185
  4  0.182958
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941739': 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) = 5618.48889012
delta logL = 0.155256161652

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  6.247e-01  6.332e+00  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  4.689e+00  5.182e+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:  1.052e+00  1.830e-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.093e-01  2.532e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
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/941739/cmap_HighResolution_503193601_503452801_4FGL_J1135.7-0427_daily_bin1018.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', job_status='DONE', photon_flux_upper_limit='1.46e-07', time_completed='2021-09-04 04:55:40.776382', job_id='941739', GAL2='1.05', fit_tolerance='1e-08', EG2='0.81', EG='0.85', time_epoch_completed='1630756540.78', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.55e-01', ts2='0.47', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1018' AND source_name='4FGL J1135.7-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:55:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 941739: <4FGL_J1135.7-0427_daily_bin1018> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.7-0427_daily_bin1018 173.943 -4.4634 503193601 503452801 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 :                                   771.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             329.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   855 sec.
    Turnaround time :                            857 sec.

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

