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


Performing analysis on: 4FGL_J1135.7-0427_daily_bin1204
RA = 173.943, Dec = -4.4634
tmin = 551404801, tmax = 551664001
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='943263', job_status='RUN', time_executed='2021-09-04 04:48:30.309709', time_epoch_executed='1630756110.31' WHERE source_name='4FGL J1135.7-0427' and cadence='daily' and bin_id='1204'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/943263

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/943263/ft1_4FGL_J1135.7-0427_daily_bin1204.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/943263/ft2_4FGL_J1135.7-0427_daily_bin1204.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/943263/ft1_4FGL_J1135.7-0427_daily_bin1204.fits outfile=/scratch/kocevski/943263/ft1_filteredMKT_4FGL_J1135.7-0427_daily_bin1204.fits ra=173.943 dec=-4.4634 rad=12.0 tmin=551404801.0 tmax=551664001.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.79
user 3.37
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/943263/ft1_filtered_4FGL_J1135.7-0427_daily_bin1204.fits" evtable="EVENTS" scfile=/scratch/kocevski/943263/ft2_4FGL_J1135.7-0427_daily_bin1204.fits sctable="SC_DATA" outfile=/scratch/kocevski/943263/ltcube_551404801_551664001_4FGL_J1135.7-0427_daily_bin1204.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/943263/ft2_4FGL_J1135.7-0427_daily_bin1204.fits
.....................!
real 11.84
user 11.31
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/943263/ft1_filtered_4FGL_J1135.7-0427_daily_bin1204.fits evtable="EVENTS" scfile=/scratch/kocevski/943263/ft2_4FGL_J1135.7-0427_daily_bin1204.fits sctable="SC_DATA" expcube=/scratch/kocevski/943263/ltcube_551404801_551664001_4FGL_J1135.7-0427_daily_bin1204.fits outfile=/scratch/kocevski/943263/expmap_551404801_551664001_4FGL_J1135.7-0427_daily_bin1204.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/943263/ltcube_551404801_551664001_4FGL_J1135.7-0427_daily_bin1204.fits
.....................!
real 192.94
user 186.39
sys 4.68

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/943263/ft1_filtered_4FGL_J1135.7-0427_daily_bin1204.fits scfile=/scratch/kocevski/943263/ft2_4FGL_J1135.7-0427_daily_bin1204.fits outfile=/scratch/kocevski/943263/cmap_551404801_551664001_4FGL_J1135.7-0427_daily_bin1204.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=173.943 yref=-4.4634 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/943263/ft1_filtered_4FGL_J1135.7-0427_daily_bin1204.fits scfile=/scratch/kocevski/943263/ft2_4FGL_J1135.7-0427_daily_bin1204.fits outfile=/scratch/kocevski/943263/cmap_HighResolution_551404801_551664001_4FGL_J1135.7-0427_daily_bin1204.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/943263/ft1_filtered_4FGL_J1135.7-0427_daily_bin1204.fits evtable="EVENTS" scfile=/scratch/kocevski/943263/ft2_4FGL_J1135.7-0427_daily_bin1204.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/943263/Model_4FGL_J1135.7-0427_daily_bin1204.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/943263/ft1_filtered_4FGL_J1135.7-0427_daily_bin1204.fits.....................!
real 55.18
user 53.70
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3019       1.0000         .10000E-03   10000.    
     2 'norm      '    9.4028       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2565       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.327       1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.184       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .16185E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .15420E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10221E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    44.214       1.0000         .10000E-03   10000.    
    11 'norm      '    16.821       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.8746       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.8691       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.5453       1.0000         .10000E-03   10000.    
    17 'Prefactor '    34.242       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.764       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    28.847       1.0000         .10000E-03   10000.    
    22 'Prefactor '    36.130       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    18.740       1.0000         .10000E-03   10000.    
    26 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0942       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1621       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=   5822.465     FROM MIGRAD    STATUS=CONVERGED    696 CALLS     3552 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3018        .72959       -.79236E-06    .71636E-03
   2  norm          9.4026        10.304       -.29772E-06   -.41801E-04
   3  Prefactor     1.2571        20.237        .26809E-04    .11200E-04
   4  Prefactor     10.245        38.584        .10755E-04    .16582E-03
   5  Prefactor     30.216        24.354       -.68361E-06    .50254E-03
   6  Prefactor     .10003E-03    8.5816        .71741E-05** at limit **
   7  Prefactor     .10002E-03    103.99       -.70563E-05** at limit **
   8  norm          .10000E-03    11.801       -.16953E-06** at limit **
   9  Prefactor     .10000E-03    5.9014       -.79475E-06** at limit **
  10  Prefactor     44.206        28.776       -.37725E-06    .17102E-05
  11  norm          16.820        19.825        .29469E-06    .65830E-04
  12  Prefactor     2.8743        2.3928        .96080E-07    .49173E-03
  13  Prefactor     .10000E-03    18.892        .50057E-06** at limit **
  14  Prefactor     .10000E-03    69.795        .18629E-06** at limit **
  15  norm          3.8664        9.6181       -.94515E-07   -.15691E-04
  16  Prefactor     1.5449        4.4158        .11291E-06   -.71043E-04
  17  Prefactor     34.235        27.752       -.41731E-07   -.20025E-05
  18  Prefactor     .10000E-03    9.7869        .37763E-07** at limit **
  19  Prefactor     26.764        28.055       -.21401E-07    .41603E-05
  20  Prefactor     .10000E-03    2.3751        .56587E-07** at limit **
  21  Prefactor     28.831        22.264       -.35359E-06   -.35614E-04
  22  Prefactor     36.131        32.267       -.43581E-07    .93267E-05
  23  Prefactor     .10000E-03    12.159       -.51731E-06** at limit **
  24  Prefactor     .10000E-03    31.377        .50240E-06** at limit **
  25  Prefactor     18.736        11.756       -.14838E-06   -.11783E-03
  26  norm          .10000E-03    1.1807        .25803E-07** at limit **
  27  Normalizat    1.0948        .24429        .24208E-05    .74524E-03
  28  Prefactor     1.1618        .17623       -.12666E-05    .69458E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.30176
  norm       = 9.40262
  Prefactor  = 1.25713
  Prefactor  = 10.2451
  Prefactor  = 30.2165
  Prefactor  = 0.000100027
  Prefactor  = 0.00010002
  norm       = 0.000100003
  Prefactor  = 0.000100001
  Prefactor  = 44.206
  norm       = 16.8204
  Prefactor  = 2.87431
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 3.86642
  Prefactor  = 1.54488
  Prefactor  = 34.2351
  Prefactor  = 0.0001
  Prefactor  = 26.7642
  Prefactor  = 0.0001
  Prefactor  = 28.831
  Prefactor  = 36.1315
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.7359
  norm       = 0.0001
  Normalizat = 1.09481
  Prefactor  = 1.16184
 **********
 **   18 **HESSE 
 **********

 FCN=   5822.465     FROM HESSE     STATUS=OK           517 CALLS     4069 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3018        .74187        .42654E-04   -1.5480    
   2  norm          9.4026        10.305        .13069E-03   -1.5095    
   3  Prefactor     1.2571        22.236        .19917E-02   -1.5484    
   4  Prefactor     10.245        38.665        .12468E-03   -1.5068    
   5  Prefactor     30.216        23.858        .72927E-04   -1.4608    
   6  Prefactor     .10003E-03    21.618        .36108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10002E-03    104.79        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    11.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.0123        .18089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     44.206        28.778        .60294E-04   -1.4377    
  11  norm          16.820        19.806        .97654E-04   -1.4887    
  12  Prefactor     2.8743        2.3967        .10229E-03   -1.5369    
  13  Prefactor     .10000E-03    18.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    69.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.8664        9.4157        .20515E-03   -1.5315    
  16  Prefactor     1.5449        4.2816        .23544E-03   -1.5459    
  17  Prefactor     34.235        27.663        .68482E-04   -1.4537    
  18  Prefactor     .10000E-03    9.8218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     26.764        28.049        .77435E-04   -1.4673    
  20  Prefactor     .10000E-03    2.3807        .11483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     28.831        22.334        .74594E-04   -1.4634    
  22  Prefactor     36.131        32.267        .66674E-04   -1.4505    
  23  Prefactor     .10000E-03    12.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    31.734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     18.736        11.738        .46260E-03   -1.4842    
  26  norm          .10000E-03    1.2164        .16159E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0948        .28351        .32651E-03   -.89919    
  28  Prefactor     1.1618        .20608        .24025E-03   -.87514    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.79613e-09
