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


Performing analysis on: 4FGL_J1132.7+0034_daily_bin1765
RA = 173.196, Dec = 0.5737
tmin = 696816001, tmax = 697075201
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='632711', job_status='RUN', time_executed='2023-02-03 00:53:08.630728', time_epoch_executed='1675414388.63' WHERE source_name='4FGL J1132.7+0034' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/632711

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/632711/ft1_4FGL_J1132.7+0034_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/632711/ft2_4FGL_J1132.7+0034_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/632711/ft1_4FGL_J1132.7+0034_daily_bin1765.fits outfile=/scratch/kocevski/632711/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin1765.fits ra=173.196 dec=0.5737 rad=12.0 tmin=696816001.0 tmax=697075201.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.72
user 3.44
sys 0.22

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

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

Number of photons that the gtmktime cut: 591

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/632711/ft1_filtered_4FGL_J1132.7+0034_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/632711/ft2_4FGL_J1132.7+0034_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/632711/ltcube_696816001_697075201_4FGL_J1132.7+0034_daily_bin1765.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/632711/ft2_4FGL_J1132.7+0034_daily_bin1765.fits
.....................!
real 16.03
user 15.54
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/632711/ft1_filtered_4FGL_J1132.7+0034_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/632711/ft2_4FGL_J1132.7+0034_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/632711/ltcube_696816001_697075201_4FGL_J1132.7+0034_daily_bin1765.fits outfile=/scratch/kocevski/632711/expmap_696816001_697075201_4FGL_J1132.7+0034_daily_bin1765.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/632711/ltcube_696816001_697075201_4FGL_J1132.7+0034_daily_bin1765.fits
.....................!
real 193.51
user 186.55
sys 5.94

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/632711/ft1_filtered_4FGL_J1132.7+0034_daily_bin1765.fits scfile=/scratch/kocevski/632711/ft2_4FGL_J1132.7+0034_daily_bin1765.fits outfile=/scratch/kocevski/632711/cmap_696816001_697075201_4FGL_J1132.7+0034_daily_bin1765.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.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/632711/ft1_filtered_4FGL_J1132.7+0034_daily_bin1765.fits scfile=/scratch/kocevski/632711/ft2_4FGL_J1132.7+0034_daily_bin1765.fits outfile=/scratch/kocevski/632711/cmap_HighResolution_696816001_697075201_4FGL_J1132.7+0034_daily_bin1765.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/632711/ft1_filtered_4FGL_J1132.7+0034_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/632711/ft2_4FGL_J1132.7+0034_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/632711/Model_4FGL_J1132.7+0034_daily_bin1765.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/632711/ft1_filtered_4FGL_J1132.7+0034_daily_bin1765.fits.....................!
real 61.11
user 59.61
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21205E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .26868       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10197E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    12.588       1.0000          .0000       .10000E+07
     5 'Prefactor '    .68762E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .82186E-04   1.0000          .0000       .10000E+07
     7 'norm      '    9.0821       1.0000          .0000       .10000E+07
     8 'Prefactor '    .93183E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .29821E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.1246       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.2118       1.0000          .0000       .10000E+07
    12 'norm      '    8.0461       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.2182       1.0000          .0000       .10000E+07
    14 'Prefactor '    .21390E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    22.043       1.0000          .0000       .10000E+07
    16 'Prefactor '    .24799E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.9171       1.0000          .0000       .10000E+07
    18 'Prefactor '    28.463       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.1013       1.0000          .0000       .10000E+07
    20 'Prefactor '    11.925       1.0000          .0000       .10000E+07
    21 'Prefactor '    .56484E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .77109E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .10614E-06   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0357       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .82357       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=   6566.892     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     1703 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .42893E-06    14.836       -.25119E-06** at limit **
   2  norm          .26839        .37908        .47549E-07    .10431E-01
   3  Prefactor     .36310E-06    13.921        .42541E-06** at limit **
   4  Prefactor     12.709        11.958       -.26699E-06   -.95013E-01
   5  Prefactor     .61062E-09    2.7389       -.27500E-06** at limit **
   6  Prefactor     .20256E-06    12.393       -.69160E-07** at limit **
   7  norm          9.1740        8.0586       -.86435E-07    .82443E-02
   8  Prefactor     .98699E-07    2.3134       -.45281E-07** at limit **
   9  norm          .70499E-08    6.6217        .18105E-06** at limit **
  10  Prefactor     2.1233        1.7314       -.26946E-08    .61317E-03
  11  Prefactor     9.3006        11.217        .10831E-06    .11193    
  12  norm          7.9845        5.9644        .33429E-07   -.45750E-03
  13  Prefactor     2.2260        2.3210       -.10294E-07    .22944E-03
  14  Prefactor     .19719E-05    51.341       -.47917E-06** at limit **
  15  Prefactor     22.065        2.6193        .21278E-07    .48323E-01
  16  Prefactor     .16098E-08    9.2891        .26781E-06** at limit **
  17  Prefactor     7.9836        11.135       -.88542E-07   -.18693E-01
  18  Prefactor     27.461        15.299       -.48255E-07    .12206    
  19  Prefactor     .98797        239.55       -.17455E-05    .16735E-01
  20  Prefactor     12.065        2.9228        .23889E-07    .31810E-01
  21  Prefactor     .60452E-07    8.4511        .94378E-07** at limit **
  22  Prefactor     .49405E-08    5.5331        .91161E-07** at limit **
  23  norm          .55511E-10    1.4136        .12086E-06** at limit **
  24  Normalizat    1.0363        .20691        .30631E-05    .15339E-03
  25  Prefactor     .82336        .16296       -.89407E-06    .13153E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.28935e-07
  norm       = 0.268392
  Prefactor  = 3.63098e-07
  Prefactor  = 12.7095
  Prefactor  = 6.10623e-10
  Prefactor  = 2.0256e-07
  norm       = 9.174
  Prefactor  = 9.86988e-08
  norm       = 7.04992e-09
  Prefactor  = 2.12326
  Prefactor  = 9.3006
  norm       = 7.98451
  Prefactor  = 2.22596
  Prefactor  = 1.97192e-06
  Prefactor  = 22.0652
  Prefactor  = 1.60982e-09
  Prefactor  = 7.98358
  Prefactor  = 27.4609
  Prefactor  = 0.987968
  Prefactor  = 12.0654
  Prefactor  = 6.04516e-08
  Prefactor  = 4.94049e-09
  norm       = 5.55112e-11
  Normalizat = 1.03635
  Prefactor  = 0.823355
 **********
 **   18 **HESSE 
 **********

 FCN=   6566.892     FROM HESSE     STATUS=OK           483 CALLS     2186 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .42893E-06    15.664        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .26839        .40690        .10662E-02   -1.5698    
   3  Prefactor     .36310E-06    20.677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.709        12.640        .28207E-03   -1.5637    
   5  Prefactor     .61062E-09    2.7337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .20256E-06    22.951        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.1740        8.4811        .33233E-03   -1.5647    
   8  Prefactor     .98699E-07    3.0895        .47128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .70499E-08    6.6664        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.1233        1.7387        .70719E-03   -1.5679    
  11  Prefactor     9.3006        16.059        .32997E-03   -1.5647    
  12  norm          7.9845        6.0007        .35323E-03   -1.5651    
  13  Prefactor     2.2260        2.3350        .69022E-03   -1.5678    
  14  Prefactor     .19719E-05    54.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     22.065        13.363        .21305E-03   -1.5614    
  16  Prefactor     .16098E-08    9.4159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.9836        11.368        .35611E-03   -1.5651    
  18  Prefactor     27.461        27.038        .18747E-03   -1.5603    
  19  Prefactor     .98797        340.70        .71163E-03   -1.5688    
  20  Prefactor     12.065        14.870        .28984E-03   -1.5638    
  21  Prefactor     .60452E-07    22.161        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .49405E-08    5.5418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .55511E-10    1.3983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0363        .18302        .41634E-01   -.91823    
  25  Prefactor     .82336        .14099        .44023E-01   -.98873    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41278e-06
