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


Performing analysis on: 4FGL_J1132.7+0034_daily_bin699
RA = 173.196, Dec = 0.5737
tmin = 420508801, tmax = 420768001
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='919824', job_status='RUN', time_executed='2021-09-04 03:40:29.535905', time_epoch_executed='1630752029.54' WHERE source_name='4FGL J1132.7+0034' and cadence='daily' and bin_id='699'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/919824

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/919824/ft1_4FGL_J1132.7+0034_daily_bin699.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/919824/ft2_4FGL_J1132.7+0034_daily_bin699.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/919824/ft1_4FGL_J1132.7+0034_daily_bin699.fits outfile=/scratch/kocevski/919824/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin699.fits ra=173.196 dec=0.5737 rad=12.0 tmin=420508801.0 tmax=420768001.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.37
user 3.14
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/919824/ft2_4FGL_J1132.7+0034_daily_bin699.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/919824/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin699.fits evtable="EVENTS" outfile="/scratch/kocevski/919824/ft1_filtered_4FGL_J1132.7+0034_daily_bin699.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.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/919824/ft1_filtered_4FGL_J1132.7+0034_daily_bin699.fits" evtable="EVENTS" scfile=/scratch/kocevski/919824/ft2_4FGL_J1132.7+0034_daily_bin699.fits sctable="SC_DATA" outfile=/scratch/kocevski/919824/ltcube_420508801_420768001_4FGL_J1132.7+0034_daily_bin699.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/919824/ft2_4FGL_J1132.7+0034_daily_bin699.fits
.....................!
real 11.85
user 11.48
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/919824/ft1_filtered_4FGL_J1132.7+0034_daily_bin699.fits evtable="EVENTS" scfile=/scratch/kocevski/919824/ft2_4FGL_J1132.7+0034_daily_bin699.fits sctable="SC_DATA" expcube=/scratch/kocevski/919824/ltcube_420508801_420768001_4FGL_J1132.7+0034_daily_bin699.fits outfile=/scratch/kocevski/919824/expmap_420508801_420768001_4FGL_J1132.7+0034_daily_bin699.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/919824/ltcube_420508801_420768001_4FGL_J1132.7+0034_daily_bin699.fits
.....................!
real 189.60
user 185.05
sys 4.19

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/919824/ft1_filtered_4FGL_J1132.7+0034_daily_bin699.fits scfile=/scratch/kocevski/919824/ft2_4FGL_J1132.7+0034_daily_bin699.fits outfile=/scratch/kocevski/919824/cmap_420508801_420768001_4FGL_J1132.7+0034_daily_bin699.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/919824/ft1_filtered_4FGL_J1132.7+0034_daily_bin699.fits scfile=/scratch/kocevski/919824/ft2_4FGL_J1132.7+0034_daily_bin699.fits outfile=/scratch/kocevski/919824/cmap_HighResolution_420508801_420768001_4FGL_J1132.7+0034_daily_bin699.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/919824/ft1_filtered_4FGL_J1132.7+0034_daily_bin699.fits evtable="EVENTS" scfile=/scratch/kocevski/919824/ft2_4FGL_J1132.7+0034_daily_bin699.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/919824/Model_4FGL_J1132.7+0034_daily_bin699.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/919824/ft1_filtered_4FGL_J1132.7+0034_daily_bin699.fits.....................!
real 53.06
user 51.72
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.1496       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    36.100       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .20120E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.0155       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.4651       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.7453       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10518E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.5290       1.0000         .10000E-03   10000.    
    13 'Prefactor '    29.114       1.0000         .10000E-03   10000.    
    14 'norm      '    2.9632       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    33.843       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10337E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10243E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.5606       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10622E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    7.2142       1.0000         .10000E-03   10000.    
    25 'Prefactor '    44.210       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    2.8976       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.2465       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .94005       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=   5457.084     FROM MIGRAD    STATUS=CONVERGED    729 CALLS     3681 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.1436        .18146E-07** at limit **
   2  norm          1.1494        .59341       -.11010E-06   -.38071E-02
   3  Prefactor     .10000E-03    8.3313        .17422E-05** at limit **
   4  Prefactor     36.104        25.491        .30254E-06   -.53223E-04
   5  Prefactor     .10036E-03    37.055        .23692E-04** at limit **
   6  Prefactor     3.0082        10.311        .83963E-05    .34372E-03
   7  Prefactor     1.4656        4.8570        .82143E-06   -.20359E-04
   8  Prefactor     .10000E-03    25.475       -.28782E-05** at limit **
   9  norm          8.7428        9.5115       -.41951E-06   -.12032E-03
  10  Prefactor     .10000E-03    2.1588       -.23660E-07** at limit **
  11  norm          .10000E-03    15.258        .17739E-05** at limit **
  12  Prefactor     4.5291        2.3884        .53639E-07   -.13161E-03
  13  Prefactor     29.113        31.126       -.75015E-06   -.14047E-03
  14  norm          2.9633        5.3647        .52659E-05    .10232E-02
  15  Prefactor     .10000E-03    1.3782        .12845E-07** at limit **
  16  Prefactor     33.842        22.374        .41967E-07   -.36573E-04
  17  Prefactor     .10000E-03    37.709        .37635E-05** at limit **
  18  Prefactor     .10000E-03    8.3151       -.16374E-05** at limit **
  19  Prefactor     .10000E-03    30.895        .81286E-06** at limit **
  20  Prefactor     .10000E-03    2.6343       -.52754E-07** at limit **
  21  Prefactor     .10000E-03    11.689       -.13187E-05** at limit **
  22  Prefactor     4.5420        68.812        .62200E-05    .93885E-05
  23  Prefactor     .10000E-03    106.99        .96207E-05** at limit **
  24  Prefactor     7.2123        24.601        .93079E-06    .12987E-04
  25  Prefactor     44.200        37.308        .10377E-05   -.61386E-04
  26  Prefactor     .10000E-03    17.262       -.11771E-05** at limit **
  27  norm          2.8985        2.7187        .11881E-06    .24464E-03
  28  Normalizat    1.2463        .22110       -.13210E-05   -.54123E-03
  29  Prefactor     .94016        .17617       -.68687E-06   -.36473E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.14944
  Prefactor  = 0.0001
  Prefactor  = 36.1037
  Prefactor  = 0.000100364
  Prefactor  = 3.00815
  Prefactor  = 1.46559
  Prefactor  = 0.0001
  norm       = 8.74282
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.52909
  Prefactor  = 29.1133
  norm       = 2.96326
  Prefactor  = 0.0001
  Prefactor  = 33.8421
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 4.54205
  Prefactor  = 0.000100002
  Prefactor  = 7.21227
  Prefactor  = 44.2003
  Prefactor  = 0.0001
  norm       = 2.89849
  Normalizat = 1.24628
  Prefactor  = 0.940157
 **********
 **   18 **HESSE 
 **********

 FCN=   5457.084     FROM HESSE     STATUS=OK           547 CALLS     4228 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.1757        .14684E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1494        .59021        .39355E-04   -1.5494    
   3  Prefactor     .10000E-03    8.4358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     36.104        25.539        .66701E-04   -1.4506    
   5  Prefactor     .10036E-03    69.110        .52941E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.0082        10.145        .11686E-02   -1.5361    
   7  Prefactor     1.4656        4.7972        .27167E-03   -1.5466    
   8  Prefactor     .10000E-03    25.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.7428        9.4420        .13554E-03   -1.5117    
  10  Prefactor     .10000E-03    2.1674        .10583E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    15.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.5291        2.3915        .80126E-04   -1.5282    
  13  Prefactor     29.113        31.126        .74252E-04   -1.4628    
  14  norm          2.9633        5.9135        .11795E-02   -1.5364    
  15  Prefactor     .10000E-03    1.3895        .84676E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     33.842        22.375        .68883E-04   -1.4544    
  17  Prefactor     .10000E-03    37.754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.3841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    30.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.6385        .11709E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    11.805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.5420        69.091        .18850E-03   -1.5282    
  23  Prefactor     .10000E-03    107.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     7.2123        24.542        .14934E-03   -1.5171    
  25  Prefactor     44.200        37.279        .60297E-04   -1.4377    
  26  Prefactor     .10000E-03    17.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.8985        2.7127        .11307E-03   -1.5367    
  28  Normalizat    1.2463        .25941        .27238E-03   -.85184    
  29  Prefactor     .94016        .20703        .24693E-03   -.94752    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.30676e-09
