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


Performing analysis on: 4FGL_J1132.7+0034_daily_bin692
RA = 173.196, Dec = 0.5737
tmin = 418694401, tmax = 418953601
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='919814', job_status='RUN', time_executed='2021-09-04 03:40:28.086392', time_epoch_executed='1630752028.09' WHERE source_name='4FGL J1132.7+0034' and cadence='daily' and bin_id='692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/919814

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/919814/ft1_4FGL_J1132.7+0034_daily_bin692.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/919814/ft2_4FGL_J1132.7+0034_daily_bin692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/919814/ft1_4FGL_J1132.7+0034_daily_bin692.fits outfile=/scratch/kocevski/919814/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin692.fits ra=173.196 dec=0.5737 rad=12.0 tmin=418694401.0 tmax=418953601.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 5.15
user 4.89
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/919814/ft2_4FGL_J1132.7+0034_daily_bin692.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/919814/ft2_4FGL_J1132.7+0034_daily_bin692.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/919814/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin692.fits evtable="EVENTS" outfile="/scratch/kocevski/919814/ft1_filtered_4FGL_J1132.7+0034_daily_bin692.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.48
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/919814/ft1_filtered_4FGL_J1132.7+0034_daily_bin692.fits" evtable="EVENTS" scfile=/scratch/kocevski/919814/ft2_4FGL_J1132.7+0034_daily_bin692.fits sctable="SC_DATA" outfile=/scratch/kocevski/919814/ltcube_418694401_418953601_4FGL_J1132.7+0034_daily_bin692.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/919814/ft2_4FGL_J1132.7+0034_daily_bin692.fits
.....................!
real 11.80
user 11.45
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/919814/ft1_filtered_4FGL_J1132.7+0034_daily_bin692.fits evtable="EVENTS" scfile=/scratch/kocevski/919814/ft2_4FGL_J1132.7+0034_daily_bin692.fits sctable="SC_DATA" expcube=/scratch/kocevski/919814/ltcube_418694401_418953601_4FGL_J1132.7+0034_daily_bin692.fits outfile=/scratch/kocevski/919814/expmap_418694401_418953601_4FGL_J1132.7+0034_daily_bin692.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/919814/ltcube_418694401_418953601_4FGL_J1132.7+0034_daily_bin692.fits
.....................!
real 190.44
user 186.06
sys 4.01

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 193 point sources and 0 extended sources

