/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 24 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 = 7652
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1135.1+3014_daily_bin426
RA = 173.788, Dec = 30.2344
tmin = 349747201, tmax = 350006401
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='928951', job_status='RUN', time_executed='2021-09-04 04:02:02.490457', time_epoch_executed='1630753322.49' WHERE source_name='4FGL J1135.1+3014' and cadence='daily' and bin_id='426'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/928951

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/928951/ft1_4FGL_J1135.1+3014_daily_bin426.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/928951/ft2_4FGL_J1135.1+3014_daily_bin426.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/928951/ft1_4FGL_J1135.1+3014_daily_bin426.fits outfile=/scratch/kocevski/928951/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin426.fits ra=173.788 dec=30.2344 rad=12.0 tmin=349747201.0 tmax=350006401.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.47
user 3.24
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/928951/ft2_4FGL_J1135.1+3014_daily_bin426.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/928951/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin426.fits evtable="EVENTS" outfile="/scratch/kocevski/928951/ft1_filtered_4FGL_J1135.1+3014_daily_bin426.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.49
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/928951/ft1_filtered_4FGL_J1135.1+3014_daily_bin426.fits" evtable="EVENTS" scfile=/scratch/kocevski/928951/ft2_4FGL_J1135.1+3014_daily_bin426.fits sctable="SC_DATA" outfile=/scratch/kocevski/928951/ltcube_349747201_350006401_4FGL_J1135.1+3014_daily_bin426.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/928951/ft2_4FGL_J1135.1+3014_daily_bin426.fits
.....................!
real 12.13
user 11.67
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/928951/ft1_filtered_4FGL_J1135.1+3014_daily_bin426.fits evtable="EVENTS" scfile=/scratch/kocevski/928951/ft2_4FGL_J1135.1+3014_daily_bin426.fits sctable="SC_DATA" expcube=/scratch/kocevski/928951/ltcube_349747201_350006401_4FGL_J1135.1+3014_daily_bin426.fits outfile=/scratch/kocevski/928951/expmap_349747201_350006401_4FGL_J1135.1+3014_daily_bin426.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/928951/ltcube_349747201_350006401_4FGL_J1135.1+3014_daily_bin426.fits
.....................!
real 191.27
user 185.31
sys 4.61

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/928951/ft1_filtered_4FGL_J1135.1+3014_daily_bin426.fits scfile=/scratch/kocevski/928951/ft2_4FGL_J1135.1+3014_daily_bin426.fits outfile=/scratch/kocevski/928951/cmap_349747201_350006401_4FGL_J1135.1+3014_daily_bin426.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.61
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/928951/ft1_filtered_4FGL_J1135.1+3014_daily_bin426.fits scfile=/scratch/kocevski/928951/ft2_4FGL_J1135.1+3014_daily_bin426.fits outfile=/scratch/kocevski/928951/cmap_HighResolution_349747201_350006401_4FGL_J1135.1+3014_daily_bin426.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.56
user 0.40
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/928951/ft1_filtered_4FGL_J1135.1+3014_daily_bin426.fits', '/scratch/kocevski/928951/ft2_4FGL_J1135.1+3014_daily_bin426.fits', expMap='/scratch/kocevski/928951/expmap_349747201_350006401_4FGL_J1135.1+3014_daily_bin426.fits', expCube='/scratch/kocevski/928951/ltcube_349747201_350006401_4FGL_J1135.1+3014_daily_bin426.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/928951/Model_4FGL_J1135.1+3014_daily_bin426.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/928951/ft1_filtered_4FGL_J1135.1+3014_daily_bin426.fits
Spacecraft file(s): /scratch/kocevski/928951/ft2_4FGL_J1135.1+3014_daily_bin426.fits
Exposure map: /scratch/kocevski/928951/expmap_349747201_350006401_4FGL_J1135.1+3014_daily_bin426.fits
Exposure cube: /scratch/kocevski/928951/ltcube_349747201_350006401_4FGL_J1135.1+3014_daily_bin426.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/928951/Model_4FGL_J1135.1+3014_daily_bin426.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) = 6092.01681742

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21057E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12214E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    1.2347       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.445       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.3973       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .15281E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.5714       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.6615       1.0000         .10000E-03   10000.    
     9 'norm      '    25.028       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .96739E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .40741       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .44554E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .19534E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .58068E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.0599       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.706       1.0000         .10000E-03   10000.    
    18 'norm      '    2.8644       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .95755       1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.333       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.0080       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .35893E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .65209E-02   1.0000         .10000E-03   10000.    
    24 'norm      '    2.0114       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .11461E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    10.408       1.0000         .10000E-03   10000.    
    27 'norm      '    5.3836       1.0000         .10000E-03   10000.    
    28 'Prefactor '    3.6458       1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.7173       1.0000         .10000E-03   10000.    
    30 'Prefactor '    3.8636       1.0000         .10000E-03   10000.    
    31 'Normalizat'    .63030       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.2136       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.

 FCN=   6091.931     FROM MIGRAD    STATUS=CONVERGED    895 CALLS     3819 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.1194       -.13563E-06** at limit **
   2  Prefactor     .10000E-03    23.225        .10244E-06** at limit **
   3  norm          1.2347        .31330        .34432E-08   -.23341E-03
   4  Prefactor     12.453        4.1502        .26065E-07   -.11090E-03
   5  Prefactor     7.4212        10.971       -.32216E-06   -.45628E-04
   6  Prefactor     .10000E-03    11.538        .35846E-07** at limit **
   7  norm          6.4005        17.080        .14801E-05   -.15149E-04
   8  Prefactor     2.6224        9.0367       -.16909E-05   -.28743E-03
   9  norm          24.937        13.396       -.29568E-06    .16694E-04
  10  Prefactor     .10000E-03    6.9414        .15174E-05** at limit **
  11  Prefactor     .41271        1.6620       -.27113E-06   -.26622E-03
  12  Prefactor     .10000E-03    72.129       -.33815E-05** at limit **
  13  Prefactor     .10000E-03    21.945        .48010E-07** at limit **
  14  norm          .10000E-03    1.0822        .49663E-06** at limit **
  15  Prefactor     .10017E-03    7.3316       -.21292E-05** at limit **
  16  Prefactor     3.0648        4.8872        .34348E-05    .20876E-04
  17  Prefactor     10.890        37.648       -.41545E-05   -.23663E-04
  18  norm          2.8613        1.1803        .55205E-07   -.77176E-03
  19  Prefactor     .94358        17.471        .25936E-05   -.12149E-04
  20  Prefactor     12.237        12.967       -.95351E-06   -.10182E-04
  21  Prefactor     3.0073        1.7299        .29479E-07   -.79595E-04
  22  Prefactor     .10000E-03    17.577       -.84811E-06** at limit **
  23  Prefactor     .10000E-03    53.500        .53138E-05** at limit **
  24  norm          2.0107        1.1295        .66266E-07    .31463E-03
  25  Prefactor     .10000E-03    3.2166        .68840E-06** at limit **
  26  Prefactor     10.361        29.083       -.32121E-05    .36528E-04
  27  norm          5.3504        3.0574        .60596E-07    .53309E-04
  28  Prefactor     3.6910        5.1957        .19667E-05    .13181E-04
  29  Prefactor     1.7274        2.0385       -.52675E-09    .39035E-04
  30  Prefactor     3.8645        2.1551        .44857E-07    .55887E-04
  31  Normalizat    .63092        .19124       -.21538E-05   -.11922E-03
  32  Prefactor     1.2135        .20132        .73327E-06   -.18362E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.2347
  Prefactor  = 12.4531
  Prefactor  = 7.42122
  Prefactor  = 0.0001
  norm       = 6.40054
  Prefactor  = 2.62239
  norm       = 24.9367
  Prefactor  = 0.000100001
  Prefactor  = 0.412713
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100173
  Prefactor  = 3.06475
  Prefactor  = 10.8901
  norm       = 2.86126
  Prefactor  = 0.943576
  Prefactor  = 12.2368
  Prefactor  = 3.00733
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.01074
  Prefactor  = 0.0001
  Prefactor  = 10.3609
  norm       = 5.35042
  Prefactor  = 3.69098
  Prefactor  = 1.72744
  Prefactor  = 3.86453
  Normalizat = 0.630922
  Prefactor  = 1.21348
 **********
 **   18 **HESSE 
 **********

 FCN=   6091.931     FROM HESSE     STATUS=OK           677 CALLS     4496 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.1285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    24.031        .41250E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.2347        .31372        .21134E-04   -1.5486    
   4  Prefactor     12.453        4.1503        .85995E-04   -1.5002    
   5  Prefactor     7.4212        10.905        .14746E-03   -1.5163    
   6  Prefactor     .10000E-03    11.707        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.4005        16.846        .15655E-03   -1.5202    
   8  Prefactor     2.6224        8.6460        .24984E-03   -1.5384    
   9  norm          24.937        13.407        .80071E-04   -1.4709    
  10  Prefactor     .10000E-03    29.059        .37309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .41271        2.3582        .17412E-02   -1.5579    
  12  Prefactor     .10000E-03    72.400        .18487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    22.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.5370        .15205E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10017E-03    77.322        .38635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.0648        4.9155        .10031E-02   -1.5358    
  17  Prefactor     10.890        37.496        .12245E-03   -1.5048    
  18  norm          2.8613        1.1807        .48609E-04   -1.5370    
  19  Prefactor     .94358        17.896        .52059E-03   -1.5514    
  20  Prefactor     12.237        12.927        .11407E-03   -1.5008    
  21  Prefactor     3.0073        1.7266        .74546E-04   -1.5361    
  22  Prefactor     .10000E-03    17.629        .21312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    53.584        .18812E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          2.0107        1.1266        .59065E-04   -1.5424    
  25  Prefactor     .10000E-03    9.5522        .26867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     10.361        28.942        .12419E-03   -1.5064    
  27  norm          5.3504        3.0597        .93036E-04   -1.5245    
  28  Prefactor     3.6910        5.1687        .10173E-02   -1.5324    
  29  Prefactor     1.7274        2.0278        .10991E-03   -1.5445    
  30  Prefactor     3.8645        2.1511        .81834E-04   -1.5315    
  31  Normalizat    .63092        .21880        .29467E-03   -1.0669    
  32  Prefactor     1.2135        .23671        .25899E-03   -.85918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23387e-08
