aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 173 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7584
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1132.7+0034_daily_bin1755
RA = 173.196, Dec = 0.5737
tmin = 694224001, tmax = 694483201
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='820650', job_status='RUN', time_executed='2023-01-04 00:54:39.542641', time_epoch_executed='1672822479.54' WHERE source_name='4FGL J1132.7+0034' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/820650

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/820650/ft1_4FGL_J1132.7+0034_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/820650/ft2_4FGL_J1132.7+0034_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/820650/ft1_4FGL_J1132.7+0034_daily_bin1755.fits outfile=/scratch/kocevski/820650/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin1755.fits ra=173.196 dec=0.5737 rad=12.0 tmin=694224001.0 tmax=694483201.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.03
user 2.81
sys 0.20

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

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

Number of photons that the gtmktime cut: 389

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/820650/ft1_filtered_4FGL_J1132.7+0034_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/820650/ft2_4FGL_J1132.7+0034_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/820650/ltcube_694224001_694483201_4FGL_J1132.7+0034_daily_bin1755.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/820650/ft2_4FGL_J1132.7+0034_daily_bin1755.fits
.....................!
real 16.58
user 16.11
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/820650/ft1_filtered_4FGL_J1132.7+0034_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/820650/ft2_4FGL_J1132.7+0034_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/820650/ltcube_694224001_694483201_4FGL_J1132.7+0034_daily_bin1755.fits outfile=/scratch/kocevski/820650/expmap_694224001_694483201_4FGL_J1132.7+0034_daily_bin1755.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/820650/ltcube_694224001_694483201_4FGL_J1132.7+0034_daily_bin1755.fits
.....................!
real 191.36
user 185.75
sys 5.06

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/820650/ft1_filtered_4FGL_J1132.7+0034_daily_bin1755.fits scfile=/scratch/kocevski/820650/ft2_4FGL_J1132.7+0034_daily_bin1755.fits outfile=/scratch/kocevski/820650/cmap_694224001_694483201_4FGL_J1132.7+0034_daily_bin1755.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/820650/ft1_filtered_4FGL_J1132.7+0034_daily_bin1755.fits scfile=/scratch/kocevski/820650/ft2_4FGL_J1132.7+0034_daily_bin1755.fits outfile=/scratch/kocevski/820650/cmap_HighResolution_694224001_694483201_4FGL_J1132.7+0034_daily_bin1755.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.57
user 0.36
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/820650/ft1_filtered_4FGL_J1132.7+0034_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/820650/ft2_4FGL_J1132.7+0034_daily_bin1755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/820650/Model_4FGL_J1132.7+0034_daily_bin1755.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/820650/ft1_filtered_4FGL_J1132.7+0034_daily_bin1755.fits.....................!
real 44.11
user 42.68
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/820650/ft1_filtered_4FGL_J1132.7+0034_daily_bin1755.fits', '/scratch/kocevski/820650/ft2_4FGL_J1132.7+0034_daily_bin1755.fits', expMap='/scratch/kocevski/820650/expmap_694224001_694483201_4FGL_J1132.7+0034_daily_bin1755.fits', expCube='/scratch/kocevski/820650/ltcube_694224001_694483201_4FGL_J1132.7+0034_daily_bin1755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/820650/Model_4FGL_J1132.7+0034_daily_bin1755.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  0.000e+00  1.000e+06 ( 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/820650/ft1_filtered_4FGL_J1132.7+0034_daily_bin1755.fits
Spacecraft file(s): /scratch/kocevski/820650/ft2_4FGL_J1132.7+0034_daily_bin1755.fits
Exposure map: /scratch/kocevski/820650/expmap_694224001_694483201_4FGL_J1132.7+0034_daily_bin1755.fits
Exposure cube: /scratch/kocevski/820650/ltcube_694224001_694483201_4FGL_J1132.7+0034_daily_bin1755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/820650/Model_4FGL_J1132.7+0034_daily_bin1755.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) = 4354.11468001

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14822E-04   1.0000          .0000       .10000E+07
     2 'norm      '    1.5545       1.0000          .0000       .10000E+07
     3 'Prefactor '    40.641       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15049E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .15878E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .46050E-05   1.0000          .0000       .10000E+07
     7 'norm      '    6.2592       1.0000          .0000       .10000E+07
     8 'Prefactor '    .27394E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .39758E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.4187       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.4872       1.0000          .0000       .10000E+07
    12 'norm      '    .89468E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .67829E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .99245E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .29797E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .66935E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    33.479       1.0000          .0000       .10000E+07
    18 'Prefactor '    .19574E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    41.276       1.0000          .0000       .10000E+07
    20 'Prefactor '    19.864       1.0000          .0000       .10000E+07
    21 'Prefactor '    .15635E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .12067E-04   1.0000          .0000       .10000E+07
    23 'norm      '    .57843E-07   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0932       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .99303       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=   4354.083     FROM MIGRAD    STATUS=CONVERGED    194 CALLS     2125 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11385E-06    29.702       -.39191E-05** at limit **
   2  norm          1.5560        .89597        .96242E-07    .11103E-02
   3  Prefactor     41.904        27.848        .44682E-06    .40224E-01
   4  Prefactor     .98810E-08    13.780        .23611E-05** at limit **
   5  Prefactor      .0000        2.7091       -.72620E-07** at limit **
   6  Prefactor     .44422E-05    106.85        .41155E-05** at limit **
   7  norm          6.2887        9.8306       -.10896E-05    .12733E-02
   8  Prefactor     .55511E-10    4.2229       -.52500E-06** at limit **
   9  norm          .56199E-06    13.395        .21348E-05** at limit **
  10  Prefactor     2.4229        2.0443        .11860E-06    .33087E-03
  11  Prefactor     10.013        11.031        .82650E-06   -.77109E-01
  12  norm           .0000        2.6219        .55131E-06** at limit **
  13  Prefactor      .0000        5.6502        .11271E-05** at limit **
  14  Prefactor     .13419E-05    202.05       -.61655E-05** at limit **
  15  Prefactor      .0000        4.3760        .65009E-07** at limit **
  16  Prefactor      .0000        2.5687       -.87020E-06** at limit **
  17  Prefactor     33.564        4.1559       -.14581E-06   -.16834E-01
  18  Prefactor     .66891E-07    21.336       -.14016E-05** at limit **
  19  Prefactor     43.856        34.889        .95638E-07   -.45440E-01
  20  Prefactor     19.889        1.4964        .81477E-07   -.17200E-01
  21  Prefactor     .53718E-06    13.439       -.52188E-06** at limit **
  22  Prefactor      .0000        3.5401        .17193E-06** at limit **
  23  norm           .0000        5.6282       -.10421E-05** at limit **
  24  Normalizat    1.0872        .29100       -.64190E-05    .87795E-05
  25  Prefactor     .99484        .22695        .12580E-04    .11189E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.13853e-07
  norm       = 1.55602
  Prefactor  = 41.9038
  Prefactor  = 9.88098e-09
  Prefactor  = 0
  Prefactor  = 4.44222e-06
  norm       = 6.28868
  Prefactor  = 5.55112e-11
  norm       = 5.61995e-07
  Prefactor  = 2.4229
  Prefactor  = 10.0131
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.34187e-06
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 33.564
  Prefactor  = 6.68909e-08
  Prefactor  = 43.8563
  Prefactor  = 19.8894
  Prefactor  = 5.37181e-07
  Prefactor  = 0
  norm       = 0
  Normalizat = 1.08715
  Prefactor  = 0.994837
 **********
 **   18 **HESSE 
 **********

 FCN=   4354.083     FROM HESSE     STATUS=OK           473 CALLS     2598 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11385E-06    29.841        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.5560        .89925        .85364E-03   -1.5683    
   3  Prefactor     41.904        40.038        .15688E-03   -1.5578    
   4  Prefactor     .98810E-08    13.812        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.7061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .44422E-05    115.03        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.2887        9.8733        .40100E-03   -1.5658    
   8  Prefactor     .55511E-10    4.2147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .56199E-06    14.982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.4229        2.0413        .65788E-03   -1.5677    
  11  Prefactor     10.013        24.201        .32512E-03   -1.5645    
  12  norm           .0000        2.6205        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        5.5385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .13419E-05    204.89        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        4.3766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        2.5676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     33.564        18.401        .17285E-03   -1.5592    
  18  Prefactor     .66891E-07    21.491        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     43.856        44.451        .15567E-03   -1.5576    
  20  Prefactor     19.889        21.986        .22444E-03   -1.5619    
  21  Prefactor     .53718E-06    14.695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        3.5416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        1.3411        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0872        .24730        .63360E-01   -.90165    
  25  Prefactor     .99484        .19203        .46180E-01   -.92902    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.38175e-07