Minuit parameter uncertainties:
  1  0.741878
  2  10.3072
  3  10.5784
  4  38.7602
  5  23.866
  6  0.00154006
  7  0.00292419
  8  0.000348332
  9  0.000173178
  10  28.7874
  11  19.8139
  12  2.39677
  13  0.00027929
  14  7.17279e-06
  15  9.41932
  16  4.28249
  17  27.6732
  18  9.84538e-06
  19  28.0631
  20  4.58042e-06
  21  22.3401
  22  32.2821
  23  0.000139926
  24  0.000216282
  25  11.7395
  26  1.81328e-06
  27  0.283906
  28  0.206222
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.162e+00  2.062e-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.095e+00  2.839e-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.23e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/943263/likelihoodResults_551404801_551664001_4FGL_J1135.7-0427_daily_bin1204.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) = 5822.4651654
delta logL = -0.000251986796684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5822.4649163
delta logL = -2.88377668767e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.7161       1.0000          .0000       10.000    
     3 'Normalizat'    1.0948       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1618       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=   5822.465     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      247 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    128.45        .90712E-02** at limit **
   2  Index         3.6944        7.6167        .50000        .23715E-04
   3  Normalizat    1.0948        .23348E-01    .73779E-01    .24615E-03
   4  Prefactor     1.1618        .17712E-01    .54337E-01    .18308E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Index      = 3.69438
  Normalizat = 1.0948
  Prefactor  = 1.16184
 **********
 **   18 **HESSE 
 **********

 FCN=   5822.465     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      278 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2019.4        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6944        5.3634        .50000       -.26419    
   3  Normalizat    1.0948        .19921        .32651E-03   -.89919    
   4  Prefactor     1.1618        .14948        .24025E-03   -.87514    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.98582e-07
Minuit parameter uncertainties:
  1  0.00640802
  2  73.9798
  3  0.19935
  4  0.14953
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/943263': 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) = 5822.46491615
delta logL = -2.73989098787e-06

Extracting fit parameters...

4FGL J1135.7-0427
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  6.408e-03  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  3.694e+00  7.398e+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.162e+00  1.495e-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.095e+00  1.994e-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/943263/cmap_HighResolution_551404801_551664001_4FGL_J1135.7-0427_daily_bin1204.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.64e-03', job_status='DONE', photon_flux_upper_limit='1.23e-07', time_completed='2021-09-04 05:01:46.692512', job_id='943263', GAL2='1.16', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1630756906.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='-2.74e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1204' AND source_name='4FGL J1135.7-0427' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 05:01:46 PDT 2021


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

Job <4FGL_J1135.7-0427_daily_bin1204> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 04:46:24 2021
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 04:46: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:46:26 2021
Terminated at Sat Sep  4 05:01:47 2021
Results reported at Sat Sep  4 05:01:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.7-0427_daily_bin1204 173.943 -4.4634 551404801 551664001 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 :                                   781.42 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             289.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   920 sec.
    Turnaround time :                            923 sec.

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

