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


Performing analysis on: 4FGL_J1135.1+3014_daily_bin1215
RA = 173.788, Dec = 30.2344
tmin = 554256001, tmax = 554515201
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='933956', job_status='RUN', time_executed='2021-09-04 04:17:35.732609', time_epoch_executed='1630754255.73' WHERE source_name='4FGL J1135.1+3014' and cadence='daily' and bin_id='1215'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/933956

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/933956/ft1_4FGL_J1135.1+3014_daily_bin1215.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/933956/ft2_4FGL_J1135.1+3014_daily_bin1215.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/933956/ft1_4FGL_J1135.1+3014_daily_bin1215.fits outfile=/scratch/kocevski/933956/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin1215.fits ra=173.788 dec=30.2344 rad=12.0 tmin=554256001.0 tmax=554515201.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 4.02
user 3.79
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/933956/ft1_filtered_4FGL_J1135.1+3014_daily_bin1215.fits" evtable="EVENTS" scfile=/scratch/kocevski/933956/ft2_4FGL_J1135.1+3014_daily_bin1215.fits sctable="SC_DATA" outfile=/scratch/kocevski/933956/ltcube_554256001_554515201_4FGL_J1135.1+3014_daily_bin1215.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/933956/ft2_4FGL_J1135.1+3014_daily_bin1215.fits
.....................!
real 11.83
user 11.45
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/933956/ft1_filtered_4FGL_J1135.1+3014_daily_bin1215.fits evtable="EVENTS" scfile=/scratch/kocevski/933956/ft2_4FGL_J1135.1+3014_daily_bin1215.fits sctable="SC_DATA" expcube=/scratch/kocevski/933956/ltcube_554256001_554515201_4FGL_J1135.1+3014_daily_bin1215.fits outfile=/scratch/kocevski/933956/expmap_554256001_554515201_4FGL_J1135.1+3014_daily_bin1215.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/933956/ltcube_554256001_554515201_4FGL_J1135.1+3014_daily_bin1215.fits
.....................!
real 190.73
user 185.62
sys 4.72

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/933956/ft1_filtered_4FGL_J1135.1+3014_daily_bin1215.fits scfile=/scratch/kocevski/933956/ft2_4FGL_J1135.1+3014_daily_bin1215.fits outfile=/scratch/kocevski/933956/cmap_554256001_554515201_4FGL_J1135.1+3014_daily_bin1215.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.59
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/933956/ft1_filtered_4FGL_J1135.1+3014_daily_bin1215.fits scfile=/scratch/kocevski/933956/ft2_4FGL_J1135.1+3014_daily_bin1215.fits outfile=/scratch/kocevski/933956/cmap_HighResolution_554256001_554515201_4FGL_J1135.1+3014_daily_bin1215.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10167E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10575E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .18038       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10467E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    36.624       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.7823       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10391E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.8016       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.158       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.9640       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.7433       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.5094       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.4444       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .12360E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    7.0107       1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.5123       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    2.7887       1.0000         .10000E-03   10000.    
    28 'Prefactor '    17.558       1.0000         .10000E-03   10000.    
    29 'Prefactor '    2.9073       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    31 'Normalizat'    .25041       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.6474       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=   3261.215     FROM MIGRAD    STATUS=CONVERGED    899 CALLS     4477 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    67.535       -.30492E-05** at limit **
   2  Prefactor     .10000E-03    32.577        .32330E-06** at limit **
   3  norm          .10000E-03    .55423       -.21426E-08** at limit **
   4  Prefactor     .10000E-03    4.0898       -.63168E-06** at limit **
   5  Prefactor     .10605E-03    62.759       -.24677E-05** at limit **
   6  Prefactor     .10000E-03    54.284        .33817E-05** at limit **
   7  norm          .10000E-03    11.364       -.13241E-07** at limit **
   8  Prefactor     .10006E-03    6.2488       -.75352E-06** at limit **
   9  norm          36.643        25.156       -.79181E-06    .17899E-04
  10  Prefactor     1.7934        19.320       -.56828E-06   -.49797E-04
  11  Prefactor     .10000E-03    3.7839        .10601E-07** at limit **
  12  Prefactor     .10000E-03    45.512       -.57267E-06** at limit **
  13  Prefactor     .10000E-03    25.850        .10567E-06** at limit **
  14  norm          .10000E-03    2.0332       -.29670E-08** at limit **
  15  Prefactor     5.7908        17.135       -.13448E-06   -.18942E-04
  16  Prefactor     12.167        11.231       -.17658E-06    .74380E-05
  17  Prefactor     .10000E-03    48.710        .15651E-05** at limit **
  18  norm          1.9646        3.1673       -.79367E-07   -.94799E-04
  19  Prefactor     9.7061        46.049       -.26413E-05   -.14036E-04
  20  Prefactor     9.5104        15.763       -.88921E-06   -.11183E-04
  21  Prefactor     1.4482        3.5878        .45952E-06   -.47814E-03
  22  Prefactor     .10000E-03    43.174       -.26599E-05** at limit **
  23  Prefactor     .10000E-03    131.04        .12350E-05** at limit **
  24  norm          7.0114        2.5333       -.15215E-06   -.32927E-04
  25  Prefactor     1.5118        5.2344       -.34478E-06   -.15480E-03
  26  Prefactor     .10000E-03    25.198       -.23678E-06** at limit **
  27  norm          2.7892        2.6468       -.76859E-07   -.73023E-06
  28  Prefactor     17.556        13.710       -.29165E-06   -.10281E-04
  29  Prefactor     2.9074        2.4110       -.53931E-07   -.10974E-04
  30  Prefactor     .10000E-03    2.2037       -.69782E-07** at limit **
  31  Normalizat    .24987        .32460        .12428E-04    .11505E-03
  32  Prefactor     1.6478        .33335       -.41055E-05    .17794E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000106048
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100061
  norm       = 36.6425
  Prefactor  = 1.79336
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.79083
  Prefactor  = 12.1666
  Prefactor  = 0.0001
  norm       = 1.9646
  Prefactor  = 9.70614
  Prefactor  = 9.51045
  Prefactor  = 1.44818
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.01138
  Prefactor  = 1.51179
  Prefactor  = 0.0001
  norm       = 2.78919
  Prefactor  = 17.5559
  Prefactor  = 2.9074
  Prefactor  = 0.0001
  Normalizat = 0.249866
  Prefactor  = 1.64784
 **********
 **   18 **HESSE 
 **********

 FCN=   3261.215     FROM HESSE     STATUS=OK           669 CALLS     5146 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    66.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    32.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .88462        .77398E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.584        .21460E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10605E-03    60.441        .11874       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    53.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    11.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10006E-03    57.651        .26115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          36.643        24.790        .66224E-04   -1.4497    
  10  Prefactor     1.7934        17.930        .31345E-03   -1.5440    
  11  Prefactor     .10000E-03    3.8321        .10841E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    45.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    25.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.0351        .79522E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.7908        17.097        .16674E-03   -1.5227    
  16  Prefactor     12.167        11.179        .11488E-03   -1.5010    
  17  Prefactor     .10000E-03    48.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.9646        3.1450        .12475E-03   -1.5428    
  19  Prefactor     9.7061        44.802        .12838E-03   -1.5085    
  20  Prefactor     9.5104        15.765        .12996E-03   -1.5091    
  21  Prefactor     1.4482        3.3453        .12445E-03   -1.5467    
  22  Prefactor     .10000E-03    42.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    130.89        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          7.0114        2.5400        .50381E-04   -1.5178    
  25  Prefactor     1.5118        5.1853        .22252E-03   -1.5462    
  26  Prefactor     .10000E-03    25.208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.7892        2.6537        .87063E-04   -1.5374    
  28  Prefactor     17.556        13.700        .95584E-04   -1.4870    
  29  Prefactor     2.9074        2.4127        .77828E-04   -1.5367    
  30  Prefactor     .10000E-03    2.2851        .16523E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    .24987        .31787        .49178E-03   -1.2596    
  32  Prefactor     1.6478        .33344        .23224E-03   -.73479    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79195e-09
