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


Performing analysis on: 4FGL_J1132.7+0034_daily_bin1746
RA = 173.196, Dec = 0.5737
tmin = 691891201, tmax = 692150401
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='722642', job_status='RUN', time_executed='2022-12-08 00:45:28.512369', time_epoch_executed='1670489128.51' WHERE source_name='4FGL J1132.7+0034' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/722642

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/722642/ft1_4FGL_J1132.7+0034_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/722642/ft2_4FGL_J1132.7+0034_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/722642/ft1_4FGL_J1132.7+0034_daily_bin1746.fits outfile=/scratch/kocevski/722642/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin1746.fits ra=173.196 dec=0.5737 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.71
user 4.46
sys 0.23

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

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

Number of photons that the gtmktime cut: 753

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/722642/ft1_filtered_4FGL_J1132.7+0034_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/722642/ft2_4FGL_J1132.7+0034_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/722642/ltcube_691891201_692150401_4FGL_J1132.7+0034_daily_bin1746.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/722642/ft2_4FGL_J1132.7+0034_daily_bin1746.fits
.....................!
real 11.81
user 11.45
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/722642/ft1_filtered_4FGL_J1132.7+0034_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/722642/ft2_4FGL_J1132.7+0034_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/722642/ltcube_691891201_692150401_4FGL_J1132.7+0034_daily_bin1746.fits outfile=/scratch/kocevski/722642/expmap_691891201_692150401_4FGL_J1132.7+0034_daily_bin1746.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/722642/ltcube_691891201_692150401_4FGL_J1132.7+0034_daily_bin1746.fits
.....................!
real 190.35
user 184.86
sys 5.11

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/722642/ft1_filtered_4FGL_J1132.7+0034_daily_bin1746.fits scfile=/scratch/kocevski/722642/ft2_4FGL_J1132.7+0034_daily_bin1746.fits outfile=/scratch/kocevski/722642/cmap_691891201_692150401_4FGL_J1132.7+0034_daily_bin1746.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/722642/ft1_filtered_4FGL_J1132.7+0034_daily_bin1746.fits scfile=/scratch/kocevski/722642/ft2_4FGL_J1132.7+0034_daily_bin1746.fits outfile=/scratch/kocevski/722642/cmap_HighResolution_691891201_692150401_4FGL_J1132.7+0034_daily_bin1746.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/722642/ft1_filtered_4FGL_J1132.7+0034_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/722642/ft2_4FGL_J1132.7+0034_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/722642/Model_4FGL_J1132.7+0034_daily_bin1746.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/722642/ft1_filtered_4FGL_J1132.7+0034_daily_bin1746.fits.....................!
real 73.78
user 71.90
sys 1.34

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.8654       1.0000          .0000       .10000E+07
     2 'norm      '    1.0095       1.0000          .0000       .10000E+07
     3 'Prefactor '    31.447       1.0000          .0000       .10000E+07
     4 'Prefactor '    .41961E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .31956E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.3571       1.0000          .0000       .10000E+07
     7 'norm      '    4.8540       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.6049       1.0000          .0000       .10000E+07
     9 'norm      '    .11867E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.5237       1.0000          .0000       .10000E+07
    11 'Prefactor '    .16903E-04   1.0000          .0000       .10000E+07
    12 'norm      '    3.1794       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.0537       1.0000          .0000       .10000E+07
    14 'Prefactor '    .32327E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.8017       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.0582       1.0000          .0000       .10000E+07
    17 'Prefactor '    .37684E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .17677E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .67532E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .11434E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .45308E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    13.844       1.0000          .0000       .10000E+07
    23 'norm      '    .13972E-06   1.0000          .0000       .10000E+07
    24 'Normalizat'    .74659       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1746       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=   8399.601     FROM MIGRAD    STATUS=CONVERGED    202 CALLS     1711 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.8399        7.9028        .50519E-08    .31401E-02
   2  norm          1.0096        .46168        .64017E-08   -.22236E-02
   3  Prefactor     31.416        4.7995       -.76094E-07   -.17402    
   4  Prefactor      .0000        5.2604        .13510E-06** at limit **
   5  Prefactor     .15515E-06    46.869        .12686E-05** at limit **
   6  Prefactor     .10249E-04    2470.0       -.24638E-04** at limit **
   7  norm          4.9762        6.5740        .31780E-06    .38249E-03
   8  Prefactor     2.5968        2.6277        .67103E-07   -.71852E-04
   9  norm           .0000        4.2502       -.86827E-08** at limit **
  10  Prefactor     1.5228        1.6805       -.25126E-07   -.48351E-03
  11  Prefactor     .22204E-09    7.3008       -.61911E-07** at limit **
  12  norm          3.1726        3.4716        .48931E-07   -.15904E-03
  13  Prefactor     4.0499        2.7175       -.89865E-08    .11066E-03
  14  Prefactor     .72164E-08    72.855       -.33827E-06** at limit **
  15  Prefactor     2.7750        5.9261        .98635E-07    .15760E-03
  16  Prefactor     2.1097        5.2915        .66492E-07    .21481E-03
  17  Prefactor      .0000        2.9483       -.10353E-08** at limit **
  18  Prefactor     .16653E-09    7.9900        .90521E-07** at limit **
  19  Prefactor     .99087E-07    14.048        .13619E-06** at limit **
  20  Prefactor     .12768E-08    25.398        .44648E-06** at limit **
  21  Prefactor     .13839E-06    14.820       -.11754E-06** at limit **
  22  Prefactor     13.809        9.8747       -.21119E-07   -.22056E-02
  23  norm           .0000        2.0030       -.40705E-07** at limit **
  24  Normalizat    .74643        .18853       -.38641E-06    .81639E-04
  25  Prefactor     1.1749        .15646        .23142E-06    .16350E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.83993
  norm       = 1.00959
  Prefactor  = 31.4161
  Prefactor  = 0
  Prefactor  = 1.55154e-07
  Prefactor  = 1.02491e-05
  norm       = 4.9762
  Prefactor  = 2.59681
  norm       = 0
  Prefactor  = 1.52276
  Prefactor  = 2.22045e-10
  norm       = 3.17257
  Prefactor  = 4.0499
  Prefactor  = 7.21645e-09
  Prefactor  = 2.77501
  Prefactor  = 2.10971
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 9.90874e-08
  Prefactor  = 1.27676e-09
  Prefactor  = 1.38389e-07
  Prefactor  = 13.8093
  norm       = 0
  Normalizat = 0.746425
  Prefactor  = 1.17491
 **********
 **   18 **HESSE 
 **********

 FCN=   8399.601     FROM HESSE     STATUS=OK           489 CALLS     2200 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.8399        7.9371        .33639E-03   -1.5648    
   2  norm          1.0096        .46181        .44100E-04   -1.5688    
   3  Prefactor     31.416        17.654        .17835E-03   -1.5596    
   4  Prefactor      .0000        5.2669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .15515E-06    2.6062        .48526E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10249E-04    31.460        .15701E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.9762        6.8276        .45635E-03   -1.5663    
   8  Prefactor     2.5968        2.6585        .63181E-03   -1.5676    
   9  norm           .0000        4.2523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.5228        1.7029        .86496E-03   -1.5683    
  11  Prefactor     .22204E-09    7.3055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.1726        3.4944        .56808E-03   -1.5672    
  13  Prefactor     4.0499        2.7384        .50056E-03   -1.5668    
  14  Prefactor     .72164E-08    73.193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.7750        5.9636        .60752E-03   -1.5675    
  16  Prefactor     2.1097        5.3309        .72009E-03   -1.5679    
  17  Prefactor      .0000        2.9480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .16653E-09    8.0034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .99087E-07    14.423        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .12768E-08    25.519        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .13839E-06    15.337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     13.809        9.9064        .26894E-03   -1.5634    
  23  norm           .0000        1.9920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .74643        .16598        .68572E-01   -1.0209    
  25  Prefactor     1.1749        .13587        .35261E-01   -.87107    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.17486e-07
