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


Performing analysis on: 4FGL_J1132.7+0034_daily_bin90
RA = 173.196, Dec = 0.5737
tmin = 262656001, tmax = 262915201
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='917905', job_status='RUN', time_executed='2021-09-04 03:31:51.936128', time_epoch_executed='1630751511.94' WHERE source_name='4FGL J1132.7+0034' and cadence='daily' and bin_id='90'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917905

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917905/ft1_4FGL_J1132.7+0034_daily_bin90.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917905/ft2_4FGL_J1132.7+0034_daily_bin90.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917905/ft1_4FGL_J1132.7+0034_daily_bin90.fits outfile=/scratch/kocevski/917905/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin90.fits ra=173.196 dec=0.5737 rad=12.0 tmin=262656001.0 tmax=262915201.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.40
user 1.24
sys 0.15

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/917905/ft1_filtered_4FGL_J1132.7+0034_daily_bin90.fits" evtable="EVENTS" scfile=/scratch/kocevski/917905/ft2_4FGL_J1132.7+0034_daily_bin90.fits sctable="SC_DATA" outfile=/scratch/kocevski/917905/ltcube_262656001_262915201_4FGL_J1132.7+0034_daily_bin90.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/917905/ft2_4FGL_J1132.7+0034_daily_bin90.fits
.....................!
real 13.13
user 12.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917905/ft1_filtered_4FGL_J1132.7+0034_daily_bin90.fits evtable="EVENTS" scfile=/scratch/kocevski/917905/ft2_4FGL_J1132.7+0034_daily_bin90.fits sctable="SC_DATA" expcube=/scratch/kocevski/917905/ltcube_262656001_262915201_4FGL_J1132.7+0034_daily_bin90.fits outfile=/scratch/kocevski/917905/expmap_262656001_262915201_4FGL_J1132.7+0034_daily_bin90.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/917905/ltcube_262656001_262915201_4FGL_J1132.7+0034_daily_bin90.fits
.....................!
real 190.76
user 185.65
sys 4.30

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/917905/ft1_filtered_4FGL_J1132.7+0034_daily_bin90.fits scfile=/scratch/kocevski/917905/ft2_4FGL_J1132.7+0034_daily_bin90.fits outfile=/scratch/kocevski/917905/cmap_262656001_262915201_4FGL_J1132.7+0034_daily_bin90.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.58
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/917905/ft1_filtered_4FGL_J1132.7+0034_daily_bin90.fits scfile=/scratch/kocevski/917905/ft2_4FGL_J1132.7+0034_daily_bin90.fits outfile=/scratch/kocevski/917905/cmap_HighResolution_262656001_262915201_4FGL_J1132.7+0034_daily_bin90.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.58
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/917905/ft1_filtered_4FGL_J1132.7+0034_daily_bin90.fits evtable="EVENTS" scfile=/scratch/kocevski/917905/ft2_4FGL_J1132.7+0034_daily_bin90.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/917905/Model_4FGL_J1132.7+0034_daily_bin90.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/917905/ft1_filtered_4FGL_J1132.7+0034_daily_bin90.fits.....................!
real 71.96
user 70.52
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/917905/ft1_filtered_4FGL_J1132.7+0034_daily_bin90.fits', '/scratch/kocevski/917905/ft2_4FGL_J1132.7+0034_daily_bin90.fits', expMap='/scratch/kocevski/917905/expmap_262656001_262915201_4FGL_J1132.7+0034_daily_bin90.fits', expCube='/scratch/kocevski/917905/ltcube_262656001_262915201_4FGL_J1132.7+0034_daily_bin90.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/917905/Model_4FGL_J1132.7+0034_daily_bin90.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/917905/ft1_filtered_4FGL_J1132.7+0034_daily_bin90.fits
Spacecraft file(s): /scratch/kocevski/917905/ft2_4FGL_J1132.7+0034_daily_bin90.fits
Exposure map: /scratch/kocevski/917905/expmap_262656001_262915201_4FGL_J1132.7+0034_daily_bin90.fits
Exposure cube: /scratch/kocevski/917905/ltcube_262656001_262915201_4FGL_J1132.7+0034_daily_bin90.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/917905/Model_4FGL_J1132.7+0034_daily_bin90.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) = 8061.41163549

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4561       1.0000         .10000E-03   10000.    
     2 'norm      '    .62902       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.2894       1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.944       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.9938       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.4604       1.0000         .10000E-03   10000.    
     9 'norm      '    48.403       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.1203       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.7411       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    17.970       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.4452       1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.501       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    29.748       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .44036E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10274E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10309E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.3780       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    16.987       1.0000         .10000E-03   10000.    
    26 'Prefactor '    12.024       1.0000         .10000E-03   10000.    
    27 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0118       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.2681       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8061.394     FROM MIGRAD    STATUS=CONVERGED    105 CALLS     3121 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4544        1.3501       -.28206E-05   -.41216E-02
   2  norm          .62892        .50340        .20341E-06   -.53297E-03
   3  Prefactor     6.2874        1.5955       -.37203E-05   -.53904E-02
   4  Prefactor     25.943        1.1717        .88963E-06   -.65601E-03
   5  Prefactor     8.0053        4.5424        .91458E-05    .11898E-02
   6  Prefactor     .10000E-03    7.2312       -.30901E-05** at limit **
   7  Prefactor     .10000E-03    3.3745        .48183E-05** at limit **
   8  Prefactor     1.1015        302.85        .30385E-04    .43395E-03
   9  norm          48.397        2.1205       -.19009E-05   -.16087E-02
  10  Prefactor     .10000E-03    2.1483        .34023E-05** at limit **
  11  norm          1.1161        1.6437        .83449E-05    .70340E-04
  12  Prefactor     3.7410        2.1516       -.60458E-06   -.21202E-03
  13  Prefactor     .10000E-03    7.7333       -.54278E-05** at limit **
  14  norm          17.967        1.3953       -.13775E-05   -.24525E-02
  15  Prefactor     7.4461        3.8796       -.22223E-05   -.47773E-03
  16  Prefactor     16.506        1.5173       -.19456E-05    .53036E-03
  17  Prefactor     .10179E-03    31.281       -.49994E-04** at limit **
  18  Prefactor     .10000E-03    2.3924       -.24580E-05** at limit **
  19  Prefactor     29.669        13.204        .16012E-04   -.15613E-01
  20  Prefactor     .10296E-03    496.92        .46984E-04** at limit **
  21  Prefactor     .10000E-03    16.342        .20768E-04** at limit **
  22  Prefactor     .10247E-03    31.757        .58801E-04** at limit **
  23  Prefactor     7.5092        14.981        .61183E-06   -.19363E-02
  24  Prefactor     .10000E-03    14.797       -.11667E-04** at limit **
  25  Prefactor     17.002        4.1992       -.73463E-05    .50078E-02
  26  Prefactor     12.020        1.3805       -.18533E-05   -.56948E-03
  27  norm          .10000E-03    1.1188       -.21232E-05** at limit **
  28  Normalizat    1.0116        .22738       -.54594E-05   -.20281E-03
  29  Prefactor     1.2685        .18903        .33635E-05   -.19549E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.45438
  norm       = 0.628921
  Prefactor  = 6.28739
  Prefactor  = 25.9428
  Prefactor  = 8.00525
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.10147
  norm       = 48.3971
  Prefactor  = 0.0001
  norm       = 1.11608
  Prefactor  = 3.74096
  Prefactor  = 0.0001
  norm       = 17.9671
  Prefactor  = 7.44615
  Prefactor  = 16.506
  Prefactor  = 0.000101793
  Prefactor  = 0.0001
  Prefactor  = 29.6692
  Prefactor  = 0.000102956
  Prefactor  = 0.0001
  Prefactor  = 0.00010247
  Prefactor  = 7.50917
  Prefactor  = 0.0001
  Prefactor  = 17.0021
  Prefactor  = 12.0201
  norm       = 0.0001
  Normalizat = 1.01158
  Prefactor  = 1.26845
 **********
 **   18 **HESSE 
 **********

 FCN=   8061.394     FROM HESSE     STATUS=OK           623 CALLS     3744 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4544        7.0676        .43006E-02   -1.5241    
   2  norm          .62892        .57988        .11787E-01   -1.5549    
   3  Prefactor     6.2874        7.3327        .40015E-02   -1.5206    
   4  Prefactor     25.943        18.242        .19662E-02   -1.4689    
   5  Prefactor     8.0053        14.761        .35453E-02   -1.5142    
   6  Prefactor     .10000E-03    7.1811        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.3059        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.1015        678.33        .89013E-02   -1.5498    
   9  norm          48.397        12.521        .14409E-02   -1.4315    
  10  Prefactor     .10000E-03    2.1389        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1161        55.650        .11095E-01   -1.5497    
  12  Prefactor     3.7410        2.1565        .52188E-02   -1.5321    
  13  Prefactor     .10000E-03    7.7299        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          17.967        7.8241        .23621E-02   -1.4860    
  15  Prefactor     7.4461        4.2309        .36746E-02   -1.5162    
  16  Prefactor     16.506        20.410        .24650E-02   -1.4895    
  17  Prefactor     .10179E-03    35.577        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.3905        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     29.669        33.373        .18365E-02   -1.4618    
  20  Prefactor     .10296E-03    5.7036        .92409E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    16.133        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10247E-03    36.373        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.5092        85.373        .36914E-02   -1.5160    
  24  Prefactor     .10000E-03    14.779        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     17.002        46.633        .24294E-02   -1.4883    
  26  Prefactor     12.020        13.941        .28882E-02   -1.5014    
  27  norm          .10000E-03    1.1131        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.0116        .20213        .72774E-01   -.92644    
  29  Prefactor     1.2685        .16245        .54803E-01   -.84250    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67936e-06
