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


Performing analysis on: 4FGL_J1135.1+3014_daily_bin1011
RA = 173.788, Dec = 30.2344
tmin = 501379201, tmax = 501638401
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='932236', job_status='RUN', time_executed='2021-09-04 04:14:26.690279', time_epoch_executed='1630754066.69' WHERE source_name='4FGL J1135.1+3014' and cadence='daily' and bin_id='1011'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/932236

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/932236/ft1_4FGL_J1135.1+3014_daily_bin1011.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/932236/ft2_4FGL_J1135.1+3014_daily_bin1011.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/932236/ft1_4FGL_J1135.1+3014_daily_bin1011.fits outfile=/scratch/kocevski/932236/ft1_filteredMKT_4FGL_J1135.1+3014_daily_bin1011.fits ra=173.788 dec=30.2344 rad=12.0 tmin=501379201.0 tmax=501638401.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.55
user 3.32
sys 0.21

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

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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/932236/ft1_filtered_4FGL_J1135.1+3014_daily_bin1011.fits evtable="EVENTS" scfile=/scratch/kocevski/932236/ft2_4FGL_J1135.1+3014_daily_bin1011.fits sctable="SC_DATA" expcube=/scratch/kocevski/932236/ltcube_501379201_501638401_4FGL_J1135.1+3014_daily_bin1011.fits outfile=/scratch/kocevski/932236/expmap_501379201_501638401_4FGL_J1135.1+3014_daily_bin1011.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/932236/ltcube_501379201_501638401_4FGL_J1135.1+3014_daily_bin1011.fits
.....................!
real 191.00
user 185.66
sys 4.91

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/932236/ft1_filtered_4FGL_J1135.1+3014_daily_bin1011.fits scfile=/scratch/kocevski/932236/ft2_4FGL_J1135.1+3014_daily_bin1011.fits outfile=/scratch/kocevski/932236/cmap_501379201_501638401_4FGL_J1135.1+3014_daily_bin1011.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.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/932236/ft1_filtered_4FGL_J1135.1+3014_daily_bin1011.fits scfile=/scratch/kocevski/932236/ft2_4FGL_J1135.1+3014_daily_bin1011.fits outfile=/scratch/kocevski/932236/cmap_HighResolution_501379201_501638401_4FGL_J1135.1+3014_daily_bin1011.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.55
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8572       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .78358       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .45427       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.6033       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.1980       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.4902       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.3809       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10233E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .41327E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.762       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.9258       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10728E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .97738E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.8116       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    13.299       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .23563E-02   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    12.196       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    3.1899       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .35148       1.0000         .10000E-03   10000.    
    31 'Normalizat'    .89421       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.0128       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=   6917.623     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     3147 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8610        1.0758       -.49303E-06    .22835E-04
   2  Prefactor     .10013E-03    13.280       -.13213E-04** at limit **
   3  norm          .78362        .24577       -.24856E-07   -.93387E-03
   4  Prefactor     .45921        3.0674        .75920E-06   -.85823E-05
   5  Prefactor     2.6034        1.0514       -.36055E-06   -.53465E-04
   6  Prefactor     .10000E-03    6.1602       -.48116E-06** at limit **
   7  norm          2.1991        1.0446       -.35448E-06   -.29092E-04
   8  Prefactor     2.4910        3.9071        .13434E-07    .16245E-06
   9  norm          .10002E-03    6.8549       -.72105E-05** at limit **
  10  Prefactor     .10000E-03    2.8594        .10999E-06** at limit **
  11  Prefactor     1.3816        2.0253       -.37203E-06    .23273E-03
  12  Prefactor     .10314E-03    86.593       -.30182E-04** at limit **
  13  Prefactor     .10001E-03    6.9401        .61192E-05** at limit **
  14  norm          .10001E-03    1.8977        .34742E-05** at limit **
  15  Prefactor     21.765        1.1173        .26096E-06    .38947E-05
  16  Prefactor     6.9271        1.0686        .19583E-07    .41710E-03
  17  Prefactor     .10885E-03    53.646        .18843E-04** at limit **
  18  norm          .14096E-01    1.5091        .17916E-05   -.34008E-03
  19  Prefactor     .10061E-03    16.412        .19728E-04** at limit **
  20  Prefactor     .10051E-03    21.065       -.12356E-04** at limit **
  21  Prefactor     1.8123        1.5664        .27423E-06    .31518E-03
  22  Prefactor     .10001E-03    5.4837        .40873E-05** at limit **
  23  Prefactor     .10000E-03    5.2438        .23895E-05** at limit **
  24  norm          13.299        2.1142       -.26320E-06   -.13625E-02
  25  Prefactor     .65446E-03    23.666       -.32460E-04** at limit **
  26  Prefactor     .10091E-03    46.313        .18042E-05** at limit **
  27  norm          12.197        4.2669        .25880E-05    .23250E-02
  28  Prefactor     .10000E-03    4.4517        .20274E-06** at limit **
  29  Prefactor     3.1899        2.4390       -.13203E-05   -.30184E-03
  30  Prefactor     .35177        1.9162       -.72262E-06   -.36349E-05
  31  Normalizat    .89393        .19013       -.19625E-06    .75285E-04
  32  Prefactor     1.0129        .21811       -.56955E-06    .96264E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.86102
  Prefactor  = 0.000100126
  norm       = 0.783621
  Prefactor  = 0.459206
  Prefactor  = 2.60336
  Prefactor  = 0.0001
  norm       = 2.1991
  Prefactor  = 2.49098
  norm       = 0.000100018
  Prefactor  = 0.0001
  Prefactor  = 1.38157
  Prefactor  = 0.00010314
  Prefactor  = 0.000100008
  norm       = 0.000100006
  Prefactor  = 21.7648
  Prefactor  = 6.92711
  Prefactor  = 0.000108847
  norm       = 0.0140956
  Prefactor  = 0.000100613
  Prefactor  = 0.000100514
  Prefactor  = 1.8123
  Prefactor  = 0.000100013
  Prefactor  = 0.0001
  norm       = 13.2994
  Prefactor  = 0.000654456
  Prefactor  = 0.000100912
  norm       = 12.1969
  Prefactor  = 0.0001
  Prefactor  = 3.18985
  Prefactor  = 0.351772
  Normalizat = 0.893932
  Prefactor  = 1.01291
 **********
 **   18 **HESSE 
 **********

 FCN=   6917.623     FROM HESSE     STATUS=OK           749 CALLS     3896 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8610        19.404        .51368E-02   -1.5315    
   2  Prefactor     .10013E-03    13.516        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .78362        .24802        .50668E-02   -1.5531    
   4  Prefactor     .45921        1.8155        .36542E-01   -1.5572    
   5  Prefactor     2.6034        7.1604        .63211E-02   -1.5385    
   6  Prefactor     .10000E-03    6.1351        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.1991        9.7439        .69386E-02   -1.5411    
   8  Prefactor     2.4910        3.9286        .64757E-02   -1.5392    
   9  norm          .10002E-03    7.5689        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.8574        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.3816        2.1920        .92596E-02   -1.5473    
  12  Prefactor     .10314E-03    138.23        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    7.2288        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10001E-03    .91620        .64884E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     21.765        13.577        .21466E-02   -1.4775    
  16  Prefactor     6.9271        5.4202        .38112E-02   -1.5182    
  17  Prefactor     .10885E-03    96.292        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .14096E-01    .36960        .31838E-01   -1.5684    
  19  Prefactor     .10061E-03    17.758        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10051E-03    21.645        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.8123        1.5844        .77599E-02   -1.5439    
  22  Prefactor     .10001E-03    10.464        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    10.599        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          13.299        2.1209        .27459E-02   -1.4978    
  25  Prefactor     .65446E-03    1.7021        .59185E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10091E-03    49.358        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          12.197        4.3013        .28676E-02   -1.5009    
  28  Prefactor     .10000E-03    4.3940        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     3.1899        2.4395        .56720E-02   -1.5351    
  30  Prefactor     .35177        1.9254        .10649E-01   -1.5589    
  31  Normalizat    .89393        .16859        .44828E-01   -.96674    
  32  Prefactor     1.0129        .18659        .63972E-01   -.92300    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0465e-07