Minuit parameter uncertainties:
  1  7.93709
  2  0.461813
  3  17.6544
  4  6.71846e-06
  5  0.00127174
  6  0.035913
  7  6.82764
  8  2.65853
  9  2.02335e-05
  10  1.70291
  11  7.86827e-05
  12  3.49438
  13  2.73836
  14  0.00145389
  15  5.96361
  16  5.33095
  17  3.38518e-06
  18  7.51248e-05
  19  0.00239111
  20  0.000363644
  21  0.00291361
  22  9.90638
  23  1.00175e-05
  24  0.166093
  25  0.135912
Done.

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

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  1.523e+00  1.703e+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.175e+00  1.359e-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:  7.464e-01  1.661e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.11
Ra Dec: 173.196 0.574
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 2.26e-08 +/- 2.52e-08
Energy Flux (Fixed Index): 1.15e-05 +/- 1.29e-05

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

Saving results to:
/scratch/kocevski/722642/likelihoodResults_691891201_692150401_4FGL_J1132.7+0034_daily_bin1746.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) = 8399.15136857
delta logL = 0.449880839034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8399.14016049
delta logL = 0.461088913606

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59244       1.0000          .0000       .10000E+07
     2 'Index     '    3.0617       1.0000          .0000       10.000    
     3 'Normalizat'    .71071       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1951       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=   8399.140     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      250 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59197        8.7454        .69908E-03    .14247E-01
   2  Index         3.0622        3.0562        .12488        .19209E-03
   3  Normalizat    .71072        .44223E-01    .70130E-01    .35174E-04
   4  Prefactor     1.1951        .36604E-01    .34747E-01    .26890E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.591973
  Index      = 3.06221
  Normalizat = 0.710718
  Prefactor  = 1.19511
 **********
 **   18 **HESSE 
 **********

 FCN=   8399.140     FROM HESSE     STATUS=OK            33 CALLS      283 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59197        11.589        .54992E-05   -1.5693    
   2  Index         3.0622        6.5108        .67356E-02   -.39798    
   3  Normalizat    .71072        .20604        .31036E-03   -1.0347    
   4  Prefactor     1.1951        .17275        .20632E-03   -.86482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.40028e-07
