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


Performing analysis on: 4FGL_J1135.1+3014_daily_bin2
RA = 173.788, Dec = 30.2344
tmin = 239846401, tmax = 240105601
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='925715', job_status='RUN', time_executed='2021-09-04 03:52:21.799526', time_epoch_executed='1630752741.8' WHERE source_name='4FGL J1135.1+3014' and cadence='daily' and bin_id='2'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/925715

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/925715/ft1_4FGL_J1135.1+3014_daily_bin2.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/925715/ft2_4FGL_J1135.1+3014_daily_bin2.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/925715/ft1_4FGL_J1135.1+3014_daily_bin2.fits outfile=/scratch/kocevski/925715/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin2.fits ra=173.788 dec=30.2344 rad=12.0 tmin=239846401.0 tmax=240105601.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 1.44
user 1.29
sys 0.14

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/925715/ft2_4FGL_J1135.1+3014_daily_bin2.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/925715/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin2.fits evtable="EVENTS" outfile="/scratch/kocevski/925715/ft1_filtered_4FGL_J1135.1+3014_daily_bin2.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.53
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/925715/ft1_filtered_4FGL_J1135.1+3014_daily_bin2.fits" evtable="EVENTS" scfile=/scratch/kocevski/925715/ft2_4FGL_J1135.1+3014_daily_bin2.fits sctable="SC_DATA" outfile=/scratch/kocevski/925715/ltcube_239846401_240105601_4FGL_J1135.1+3014_daily_bin2.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/925715/ft2_4FGL_J1135.1+3014_daily_bin2.fits
.....................!
real 13.05
user 12.64
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/925715/ft1_filtered_4FGL_J1135.1+3014_daily_bin2.fits evtable="EVENTS" scfile=/scratch/kocevski/925715/ft2_4FGL_J1135.1+3014_daily_bin2.fits sctable="SC_DATA" expcube=/scratch/kocevski/925715/ltcube_239846401_240105601_4FGL_J1135.1+3014_daily_bin2.fits outfile=/scratch/kocevski/925715/expmap_239846401_240105601_4FGL_J1135.1+3014_daily_bin2.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/925715/ltcube_239846401_240105601_4FGL_J1135.1+3014_daily_bin2.fits
.....................!
real 191.40
user 186.92
sys 4.03

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/925715/ft1_filtered_4FGL_J1135.1+3014_daily_bin2.fits scfile=/scratch/kocevski/925715/ft2_4FGL_J1135.1+3014_daily_bin2.fits outfile=/scratch/kocevski/925715/cmap_239846401_240105601_4FGL_J1135.1+3014_daily_bin2.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/925715/ft1_filtered_4FGL_J1135.1+3014_daily_bin2.fits scfile=/scratch/kocevski/925715/ft2_4FGL_J1135.1+3014_daily_bin2.fits outfile=/scratch/kocevski/925715/cmap_HighResolution_239846401_240105601_4FGL_J1135.1+3014_daily_bin2.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/925715/ft1_filtered_4FGL_J1135.1+3014_daily_bin2.fits evtable="EVENTS" scfile=/scratch/kocevski/925715/ft2_4FGL_J1135.1+3014_daily_bin2.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/925715/Model_4FGL_J1135.1+3014_daily_bin2.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/925715/ft1_filtered_4FGL_J1135.1+3014_daily_bin2.fits.....................!
real 50.11
user 48.65
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.379       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.8194       1.0000         .10000E-03   10000.    
     3 'norm      '    .91939       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .87334       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.1915       1.0000         .10000E-03   10000.    
     7 'norm      '    74.792       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.3732       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    36.044       1.0000         .10000E-03   10000.    
    13 'Prefactor '    32.695       1.0000         .10000E-03   10000.    
    14 'norm      '    .10620E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .15552E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.4323       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10300E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .40798       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.3379       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    47.002       1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.1680       1.0000         .10000E-03   10000.    
    24 'norm      '    .39428       1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.8911       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10824E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.7644       1.0000         .10000E-03   10000.    
    30 'Prefactor '    17.752       1.0000         .10000E-03   10000.    
    31 'Normalizat'    1.0419       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .74557       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=   5525.393     FROM MIGRAD    STATUS=CONVERGED    844 CALLS     4430 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.379        28.256        .12002E-06   -.54358E-05
   2  Prefactor     7.8198        8.8354       -.17758E-06   -.74017E-04
   3  norm          .91939        .31290        .24822E-08    .20110E-03
   4  Prefactor     .87310        1.9164        .70886E-06    .42249E-03
   5  Prefactor     .10000E-03    4.4701       -.15410E-07** at limit **
   6  Prefactor     8.1909        11.365        .72314E-07    .14790E-04
   7  norm          74.795        21.396        .56900E-07    .36558E-04
   8  Prefactor     .10000E-03    2.3801        .42722E-07** at limit **
   9  norm          3.3708        10.329        .57927E-06   -.24080E-04
  10  Prefactor     .10000E-03    5.5644        .19048E-06** at limit **
  11  Prefactor     .10000E-03    1.4671       -.79453E-06** at limit **
  12  Prefactor     36.021        41.517        .10381E-05    .51281E-04
  13  Prefactor     32.708        20.499       -.17855E-06   -.22186E-04
  14  norm          .10000E-03    2.1313       -.10976E-05** at limit **
  15  Prefactor     .10000E-03    32.479        .32865E-07** at limit **
  16  Prefactor     5.4336        7.2356        .34857E-06   -.72707E-04
  17  Prefactor     .10000E-03    53.362        .16090E-06** at limit **
  18  norm          .40738        .94925        .28727E-08    .10858E-03
  19  Prefactor     6.3390        12.220       -.56894E-07   -.40228E-04
  20  Prefactor     .10000E-03    6.0317        .10403E-07** at limit **
  21  Prefactor     .10000E-03    .40570        .18774E-07** at limit **
  22  Prefactor     47.015        33.029       -.36748E-06   -.21982E-04
  23  Prefactor     7.1324        47.108        .33043E-06   -.43005E-04
  24  norm          .39481        1.0170        .55574E-06   -.12349E-03
  25  Prefactor     5.8913        4.9715        .89166E-07   -.29094E-04
  26  Prefactor     .10000E-03    66.993        .10479E-05** at limit **
  27  norm          .10000E-03    2.3785        .32777E-07** at limit **
  28  Prefactor     .10000E-03    5.3477        .17763E-07** at limit **
  29  Prefactor     1.7635        1.9565        .27038E-07   -.51328E-04
  30  Prefactor     17.751        4.1124       -.36678E-07   -.16785E-03
  31  Normalizat    1.0415        .19150       -.57788E-06   -.54878E-04
  32  Prefactor     .74600        .20074       -.17000E-06   -.28469E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.3793
  Prefactor  = 7.81981
  norm       = 0.919393
  Prefactor  = 0.873101
  Prefactor  = 0.0001
  Prefactor  = 8.19092
  norm       = 74.7946
  Prefactor  = 0.0001
  norm       = 3.37081
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.0207
  Prefactor  = 32.708
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.43364
  Prefactor  = 0.0001
  norm       = 0.407381
  Prefactor  = 6.33905
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 47.015
  Prefactor  = 7.13237
  norm       = 0.39481
  Prefactor  = 5.89126
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.76355
  Prefactor  = 17.7515
  Normalizat = 1.04151
  Prefactor  = 0.745995
 **********
 **   18 **HESSE 
 **********

 FCN=   5525.393     FROM HESSE     STATUS=OK           659 CALLS     5089 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.379        28.258        .84671E-04   -1.4761    
   2  Prefactor     7.8198        8.7624        .14340E-03   -1.5149    
   3  norm          .91939        .31392        .23095E-04   -1.5516    
   4  Prefactor     .87310        1.7357        .15343E-02   -1.5521    
   5  Prefactor     .10000E-03    4.4731        .15347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.1909        11.408        .14008E-03   -1.5135    
   7  norm          74.795        21.414        .46427E-04   -1.3976    
   8  Prefactor     .10000E-03    2.3869        .11199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.3708        10.300        .22032E-03   -1.5341    
  10  Prefactor     .10000E-03    5.5825        .17115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.4531        .86557E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     36.021        41.708        .66753E-04   -1.4507    
  13  Prefactor     32.708        20.440        .70078E-04   -1.4564    
  14  norm          .10000E-03    2.1168        .20627E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    33.003        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.4336        7.2119        .17241E-03   -1.5242    
  17  Prefactor     .10000E-03    53.571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .40738        .91846        .10022E-03   -1.5580    
  19  Prefactor     6.3390        12.197        .15944E-03   -1.5204    
  20  Prefactor     .10000E-03    6.0422        .17828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    .40712        .46219E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     47.015        33.003        .58486E-04   -1.4336    
  23  Prefactor     7.1324        45.745        .14983E-03   -1.5174    
  24  norm          .39481        .99376        .11165E-03   -1.5582    
  25  Prefactor     5.8913        4.9688        .14625E-03   -1.5222    
  26  Prefactor     .10000E-03    67.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .10000E-03    2.4561        .22288E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    5.3951        .16782E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     1.7635        1.9323        .10519E-03   -1.5442    
  30  Prefactor     17.751        4.1063        .68885E-04   -1.4865    
  31  Normalizat    1.0415        .21962        .24136E-03   -.91652    
  32  Prefactor     .74600        .22933        .31490E-03   -1.0175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36652e-10
