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


Performing analysis on: 4FGL_J1135.1+3014_daily_bin1526
RA = 173.788, Dec = 30.2344
tmin = 634867201, tmax = 635126401
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='935613', job_status='RUN', time_executed='2021-09-04 04:23:52.785949', time_epoch_executed='1630754632.79' WHERE source_name='4FGL J1135.1+3014' and cadence='daily' and bin_id='1526'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/935613

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/935613/ft1_4FGL_J1135.1+3014_daily_bin1526.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/935613/ft2_4FGL_J1135.1+3014_daily_bin1526.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/935613/ft1_4FGL_J1135.1+3014_daily_bin1526.fits outfile=/scratch/kocevski/935613/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin1526.fits ra=173.788 dec=30.2344 rad=12.0 tmin=634867201.0 tmax=635126401.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.15
user 2.84
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/935613/ft1_filtered_4FGL_J1135.1+3014_daily_bin1526.fits evtable="EVENTS" scfile=/scratch/kocevski/935613/ft2_4FGL_J1135.1+3014_daily_bin1526.fits sctable="SC_DATA" expcube=/scratch/kocevski/935613/ltcube_634867201_635126401_4FGL_J1135.1+3014_daily_bin1526.fits outfile=/scratch/kocevski/935613/expmap_634867201_635126401_4FGL_J1135.1+3014_daily_bin1526.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/935613/ltcube_634867201_635126401_4FGL_J1135.1+3014_daily_bin1526.fits
.....................!
real 191.84
user 185.20
sys 4.61

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 197 point sources and 0 extended sources

