/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 13 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 = 7401
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1135.1+3014_daily_bin1463
RA = 173.788, Dec = 30.2344
tmin = 618537601, tmax = 618796801
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='935518', job_status='RUN', time_executed='2021-09-04 04:21:53.280993', time_epoch_executed='1630754513.28' WHERE source_name='4FGL J1135.1+3014' and cadence='daily' and bin_id='1463'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/935518

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/935518/ft1_4FGL_J1135.1+3014_daily_bin1463.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/935518/ft2_4FGL_J1135.1+3014_daily_bin1463.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/935518/ft1_4FGL_J1135.1+3014_daily_bin1463.fits outfile=/scratch/kocevski/935518/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin1463.fits ra=173.788 dec=30.2344 rad=12.0 tmin=618537601.0 tmax=618796801.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.71
user 3.48
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/935518/ft2_4FGL_J1135.1+3014_daily_bin1463.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/935518/ft2_4FGL_J1135.1+3014_daily_bin1463.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/935518/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin1463.fits evtable="EVENTS" outfile="/scratch/kocevski/935518/ft1_filtered_4FGL_J1135.1+3014_daily_bin1463.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/935518/ft1_filtered_4FGL_J1135.1+3014_daily_bin1463.fits" evtable="EVENTS" scfile=/scratch/kocevski/935518/ft2_4FGL_J1135.1+3014_daily_bin1463.fits sctable="SC_DATA" outfile=/scratch/kocevski/935518/ltcube_618537601_618796801_4FGL_J1135.1+3014_daily_bin1463.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/935518/ft2_4FGL_J1135.1+3014_daily_bin1463.fits
.....................!
real 11.77
user 11.43
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/935518/ft1_filtered_4FGL_J1135.1+3014_daily_bin1463.fits evtable="EVENTS" scfile=/scratch/kocevski/935518/ft2_4FGL_J1135.1+3014_daily_bin1463.fits sctable="SC_DATA" expcube=/scratch/kocevski/935518/ltcube_618537601_618796801_4FGL_J1135.1+3014_daily_bin1463.fits outfile=/scratch/kocevski/935518/expmap_618537601_618796801_4FGL_J1135.1+3014_daily_bin1463.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/935518/ltcube_618537601_618796801_4FGL_J1135.1+3014_daily_bin1463.fits
.....................!
real 191.10
user 185.58
sys 5.05

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 197 point sources and 0 extended sources