Minuit parameter uncertainties:
  1  1.26143e-05
  2  0.000115962
  3  0.313722
  4  4.15035
  5  10.9079
  6  3.94576e-05
  7  16.8582
  8  8.65007
  9  13.4081
  10  0.00025552
  11  1.97294
  12  7.30055e-05
  13  2.85977e-05
  14  1.16349e-05
  15  0.00731598
  16  4.91614
  17  37.5769
  18  1.18069
  19  8.22103
  20  12.9298
  21  1.7266
  22  0.000117352
  23  0.000286149
  24  1.12662
  25  6.44138e-05
  26  28.9812
  27  3.05978
  28  5.16934
  29  2.02792
  30  2.15115
  31  0.219105
  32  0.236917
Done.

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

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  1.002e-04  7.316e-03  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:  1.213e+00  2.369e-01  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:  6.309e-01  2.191e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/928951/likelihoodResults_349747201_350006401_4FGL_J1135.1+3014_daily_bin426.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): 0
logL (Free Index) = 6091.93075683
delta logL = -6.03323724135e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6091.9307568
delta logL = -6.03022035648e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96352E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3763       1.0000          .0000       10.000    
     3 'Normalizat'    .63091       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2135       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=   6091.734     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      234 TOTAL
                     EDM=   .33E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83428        3.1700       -.12454E-05    .80982E-04
   2  Index         3.6296        1.7169        .25697E-04    .15655E-04
   3  Normalizat    .59895        .20282       -.12250E-04   -.98887E-04
   4  Prefactor     1.2328        .23569        .76374E-05   -.41260E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.834284
  Index      = 3.62959
  Normalizat = 0.598953
  Prefactor  = 1.23284
 **********
 **   18 **HESSE 
 **********

 FCN=   6091.734     FROM HESSE     STATUS=NOT POSDEF    45 CALLS      279 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83428        37.393        .90713E-02   -1.5525    
   2  Index         3.6296        3.7370        .14918       -.27764    
   3  Normalizat    .59895        .35750E-01    .68277E-01   -1.0803    
   4  Prefactor     1.2328        .42334E-01    .58182E-01   -.85327    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.64817e-10