Minuit parameter uncertainties:
  1  7.06869
  2  0.579884
  3  7.33377
  4  18.2456
  5  14.7674
  6  0.000102516
  7  3.4959e-05
  8  55.3071
  9  12.5218
  10  1.93997e-05
  11  15.7767
  12  2.15659
  13  9.79268e-05
  14  7.82455
  15  4.23105
  16  20.4182
  17  0.0159835
  18  2.13101e-06
  19  33.3936
  20  0.00821259
  21  8.63373e-05
  22  0.0189686
  23  50.7302
  24  6.74915e-05
  25  46.7333
  26  13.9446
  27  1.46058e-05
  28  0.202283
  29  0.162518
Done.

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

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  3.741e+00  2.157e+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

GAL_V02
   Spectrum: PowerLaw
612    Prefactor:  1.268e+00  1.625e-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.012e+00  2.023e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.24
Ra Dec: 173.196 0.574
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 5.55e-08 +/- 3.20e-08
Energy Flux (Fixed Index): 2.82e-05 +/- 1.63e-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) = 8061.28071172
delta logL = 0.113084804705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8061.2792137
delta logL = 0.114582820384

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7018       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8899       1.0000          .0000       10.000    
     3 'Normalizat'    1.0288       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2633       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=   8061.279     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      218 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6996        78.361        .52475E-02    .53315E-04
   2  Index         1.8898        5.3775        .16987        .11192E-04
   3  Normalizat    1.0295        .35002        .72221E-01   -.39076E-05
   4  Prefactor     1.2627        .18908        .54925E-01    .33762E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.69962
  Index      = 1.88977
  Normalizat = 1.02947
  Prefactor  = 1.2627
 **********
 **   18 **HESSE 
 **********

 FCN=   8061.279     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .35E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6996        2.4928        .10746E-03   -1.5323    
   2  Index         1.8898        .54027        .93914E-02   -.67135    
   3  Normalizat    1.0295        .22698        .31957E-03   -.92050    
   4  Prefactor     1.2627        .18706        .24285E-03   -.84423    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.51469e-12