Minuit parameter uncertainties:
  1  17.32
  2  0.00260683
  3  0.248017
  4  1.81568
  5  7.16275
  6  5.44295e-05
  7  9.26036
  8  3.92901
  9  0.000746733
  10  4.01758e-06
  11  2.1921
  12  0.0417634
  13  0.000492625
  14  0.000153653
  15  13.5793
  16  5.42056
  17  0.0584689
  18  0.143846
  19  0.00660263
  20  0.00667037
  21  1.58446
  22  0.000741562
  23  5.55497e-05
  24  2.12089
  25  0.0614422
  26  0.0134324
  27  4.30136
  28  1.52134e-05
  29  2.43954
  30  1.64581
  31  0.168687
  32  0.186711
Done.

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

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  2.176e+01  1.358e+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.013e+00  1.867e-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:  8.939e-01  1.687e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.10
Ra Dec: 173.788 30.234
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 5.56e-08 +/- 3.47e-08
Energy Flux (Fixed Index): 1.88e-05 +/- 1.17e-05

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) = 6917.53866376
delta logL = 0.0845532566382

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6917.53094475
delta logL = 0.0922722652895

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.860       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6230       1.0000          .0000       10.000    
     3 'Normalizat'    .87900       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0235       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=   6917.531     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      265 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.848        179.67        .24385E-02    .12264E-03
   2  Index         2.6230        2.8950        .14860        .14930E-03
   3  Normalizat    .87889        .71760E-01    .44633E-01    .16644E-03
   4  Prefactor     1.0242        .67038E-01    .63656E-01    .14031E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.8484
  Index      = 2.62304
  Normalizat = 0.878887
  Prefactor  = 1.02421
 **********
 **   18 **HESSE 
 **********

 FCN=   6917.531     FROM HESSE     STATUS=OK            33 CALLS      298 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.848        17.337        .97541E-04   -1.4887    
   2  Index         2.6230        .64761        .51077E-02   -.49541    
   3  Normalizat    .87889        .19088        .25766E-03   -.97206    
   4  Prefactor     1.0242        .21990        .28153E-03   -.91927    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.73614e-11
