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


Performing analysis on: 4FGL_J1132.7+0034_daily_bin833
RA = 173.196, Dec = 0.5737
tmin = 455241601, tmax = 455500801
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='921314', job_status='RUN', time_executed='2021-09-04 03:44:18.506825', time_epoch_executed='1630752258.51' WHERE source_name='4FGL J1132.7+0034' and cadence='daily' and bin_id='833'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/921314

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/921314/ft1_4FGL_J1132.7+0034_daily_bin833.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/921314/ft2_4FGL_J1132.7+0034_daily_bin833.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/921314/ft1_4FGL_J1132.7+0034_daily_bin833.fits outfile=/scratch/kocevski/921314/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin833.fits ra=173.196 dec=0.5737 rad=12.0 tmin=455241601.0 tmax=455500801.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.19
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/921314/ft1_filtered_4FGL_J1132.7+0034_daily_bin833.fits" evtable="EVENTS" scfile=/scratch/kocevski/921314/ft2_4FGL_J1132.7+0034_daily_bin833.fits sctable="SC_DATA" outfile=/scratch/kocevski/921314/ltcube_455241601_455500801_4FGL_J1132.7+0034_daily_bin833.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/921314/ft2_4FGL_J1132.7+0034_daily_bin833.fits
.....................!
real 12.11
user 11.76
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/921314/ft1_filtered_4FGL_J1132.7+0034_daily_bin833.fits evtable="EVENTS" scfile=/scratch/kocevski/921314/ft2_4FGL_J1132.7+0034_daily_bin833.fits sctable="SC_DATA" expcube=/scratch/kocevski/921314/ltcube_455241601_455500801_4FGL_J1132.7+0034_daily_bin833.fits outfile=/scratch/kocevski/921314/expmap_455241601_455500801_4FGL_J1132.7+0034_daily_bin833.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/921314/ltcube_455241601_455500801_4FGL_J1132.7+0034_daily_bin833.fits
.....................!
real 190.66
user 185.30
sys 4.98

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/921314/ft1_filtered_4FGL_J1132.7+0034_daily_bin833.fits scfile=/scratch/kocevski/921314/ft2_4FGL_J1132.7+0034_daily_bin833.fits outfile=/scratch/kocevski/921314/cmap_455241601_455500801_4FGL_J1132.7+0034_daily_bin833.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/921314/ft1_filtered_4FGL_J1132.7+0034_daily_bin833.fits scfile=/scratch/kocevski/921314/ft2_4FGL_J1132.7+0034_daily_bin833.fits outfile=/scratch/kocevski/921314/cmap_HighResolution_455241601_455500801_4FGL_J1132.7+0034_daily_bin833.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/921314/ft1_filtered_4FGL_J1132.7+0034_daily_bin833.fits evtable="EVENTS" scfile=/scratch/kocevski/921314/ft2_4FGL_J1132.7+0034_daily_bin833.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/921314/Model_4FGL_J1132.7+0034_daily_bin833.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/921314/ft1_filtered_4FGL_J1132.7+0034_daily_bin833.fits....................!
real 62.81
user 61.41
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .70865       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.1191       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.3207       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.9976       1.0000         .10000E-03   10000.    
     8 'Prefactor '    57.538       1.0000         .10000E-03   10000.    
     9 'norm      '    7.8745       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.0347       1.0000         .10000E-03   10000.    
    11 'norm      '    .10201E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.3307       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.2592       1.0000         .10000E-03   10000.    
    16 'Prefactor '    38.097       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.883       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.1433       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    31.130       1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.2508       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    8.2190       1.0000         .10000E-03   10000.    
    27 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.4030       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .90834       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=   6550.019     FROM MIGRAD    STATUS=CONVERGED    745 CALLS     3709 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.3354        .27441E-07** at limit **
   2  norm          .70864        .43094        .17008E-07   -.33598E-04
   3  Prefactor     4.1190        5.0365       -.59112E-07   -.11083E-03
   4  Prefactor     .10000E-03    13.722        .25074E-07** at limit **
   5  Prefactor     4.3187        16.087        .85243E-05   -.26899E-03
   6  Prefactor     .10000E-03    6.3658       -.54938E-06** at limit **
   7  Prefactor     8.9970        5.6127       -.92392E-07   -.67576E-06
   8  Prefactor     57.534        62.993       -.22789E-05   -.47506E-04
   9  norm          7.8730        8.4573       -.33391E-06   -.26853E-04
  10  Prefactor     3.0400        5.6320        .28188E-06   -.18358E-03
  11  norm          .10000E-03    32.825       -.11982E-06** at limit **
  12  Prefactor     4.3306        2.5602        .65261E-07   -.28831E-04
  13  Prefactor     .10000E-03    18.548       -.15005E-06** at limit **
  14  norm          .10000E-03    2.1507       -.18069E-07** at limit **
  15  Prefactor     2.2588        3.8751        .24937E-06   -.14604E-03
  16  Prefactor     38.097        27.953        .91167E-07   -.19389E-04
  17  Prefactor     .10000E-03    100.26       -.16931E-05** at limit **
  18  Prefactor     14.879        13.258        .15407E-06    .21342E-06
  19  Prefactor     1.9693        150.03        .21569E-05    .14309E-04
  20  Prefactor     .10000E-03    2.4690       -.12618E-07** at limit **
  21  Prefactor     .10000E-03    7.5785        .94523E-07** at limit **
  22  Prefactor     31.149        33.166        .43901E-05    .52197E-03
  23  Prefactor     3.2486        65.213        .11429E-05   -.55450E-05
  24  Prefactor     .10000E-03    23.825        .57382E-07** at limit **
  25  Prefactor     .10000E-03    18.530        .12134E-06** at limit **
  26  Prefactor     8.2200        14.683        .21958E-06    .62206E-05
  27  norm          .10000E-03    1.7258        .74275E-07** at limit **
  28  Normalizat    1.4029        .21705       -.78265E-06   -.12256E-04
  29  Prefactor     .90838        .16727       -.49184E-06   -.37408E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.708639
  Prefactor  = 4.11903
  Prefactor  = 0.0001
  Prefactor  = 4.31868
  Prefactor  = 0.0001
  Prefactor  = 8.99705
  Prefactor  = 57.5343
  norm       = 7.87302
  Prefactor  = 3.03996
  norm       = 0.0001
  Prefactor  = 4.33063
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.25882
  Prefactor  = 38.0972
  Prefactor  = 0.000100001
  Prefactor  = 14.8791
  Prefactor  = 1.9693
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.1486
  Prefactor  = 3.24863
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.21999
  norm       = 0.0001
  Normalizat = 1.40293
  Prefactor  = 0.908378
 **********
 **   18 **HESSE 
 **********

 FCN=   6550.019     FROM HESSE     STATUS=OK           555 CALLS     4264 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.3501        .16455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .70864        .43931        .39465E-04   -1.5540    
   3  Prefactor     4.1190        5.0359        .19222E-03   -1.5302    
   4  Prefactor     .10000E-03    13.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.3187        16.715        .96899E-03   -1.5292    
   6  Prefactor     .10000E-03    6.4245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.9970        5.6037        .13362E-03   -1.5108    
   8  Prefactor     57.534        63.030        .52888E-04   -1.4189    
   9  norm          7.8730        8.4318        .14289E-03   -1.5147    
  10  Prefactor     3.0400        5.5780        .23293E-03   -1.5359    
  11  norm          .10000E-03    33.385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.3306        2.5605        .95587E-04   -1.5292    
  13  Prefactor     .10000E-03    18.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.1546        .11586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.2588        3.8461        .19623E-03   -1.5407    
  16  Prefactor     38.097        27.961        .64936E-04   -1.4473    
  17  Prefactor     .10000E-03    100.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.879        13.270        .10382E-03   -1.4936    
  19  Prefactor     1.9693        147.30        .28151E-03   -1.5427    
  20  Prefactor     .10000E-03    2.4724        .12418E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.5961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     31.149        35.704        .35906E-03   -1.4591    
  23  Prefactor     3.2486        65.320        .22463E-03   -1.5347    
  24  Prefactor     .10000E-03    23.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    18.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     8.2200        13.519        .13984E-03   -1.5134    
  27  norm          .10000E-03    2.6407        .19064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.4029        .25539        .27483E-03   -.80544    
  29  Prefactor     .90838        .19607        .26099E-03   -.95849    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60798e-09
