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


Performing analysis on: 4FGL_J1135.1+3014_daily_bin1405
RA = 173.788, Dec = 30.2344
tmin = 603504001, tmax = 603763201
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='934266', job_status='RUN', time_executed='2021-09-04 04:18:58.513055', time_epoch_executed='1630754338.51' WHERE source_name='4FGL J1135.1+3014' and cadence='daily' and bin_id='1405'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/934266

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/934266/ft1_4FGL_J1135.1+3014_daily_bin1405.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/934266/ft2_4FGL_J1135.1+3014_daily_bin1405.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/934266/ft1_4FGL_J1135.1+3014_daily_bin1405.fits outfile=/scratch/kocevski/934266/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin1405.fits ra=173.788 dec=30.2344 rad=12.0 tmin=603504001.0 tmax=603763201.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 2.74
user 2.52
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/934266/ft1_filtered_4FGL_J1135.1+3014_daily_bin1405.fits evtable="EVENTS" scfile=/scratch/kocevski/934266/ft2_4FGL_J1135.1+3014_daily_bin1405.fits sctable="SC_DATA" expcube=/scratch/kocevski/934266/ltcube_603504001_603763201_4FGL_J1135.1+3014_daily_bin1405.fits outfile=/scratch/kocevski/934266/expmap_603504001_603763201_4FGL_J1135.1+3014_daily_bin1405.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/934266/ltcube_603504001_603763201_4FGL_J1135.1+3014_daily_bin1405.fits
.....................!
real 192.13
user 186.74
sys 4.89

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/934266/ft1_filtered_4FGL_J1135.1+3014_daily_bin1405.fits scfile=/scratch/kocevski/934266/ft2_4FGL_J1135.1+3014_daily_bin1405.fits outfile=/scratch/kocevski/934266/cmap_603504001_603763201_4FGL_J1135.1+3014_daily_bin1405.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/934266/ft1_filtered_4FGL_J1135.1+3014_daily_bin1405.fits scfile=/scratch/kocevski/934266/ft2_4FGL_J1135.1+3014_daily_bin1405.fits outfile=/scratch/kocevski/934266/cmap_HighResolution_603504001_603763201_4FGL_J1135.1+3014_daily_bin1405.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20678E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10129E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    .12381E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .57054E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .76016E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10253E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    119.91       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .47306E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .91387E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11178E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13964E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11396E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .27106E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    13.205       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.0610       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .15062E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10216E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .25318E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    152.62       1.0000         .10000E-03   10000.    
    23 'Prefactor '    23.628       1.0000         .10000E-03   10000.    
    24 'norm      '    2.6956       1.0000         .10000E-03   10000.    
    25 'Prefactor '    11.167       1.0000         .10000E-03   10000.    
    26 'Prefactor '    45.148       1.0000         .10000E-03   10000.    
    27 'norm      '    10.124       1.0000         .10000E-03   10000.    
    28 'Prefactor '    17.444       1.0000         .10000E-03   10000.    
    29 'Prefactor '    8.5137       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .17020E-02   1.0000         .10000E-03   10000.    
    31 'Normalizat'    1.1759       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .12477       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=   1073.303     FROM MIGRAD    STATUS=CONVERGED    231 CALLS     3832 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10062E-03    152.81       -.22448E-04** at limit **
   2  Prefactor     .10239E-03    15.238        .20880E-04** at limit **
   3  norm          .10000E-03    1.1960       -.93090E-06** at limit **
   4  Prefactor     .10000E-03    11.664       -.16755E-05** at limit **
   5  Prefactor     .10008E-03    37.422        .38238E-04** at limit **
   6  Prefactor     .10102E-03    32.987        .77531E-05** at limit **
   7  norm          118.72        38.423        .69346E-05    .64778E-03
   8  Prefactor     .10000E-03    33.633        .48596E-05** at limit **
   9  norm          .10110E-03    11.207       -.13148E-04** at limit **
  10  Prefactor     .10000E-03    27.639        .24686E-06** at limit **
  11  Prefactor     .10000E-03    4.4203        .11073E-05** at limit **
  12  Prefactor     .10108E-03    67.777       -.19439E-04** at limit **
  13  Prefactor     .10025E-03    5.9091        .20867E-06** at limit **
  14  norm          13.190        8.3566        .44652E-06   -.75992E-03
  15  Prefactor     .10000E-03    34.235       -.14028E-04** at limit **
  16  Prefactor     9.1339        9.7252        .33226E-05    .75329E-02
  17  Prefactor     .10000E-03    29.510       -.85828E-05** at limit **
  18  norm          .10000E-03    .88224       -.21058E-05** at limit **
  19  Prefactor     .10076E-03    146.39       -.14992E-03** at limit **
  20  Prefactor     .10042E-03    37.016       -.73777E-05** at limit **
  21  Prefactor     .10000E-03    3.0409        .26427E-05** at limit **
  22  Prefactor     157.31        114.06        .32007E-04    .12667E-03
  23  Prefactor     25.888        82.715       -.59622E-04    .54780E-03
  24  norm          2.7009        2.8488       -.15194E-05   -.21794E-04
  25  Prefactor     11.524        15.599        .34991E-05   -.26001E-02
  26  Prefactor     47.129        79.987        .42447E-04   -.13500E-03
  27  norm          10.101        6.6341       -.98246E-06    .12538E-04
  28  Prefactor     17.672        16.149       -.58849E-05   -.50101E-02
  29  Prefactor     8.5187        5.9868       -.83668E-06   -.11512E-05
  30  Prefactor     .10000E-03    14.424       -.87210E-05** at limit **
  31  Normalizat    1.1610        .58066        .21172E-05    .32419E-05
  32  Prefactor     .13063        .52442       -.99559E-05    .31343E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010062
  Prefactor  = 0.00010239
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100078
  Prefactor  = 0.000101016
  norm       = 118.718
  Prefactor  = 0.0001
  norm       = 0.000101104
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.00010108
  Prefactor  = 0.000100254
  norm       = 13.1901
  Prefactor  = 0.000100004
  Prefactor  = 9.13387
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.000100759
  Prefactor  = 0.000100419
  Prefactor  = 0.0001
  Prefactor  = 157.309
  Prefactor  = 25.8884
  norm       = 2.70086
  Prefactor  = 11.5241
  Prefactor  = 47.1286
  norm       = 10.1011
  Prefactor  = 17.6718
  Prefactor  = 8.51873
  Prefactor  = 0.0001
  Normalizat = 1.16105
  Prefactor  = 0.130633
 **********
 **   18 **HESSE 
 **********

 FCN=   1073.303     FROM HESSE     STATUS=OK           725 CALLS     4557 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10062E-03    154.39        .91260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10239E-03    56.035        .10377E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .82670        .14313E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.676        .10545E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10008E-03    37.661        .10466E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10102E-03    41.052        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          118.72        95.728        .91876E-03   -1.3524    
   8  Prefactor     .10000E-03    33.639        .10592E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10110E-03    73.215        .10410E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    27.643        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.4279        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10108E-03    73.412        .90799E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10025E-03    86.519        .99679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          13.190        8.7628        .27557E-02   -1.4981    
  15  Prefactor     .10000E-03    34.210        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.1339        17.255        .33287E-02   -1.5103    
  17  Prefactor     .10000E-03    29.510        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .87747        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10076E-03    148.03        .90981E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10042E-03    39.379        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.0414        .10730E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     157.31        116.91        .81572E-03   -1.3193    
  23  Prefactor     25.888        93.935        .20601E-02   -1.4690    
  24  norm          2.7009        3.0073        .62034E-02   -1.5379    
  25  Prefactor     11.524        17.980        .29972E-02   -1.5029    
  26  Prefactor     47.129        83.639        .14917E-02   -1.4334    
  27  norm          10.101        6.6451        .31484E-02   -1.5072    
  28  Prefactor     17.672        18.377        .23974E-02   -1.4867    
  29  Prefactor     8.5187        6.0207        .34346E-02   -1.5124    
  30  Prefactor     .10000E-03    7.5481        .27853E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    1.1610        1.1086        .55095E-01   -.87815    
  32  Prefactor     .13063        5.6979        .15180       -1.3417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.73072e-07