Minuit parameter uncertainties:
  1  4.61738e-06
  2  0.590213
  3  4.84614e-05
  4  25.5467
  5  0.0100374
  6  10.1508
  7  4.79847
  8  0.000190765
  9  9.4436
  10  8.39078e-06
  11  7.01024e-05
  12  2.39159
  13  31.1429
  14  5.91464
  15  2.36822e-06
  16  22.3806
  17  0.000278478
  18  2.0984e-05
  19  0.000499357
  20  5.30687e-06
  21  0.000211844
  22  35.4782
  23  0.000844061
  24  24.5761
  25  37.2982
  26  6.39808e-05
  27  2.71277
  28  0.259675
  29  0.207205
Done.

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

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  4.529e+00  2.392e+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:  9.402e-01  2.072e-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.246e+00  2.597e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.47
Ra Dec: 173.196 0.574
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 6.71e-08 +/- 3.54e-08
Energy Flux (Fixed Index): 3.42e-05 +/- 1.81e-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) = 5454.67527494
delta logL = 2.4090620358

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5454.57685609
delta logL = 2.50748088832

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3967       1.0000         .10000E-03   10000.    
     2 'Index     '    1.2655       1.0000          .0000       10.000    
     3 'Normalizat'    1.2880       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92753       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=   5454.577     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3955        2.0544        .54880E-02   -.20002E-03
   2  Index         1.2659        .28462        .13564       -.53531E-04
   3  Normalizat    1.2881        .21458        .60706E-01    .48915E-05
   4  Prefactor     .92751        .17260        .45355E-01    .87366E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.39547
  Index      = 1.26585
  Normalizat = 1.28809
  Prefactor  = 0.927515
 **********
 **   18 **HESSE 
 **********

 FCN=   5454.577     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .92E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3955        2.5224        .75325E-04   -1.5339    
   2  Index         1.2659        .36129        .57906E-02   -.84328    
   3  Normalizat    1.2881        .25167        .26849E-03   -.83923    
   4  Prefactor     .92751        .20253        .24844E-03   -.95186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.18732e-13