Minuit parameter uncertainties:
  1  17.3423
  2  0.649969
  3  0.191028
  4  0.220091
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/932236': 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) = 6917.5309316
delta logL = 0.0922854122537

Extracting fit parameters...

4FGL J1135.1+3014
   Spectrum: PowerLaw
296    Prefactor:  1.685e+01  1.734e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.623e+00  6.500e-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:  1.024e+00  2.201e-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:  8.789e-01  1.910e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.27
Ra Dec: 173.788 30.234
Photon Index (Free Index): 2.62 +/- 0.65
Photon Flux (Free Index): 6.71e-08 +/- 4.67e-08
Energy Flux (Free Index): 1.72e-05 +/- 1.09e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/932236/cmap_HighResolution_501379201_501638401_4FGL_J1135.1+3014_daily_bin1011.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.56e-08', energy_flux2='1.72e-05', photon_flux_error='3.47e-08', dlogl='9.23e-02', energy_flux='1.88e-05', photon_flux2='6.71e-08', job_status='DONE', time_completed='2021-09-04 04:27:51.826913', photon_index_error2='0.65', photon_index2='2.62', ts='5.10', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.09e-05', EG='0.89', time_epoch_completed='1630754871.83', return_code='0', job_id='932236', GAL2='1.02', EG2='0.88', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='4.67e-08', ts2='5.27', photon_index='2.38' WHERE bin_id='1011' AND source_name='4FGL J1135.1+3014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 04:27:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 932236: <4FGL_J1135.1+3014_daily_bin1011> in cluster <slac> Done

Job <4FGL_J1135.1+3014_daily_bin1011> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Sat Sep  4 04:11:17 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 04:11:18 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:11:18 2021
Terminated at Sat Sep  4 04:27:52 2021
Results reported at Sat Sep  4 04:27:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1135.1+3014_daily_bin1011 173.788 30.2344 501379201 501638401 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 :                                   800.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             279.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            995 sec.

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