Minuit parameter uncertainties:
  1  0.000384642
  2  8.76843e-05
  3  1.14504e-05
  4  1.46973e-05
  5  0.038276
  6  0.000316837
  7  9.53249e-07
  8  0.00374132
  9  24.7968
  10  11.3453
  11  4.68032e-06
  12  4.80427e-05
  13  3.22618e-05
  14  9.10361e-07
  15  17.1111
  16  11.1804
  17  0.000162188
  18  3.14522
  19  41.7576
  20  15.7722
  21  3.34575
  22  0.00018486
  23  0.00021701
  24  2.54002
  25  5.18688
  26  8.99113e-07
  27  2.65381
  28  13.7027
  29  2.41282
  30  1.76214e-06
  31  0.320209
  32  0.333886
Done.

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

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  5.791e+00  1.711e+01  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.648e+00  3.339e-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:  2.499e-01  3.202e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 173.788 30.234
Photon Flux Upper Limit: 1.38e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.07e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/933956/likelihoodResults_554256001_554515201_4FGL_J1135.1+3014_daily_bin1215.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) = 3261.21472673
delta logL = 0.000431667216617

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3261.21461465
delta logL = 0.000543744085462

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0499       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3219       1.0000          .0000       10.000    
     3 'Normalizat'    .25050       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6472       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.

 FCN=   3261.215     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      272 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0609        20.003        .16324E-03    .28450E-04
   2  Index         2.3230        1.6213        .13930E-01    .80591E-04
   3  Normalizat    .25061        .28343        .49108E-03   -.27977E-04
   4  Prefactor     1.6473        .32616        .23227E-03    .67965E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.06089
  Index      = 2.32304
  Normalizat = 0.250609
  Prefactor  = 1.64725
 **********
 **   18 **HESSE 
 **********

 FCN=   3261.215     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0609        19.261        .65295E-05   -1.5216    
   2  Index         2.3230        1.5641        .27861E-02   -.56497    
   3  Normalizat    .25061        .28310        .19643E-04   -1.2591    
   4  Prefactor     1.6473        .32577        .46455E-04   -.73495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20567e-10