Minuit parameter uncertainties:
  1  0.00518395
  2  0.406902
  3  0.00548012
  4  12.6395
  5  8.09733e-05
  6  0.00431221
  7  8.48108
  8  0.00110445
  9  0.000434003
  10  1.73871
  11  16.0591
  12  6.00075
  13  2.33501
  14  0.0206942
  15  13.3633
  16  0.000245897
  17  11.3682
  18  27.038
  19  36.6956
  20  14.8703
  21  0.00231474
  22  0.000330129
  23  1.38076e-05
  24  0.183134
  25  0.141051
Done.

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

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  2.123e+00  1.739e+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:  8.234e-01  1.411e-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.036e+00  1.831e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.30
Ra Dec: 173.196 0.574
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 3.15e-08 +/- 2.58e-08
Energy Flux (Fixed Index): 1.60e-05 +/- 1.31e-05

TS (Fixed Index): 3.30
Ra Dec: 173.196 0.574
Photon Flux Upper Limit: 9.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/632711/likelihoodResults_696816001_697075201_4FGL_J1132.7+0034_daily_bin1765.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): 0
logL (Free Index) = 6566.77028867
delta logL = 0.121336239105

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6566.76739722
delta logL = 0.124227683399

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9941       1.0000          .0000       .10000E+07
     2 'Index     '    1.7562       1.0000          .0000       10.000    
     3 'Normalizat'    1.0516       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81812       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=   6566.767     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      229 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9903        72.433        .73331E-03    .13432E-03
   2  Index         1.7546        5.0700        .27413       -.35666E-04
   3  Normalizat    1.0517        .16435        .40450E-01    .12316E-04
   4  Prefactor     .81809        .79350E-01    .43953E-01    .13775E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.9903
  Index      = 1.75464
  Normalizat = 1.0517
  Prefactor  = 0.818088
 **********
 **   18 **HESSE 
 **********

 FCN=   6566.767     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9903        1.9444        .97366E-05   -1.5680    
   2  Index         1.7546        .74398        .99881E-02   -.70636    
   3  Normalizat    1.0517        .19975        .25031E-03   -.91318    
   4  Prefactor     .81809        .16085        .22618E-03   -.99065    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.04964e-10