Minuit parameter uncertainties:
  1  28.2745
  2  8.76386
  3  0.313923
  4  1.73582
  5  1.41684e-06
  6  11.4108
  7  21.4158
  8  6.90313e-08
  9  10.3056
  10  1.8557e-05
  11  1.02593e-05
  12  41.7421
  13  20.4442
  14  2.11058e-05
  15  2.96123e-06
  16  7.21304
  17  5.97962e-05
  18  0.918495
  19  12.2016
  20  6.26338e-06
  21  7.64502e-08
  22  33.0158
  23  36.1661
  24  0.993804
  25  4.96916
  26  3.42033e-05
  27  9.49469e-07
  28  1.07543e-05
  29  1.93233
  30  4.10641
  31  0.219815
  32  0.229623
Done.

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

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  2.961e-06  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:  7.460e-01  2.296e-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.042e+00  2.198e-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: 8.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/925715/likelihoodResults_239846401_240105601_4FGL_J1135.1+3014_daily_bin2.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5525.39313719
delta logL = -0.000144480825838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5525.39299244
delta logL = 2.68187250185e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10797E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4543       1.0000          .0000       10.000    
     3 'Normalizat'    1.0415       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74600       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=   5525.393     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      256 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10016E-03    3.6416        .90712E-01** at limit **
   2  Index         2.5575        2.6784        .50000       -.25133E-04
   3  Normalizat    1.0415        .29851E-02    .41164E-01    .76923E-04
   4  Prefactor     .74599        .33650E-02    .71157E-01    .28712E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100159
  Index      = 2.55749
  Normalizat = 1.04151
  Prefactor  = 0.745995
 **********
 **   18 **HESSE 
 **********

 FCN=   5525.393     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      291 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10016E-03    6574.7        .41988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5575        5.8772        .50000       -.51037    
   3  Normalizat    1.0415        .32263E-01    .24136E-03   -.91652    
   4  Prefactor     .74599        .36265E-01    .31490E-03   -1.0175    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.12383e-07