Setting source of interest to:
4FGL J1135.1+3014 @ 173.788 30.2344

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/935518/ft1_filtered_4FGL_J1135.1+3014_daily_bin1463.fits scfile=/scratch/kocevski/935518/ft2_4FGL_J1135.1+3014_daily_bin1463.fits outfile=/scratch/kocevski/935518/cmap_618537601_618796801_4FGL_J1135.1+3014_daily_bin1463.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.788 yref=30.2344 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/935518/ft1_filtered_4FGL_J1135.1+3014_daily_bin1463.fits scfile=/scratch/kocevski/935518/ft2_4FGL_J1135.1+3014_daily_bin1463.fits outfile=/scratch/kocevski/935518/cmap_HighResolution_618537601_618796801_4FGL_J1135.1+3014_daily_bin1463.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.788 yref=30.2344 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/935518/ft1_filtered_4FGL_J1135.1+3014_daily_bin1463.fits evtable="EVENTS" scfile=/scratch/kocevski/935518/ft2_4FGL_J1135.1+3014_daily_bin1463.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/935518/Model_4FGL_J1135.1+3014_daily_bin1463.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/935518/ft1_filtered_4FGL_J1135.1+3014_daily_bin1463.fits.....................!
real 59.86
user 58.46
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/935518/ft1_filtered_4FGL_J1135.1+3014_daily_bin1463.fits', '/scratch/kocevski/935518/ft2_4FGL_J1135.1+3014_daily_bin1463.fits', expMap='/scratch/kocevski/935518/expmap_618537601_618796801_4FGL_J1135.1+3014_daily_bin1463.fits', expCube='/scratch/kocevski/935518/ltcube_618537601_618796801_4FGL_J1135.1+3014_daily_bin1463.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/935518/Model_4FGL_J1135.1+3014_daily_bin1463.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1135.1+3014'

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  2.132e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.376e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  1.179e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/935518/ft1_filtered_4FGL_J1135.1+3014_daily_bin1463.fits
Spacecraft file(s): /scratch/kocevski/935518/ft2_4FGL_J1135.1+3014_daily_bin1463.fits
Exposure map: /scratch/kocevski/935518/expmap_618537601_618796801_4FGL_J1135.1+3014_daily_bin1463.fits
Exposure cube: /scratch/kocevski/935518/ltcube_618537601_618796801_4FGL_J1135.1+3014_daily_bin1463.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/935518/Model_4FGL_J1135.1+3014_daily_bin1463.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) = 6506.75795915

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6506.75179909

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16247E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    30.268       1.0000         .10000E-03   10000.    
     3 'norm      '    2.6496       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10704       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.361       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .36303E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .30443       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.3462       1.0000         .10000E-03   10000.    
     9 'norm      '    .10124E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .25354E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.8398       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .93042E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .34517E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.6208       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .23141E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .70691       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .64279E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .54588       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11106       1.0000         .10000E-03   10000.    
    20 'Prefactor '    25.493       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .36410       1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.778       1.0000         .10000E-03   10000.    
    23 'Prefactor '    59.239       1.0000         .10000E-03   10000.    
    24 'norm      '    .17604       1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.9661       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .20658E-02   1.0000         .10000E-03   10000.    
    27 'norm      '    2.1901       1.0000         .10000E-03   10000.    
    28 'Prefactor '    12.640       1.0000         .10000E-03   10000.    
    29 'Prefactor '    3.8755       1.0000         .10000E-03   10000.    
    30 'Prefactor '    3.5395       1.0000         .10000E-03   10000.    
    31 'Normalizat'    1.9171       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .41779E-01   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6506.751     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     3242 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    41.135        .18341E-05** at limit **
   2  Prefactor     30.234        5.4230        .10929E-06   -.41820E-02
   3  norm          2.6496        .46416        .43825E-08    .12962E-04
   4  Prefactor     .10467        8.1071       -.14593E-05    .96447E-04
   5  Prefactor     11.349        10.681        .55626E-06    .29078E-02
   6  Prefactor     .10000E-03    4.9712        .10219E-05** at limit **
   7  norm          .29066        43.174        .18070E-05   -.78245E-03
   8  Prefactor     5.3217        7.1169       -.62943E-06   -.39073E-05
   9  norm          .10000E-03    5.4048        .10686E-06** at limit **
  10  Prefactor     .10000E-03    31.687        .52498E-06** at limit **
  11  Prefactor     3.8530        3.0458       -.68862E-07    .18700E-04
  12  Prefactor     .10141E-03    30.204        .48275E-06** at limit **
  13  Prefactor     .10000E-03    6.1343        .56600E-06** at limit **
  14  norm          3.6320        2.7637        .24210E-07   -.47326E-05
  15  Prefactor     .10000E-03    3.7763        .67065E-07** at limit **
  16  Prefactor     .70296        5.9515       -.65217E-06    .46224E-05
  17  Prefactor     .10019E-03    165.75        .58298E-05** at limit **
  18  norm          .54279        1.1176       -.59406E-06    .61953E-04
  19  Prefactor     .10039E-03    249.58        .57381E-05** at limit **
  20  Prefactor     25.484        6.7689        .13554E-06   -.14409E-02
  21  Prefactor     .36583        1.8221       -.86370E-06    .21238E-04
  22  Prefactor     11.925        6.6577       -.48046E-06   -.17845E-03
  23  Prefactor     59.812        56.653       -.47226E-07   -.30015E-03
  24  norm          .17377        1.5563       -.25199E-06    .13749E-04
  25  Prefactor     2.9660        6.5230        .29248E-06    .15436E-04
  26  Prefactor     .10000E-03    16.919        .23413E-05** at limit **
  27  norm          2.1883        2.4443        .13834E-06   -.36691E-05
  28  Prefactor     12.694        8.2241        .42298E-06   -.14008E-03
  29  Prefactor     3.8759        2.3335       -.37856E-07    .41978E-05
  30  Prefactor     3.5504        2.8323        .15012E-06   -.11130E-04
  31  Normalizat    1.9171        .22858       -.15219E-05    .40261E-04
  32  Prefactor     .41583E-01    .28702        .39601E-05    .53463E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010001
  Prefactor  = 30.2344
  norm       = 2.64958
  Prefactor  = 0.104667
  Prefactor  = 11.3488
  Prefactor  = 0.0001
  norm       = 0.290659
  Prefactor  = 5.32168
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 3.85296
  Prefactor  = 0.000101411
  Prefactor  = 0.0001
  norm       = 3.632
  Prefactor  = 0.0001
  Prefactor  = 0.702963
  Prefactor  = 0.00010019
  norm       = 0.542788
  Prefactor  = 0.000100394
  Prefactor  = 25.4843
  Prefactor  = 0.365826
  Prefactor  = 11.9252
  Prefactor  = 59.812
  norm       = 0.173772
  Prefactor  = 2.96599
  Prefactor  = 0.0001
  norm       = 2.18826
  Prefactor  = 12.6935
  Prefactor  = 3.8759
  Prefactor  = 3.55044
  Normalizat = 1.91706
  Prefactor  = 0.0415829
 **********
 **   18 **HESSE 
 **********

 FCN=   6506.751     FROM HESSE     STATUS=NOT POSDEF   759 CALLS     4001 TOTAL
                     EDM=   .78E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    39.260        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     30.234        14.456        .18207E-02   -1.4608    
   3  norm          2.6496        .47198        .49757E-02   -1.5382    
   4  Prefactor     .10467        1.5832        .50631E-01   -1.5643    
   5  Prefactor     11.349        11.626        .29714E-02   -1.5034    
   6  Prefactor     .10000E-03    4.4791        .10654E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .29066        7.8261        .10444       -1.5600    
   8  Prefactor     5.3217        9.3094        .43453E-02   -1.5247    
   9  norm          .10000E-03    4.8623        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.7924        .10002       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.8530        2.9263        .51489E-02   -1.5315    
  12  Prefactor     .10141E-03    56.150        .10405E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.5161        .10665E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.6320        2.9015        .53082E-02   -1.5327    
  15  Prefactor     .10000E-03    3.3937        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .70296        6.1872        .12088E-01   -1.5540    
  17  Prefactor     .10019E-03    157.65        .93395E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .54279        1.2693        .11457E-01   -1.5561    
  19  Prefactor     .10039E-03    16.224        .11173       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     25.484        18.263        .19835E-02   -1.4698    
  21  Prefactor     .36583        3.8108        .10703E-01   -1.5587    
  22  Prefactor     11.925        28.182        .29182E-02   -1.5017    
  23  Prefactor     59.812        56.484        .13032E-02   -1.4160    
  24  norm          .17377        1.3292        .25505E-01   -1.5625    
  25  Prefactor     2.9660        6.9378        .58942E-02   -1.5364    
  26  Prefactor     .10000E-03    15.230        .10100E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.1883        2.4777        .69526E-02   -1.5412    
  28  Prefactor     12.694        8.4978        .28167E-02   -1.4995    
  29  Prefactor     3.8759        2.1981        .51243E-02   -1.5314    
  30  Prefactor     3.5504        3.0500        .53713E-02   -1.5331    
  31  Normalizat    1.9171        1.2014        .47880E-01   -.66646    
  32  Prefactor     .41583E-01    7.6968        .21217       -1.4417    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.79753e-08
