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


Performing analysis on: 4FGL_J1132.7+0034_daily_bin832
RA = 173.196, Dec = 0.5737
tmin = 454982401, tmax = 455241601
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='921312', job_status='RUN', time_executed='2021-09-04 03:43:59.069484', time_epoch_executed='1630752239.07' WHERE source_name='4FGL J1132.7+0034' and cadence='daily' and bin_id='832'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/921312

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/921312/ft1_4FGL_J1132.7+0034_daily_bin832.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/921312/ft2_4FGL_J1132.7+0034_daily_bin832.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/921312/ft1_4FGL_J1132.7+0034_daily_bin832.fits outfile=/scratch/kocevski/921312/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin832.fits ra=173.196 dec=0.5737 rad=12.0 tmin=454982401.0 tmax=455241601.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.45
user 3.23
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/921312/ft1_filtered_4FGL_J1132.7+0034_daily_bin832.fits" evtable="EVENTS" scfile=/scratch/kocevski/921312/ft2_4FGL_J1132.7+0034_daily_bin832.fits sctable="SC_DATA" outfile=/scratch/kocevski/921312/ltcube_454982401_455241601_4FGL_J1132.7+0034_daily_bin832.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/921312/ft2_4FGL_J1132.7+0034_daily_bin832.fits
.....................!
real 12.11
user 11.74
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/921312/ft1_filtered_4FGL_J1132.7+0034_daily_bin832.fits evtable="EVENTS" scfile=/scratch/kocevski/921312/ft2_4FGL_J1132.7+0034_daily_bin832.fits sctable="SC_DATA" expcube=/scratch/kocevski/921312/ltcube_454982401_455241601_4FGL_J1132.7+0034_daily_bin832.fits outfile=/scratch/kocevski/921312/expmap_454982401_455241601_4FGL_J1132.7+0034_daily_bin832.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/921312/ltcube_454982401_455241601_4FGL_J1132.7+0034_daily_bin832.fits
.....................!
real 192.07
user 187.43
sys 4.25

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/921312/ft1_filtered_4FGL_J1132.7+0034_daily_bin832.fits scfile=/scratch/kocevski/921312/ft2_4FGL_J1132.7+0034_daily_bin832.fits outfile=/scratch/kocevski/921312/cmap_454982401_455241601_4FGL_J1132.7+0034_daily_bin832.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.66
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/921312/ft1_filtered_4FGL_J1132.7+0034_daily_bin832.fits scfile=/scratch/kocevski/921312/ft2_4FGL_J1132.7+0034_daily_bin832.fits outfile=/scratch/kocevski/921312/cmap_HighResolution_454982401_455241601_4FGL_J1132.7+0034_daily_bin832.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.63
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/921312/ft1_filtered_4FGL_J1132.7+0034_daily_bin832.fits evtable="EVENTS" scfile=/scratch/kocevski/921312/ft2_4FGL_J1132.7+0034_daily_bin832.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/921312/Model_4FGL_J1132.7+0034_daily_bin832.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/921312/ft1_filtered_4FGL_J1132.7+0034_daily_bin832.fits.....................!
real 63.97
user 61.53
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9786       1.0000         .10000E-03   10000.    
     2 'norm      '    .92493       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .25409E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.077       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.3921       1.0000         .10000E-03   10000.    
     8 'Prefactor '    101.29       1.0000         .10000E-03   10000.    
     9 'norm      '    7.6737       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7826       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.2559       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.2332       1.0000         .10000E-03   10000.    
    14 'norm      '    7.9218       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .21743E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .23360E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    20.626       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    25.335       1.0000         .10000E-03   10000.    
    25 'Prefactor '    40.167       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10331E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    1.0111       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0797       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0811       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=   6709.159     FROM MIGRAD    STATUS=CONVERGED    754 CALLS     3797 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9728        10.738        .34827E-06   -.14664E-03
   2  norm          .92374        .63518        .14662E-07   -.15074E-02
   3  Prefactor     .63874E-01    6.3903        .11574E-05   -.50107E-03
   4  Prefactor     14.073        21.759        .40653E-06   -.36979E-04
   5  Prefactor     .10000E-03    8.7274        .55940E-07** at limit **
   6  Prefactor     .10000E-03    19.618        .16936E-06** at limit **
   7  Prefactor     7.3918        5.2148        .19332E-05   -.28851E-03
   8  Prefactor     101.29        68.612        .33416E-06    .28578E-04
   9  norm          7.6730        8.8114       -.75438E-06    .84518E-05
  10  Prefactor     2.7826        3.1872       -.33625E-06   -.13038E-03
  11  norm          .10000E-03    6.3130       -.73821E-07** at limit **
  12  Prefactor     4.2559        2.1247       -.27397E-08   -.87763E-04
  13  Prefactor     5.2333        17.749        .64283E-05   -.53805E-04
  14  norm          7.9221        5.2175       -.40878E-08    .82021E-04
  15  Prefactor     .10000E-03    1.9638        .59731E-07** at limit **
  16  Prefactor     .10002E-03    109.43        .59781E-05** at limit **
  17  Prefactor     .10001E-03    201.09       -.26553E-05** at limit **
  18  Prefactor     .10000E-03    20.971       -.24570E-05** at limit **
  19  Prefactor     .10001E-03    30.735        .16069E-05** at limit **
  20  Prefactor     .10000E-03    2.3335        .34996E-07** at limit **
  21  Prefactor     .10000E-03    40.457       -.19350E-05** at limit **
  22  Prefactor     20.621        41.896       -.37764E-06    .34358E-06
  23  Prefactor     .10000E-03    20.067        .84052E-06** at limit **
  24  Prefactor     25.340        26.351       -.11826E-06   -.28559E-04
  25  Prefactor     40.166        32.779        .12627E-06    .30414E-05
  26  Prefactor     .10000E-03    11.739       -.37911E-06** at limit **
  27  norm          1.0101        2.8831        .11216E-05    .69325E-05
  28  Normalizat    1.0797        .20822       -.12236E-05   -.13432E-03
  29  Prefactor     1.0811        .16466       -.54711E-06   -.18059E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.97276
  norm       = 0.923741
  Prefactor  = 0.0638738
  Prefactor  = 14.0734
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.39181
  Prefactor  = 101.292
  norm       = 7.67304
  Prefactor  = 2.78264
  norm       = 0.0001
  Prefactor  = 4.25585
  Prefactor  = 5.23335
  norm       = 7.92207
  Prefactor  = 0.0001
  Prefactor  = 0.000100023
  Prefactor  = 0.000100015
  Prefactor  = 0.000100003
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 20.6213
  Prefactor  = 0.000100002
  Prefactor  = 25.34
  Prefactor  = 40.1663
  Prefactor  = 0.0001
  norm       = 1.01011
  Normalizat = 1.07972
  Prefactor  = 1.08105
 **********
 **   18 **HESSE 
 **********

 FCN=   6709.159     FROM HESSE     STATUS=OK           561 CALLS     4358 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9728        10.695        .16422E-03   -1.5219    
   2  norm          .92374        .62848        .47633E-04   -1.5516    
   3  Prefactor     .63874E-01    7.3731        .60400E-01   -1.5657    
   4  Prefactor     14.073        21.771        .10675E-03   -1.4957    
   5  Prefactor     .10000E-03    8.7880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    20.375        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.3918        5.2102        .71419E-03   -1.5164    
   8  Prefactor     101.29        68.597        .39948E-04   -1.3692    
   9  norm          7.6730        8.7830        .14476E-03   -1.5154    
  10  Prefactor     2.7826        3.1731        .14756E-03   -1.5374    
  11  norm          .10000E-03    6.3142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.2559        2.1251        .81573E-04   -1.5295    
  13  Prefactor     5.2333        17.731        .87856E-03   -1.5250    
  14  norm          7.9221        5.2138        .14246E-03   -1.5145    
  15  Prefactor     .10000E-03    1.9913        .11198E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10002E-03    114.58        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    202.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    21.921        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    30.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.3379        .12219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    41.380        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     20.621        41.807        .88192E-04   -1.4799    
  23  Prefactor     .10000E-03    20.140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     25.340        26.240        .79585E-04   -1.4701    
  25  Prefactor     40.166        32.779        .63246E-04   -1.4440    
  26  Prefactor     .10000E-03    11.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.0101        2.8477        .22230E-03   -1.5507    
  28  Normalizat    1.0797        .24203        .29381E-03   -.90406    
  29  Prefactor     1.0811        .19157        .23724E-03   -.90074    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00618e-09