Minuit parameter uncertainties:
  1  0.0475536
  2  29.5317
  3  0.0322639
  4  0.0362665
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/925715': 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) = 5525.3929918
delta logL = 9.02081410459e-07

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  1.002e-04  4.755e-02  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.557e+00  2.953e+01  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:  7.460e-01  3.627e-02  0.000e+00  1.000e+01 ( 1.000e+00)
619        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
620        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
617   Normalization:  1.042e+00  3.226e-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/925715/cmap_HighResolution_239846401_240105601_4FGL_J1135.1+3014_daily_bin2.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.90e-03', job_status='DONE', photon_flux_upper_limit='8.94e-08', time_completed='2021-09-04 04:07:29.004624', job_id='925715', GAL2='0.75', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1630753649.0', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='9.02e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='2' AND source_name='4FGL J1135.1+3014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:07:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 925715: <4FGL_J1135.1+3014_daily_bin2> in cluster <slac> Done

Job <4FGL_J1135.1+3014_daily_bin2> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Sep  4 03:52:01 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 03:52:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 03:52:03 2021
Terminated at Sat Sep  4 04:07:29 2021
Results reported at Sat Sep  4 04:07:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.1+3014_daily_bin2 173.788 30.2344 239846401 240105601 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 :                                   905.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   926 sec.
    Turnaround time :                            928 sec.

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