Setting source of interest to:
4FGL J1132.7+0034 @ 173.196 0.5737

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/919814/ft1_filtered_4FGL_J1132.7+0034_daily_bin692.fits scfile=/scratch/kocevski/919814/ft2_4FGL_J1132.7+0034_daily_bin692.fits outfile=/scratch/kocevski/919814/cmap_418694401_418953601_4FGL_J1132.7+0034_daily_bin692.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.196 yref=0.5737 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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/919814/ft1_filtered_4FGL_J1132.7+0034_daily_bin692.fits scfile=/scratch/kocevski/919814/ft2_4FGL_J1132.7+0034_daily_bin692.fits outfile=/scratch/kocevski/919814/cmap_HighResolution_418694401_418953601_4FGL_J1132.7+0034_daily_bin692.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.196 yref=0.5737 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/919814/ft1_filtered_4FGL_J1132.7+0034_daily_bin692.fits evtable="EVENTS" scfile=/scratch/kocevski/919814/ft2_4FGL_J1132.7+0034_daily_bin692.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/919814/Model_4FGL_J1132.7+0034_daily_bin692.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/919814/ft1_filtered_4FGL_J1132.7+0034_daily_bin692.fits....................!
real 49.35
user 48.01
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/919814/ft1_filtered_4FGL_J1132.7+0034_daily_bin692.fits', '/scratch/kocevski/919814/ft2_4FGL_J1132.7+0034_daily_bin692.fits', expMap='/scratch/kocevski/919814/expmap_418694401_418953601_4FGL_J1132.7+0034_daily_bin692.fits', expCube='/scratch/kocevski/919814/ltcube_418694401_418953601_4FGL_J1132.7+0034_daily_bin692.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/919814/Model_4FGL_J1132.7+0034_daily_bin692.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1132.7+0034'

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  2.058e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
309        Index:  2.136e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  1.103e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/919814/ft1_filtered_4FGL_J1132.7+0034_daily_bin692.fits
Spacecraft file(s): /scratch/kocevski/919814/ft2_4FGL_J1132.7+0034_daily_bin692.fits
Exposure map: /scratch/kocevski/919814/expmap_418694401_418953601_4FGL_J1132.7+0034_daily_bin692.fits
Exposure cube: /scratch/kocevski/919814/ltcube_418694401_418953601_4FGL_J1132.7+0034_daily_bin692.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/919814/Model_4FGL_J1132.7+0034_daily_bin692.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) = 5008.60810222

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.109       1.0000         .10000E-03   10000.    
     2 'norm      '    .96607       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    24.548       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.5974       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5130       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.5718       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.1575       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    21.974       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .49396E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .69928       1.0000         .10000E-03   10000.    
    14 'norm      '    4.2140       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    31.893       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.3233       1.0000         .10000E-03   10000.    
    22 'Prefactor '    29.043       1.0000         .10000E-03   10000.    
    23 'Prefactor '    30.311       1.0000         .10000E-03   10000.    
    24 'Prefactor '    20.289       1.0000         .10000E-03   10000.    
    25 'Prefactor '    23.458       1.0000         .10000E-03   10000.    
    26 'Prefactor '    6.9339       1.0000         .10000E-03   10000.    
    27 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.1727       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0195       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5008.601     FROM MIGRAD    STATUS=CONVERGED    729 CALLS     3727 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.105        12.300        .27702E-06   -.73099E-05
   2  norm          .96557        .71420        .73003E-07   -.14010E-03
   3  Prefactor     .10000E-03    7.2859        .10448E-06** at limit **
   4  Prefactor     24.544        18.762        .49541E-06    .13407E-04
   5  Prefactor     6.5955        11.629        .16744E-05   -.11946E-03
   6  Prefactor     2.5120        8.4884       -.52072E-06   -.58237E-04
   7  Prefactor     4.5713        5.8080        .45273E-05   -.70925E-03
   8  Prefactor     .10000E-03    30.028        .72841E-06** at limit **
   9  norm          4.1568        7.0002       -.12835E-05   -.26243E-04
  10  Prefactor     .10000E-03    5.4005        .20440E-05** at limit **
  11  norm          22.032        26.102        .54732E-05    .56264E-03
  12  Prefactor     .10000E-03    1.7302        .28043E-06** at limit **
  13  Prefactor     .48633        31.952       -.30484E-05   -.87839E-04
  14  norm          4.2159        7.1976        .18070E-06    .39175E-04
  15  Prefactor     .10000E-03    1.8176        .74460E-07** at limit **
  16  Prefactor     31.893        26.726        .28677E-06    .16141E-04
  17  Prefactor     .10000E-03    53.047       -.42177E-05** at limit **
  18  Prefactor     .10000E-03    5.2027        .16372E-07** at limit **
  19  Prefactor     .10000E-03    18.464        .14583E-07** at limit **
  20  Prefactor     .10000E-03    10.473       -.53058E-06** at limit **
  21  Prefactor     2.3078        44.779        .43804E-05    .53299E-04
  22  Prefactor     29.048        29.273       -.28258E-06   -.98902E-05
  23  Prefactor     30.265        62.490       -.95284E-05   -.10703E-03
  24  Prefactor     20.289        21.539        .22021E-06    .62636E-06
  25  Prefactor     23.453        34.604        .72304E-06   -.37742E-05
  26  Prefactor     6.9320        13.594        .77792E-06    .63909E-05
  27  norm          .10000E-03    1.0168        .87996E-08** at limit **
  28  Normalizat    1.1732        .25125        .19322E-06   -.42780E-04
  29  Prefactor     1.0194        .18968       -.36086E-05    .14982E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.1046
  norm       = 0.965567
  Prefactor  = 0.0001
  Prefactor  = 24.5439
  Prefactor  = 6.59553
  Prefactor  = 2.51203
  Prefactor  = 4.57134
  Prefactor  = 0.0001
  norm       = 4.15681
  Prefactor  = 0.000100002
  norm       = 22.0318
  Prefactor  = 0.0001
  Prefactor  = 0.486331
  norm       = 4.21586
  Prefactor  = 0.0001
  Prefactor  = 31.8925
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.30782
  Prefactor  = 29.0483
  Prefactor  = 30.265
  Prefactor  = 20.2887
  Prefactor  = 23.4531
  Prefactor  = 6.93195
  norm       = 0.0001
  Normalizat = 1.17316
  Prefactor  = 1.01936
 **********
 **   18 **HESSE 
 **********

 FCN=   5008.601     FROM HESSE     STATUS=OK           563 CALLS     4290 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.105        12.279        .10304E-03   -1.4930    
   2  norm          .96557        .70251        .47831E-04   -1.5511    
   3  Prefactor     .10000E-03    7.3048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.544        18.762        .80849E-04   -1.4717    
   5  Prefactor     6.5955        11.615        .78117E-03   -1.5194    
   6  Prefactor     2.5120        8.4507        .25774E-03   -1.5391    
   7  Prefactor     4.5713        6.0806        .93234E-03   -1.5280    
   8  Prefactor     .10000E-03    30.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.1568        6.9914        .19767E-03   -1.5300    
  10  Prefactor     .10000E-03    5.4824        .31726E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          22.032        28.839        .85447E-04   -1.4769    
  12  Prefactor     .10000E-03    9.1945        .17564E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .48633        41.897        .10428       -1.5569    
  14  norm          4.2159        7.1825        .19631E-03   -1.5297    
  15  Prefactor     .10000E-03    1.8271        .93099E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     31.893        26.732        .70952E-04   -1.4578    
  17  Prefactor     .10000E-03    53.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.2099        .15766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    18.468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.3078        44.732        .26909E-03   -1.5404    
  22  Prefactor     29.048        29.249        .74342E-04   -1.4630    
  23  Prefactor     30.265        63.696        .72775E-04   -1.4607    
  24  Prefactor     20.289        21.520        .88920E-04   -1.4807    
  25  Prefactor     23.453        34.598        .82703E-04   -1.4739    
  26  Prefactor     6.9320        13.572        .15236E-03   -1.5181    
  27  norm          .10000E-03    1.0170        .69652E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.1732        .29439        .28688E-03   -.87436    
  29  Prefactor     1.0194        .22151        .24318E-03   -.92087    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08083e-09