Minuit parameter uncertainties:
  1  1.94444
  2  0.748803
  3  0.199893
  4  0.160939
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/632711': 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) = 6566.76739452
delta logL = 0.124230384618

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  1.990e+00  1.944e+00  0.000e+00  1.000e+06 ( 1.000e-12)
309        Index:  1.755e+00  7.488e-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.181e-01  1.609e-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.052e+00  1.999e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.54
Ra Dec: 173.196 0.574
Photon Index (Free Index): 1.75 +/- 0.75
Photon Flux (Free Index): 1.77e-08 +/- 2.72e-08
Energy Flux (Free Index): 2.43e-05 +/- 3.33e-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/632711/cmap_HighResolution_696816001_697075201_4FGL_J1132.7+0034_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.16e-03', comment='SUCCESS', photon_flux='3.15e-08', energy_flux2='2.43e-05', photon_flux_error='2.58e-08', dlogl='1.24e-01', energy_flux='1.60e-05', photon_flux2='1.77e-08', job_status='DONE', time_completed='2023-02-03 01:04:00.225629', photon_index_error2='0.75', photon_index2='1.75', ts='3.30', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='9.44e-08', energy_flux_error2='3.33e-05', EG='1.04', time_epoch_completed='1675415040.23', return_code='0', job_id='632711', GAL2='0.82', EG2='1.05', return_code2='0', energy_flux_error='1.31e-05', photon_flux_error2='2.72e-08', ts2='3.54', photon_index='2.14' WHERE bin_id='1765' AND source_name='4FGL J1132.7+0034' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:04:00 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 632711: <4FGL_J1132.7+0034_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1132.7+0034_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 00:50:20 2023
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 00:51:38 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 00:51:38 2023
Terminated at Fri Feb  3 01:04:01 2023
Results reported at Fri Feb  3 01:04:01 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1132.7+0034_daily_bin1765 173.196 0.5737 696816001 697075201 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 :                                   652.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   742 sec.
    Turnaround time :                            821 sec.

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