Setting source of interest to:
4FGL J1135.1+3014 @ 173.788 30.2344

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/935613/ft1_filtered_4FGL_J1135.1+3014_daily_bin1526.fits scfile=/scratch/kocevski/935613/ft2_4FGL_J1135.1+3014_daily_bin1526.fits outfile=/scratch/kocevski/935613/cmap_634867201_635126401_4FGL_J1135.1+3014_daily_bin1526.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/935613/ft1_filtered_4FGL_J1135.1+3014_daily_bin1526.fits scfile=/scratch/kocevski/935613/ft2_4FGL_J1135.1+3014_daily_bin1526.fits outfile=/scratch/kocevski/935613/cmap_HighResolution_634867201_635126401_4FGL_J1135.1+3014_daily_bin1526.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/935613/ft1_filtered_4FGL_J1135.1+3014_daily_bin1526.fits evtable="EVENTS" scfile=/scratch/kocevski/935613/ft2_4FGL_J1135.1+3014_daily_bin1526.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/935613/Model_4FGL_J1135.1+3014_daily_bin1526.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/935613/ft1_filtered_4FGL_J1135.1+3014_daily_bin1526.fits.......................!
real 23.03
user 21.70
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    141.29       1.0000         .10000E-03   10000.    
     2 'Prefactor '    123.05       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10174E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.778       1.0000         .10000E-03   10000.    
     9 'norm      '    35.628       1.0000         .10000E-03   10000.    
    10 'Prefactor '    88.594       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10305E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.8604       1.0000         .10000E-03   10000.    
    19 'Prefactor '    44.078       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.0212       1.0000         .10000E-03   10000.    
    22 'Prefactor '    88.213       1.0000         .10000E-03   10000.    
    23 'Prefactor '    154.24       1.0000         .10000E-03   10000.    
    24 'norm      '    9.8535       1.0000         .10000E-03   10000.    
    25 'Prefactor '    30.131       1.0000         .10000E-03   10000.    
    26 'Prefactor '    40.640       1.0000         .10000E-03   10000.    
    27 'norm      '    5.5454       1.0000         .10000E-03   10000.    
    28 'Prefactor '    28.995       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    3.5884       1.0000         .10000E-03   10000.    
    31 'Normalizat'    .31100       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .98949       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=   1310.679     FROM MIGRAD    STATUS=CONVERGED   1461 CALLS     5701 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     140.96        6155.9        .16946E-03    .62056E-06
   2  Prefactor     123.08        267.53        .36284E-04    .36659E-05
   3  norm          .10000E-03    .78213        .31262E-03** at limit **
   4  Prefactor     .10000E-03    18.371        .15151E-02** at limit **
   5  Prefactor     .10000E-03    61.792        .18142E-02** at limit **
   6  Prefactor     .10000E-03    42.923        .18142E-02** at limit **
   7  norm          .10000E-03    114.17        .18142E-02** at limit **
   8  Prefactor     23.780        72.540        .82146E-04    .61240E-05
   9  norm          35.633        64.013        .67140E-04    .16518E-04
  10  Prefactor     88.581        85.541        .42687E-04    .15074E-04
  11  Prefactor     .10000E-03    3.9019        .69828E-03** at limit **
  12  Prefactor     .10000E-03    58.738        .18142E-02** at limit **
  13  Prefactor     .10000E-03    26.975        .18142E-02** at limit **
  14  norm          .10000E-03    6.7558        .91005E-03** at limit **
  15  Prefactor     .10000E-03    33.317        .18142E-02** at limit **
  16  Prefactor     .10000E-03    11.561        .12009E-02** at limit **
  17  Prefactor     .10000E-03    120.99        .18142E-02** at limit **
  18  norm          5.8595        3.9963        .51077E-04    .33359E-03
  19  Prefactor     44.060        77.990        .60386E-04    .29963E-04
  20  Prefactor     .10000E-03    18.251        .15110E-02** at limit **
  21  Prefactor     3.0228        5.2866        .96380E-04    .59833E-04
  22  Prefactor     88.226        111.92        .42778E-04    .41086E-04
  23  Prefactor     154.25        137.65        .16230E-03    .11712E-04
  24  norm          9.8534        3.9150        .41243E-04    .17039E-03
  25  Prefactor     30.130        18.450        .72991E-04    .46064E-04
  26  Prefactor     40.575        123.73        .62878E-04    .20332E-04
  27  norm          5.5456        5.0277        .70909E-04    .85920E-04
  28  Prefactor     28.991        24.515        .74404E-04    .67995E-04
  29  Prefactor     .10000E-03    1.6871        .45858E-03** at limit **
  30  Prefactor     3.5888        4.2170        .72288E-04    .68884E-04
  31  Normalizat    .31150        .71696        .50882E-03    .19723E-04
  32  Prefactor     .98912        .60182        .31259E-03   -.17276E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 140.963
  Prefactor  = 123.077
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 23.7802
  norm       = 35.6327
  Prefactor  = 88.5811
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.85948
  Prefactor  = 44.0605
  Prefactor  = 0.0001
  Prefactor  = 3.02281
  Prefactor  = 88.2259
  Prefactor  = 154.252
  norm       = 9.85339
  Prefactor  = 30.1299
  Prefactor  = 40.5751
  norm       = 5.54563
  Prefactor  = 28.9906
  Prefactor  = 0.0001
  Prefactor  = 3.5888
  Normalizat = 0.3115
  Prefactor  = 0.989116
 **********
 **   18 **HESSE 
 **********

 FCN=   1310.679     FROM HESSE     STATUS=OK           625 CALLS     6326 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     140.96        6154.6        .33892E-04   -1.3328    
   2  Prefactor     123.08        267.50        .72568E-05   -1.3485    
   3  norm          .10000E-03    .78213        .62524E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    18.372        .30303E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    61.792        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    42.923        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    114.18        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     23.780        72.523        .32858E-05   -1.4732    
   9  norm          35.633        64.011        .13428E-04   -1.4513    
  10  Prefactor     88.581        85.536        .85374E-05   -1.3823    
  11  Prefactor     .10000E-03    3.9019        .13966E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    58.738        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    26.975        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.7570        .18201E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    33.319        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.561        .24019E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    120.99        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.8595        3.9960        .20431E-05   -1.5224    
  19  Prefactor     44.060        77.968        .12077E-04   -1.4379    
  20  Prefactor     .10000E-03    18.251        .30221E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.0228        5.2861        .38552E-05   -1.5360    
  22  Prefactor     88.226        111.90        .85557E-05   -1.3827    
  23  Prefactor     154.25        137.66        .32460E-04   -1.3218    
  24  norm          9.8534        3.9148        .82486E-05   -1.5080    
  25  Prefactor     30.130        18.447        .29197E-05   -1.4610    
  26  Prefactor     40.575        123.70        .12576E-04   -1.4433    
  27  norm          5.5456        5.0274        .14182E-04   -1.5237    
  28  Prefactor     28.991        24.508        .29761E-05   -1.4631    
  29  Prefactor     .10000E-03    1.6871        .91716E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     3.5888        4.2167        .28915E-05   -1.5329    
  31  Normalizat    .31150        .71583        .20353E-04   -1.2216    
  32  Prefactor     .98912        .60124        .12503E-04   -.93093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09969e-10