Minuit parameter uncertainties:
  1  0.00124948
  2  14.4574
  3  0.471976
  4  0.813786
  5  11.6279
  6  3.41955e-06
  7  3.01637
  8  9.31196
  9  1.49078e-07
  10  0.000209363
  11  2.92638
  12  0.0178188
  13  1.45141e-06
  14  2.90162
  15  3.91676e-07
  16  4.17132
  17  0.0109626
  18  1.26938
  19  0.00505898
  20  18.2669
  21  2.36131
  22  28.2136
  23  56.5349
  24  0.96096
  25  6.93968
  26  5.66704e-05
  27  2.4778
  28  8.49856
  29  2.19811
  30  3.05012
  31  1.22104
  32  1.14995
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6506.75108523

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  3.917e-07  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.376e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  1.179e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
618    Prefactor:  4.158e-02  1.150e+00  0.000e+00  1.000e+01 ( 1.000e+00)
619        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
620        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
617   Normalization:  1.917e+00  1.221e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 173.788 30.234
Photon Flux Upper Limit: 4.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/935518/likelihoodResults_618537601_618796801_4FGL_J1135.1+3014_daily_bin1463.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) = 6506.75228572
delta logL = -0.00120048458029

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6506.75108515
delta logL = 7.9559868027e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3630       1.0000          .0000       10.000    
     3 'Normalizat'    1.9170       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .41608E-01   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6210E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6506.751     FROM MIGRAD    STATUS=FAILED        89 CALLS      254 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10161E-03    64.273        .15408E-02** at limit **
   2  Index         2.2858        6.9456        .50000        .27276E-04
   3  Normalizat    1.9171        .19328E-01    .21161E-03   -.74522E-03
   4  Prefactor     .41581E-01    .19445E-01    .10611E-01   -.10553E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6506.751     FROM SIMPLEX   STATUS=PROGRESS     120 CALLS      374 TOTAL
                     EDM=   .87E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10011E-03    64.273        .29744E-03** at limit **
   2  Index         2.2847        6.9456        .33650E-03    .27276E-04
   3  Normalizat    1.9171        .19328E-01    .29969E-05   -.74522E-03
   4  Prefactor     .41574E-01    .19445E-01    .15819E-04   -.10553E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6506.751     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      427 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    89.019        .30815E-02** at limit **
   2  Index         1.8127        5.7348        .50000       -.21396E-06
   3  Normalizat    1.9171        .21431E-01    .42322E-04    .62745E-03
   4  Prefactor     .41584E-01    .21573E-01    .42444E-03    .10251E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 1.81266
  Normalizat = 1.91706
  Prefactor  = 0.0415838
 **********
 **   18 **HESSE 
 **********

 FCN=   6506.751     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      456 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    384.27        .61630E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8127        9.0694        .50000       -.69121    
   3  Normalizat    1.9171        .49006E-01    .84644E-05   -.66646    
   4  Prefactor     .41584E-01    .49295E-01    .16978E-04   -1.4417    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.82377e-08