Minuit parameter uncertainties:
  1  0.00368641
  2  0.899251
  3  40.0382
  4  0.000739221
  5  4.36454e-06
  6  0.0452103
  7  9.87336
  8  2.71022e-05
  9  0.00580349
  10  2.04133
  11  24.2016
  12  1.05501e-05
  13  3.17376e-06
  14  0.0331636
  15  6.22311e-06
  16  1.28498e-06
  17  18.4008
  18  0.00239813
  19  44.4511
  20  21.9865
  21  0.00561912
  22  7.68647e-06
  23  5.13227e-07
  24  0.247564
  25  0.192165
Done.

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

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  2.423e+00  2.041e+00  0.000e+00  1.000e+06 ( 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.948e-01  1.922e-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.087e+00  2.476e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.65
Ra Dec: 173.196 0.574
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 3.59e-08 +/- 3.02e-08
Energy Flux (Fixed Index): 1.83e-05 +/- 1.54e-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) = 4353.91768632
delta logL = 0.165594591381

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4353.91610813
delta logL = 0.16717278182

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3610       1.0000          .0000       .10000E+07
     2 'Index     '    1.6774       1.0000          .0000       10.000    
     3 'Normalizat'    1.1077       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98620       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=   4353.916     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      207 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3609        2.5484        .66668E-03   -.52075E-03
   2  Index         1.6774        .69544        .20624       -.32526E-04
   3  Normalizat    1.1077        .23683        .62837E-01    .74558E-05
   4  Prefactor     .98622        .19056        .46094E-01    .51480E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.36087
  Index      = 1.6774
  Normalizat = 1.1077
  Prefactor  = 0.986217
 **********
 **   18 **HESSE 
 **********

 FCN=   4353.916     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3609        2.3499        .91229E-05   -1.5677    
   2  Index         1.6774        .74061        .10201E-01   -.72685    
   3  Normalizat    1.1077        .27844        .27794E-03   -.89505    
   4  Prefactor     .98622        .22476        .23577E-03   -.93190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32441e-12
