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


Performing analysis on: 4FGL_J1132.7+0034_daily_bin1751
RA = 173.196, Dec = 0.5737
tmin = 693187201, tmax = 693446401
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='76395', job_status='RUN', time_executed='2022-12-23 00:37:34.219843', time_epoch_executed='1671784654.22' WHERE source_name='4FGL J1132.7+0034' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/76395

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/76395/ft1_4FGL_J1132.7+0034_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/76395/ft2_4FGL_J1132.7+0034_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/76395/ft1_4FGL_J1132.7+0034_daily_bin1751.fits outfile=/scratch/kocevski/76395/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin1751.fits ra=173.196 dec=0.5737 rad=12.0 tmin=693187201.0 tmax=693446401.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.62
user 3.41
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/76395/ft2_4FGL_J1132.7+0034_daily_bin1751.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/76395/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/76395/ft1_filtered_4FGL_J1132.7+0034_daily_bin1751.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 579

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/76395/ft1_filtered_4FGL_J1132.7+0034_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/76395/ft2_4FGL_J1132.7+0034_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/76395/ltcube_693187201_693446401_4FGL_J1132.7+0034_daily_bin1751.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/76395/ft2_4FGL_J1132.7+0034_daily_bin1751.fits
.....................!
real 12.43
user 12.10
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/76395/ft1_filtered_4FGL_J1132.7+0034_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/76395/ft2_4FGL_J1132.7+0034_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/76395/ltcube_693187201_693446401_4FGL_J1132.7+0034_daily_bin1751.fits outfile=/scratch/kocevski/76395/expmap_693187201_693446401_4FGL_J1132.7+0034_daily_bin1751.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/76395/ltcube_693187201_693446401_4FGL_J1132.7+0034_daily_bin1751.fits
.....................!
real 192.22
user 187.52
sys 4.37

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/76395/ft1_filtered_4FGL_J1132.7+0034_daily_bin1751.fits scfile=/scratch/kocevski/76395/ft2_4FGL_J1132.7+0034_daily_bin1751.fits outfile=/scratch/kocevski/76395/cmap_693187201_693446401_4FGL_J1132.7+0034_daily_bin1751.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/76395/ft1_filtered_4FGL_J1132.7+0034_daily_bin1751.fits scfile=/scratch/kocevski/76395/ft2_4FGL_J1132.7+0034_daily_bin1751.fits outfile=/scratch/kocevski/76395/cmap_HighResolution_693187201_693446401_4FGL_J1132.7+0034_daily_bin1751.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=173.196 yref=0.5737 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.58
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/76395/ft1_filtered_4FGL_J1132.7+0034_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/76395/ft2_4FGL_J1132.7+0034_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/76395/Model_4FGL_J1132.7+0034_daily_bin1751.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/76395/ft1_filtered_4FGL_J1132.7+0034_daily_bin1751.fits.....................!
real 61.93
user 60.51
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5281       1.0000          .0000       .10000E+07
     2 'norm      '    .80601       1.0000          .0000       .10000E+07
     3 'Prefactor '    .24410E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .28269E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .22660E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .98255E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .91172E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13012E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .42908E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.2075       1.0000          .0000       .10000E+07
    11 'Prefactor '    .14409E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .29463E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    11.803       1.0000          .0000       .10000E+07
    14 'Prefactor '    .24901       1.0000          .0000       .10000E+07
    15 'Prefactor '    .59506E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .15196E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.1693       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10752E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .31495E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .18830E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    2.2774       1.0000          .0000       .10000E+07
    22 'Prefactor '    3.8384       1.0000          .0000       .10000E+07
    23 'norm      '    .52864       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0731       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0749       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=   6487.495     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1661 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5384        1.3406        .17887E-06    .25820E-02
   2  norm          .80605        .53607       -.40067E-06   -.27604E-02
   3  Prefactor     .50177E-06    3.5158        .15640E-06** at limit **
   4  Prefactor     .27756E-07    7.5629       -.79443E-06** at limit **
   5  Prefactor     .18319E-08    4.0384       -.36074E-06** at limit **
   6  Prefactor     .22441E-05    6.4300        .16388E-05** at limit **
   7  norm           .0000        2.3750       -.50719E-06** at limit **
   8  Prefactor      .0000        1.7195       -.45924E-06** at limit **
   9  norm          .11957E-06    6.8623        .87178E-06** at limit **
  10  Prefactor     5.1931        3.3023        .27508E-06    .15165E-03
  11  Prefactor     .12929E-06    22.130       -.42705E-06** at limit **
  12  norm          .95313E-05    6.2091       -.13636E-06** at limit **
  13  Prefactor     11.795        4.6868       -.46933E-08   -.19206E-02
  14  Prefactor     .10730E-05    4.9510       -.76382E-06** at limit **
  15  Prefactor     .26645E-08    4.6390        .19769E-05** at limit **
  16  Prefactor     .11102E-09    3.6293        .36944E-06** at limit **
  17  Prefactor     7.1804        1.3542       -.30752E-07    .10699E-01
  18  Prefactor     .55511E-10    9.1351        .23592E-05** at limit **
  19  Prefactor     .34045E-06    11.066        .25066E-05** at limit **
  20  Prefactor     .11713E-07    5.2536       -.54147E-06** at limit **
  21  Prefactor     2.1985        1.8803       -.21135E-06    .14612E-02
  22  Prefactor     3.8266        6.2000       -.53798E-06   -.51453E-03
  23  norm          .51435        2.0132        .76381E-06   -.21152E-03
  24  Normalizat    1.0734        .22633       -.13109E-04   -.12688E-04
  25  Prefactor     1.0749        .18174        .11896E-04   -.53958E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.53836
  norm       = 0.806055
  Prefactor  = 5.01765e-07
  Prefactor  = 2.77556e-08
  Prefactor  = 1.83187e-09
  Prefactor  = 2.24415e-06
  norm       = 0
  Prefactor  = 0
  norm       = 1.19571e-07
  Prefactor  = 5.19311
  Prefactor  = 1.29285e-07
  norm       = 9.53132e-06
  Prefactor  = 11.795
  Prefactor  = 1.07298e-06
  Prefactor  = 2.66454e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 7.1804
  Prefactor  = 5.55112e-11
  Prefactor  = 3.4045e-07
  Prefactor  = 1.17129e-08
  Prefactor  = 2.19846
  Prefactor  = 3.8266
  norm       = 0.514347
  Normalizat = 1.07338
  Prefactor  = 1.07488
 **********
 **   18 **HESSE 
 **********

 FCN=   6487.495     FROM HESSE     STATUS=OK           477 CALLS     2138 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5384        9.9897        .53794E-03   -1.5670    
   2  norm          .80605        .54323        .52488E-03   -1.5690    
   3  Prefactor     .50177E-06    9.1950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .27756E-07    10.237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .18319E-08    4.0335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .22441E-05    25.591        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        2.3795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.7180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .11957E-06    8.2629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.1931        3.2848        .44027E-03   -1.5662    
  11  Prefactor     .12929E-06    29.653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .95313E-05    4.6107        .57679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.795        4.7917        .29134E-03   -1.5639    
  14  Prefactor     .10730E-05    74.209        .10961E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .26645E-08    4.6772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11102E-09    3.6330        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.1804        12.428        .37439E-03   -1.5654    
  18  Prefactor     .55511E-10    23.825        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .34045E-06    23.438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .11713E-07    5.3046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.1985        81.811        .68014E-03   -1.5678    
  22  Prefactor     3.8266        6.2654        .51488E-03   -1.5669    
  23  norm          .51435        2.0478        .75880E-03   -1.5694    
  24  Normalizat    1.0734        .19676        .63161E-01   -.90611    
  25  Prefactor     1.0749        .15680        .38629E-01   -.90273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37256e-07