Minuit parameter uncertainties:
  1  19.281
  2  1.60231
  3  0.284734
  4  0.326192
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/933956': 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) = 3261.21461335
delta logL = 0.000545045079434

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  6.061e+00  1.928e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.323e+00  1.602e+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.647e+00  3.262e-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:  2.506e-01  2.847e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
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/933956/cmap_HighResolution_554256001_554515201_4FGL_J1135.1+3014_daily_bin1215.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', job_status='DONE', photon_flux_upper_limit='1.38e-07', time_completed='2021-09-04 04:28:47.745749', job_id='933956', GAL2='1.65', fit_tolerance='1e-08', EG2='0.25', EG='0.25', time_epoch_completed='1630754927.75', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='1.65', dlogl='5.45e-04', ts2='0.14', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1215' AND source_name='4FGL J1135.1+3014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:28:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 933956: <4FGL_J1135.1+3014_daily_bin1215> in cluster <slac> Done

Job <4FGL_J1135.1+3014_daily_bin1215> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep  4 04:16:29 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 04:16:30 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:16:30 2021
Terminated at Sat Sep  4 04:28:48 2021
Results reported at Sat Sep  4 04:28:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.1+3014_daily_bin1215 173.788 30.2344 554256001 554515201 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 :                                   647.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             311.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   738 sec.
    Turnaround time :                            739 sec.

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