Minuit parameter uncertainties:
  1  2.34994
  2  0.745552
  3  0.27881
  4  0.224971
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/820650': 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) = 4353.91610804
delta logL = 0.16717287082

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  2.361e+00  2.350e+00  0.000e+00  1.000e+06 ( 1.000e-12)
309        Index:  1.677e+00  7.456e-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.862e-01  2.250e-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.108e+00  2.788e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.99
Ra Dec: 173.196 0.574
Photon Index (Free Index): 1.68 +/- 0.75
Photon Flux (Free Index): 1.94e-08 +/- 2.78e-08
Energy Flux (Free Index): 3.40e-05 +/- 5.45e-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/820650/cmap_HighResolution_694224001_694483201_4FGL_J1132.7+0034_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.59e-08', energy_flux2='3.40e-05', photon_flux_error='3.02e-08', dlogl='1.67e-01', energy_flux='1.83e-05', photon_flux2='1.94e-08', job_status='DONE', time_completed='2023-01-04 01:03:24.563548', photon_index_error2='0.75', photon_index2='1.68', ts='5.65', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='5.45e-05', EG='1.09', time_epoch_completed='1672823004.56', return_code='0', job_id='820650', GAL2='0.99', EG2='1.11', return_code2='0', energy_flux_error='1.54e-05', photon_flux_error2='2.78e-08', ts2='5.99', photon_index='2.14' WHERE bin_id='1755' AND source_name='4FGL J1132.7+0034' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 01:03:24 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 820650: <4FGL_J1132.7+0034_daily_bin1755> in cluster <slac> Done

Job <4FGL_J1132.7+0034_daily_bin1755> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Jan  4 00:50:26 2023
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 00:51:38 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 00:51:38 2023
Terminated at Wed Jan  4 01:03:25 2023
Results reported at Wed Jan  4 01:03:25 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1132.7+0034_daily_bin1755 173.196 0.5737 694224001 694483201 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 :                                   526.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   706 sec.
    Turnaround time :                            779 sec.

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