Minuit parameter uncertainties:
  1  9.98974
  2  0.543234
  3  0.00429604
  4  0.00106612
  5  0.00017162
  6  0.0151566
  7  1.13464e-05
  8  2.59898e-06
  9  0.00198816
  10  3.28481
  11  0.00391571
  12  0.0132584
  13  4.79165
  14  0.0178468
  15  0.000222732
  16  4.09055e-05
  17  12.4281
  18  6.80626e-05
  19  0.00564946
  20  0.000498048
  21  26.8226
  22  6.26541
  23  2.04783
  24  0.196898
  25  0.156867
Done.

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

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  5.193e+00  3.285e+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:  1.075e+00  1.569e-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.073e+00  1.969e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.72
Ra Dec: 173.196 0.574
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 7.70e-08 +/- 4.87e-08
Energy Flux (Fixed Index): 3.92e-05 +/- 2.48e-05

TS (Fixed Index): 3.72
Ra Dec: 173.196 0.574
Photon Flux Upper Limit: 1.71e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.30e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/76395/likelihoodResults_693187201_693446401_4FGL_J1132.7+0034_daily_bin1751.txt

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): 102
logL (Free Index) = 6483.48536019
delta logL = 4.00957503681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6483.47684907
delta logL = 4.01808615883

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54431       1.0000          .0000       .10000E+07
     2 'Index     '    3.9252       1.0000          .0000       10.000    
     3 'Normalizat'    .88303       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1767       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=   6483.477     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      237 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54465        2.2956        .45011E-03    .59742E-02
   2  Index         3.9250        1.8589        .60801E-01    .18659E-03
   3  Normalizat    .88311        .77590E-01    .68584E-01    .98180E-05
   4  Prefactor     1.1768        .62544E-01    .35206E-01   -.11342E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.544649
  Index      = 3.92501
  Normalizat = 0.88311
  Prefactor  = 1.17678
 **********
 **   18 **HESSE 
 **********

 FCN=   6483.477     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      270 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .54465        3.2277        .20044E-05   -1.5693    
   2  Index         3.9250        2.2905        .25799E-02   -.21669    
   3  Normalizat    .88311        .23264        .30343E-03   -.97056    
   4  Prefactor     1.1768        .18934        .21903E-03   -.87049    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.46209e-07