Minuit parameter uncertainties:
  1  4.85633e-06
  2  0.43931
  3  5.03638
  4  9.89469e-06
  5  16.7333
  6  6.23262e-05
  7  5.60401
  8  63.1028
  9  8.43312
  10  5.57895
  11  2.04354e-05
  12  2.56052
  13  1.90847e-05
  14  2.11392e-06
  15  3.8465
  16  27.9709
  17  0.000734186
  18  13.2728
  19  34.1503
  20  5.67087e-07
  21  1.79903e-05
  22  35.7288
  23  29.1704
  24  3.70728e-06
  25  2.43102e-05
  26  13.5244
  27  1.48258e-05
  28  0.25562
  29  0.196225
Done.

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

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  4.331e+00  2.561e+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.084e-01  1.962e-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.403e+00  2.556e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.88
Ra Dec: 173.196 0.574
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 6.42e-08 +/- 3.79e-08
Energy Flux (Fixed Index): 3.27e-05 +/- 1.93e-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) = 6549.20967633
delta logL = 0.808857190163

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6549.20749773
delta logL = 0.811035794773

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1487       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5712       1.0000          .0000       10.000    
     3 'Normalizat'    1.4390       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89460       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=   6549.207     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      210 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1465        2.7317        .49472E-02    .25605E-03
   2  Index         1.5706        .33858        .18130       -.12744E-03
   3  Normalizat    1.4390        .21045        .61497E-01   -.13491E-03
   4  Prefactor     .89465        .16570        .44936E-01   -.95808E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.14654
  Index      = 1.57061
  Normalizat = 1.43895
  Prefactor  = 0.894653
 **********
 **   18 **HESSE 
 **********

 FCN=   6549.207     FROM HESSE     STATUS=OK            29 CALLS      239 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1465        3.1169        .10446E-03   -1.5301    
   2  Index         1.5706        .42560        .72538E-02   -.75581    
   3  Normalizat    1.4390        .24690        .27198E-03   -.79509    
   4  Prefactor     .89465        .19461        .26282E-03   -.96328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.41152e-11