Minuit parameter uncertainties:
  1  5.23838
  2  4.81857
  3  0.206266
  4  0.172831
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/722642': 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) = 8399.1401604
delta logL = 0.461089008804

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  5.920e-01  5.238e+00  0.000e+00  1.000e+06 ( 1.000e-12)
309        Index:  3.062e+00  4.819e+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.195e+00  1.728e-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:  7.107e-01  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.09
Ra Dec: 173.196 0.574
Photon Index (Free Index): 3.06 +/- 4.82
Photon Flux (Free Index): 4.48e-08 +/- 4.08e-08
Energy Flux (Free Index): 8.67e-06 +/- 1.68e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/722642/cmap_HighResolution_691891201_692150401_4FGL_J1132.7+0034_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.95e-03', comment='SUCCESS', photon_flux='2.26e-08', energy_flux2='8.67e-06', photon_flux_error='2.52e-08', dlogl='4.61e-01', energy_flux='1.15e-05', photon_flux2='4.48e-08', job_status='DONE', time_completed='2022-12-08 00:57:51.047313', photon_index_error2='4.82', photon_index2='3.06', ts='1.11', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', photon_flux_upper_limit='7.85e-08', energy_flux_error2='1.68e-05', EG='0.75', time_epoch_completed='1670489871.05', return_code='0', job_id='722642', GAL2='1.20', EG2='0.71', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='4.08e-08', ts2='2.09', photon_index='2.14' WHERE bin_id='1746' AND source_name='4FGL J1132.7+0034' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 00:57:51 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 722642: <4FGL_J1132.7+0034_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1132.7+0034_daily_bin1746> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Dec  8 00:45:15 2022
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:45:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:45:16 2022
Terminated at Thu Dec  8 00:57:51 2022
Results reported at Thu Dec  8 00:57:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1132.7+0034_daily_bin1746 173.196 0.5737 691891201 692150401 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 :                                   742.30 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             384.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            756 sec.

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