Minuit parameter uncertainties:
  1  10.6979
  2  0.628484
  3  1.37161
  4  21.7837
  5  4.15808e-06
  6  1.95039e-06
  7  5.21047
  8  68.6509
  9  8.78443
  10  3.17331
  11  9.28898e-06
  12  2.1251
  13  17.7483
  14  5.21407
  15  2.85713e-06
  16  0.00326428
  17  0.00346398
  18  0.0005278
  19  0.000871508
  20  1.39369e-06
  21  0.000868397
  22  41.8666
  23  0.000357534
  24  26.2518
  25  32.7936
  26  6.58739e-05
  27  2.84808
  28  0.242276
  29  0.191687
Done.

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

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  4.256e+00  2.125e+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.081e+00  1.917e-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.080e+00  2.423e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.52
Ra Dec: 173.196 0.574
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 6.31e-08 +/- 3.15e-08
Energy Flux (Fixed Index): 3.21e-05 +/- 1.60e-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) = 6708.42675993
delta logL = 0.731988342581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6708.41486236
delta logL = 0.743885914526

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7099       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6826       1.0000          .0000       10.000    
     3 'Normalizat'    1.1049       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0708       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=   6708.415     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      203 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7099        2.7284        .46354E-02   -.39759E-02
   2  Index         1.6826        .35409        .16683       -.20090E-04
   3  Normalizat    1.1049        .20120        .65748E-01    .67688E-04
   4  Prefactor     1.0708        .16274        .38822E-01   -.34303E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.70987
  Index      = 1.68263
  Normalizat = 1.10487
  Prefactor  = 1.07076
 **********
 **   18 **HESSE 
 **********

 FCN=   6708.415     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7099        2.4857        .89739E-04   -1.5274    
   2  Index         1.6826        .35233        .67301E-02   -.72545    
   3  Normalizat    1.1049        .23399        .29086E-03   -.89596    
   4  Prefactor     1.0708        .18979        .23823E-03   -.90406    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26013e-09
