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


Performing analysis on: 4FGL_J1135.1+3014_daily_bin1384
RA = 173.788, Dec = 30.2344
tmin = 598060801, tmax = 598320001
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='934231', job_status='RUN', time_executed='2021-09-04 04:17:15.190500', time_epoch_executed='1630754235.19' WHERE source_name='4FGL J1135.1+3014' and cadence='daily' and bin_id='1384'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/934231

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/934231/ft1_4FGL_J1135.1+3014_daily_bin1384.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/934231/ft2_4FGL_J1135.1+3014_daily_bin1384.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/934231/ft1_4FGL_J1135.1+3014_daily_bin1384.fits outfile=/scratch/kocevski/934231/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin1384.fits ra=173.788 dec=30.2344 rad=12.0 tmin=598060801.0 tmax=598320001.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.93
user 3.66
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/934231/ft1_filtered_4FGL_J1135.1+3014_daily_bin1384.fits" evtable="EVENTS" scfile=/scratch/kocevski/934231/ft2_4FGL_J1135.1+3014_daily_bin1384.fits sctable="SC_DATA" outfile=/scratch/kocevski/934231/ltcube_598060801_598320001_4FGL_J1135.1+3014_daily_bin1384.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/934231/ft2_4FGL_J1135.1+3014_daily_bin1384.fits
.....................!
real 9.67
user 9.28
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/934231/ft1_filtered_4FGL_J1135.1+3014_daily_bin1384.fits evtable="EVENTS" scfile=/scratch/kocevski/934231/ft2_4FGL_J1135.1+3014_daily_bin1384.fits sctable="SC_DATA" expcube=/scratch/kocevski/934231/ltcube_598060801_598320001_4FGL_J1135.1+3014_daily_bin1384.fits outfile=/scratch/kocevski/934231/expmap_598060801_598320001_4FGL_J1135.1+3014_daily_bin1384.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/934231/ltcube_598060801_598320001_4FGL_J1135.1+3014_daily_bin1384.fits
.....................!
real 151.46
user 146.62
sys 4.25

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/934231/ft1_filtered_4FGL_J1135.1+3014_daily_bin1384.fits scfile=/scratch/kocevski/934231/ft2_4FGL_J1135.1+3014_daily_bin1384.fits outfile=/scratch/kocevski/934231/cmap_598060801_598320001_4FGL_J1135.1+3014_daily_bin1384.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.47
user 0.31
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/934231/ft1_filtered_4FGL_J1135.1+3014_daily_bin1384.fits scfile=/scratch/kocevski/934231/ft2_4FGL_J1135.1+3014_daily_bin1384.fits outfile=/scratch/kocevski/934231/cmap_HighResolution_598060801_598320001_4FGL_J1135.1+3014_daily_bin1384.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.47
user 0.31
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.4483       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.0830       1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.610       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.2806       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.1170       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .18229E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .16844       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.1622       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.3039       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.3374       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .73111       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.9061       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.4642       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11703E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    24.863       1.0000         .10000E-03   10000.    
    24 'norm      '    .10093E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    93.392       1.0000         .10000E-03   10000.    
    27 'norm      '    11.372       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    31 'Normalizat'    .73094       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.0414       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=   5739.664     FROM MIGRAD    STATUS=CONVERGED    858 CALLS     4438 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.420        .20377E-07** at limit **
   2  Prefactor     .10000E-03    3.6063        .65328E-07** at limit **
   3  norm          1.4483        .36631        .70131E-08    .75798E-03
   4  Prefactor     4.0837        2.6309       -.10876E-08   -.44745E-04
   5  Prefactor     26.611        17.173       -.95923E-07    .37261E-04
   6  Prefactor     .10000E-03    6.9579        .73623E-06** at limit **
   7  norm          .10000E-03    6.9399       -.55201E-06** at limit **
   8  Prefactor     7.2812        6.5457        .17699E-05    .42221E-03
   9  norm          .10000E-03    3.2521        .70239E-08** at limit **
  10  Prefactor     4.1192        10.976       -.28606E-06    .49056E-04
  11  Prefactor     .10000E-03    .71116        .25957E-07** at limit **
  12  Prefactor     .10000E-03    99.191       -.18927E-05** at limit **
  13  Prefactor     .10000E-03    9.0234       -.29498E-06** at limit **
  14  norm          .16414        1.7604       -.10587E-05    .13155E-02
  15  Prefactor     3.1604        10.004       -.37810E-06   -.18006E-03
  16  Prefactor     6.3040        4.5601        .20381E-06    .37241E-03
  17  Prefactor     .10000E-03    34.353        .39049E-06** at limit **
  18  norm          2.3384        1.1305        .58788E-07    .56863E-03
  19  Prefactor     .78474        11.170        .18356E-05   -.31972E-03
  20  Prefactor     8.9068        10.477        .97801E-06    .10228E-03
  21  Prefactor     3.4632        1.8848       -.55373E-07   -.49403E-03
  22  Prefactor     .10001E-03    66.031        .30759E-05** at limit **
  23  Prefactor     24.853        41.558       -.18201E-05   -.13945E-03
  24  norm          .10000E-03    .44307       -.85348E-07** at limit **
  25  Prefactor     .10000E-03    .88836        .73549E-08** at limit **
  26  Prefactor     93.374        41.276       -.99664E-06   -.37989E-03
  27  norm          11.372        3.5781        .36848E-07    .56659E-04
  28  Prefactor     .10012E-03    5.1722       -.60808E-06** at limit **
  29  Prefactor     .10000E-03    .73502        .17339E-07** at limit **
  30  Prefactor     .10000E-03    .75766        .33892E-07** at limit **
  31  Normalizat    .73073        .17789        .41360E-06    .85926E-04
  32  Prefactor     1.0415        .19291       -.42087E-06    .10275E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.44834
  Prefactor  = 4.08373
  Prefactor  = 26.6111
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 7.28122
  norm       = 0.0001
  Prefactor  = 4.11918
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.164139
  Prefactor  = 3.16035
  Prefactor  = 6.30395
  Prefactor  = 0.0001
  norm       = 2.33845
  Prefactor  = 0.784743
  Prefactor  = 8.90678
  Prefactor  = 3.46317
  Prefactor  = 0.000100013
  Prefactor  = 24.8535
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 93.374
  norm       = 11.3721
  Prefactor  = 0.000100115
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.730726
  Prefactor  = 1.04152
 **********
 **   18 **HESSE 
 **********

 FCN=   5739.664     FROM HESSE     STATUS=OK           661 CALLS     5099 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.6109        .14047E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4483        .36733        .21636E-04   -1.5467    
   4  Prefactor     4.0837        2.6299        .94056E-04   -1.5304    
   5  Prefactor     26.611        17.243        .77659E-04   -1.4676    
   6  Prefactor     .10000E-03    7.0162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    7.0004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.2812        6.7642        .74326E-03   -1.5168    
   9  norm          .10000E-03    3.2598        .13341E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.1192        10.953        .19867E-03   -1.5302    
  11  Prefactor     .10000E-03    .71576        .62287E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    101.15        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.0411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .16414        8.0045        .15586E-02   -1.5627    
  15  Prefactor     3.1604        10.063        .22792E-03   -1.5352    
  16  Prefactor     6.3040        4.5639        .13100E-03   -1.5206    
  17  Prefactor     .10000E-03    34.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.3384        1.1277        .52296E-04   -1.5402    
  19  Prefactor     .78474        69.289        .42231E-02   -1.5531    
  20  Prefactor     8.9068        10.535        .67154E-03   -1.5111    
  21  Prefactor     3.4632        1.8907        .71403E-04   -1.5336    
  22  Prefactor     .10001E-03    68.843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     24.853        42.019        .80336E-04   -1.4710    
  24  norm          .10000E-03    .65496        .96559E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    .88973        .69732E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     93.374        42.080        .41586E-04   -1.3772    
  27  norm          11.372        3.5717        .77407E-04   -1.5033    
  28  Prefactor     .10012E-03    59.382        .31919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    .73697        .63366E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    .77131        .64335E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    .73073        .20711        .26076E-03   -1.0269    
  32  Prefactor     1.0415        .22624        .26094E-03   -.91358    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07159e-08