Minuit parameter uncertainties:
  1  2.65176
  2  2.38409
  3  0.232903
  4  0.189449
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/76395': 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): 102
logL (Free Index) = 6483.47684763
delta logL = 4.01808759641

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  5.446e-01  2.652e+00  0.000e+00  1.000e+06 ( 1.000e-12)
309        Index:  3.925e+00  2.384e+00  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.177e+00  1.894e-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:  8.831e-01  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.84
Ra Dec: 173.196 0.574
Photon Index (Free Index): 3.93 +/- 2.38
Photon Flux (Free Index): 2.31e-07 +/- 8.55e-08
Energy Flux (Free Index): 3.50e-05 +/- 1.83e-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/76395/cmap_HighResolution_693187201_693446401_4FGL_J1132.7+0034_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.30e-02', comment='SUCCESS', photon_flux='7.70e-08', energy_flux2='3.50e-05', photon_flux_error='4.87e-08', dlogl='4.02e+00', energy_flux='3.92e-05', photon_flux2='2.31e-07', job_status='DONE', time_completed='2022-12-23 00:48:05.511113', photon_index_error2='2.38', photon_index2='3.93', ts='3.72', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.71e-07', energy_flux_error2='1.83e-05', EG='1.07', time_epoch_completed='1671785285.51', return_code='0', job_id='76395', GAL2='1.18', EG2='0.88', return_code2='102', energy_flux_error='2.48e-05', photon_flux_error2='8.55e-08', ts2='12.84', photon_index='2.14' WHERE bin_id='1751' AND source_name='4FGL J1132.7+0034' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:48:05 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 76395: <4FGL_J1132.7+0034_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1132.7+0034_daily_bin1751> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Dec 23 00:35:15 2022
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:35:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:35:16 2022
Terminated at Fri Dec 23 00:48:06 2022
Results reported at Fri Dec 23 00:48:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1132.7+0034_daily_bin1751 173.196 0.5737 693187201 693446401 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 :                                   634.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             291.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   769 sec.
    Turnaround time :                            771 sec.

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