Minuit parameter uncertainties:
  1  2.48573
  2  0.352855
  3  0.234212
  4  0.189911
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/921312': 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) = 6708.41486234
delta logL = 0.743885933969

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  4.710e+00  2.486e+00  1.000e-04  1.000e+04 ( 1.000e-12)
309        Index:  1.683e+00  3.529e-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.071e+00  1.899e-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.105e+00  2.342e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.00
Ra Dec: 173.196 0.574
Photon Index (Free Index): 1.68 +/- 0.35
Photon Flux (Free Index): 3.88e-08 +/- 2.66e-08
Energy Flux (Free Index): 6.70e-05 +/- 5.78e-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/921312/cmap_HighResolution_454982401_455241601_4FGL_J1132.7+0034_daily_bin832.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.31e-08', energy_flux2='6.70e-05', photon_flux_error='3.15e-08', dlogl='7.44e-01', energy_flux='3.21e-05', photon_flux2='3.88e-08', job_status='DONE', time_completed='2021-09-04 03:57:11.923576', photon_index_error2='0.35', photon_index2='1.68', ts='12.52', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='5.78e-05', EG='1.08', time_epoch_completed='1630753031.92', return_code='0', job_id='921312', GAL2='1.07', EG2='1.10', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='2.66e-08', ts2='14.00', photon_index='2.14' WHERE bin_id='832' AND source_name='4FGL J1132.7+0034' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 03:57:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0143>
Subject: Job 921312: <4FGL_J1132.7+0034_daily_bin832> in cluster <slac> Done

Job <4FGL_J1132.7+0034_daily_bin832> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep  4 03:41:38 2021
Job was executed on host(s) <bullet0143>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 03:41:40 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:41:40 2021
Terminated at Sat Sep  4 03:57:12 2021
Results reported at Sat Sep  4 03:57:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1132.7+0034_daily_bin832 173.196 0.5737 454982401 455241601 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 :                                   789.15 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             270.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   932 sec.
    Turnaround time :                            934 sec.

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

