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


Performing analysis on: 4FGL_J1135.7-0427_daily_bin481
RA = 173.943, Dec = -4.4634
tmin = 364003201, tmax = 364262401
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='938460', job_status='RUN', time_executed='2021-09-04 04:31:25.227376', time_epoch_executed='1630755085.23' WHERE source_name='4FGL J1135.7-0427' and cadence='daily' and bin_id='481'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/938460

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/938460/ft1_4FGL_J1135.7-0427_daily_bin481.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/938460/ft2_4FGL_J1135.7-0427_daily_bin481.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/938460/ft1_4FGL_J1135.7-0427_daily_bin481.fits outfile=/scratch/kocevski/938460/ft1_filteredMKT_4FGL_J1135.7-0427_daily_bin481.fits ra=173.943 dec=-4.4634 rad=12.0 tmin=364003201.0 tmax=364262401.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 3.22
user 3.00
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/938460/ft2_4FGL_J1135.7-0427_daily_bin481.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/938460/ft1_filteredMKT_4FGL_J1135.7-0427_daily_bin481.fits evtable="EVENTS" outfile="/scratch/kocevski/938460/ft1_filtered_4FGL_J1135.7-0427_daily_bin481.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/938460/ft1_filtered_4FGL_J1135.7-0427_daily_bin481.fits" evtable="EVENTS" scfile=/scratch/kocevski/938460/ft2_4FGL_J1135.7-0427_daily_bin481.fits sctable="SC_DATA" outfile=/scratch/kocevski/938460/ltcube_364003201_364262401_4FGL_J1135.7-0427_daily_bin481.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/938460/ft2_4FGL_J1135.7-0427_daily_bin481.fits
.....................!
real 12.52
user 12.01
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/938460/ft1_filtered_4FGL_J1135.7-0427_daily_bin481.fits evtable="EVENTS" scfile=/scratch/kocevski/938460/ft2_4FGL_J1135.7-0427_daily_bin481.fits sctable="SC_DATA" expcube=/scratch/kocevski/938460/ltcube_364003201_364262401_4FGL_J1135.7-0427_daily_bin481.fits outfile=/scratch/kocevski/938460/expmap_364003201_364262401_4FGL_J1135.7-0427_daily_bin481.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/938460/ltcube_364003201_364262401_4FGL_J1135.7-0427_daily_bin481.fits
.....................!
real 190.68
user 185.43
sys 4.69

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/938460/ft1_filtered_4FGL_J1135.7-0427_daily_bin481.fits scfile=/scratch/kocevski/938460/ft2_4FGL_J1135.7-0427_daily_bin481.fits outfile=/scratch/kocevski/938460/cmap_364003201_364262401_4FGL_J1135.7-0427_daily_bin481.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.55
user 0.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/938460/ft1_filtered_4FGL_J1135.7-0427_daily_bin481.fits evtable="EVENTS" scfile=/scratch/kocevski/938460/ft2_4FGL_J1135.7-0427_daily_bin481.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/938460/Model_4FGL_J1135.7-0427_daily_bin481.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/938460/ft1_filtered_4FGL_J1135.7-0427_daily_bin481.fits.....................!
real 57.07
user 53.90
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11751E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    15.461       1.0000         .10000E-03   10000.    
     3 'Prefactor '    25.298       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .16786E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10316E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10442E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    24.059       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .12141E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.8700       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    54.112       1.0000         .10000E-03   10000.    
    15 'norm      '    .11973E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11829E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.9042       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.3171       1.0000         .10000E-03   10000.    
    22 'Prefactor '    43.491       1.0000         .10000E-03   10000.    
    23 'Prefactor '    36.171       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1432       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1640       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=   5659.248     FROM MIGRAD    STATUS=CONVERGED    699 CALLS     3524 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .71442        .27212E-07** at limit **
   2  norm          15.460        10.468       -.17275E-06   -.76493E-05
   3  Prefactor     25.242        17.492       -.40937E-06   -.32948E-04
   4  Prefactor     .10012E-03    12.582       -.22278E-06** at limit **
   5  Prefactor     .10000E-03    5.9948        .75298E-07** at limit **
   6  Prefactor     .10000E-03    4.8652        .35129E-07** at limit **
   7  Prefactor     .10000E-03    47.266        .55563E-05** at limit **
   8  norm          24.059        12.407        .19756E-06    .14045E-04
   9  Prefactor     .10000E-03    2.8316       -.19033E-07** at limit **
  10  Prefactor     .10000E-03    9.4575       -.94901E-06** at limit **
  11  norm          .10000E-03    12.736       -.19665E-05** at limit **
  12  Prefactor     2.8719        2.5521       -.10636E-06   -.31403E-03
  13  Prefactor     .10000E-03    46.214       -.16824E-05** at limit **
  14  Prefactor     54.108        43.479       -.30743E-05    .80686E-05
  15  norm          .10000E-03    9.5109        .41918E-05** at limit **
  16  Prefactor     .10000E-03    3.8943       -.90475E-07** at limit **
  17  Prefactor     .10000E-03    9.4567       -.28840E-05** at limit **
  18  Prefactor     .10000E-03    13.146        .31703E-06** at limit **
  19  Prefactor     .10000E-03    25.138       -.14153E-04** at limit **
  20  Prefactor     9.9053        9.7932        .12156E-05   -.69797E-03
  21  Prefactor     4.3192        19.794       -.49311E-05   -.10050E-03
  22  Prefactor     43.508        49.504        .13331E-04    .18379E-04
  23  Prefactor     36.140        46.506       -.25058E-04   -.67743E-05
  24  Prefactor     .10000E-03    23.213        .13056E-04** at limit **
  25  Prefactor     .10000E-03    5.2166       -.90649E-07** at limit **
  26  norm          .10000E-03    1.3381       -.97762E-08** at limit **
  27  Normalizat    1.1435        .24238        .33056E-05   -.14545E-03
  28  Prefactor     1.1636        .17214       -.11006E-05    .84340E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 15.4596
  Prefactor  = 25.2418
  Prefactor  = 0.000100123
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 24.0593
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.87194
  Prefactor  = 0.0001
  Prefactor  = 54.1083
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.90535
  Prefactor  = 4.31922
  Prefactor  = 43.5082
  Prefactor  = 36.1397
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.14347
  Prefactor  = 1.16363
 **********
 **   18 **HESSE 
 **********

 FCN=   5659.248     FROM HESSE     STATUS=OK           521 CALLS     4045 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.2627        .10585E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.460        10.468        .10186E-03   -1.4921    
   3  Prefactor     25.242        15.210        .79643E-04   -1.4703    
   4  Prefactor     .10012E-03    17.762        .79730E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.0132        .17978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.9541        .16177E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    47.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          24.059        12.393        .81666E-04   -1.4727    
   9  Prefactor     .10000E-03    2.8554        .12350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.5499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    12.744        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.8719        2.5450        .10866E-03   -1.5369    
  13  Prefactor     .10000E-03    46.622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     54.108        43.492        .54527E-04   -1.4235    
  15  norm          .10000E-03    9.8497        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.0222        .28946E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.4798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    25.188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.9053        9.7653        .63664E-03   -1.5078    
  21  Prefactor     4.3192        19.694        .19388E-03   -1.5292    
  22  Prefactor     43.508        49.475        .60791E-04   -1.4388    
  23  Prefactor     36.140        46.255        .66636E-04   -1.4505    
  24  Prefactor     .10000E-03    23.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    5.2315        .16779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    2.2872        .16940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1435        .28643        .31231E-03   -.88368    
  28  Prefactor     1.1636        .20347        .22929E-03   -.87458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.97807e-10