Minuit parameter uncertainties:
  1  11.1775
  2  4.28034
  3  0.0357509
  4  0.0423353
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/928951': 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) = 6091.73404412
delta logL = 0.19665237805

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  8.343e-01  1.118e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  3.630e+00  4.280e+00  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:  1.233e+00  4.234e-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:  5.990e-01  3.575e-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/928951/cmap_HighResolution_349747201_350006401_4FGL_J1135.1+3014_daily_bin426.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.63e-03', job_status='DONE', photon_flux_upper_limit='7.30e-08', time_completed='2021-09-04 04:17:35.171867', job_id='928951', GAL2='1.23', fit_tolerance='1e-08', EG2='0.60', EG='0.63', time_epoch_completed='1630754255.17', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='1.97e-01', ts2='0.41', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='426' AND source_name='4FGL J1135.1+3014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:17:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 928951: <4FGL_J1135.1+3014_daily_bin426> in cluster <slac> Done

Job <4FGL_J1135.1+3014_daily_bin426> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Sep  4 04:01:17 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 04:01:18 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:01:18 2021
Terminated at Sat Sep  4 04:17:37 2021
Results reported at Sat Sep  4 04:17:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.1+3014_daily_bin426 173.788 30.2344 349747201 350006401 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 :                                   920.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             328.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   979 sec.
    Turnaround time :                            980 sec.

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