Minuit parameter uncertainties:
  1  0.00112101
  2  1273.63
  3  0.0490073
  4  0.0493433
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/935518': 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) = 6506.75108308
delta logL = 2.14955434785e-06

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  1.121e-03  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  1.813e+00  1.274e+03  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  1.179e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
618    Prefactor:  4.158e-02  4.934e-02  0.000e+00  1.000e+01 ( 1.000e+00)
619        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
620        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
617   Normalization:  1.917e+00  4.901e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 173.788 30.234

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/935518/cmap_HighResolution_618537601_618796801_4FGL_J1135.1+3014_daily_bin1463.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.82e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2021-09-04 04:37:32.548976', job_id='935518', GAL2='0.04', fit_tolerance='1e-08', EG2='1.92', EG='1.92', time_epoch_completed='1630755452.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='102', GAL='0.04', dlogl='2.15e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1463' AND source_name='4FGL J1135.1+3014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:37:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 935518: <4FGL_J1135.1+3014_daily_bin1463> in cluster <slac> Done

Job <4FGL_J1135.1+3014_daily_bin1463> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Sep  4 04:21:21 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 04:21:23 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:21:23 2021
Terminated at Sat Sep  4 04:37:33 2021
Results reported at Sat Sep  4 04:37:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.1+3014_daily_bin1463 173.788 30.2344 618537601 618796801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1135.1+3014 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   930.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             345.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   969 sec.
    Turnaround time :                            972 sec.

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