Minuit parameter uncertainties:
  1  3.69348e-06
  2  10.4689
  3  15.2122
  4  0.00295249
  5  6.89642e-06
  6  1.8821e-05
  7  2.19929e-05
  8  12.3942
  9  8.01543e-06
  10  4.44269e-06
  11  5.86639e-06
  12  2.54507
  13  8.06943e-05
  14  43.5173
  15  9.34538e-05
  16  3.87136e-05
  17  1.06096e-05
  18  2.66056e-06
  19  6.30798e-05
  20  9.76685
  21  18.4556
  22  49.5218
  23  46.3012
  24  2.14202e-05
  25  3.50293e-06
  26  2.31188e-06
  27  0.286818
  28  0.203608
Done.

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

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  8.069e-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:  1.164e+00  2.036e-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.143e+00  2.868e-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.27e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.95e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/938460/likelihoodResults_364003201_364262401_4FGL_J1135.7-0427_daily_bin481.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) = 5659.24782224
delta logL = -0.000102117550341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5659.24772033
delta logL = -2.14919964492e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6445       1.0000          .0000       10.000    
     3 'Normalizat'    1.1435       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1636       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=   5659.015     FROM MIGRAD    STATUS=CONVERGED    159 CALLS      357 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.006        24.249        .18142E-01    .12106E-03
   2  Index         1.4666        .62717        .32082       -.50429E-04
   3  Normalizat    1.1505        .27040        .31231E-03   -.43683E-06
   4  Prefactor     1.1533        .20134        .22929E-03    .54540E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.0059
  Index      = 1.46659
  Normalizat = 1.15049
  Prefactor  = 1.15331
 **********
 **   18 **HESSE 
 **********

 FCN=   5659.015     FROM HESSE     STATUS=OK            29 CALLS      386 TOTAL
                     EDM=   .42E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.006        25.510        .47381E-03   -1.5015    
   2  Index         1.4666        .88688        .12068E-01   -.78480    
   3  Normalizat    1.1505        .27021        .12492E-04   -.88147    
   4  Prefactor     1.1533        .20124        .91716E-05   -.87780    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.15561e-12
Minuit parameter uncertainties:
  1  25.5327
  2  0.896444
  3  0.270532
  4  0.201371
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/938460': 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) = 5659.01529149
delta logL = 0.232428628196

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  1.201e+01  2.553e+01  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  1.467e+00  8.964e-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.153e+00  2.014e-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.150e+00  2.705e-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/938460/cmap_HighResolution_364003201_364262401_4FGL_J1135.7-0427_daily_bin481.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.95e-03', job_status='DONE', photon_flux_upper_limit='1.27e-07', time_completed='2021-09-04 04:45:07.494647', job_id='938460', GAL2='1.15', fit_tolerance='1e-08', EG2='1.15', EG='1.14', time_epoch_completed='1630755907.49', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='2.32e-01', ts2='0.47', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='481' AND source_name='4FGL J1135.7-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:45:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 938460: <4FGL_J1135.7-0427_daily_bin481> in cluster <slac> Done

Job <4FGL_J1135.7-0427_daily_bin481> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep  4 04:31:06 2021
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 04:31:07 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:07 2021
Terminated at Sat Sep  4 04:45:08 2021
Results reported at Sat Sep  4 04:45:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.7-0427_daily_bin481 173.943 -4.4634 364003201 364262401 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 :                                   817.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             330.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            842 sec.

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