Minuit parameter uncertainties:
  1  1501.52
  2  270.195
  3  2.74722e-06
  4  1.99588e-05
  5  0.00014901
  6  3.47754e-05
  7  0.000771802
  8  72.7939
  9  64.1345
  10  85.6557
  11  6.26752e-06
  12  3.22231e-07
  13  1.02745e-05
  14  5.97388e-06
  15  1.62594e-05
  16  2.47644e-05
  17  3.94021e-05
  18  3.99622
  19  78.1488
  20  2.67297e-06
  21  5.28688
  22  112.169
  23  137.948
  24  3.91494
  25  18.4508
  26  124.49
  27  5.02776
  28  24.5168
  29  5.29349e-06
  30  4.21709
  31  0.738609
  32  0.605377
Done.

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

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  1.626e-05  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:  9.891e-01  6.054e-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:  3.115e-01  7.386e-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: 2.92e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.26e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/935613/likelihoodResults_634867201_635126401_4FGL_J1135.1+3014_daily_bin1526.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) = 1310.67866347
delta logL = -0.000141571457334

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1310.67852226
delta logL = -3.6718802221e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10393E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3048       1.0000          .0000       10.000    
     3 'Normalizat'    .31157       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98886       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=   1310.679     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      244 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6876.4        .90712E-02** at limit **
   2  Index         2.3126        7.2404        .50000       -.21513E-05
   3  Normalizat    .31150        .15681        .11493        .22495E-04
   4  Prefactor     .98912        .16920        .70671E-01    .60055E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.31258
  Normalizat = 0.311498
  Prefactor  = 0.989119
 **********
 **   18 **HESSE 
 **********

 FCN=   1310.679     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    87.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3126        5.6550        .50000       -.56745    
   3  Normalizat    .31150        .48483        .50870E-03   -1.2216    
   4  Prefactor     .98912        .52832        .31260E-03   -.93093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31343e-11
Minuit parameter uncertainties:
  1  6.72362e-05
  2  6.94726
  3  0.491576
  4  0.531112
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/935613': 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) = 1310.67852193
delta logL = -3.51228663931e-08

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  6.724e-05  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.313e+00  6.947e+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:  9.891e-01  5.311e-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:  3.115e-01  4.916e-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/935613/cmap_HighResolution_634867201_635126401_4FGL_J1135.1+3014_daily_bin1526.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.26e-02', job_status='DONE', photon_flux_upper_limit='2.92e-07', time_completed='2021-09-04 04:31:57.899920', job_id='935613', GAL2='0.99', fit_tolerance='1e-08', EG2='0.31', EG='0.31', time_epoch_completed='1630755117.9', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='-3.51e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1526' AND source_name='4FGL J1135.1+3014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:31:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0179>
Subject: Job 935613: <4FGL_J1135.1+3014_daily_bin1526> in cluster <slac> Done

Job <4FGL_J1135.1+3014_daily_bin1526> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Sep  4 04:21:28 2021
Job was executed on host(s) <bullet0179>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 04:21: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:21:30 2021
Terminated at Sat Sep  4 04:31:58 2021
Results reported at Sat Sep  4 04:31:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.1+3014_daily_bin1526 173.788 30.2344 634867201 635126401 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 :                                   478.27 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             285.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   628 sec.
    Turnaround time :                            630 sec.

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