Minuit parameter uncertainties:
  1  12.2808
  2  0.702521
  3  5.10077e-06
  4  18.7662
  5  11.6193
  6  8.45468
  7  6.08146
  8  4.91744e-05
  9  6.99281
  10  0.000184934
  11  28.857
  12  2.36003e-05
  13  9.03354
  14  7.18394
  15  1.43865e-06
  16  26.7419
  17  0.000260169
  18  9.86273e-06
  19  6.45943e-06
  20  0.000132724
  21  20.3379
  22  29.2635
  23  63.8398
  24  21.528
  25  34.6275
  26  13.578
  27  3.18872e-07
  28  0.294806
  29  0.221713
Done.

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

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  1.000e-04  2.360e-05  1.000e-04  1.000e+04 ( 1.000e-12)
309        Index:  2.136e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  1.103e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.019e+00  2.217e-01  0.000e+00  1.000e+01 ( 1.000e+00)
613        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
614        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  1.173e+00  2.948e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 173.196 0.574
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/919814/likelihoodResults_418694401_418953601_4FGL_J1132.7+0034_daily_bin692.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) = 5008.60122391
delta logL = -0.0005189283047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5006.73313782
delta logL = 1.8675671549

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92122E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    4.6742       1.0000          .0000       10.000    
     3 'Normalizat'    .94013       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1314       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5006.733     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      254 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .92173E-01    .75476        .25928E-02    .19911E-02
   2  Index         4.6739        2.3315        .80767E-01    .15502E-03
   3  Normalizat    .94009        .73601E-01    .71456E-01    .14884E-04
   4  Prefactor     1.1314        .58162E-01    .52549E-01    .30222E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0921727
  Index      = 4.67395
  Normalizat = 0.940088
  Prefactor  = 1.13141
 **********
 **   18 **HESSE 
 **********

 FCN=   5006.733     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      287 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     .92173E-01    1.3588        .11602E-04   -1.5647    
   2  Index         4.6739        3.3386        .32439E-02   -.65256E-01
   3  Normalizat    .94009        .26681        .31616E-03   -.95065    
   4  Prefactor     1.1314        .20646        .23233E-03   -.88469    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.08167e-07
Minuit parameter uncertainties:
  1  0.707428
  2  3.65754
  3  0.267184
  4  0.206603
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/919814': 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) = 5006.73313776
delta logL = 1.86756721824

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  9.217e-02  7.074e-01  1.000e-04  1.000e+04 ( 1.000e-12)
309        Index:  4.674e+00  3.658e+00  0.000e+00  1.000e+01 (-1.000e+00)
310        Scale:  1.103e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.131e+00  2.066e-01  0.000e+00  1.000e+01 ( 1.000e+00)
613        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
614        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
611   Normalization:  9.401e-01  2.672e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.30
Ra Dec: 173.196 0.574
Photon Index (Free Index): 4.67 +/- 3.66
Photon Flux (Free Index): 1.88e-07 +/- 1.12e-07
Energy Flux (Free Index): 2.58e-05 +/- 1.63e-05

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/919814/cmap_HighResolution_418694401_418953601_4FGL_J1132.7+0034_daily_bin692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.31e-03', comment='SUCCESS', energy_flux2='2.58e-05', dlogl='1.87e+00', photon_flux2='1.88e-07', job_status='DONE', time_completed='2021-09-04 03:53:03.030261', photon_index_error2='3.66', photon_index2='4.67', ts='-0.00', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='1.63e-05', EG='1.17', time_epoch_completed='1630752783.03', return_code='0', job_id='919814', GAL2='1.13', EG2='0.94', return_code2='102', photon_flux_error2='1.12e-07', ts2='4.30', photon_index='2.14' WHERE bin_id='692' AND source_name='4FGL J1132.7+0034' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 03:53:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 919814: <4FGL_J1132.7+0034_daily_bin692> in cluster <slac> Done

Job <4FGL_J1132.7+0034_daily_bin692> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep  4 03:36:28 2021
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 03:36: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 03:36:30 2021
Terminated at Sat Sep  4 03:53:03 2021
Results reported at Sat Sep  4 03:53:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1132.7+0034_daily_bin692 173.196 0.5737 418694401 418953601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1132.7+0034 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   753.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             262.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   993 sec.
    Turnaround time :                            995 sec.

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