Minuit parameter uncertainties:
  1  2.49289
  2  0.542004
  3  0.227197
  4  0.187159
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917905': 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) = 8061.27920842
delta logL = 0.11458810862

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  3.700e+00  2.493e+00  1.000e-04  1.000e+04 ( 1.000e-12)
309        Index:  1.890e+00  5.420e-01  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.263e+00  1.872e-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.029e+00  2.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.42
Ra Dec: 173.196 0.574
Photon Index (Free Index): 1.89 +/- 0.54
Photon Flux (Free Index): 3.87e-08 +/- 4.28e-08
Energy Flux (Free Index): 3.57e-05 +/- 3.16e-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/917905/cmap_HighResolution_262656001_262915201_4FGL_J1132.7+0034_daily_bin90.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.55e-08', energy_flux2='3.57e-05', photon_flux_error='3.20e-08', dlogl='1.15e-01', energy_flux='2.82e-05', photon_flux2='3.87e-08', job_status='DONE', time_completed='2021-09-04 03:45:30.219069', photon_index_error2='0.54', photon_index2='1.89', ts='15.24', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', energy_flux_error2='3.16e-05', EG='1.01', time_epoch_completed='1630752330.22', return_code='0', job_id='917905', GAL2='1.26', EG2='1.03', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='4.28e-08', ts2='15.42', photon_index='2.14' WHERE bin_id='90' AND source_name='4FGL J1132.7+0034' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 03:45:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 917905: <4FGL_J1132.7+0034_daily_bin90> in cluster <slac> Done

Job <4FGL_J1132.7+0034_daily_bin90> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep  4 03:31:41 2021
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 03:31:43 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:31:43 2021
Terminated at Sat Sep  4 03:45:30 2021
Results reported at Sat Sep  4 03:45:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1132.7+0034_daily_bin90 173.196 0.5737 262656001 262915201 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 :                                   814.24 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            829 sec.

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