Minuit parameter uncertainties:
  1  3.11699
  2  0.426573
  3  0.247105
  4  0.194756
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/921314': 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) = 6549.20749684
delta logL = 0.811036683243

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  4.147e+00  3.117e+00  1.000e-04  1.000e+04 ( 1.000e-12)
309        Index:  1.571e+00  4.266e-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:  8.947e-01  1.948e-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.439e+00  2.471e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.49
Ra Dec: 173.196 0.574
Photon Index (Free Index): 1.57 +/- 0.43
Photon Flux (Free Index): 3.09e-08 +/- 2.97e-08
Energy Flux (Free Index): 7.71e-05 +/- 7.49e-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/921314/cmap_HighResolution_455241601_455500801_4FGL_J1132.7+0034_daily_bin833.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.42e-08', energy_flux2='7.71e-05', photon_flux_error='3.79e-08', dlogl='8.11e-01', energy_flux='3.27e-05', photon_flux2='3.09e-08', job_status='DONE', time_completed='2021-09-04 03:57:10.387166', photon_index_error2='0.43', photon_index2='1.57', ts='7.88', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='7.49e-05', EG='1.40', time_epoch_completed='1630753030.39', return_code='0', job_id='921314', GAL2='0.89', EG2='1.44', return_code2='0', energy_flux_error='1.93e-05', photon_flux_error2='2.97e-08', ts2='9.49', photon_index='2.14' WHERE bin_id='833' AND source_name='4FGL J1132.7+0034' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 03:57:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0015>
Subject: Job 921314: <4FGL_J1132.7+0034_daily_bin833> in cluster <slac> Done

Job <4FGL_J1132.7+0034_daily_bin833> 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) <bullet0015>, 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:10 2021
Results reported at Sat Sep  4 03:57:10 2021

Your job looked like:

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

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