Minuit parameter uncertainties:
  1  0.019625
  2  0.0231653
  3  6.61393e-08
  4  9.01493e-06
  5  0.00343897
  6  0.0129227
  7  95.8534
  8  1.67253e-05
  9  0.0180068
  10  0.000319522
  11  1.15734e-06
  12  0.0178302
  13  0.00939839
  14  8.76361
  15  0.000693309
  16  17.2646
  17  0.0004521
  18  1.68182e-06
  19  0.0212491
  20  0.00813415
  21  9.18376e-07
  22  117.085
  23  94.4784
  24  3.00749
  25  17.9879
  26  83.8483
  27  6.64556
  28  18.3824
  29  6.02116
  30  7.35777e-06
  31  1.1322
  32  1.17166
Done.

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

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  6.933e-04  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.306e-01  1.172e+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.161e+00  1.132e+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: 3.39e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.62e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/934266/likelihoodResults_603504001_603763201_4FGL_J1135.1+3014_daily_bin1405.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) = 1073.30317353
delta logL = -0.000137822781426

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1073.30303583
delta logL = -1.20514187074e-07

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 'Index     '    2.3333       1.0000          .0000       10.000    
     3 'Normalizat'    1.1612       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .13056       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.

 FCN=   1073.303     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      204 TOTAL
                     EDM=   .63E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    73.317        .90712E-02** at limit **
   2  Index         2.3348        5.8983        .50000       -.41244E-06
   3  Normalizat    1.1611        .74652        .55095E-01   -.42800E-05
   4  Prefactor     .13063        .93774        .15180        .14554E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.33483
  Normalizat = 1.16105
  Prefactor  = 0.130628
 **********
 **   18 **HESSE 
 **********

 FCN=   1073.303     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3348        6.1666        .50000       -.56218    
   3  Normalizat    1.1611        .48372        .24360E-03   -.87815    
   4  Prefactor     .13063        .45478        .66263E-03   -1.3417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.21952e-11
Minuit parameter uncertainties:
  1  5.56552e-05
  2  4.37168
  3  0.485593
  4  0.467913
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/934266': 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) = 1073.30303571
delta logL = -3.89127308154e-09

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  5.566e-05  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.335e+00  4.372e+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.306e-01  4.679e-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:  1.161e+00  4.856e-01  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/934266/cmap_HighResolution_603504001_603763201_4FGL_J1135.1+3014_daily_bin1405.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-02', job_status='DONE', photon_flux_upper_limit='3.39e-07', time_completed='2021-09-04 04:26:35.905408', job_id='934266', GAL2='0.13', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1630754795.91', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.13', dlogl='-3.89e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1405' AND source_name='4FGL J1135.1+3014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:26:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0134>
Subject: Job 934266: <4FGL_J1135.1+3014_daily_bin1405> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.1+3014_daily_bin1405 173.788 30.2344 603504001 603763201 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 :                                   432.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   586 sec.
    Turnaround time :                            587 sec.

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