Minuit parameter uncertainties:
  1  2.62857e-06
  2  5.81462e-06
  3  0.367326
  4  2.63001
  5  17.2462
  6  0.00011887
  7  8.75724e-05
  8  6.76493
  9  1.33661e-06
  10  10.9579
  11  3.76383e-06
  12  0.000446175
  13  2.89502e-05
  14  2.2921
  15  10.0679
  16  4.56419
  17  0.000173289
  18  1.12768
  19  14.7645
  20  10.537
  21  1.89075
  22  0.0018858
  23  42.0691
  24  1.01427e-06
  25  3.90137e-08
  26  42.0939
  27  3.57179
  28  0.00523988
  29  9.58398e-07
  30  1.10055e-06
  31  0.207329
  32  0.226447
Done.

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

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  3.160e+00  1.007e+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.042e+00  2.264e-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:  7.307e-01  2.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/934231/likelihoodResults_598060801_598320001_4FGL_J1135.1+3014_daily_bin1384.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) = 5739.64901822
delta logL = 0.0148029121328

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5739.64691049
delta logL = 0.0169106414323

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6310       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6487       1.0000          .0000       10.000    
     3 'Normalizat'    .72733       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0434       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5739.647     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      253 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6334        11.022        .12570E-02    .35117E-03
   2  Index         2.6486        1.7649        .12098E-01    .20618E-03
   3  Normalizat    .72732        .19031        .26135E-03   -.96134E-05
   4  Prefactor     1.0434        .22301        .26074E-03   -.70636E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.63341
  Index      = 2.64862
  Normalizat = 0.727316
  Prefactor  = 1.04339
 **********
 **   18 **HESSE 
 **********

 FCN=   5739.647     FROM HESSE     STATUS=OK            27 CALLS      280 TOTAL
                     EDM=   .59E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6334        9.1354        .25140E-03   -1.5383    
   2  Index         2.6486        1.5096        .24195E-02   -.48960    
   3  Normalizat    .72732        .19050        .10454E-04   -1.0282    
   4  Prefactor     1.0434        .22306        .10429E-04   -.91297    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.85042e-12
Minuit parameter uncertainties:
  1  9.14022
  2  1.54071
  3  0.190677
  4  0.223261
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/934231': 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) = 5739.64691044
delta logL = 0.0169106956864

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  2.633e+00  9.140e+00  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.649e+00  1.541e+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.043e+00  2.233e-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:  7.273e-01  1.907e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
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/934231/cmap_HighResolution_598060801_598320001_4FGL_J1135.1+3014_daily_bin1384.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.94e-03', job_status='DONE', photon_flux_upper_limit='7.70e-08', time_completed='2021-09-04 04:29:50.272795', job_id='934231', GAL2='1.04', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1630754990.27', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.69e-02', ts2='0.16', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1384' AND source_name='4FGL J1135.1+3014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:29:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 934231: <4FGL_J1135.1+3014_daily_bin1384> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.1+3014_daily_bin1384 173.788 30.2344 598060801 598320001 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 :                                   746.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             295.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            784 sec.

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