Minuit parameter uncertainties:
  1  2.52251
  2  0.362004
  3  0.251909
  4  0.202698
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/919824': 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) = 5454.57685434
delta logL = 2.50748263573

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  3.395e+00  2.523e+00  1.000e-04  1.000e+04 ( 1.000e-12)
309        Index:  1.266e+00  3.620e-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:  9.275e-01  2.027e-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.288e+00  2.519e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 26.48
Ra Dec: 173.196 0.574
Photon Index (Free Index): 1.27 +/- 0.36
Photon Flux (Free Index): 2.24e-08 +/- 1.64e-08
Energy Flux (Free Index): 1.53e-04 +/- 1.35e-04

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/919824/cmap_HighResolution_420508801_420768001_4FGL_J1132.7+0034_daily_bin699.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.71e-08', energy_flux2='1.53e-04', photon_flux_error='3.54e-08', dlogl='2.51e+00', energy_flux='3.42e-05', photon_flux2='2.24e-08', job_status='DONE', time_completed='2021-09-04 03:51:55.026646', photon_index_error2='0.36', photon_index2='1.27', ts='21.47', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='1.35e-04', EG='1.25', time_epoch_completed='1630752715.03', return_code='0', job_id='919824', GAL2='0.93', EG2='1.29', return_code2='0', energy_flux_error='1.81e-05', photon_flux_error2='1.64e-08', ts2='26.48', photon_index='2.14' WHERE bin_id='699' AND source_name='4FGL J1132.7+0034' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 03:51:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 919824: <4FGL_J1132.7+0034_daily_bin699> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1132.7+0034_daily_bin699 173.196 0.5737 420508801 420768001 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 :                                   686.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             248.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   924 sec.
    Turnaround time :                            926 sec.

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

