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


Performing analysis on: 4FGL_J1132.7+0034_daily_bin1762
RA = 173.196, Dec = 0.5737
tmin = 696038401, tmax = 696297601
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='107795', job_status='RUN', time_executed='2023-01-25 00:53:42.284195', time_epoch_executed='1674636822.28' WHERE source_name='4FGL J1132.7+0034' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107795

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107795/ft1_4FGL_J1132.7+0034_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107795/ft2_4FGL_J1132.7+0034_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107795/ft1_4FGL_J1132.7+0034_daily_bin1762.fits outfile=/scratch/kocevski/107795/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin1762.fits ra=173.196 dec=0.5737 rad=12.0 tmin=696038401.0 tmax=696297601.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.70
user 3.46
sys 0.21

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

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

Number of photons that the gtmktime cut: 653

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/107795/ft1_filtered_4FGL_J1132.7+0034_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/107795/ft2_4FGL_J1132.7+0034_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/107795/ltcube_696038401_696297601_4FGL_J1132.7+0034_daily_bin1762.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/107795/ft2_4FGL_J1132.7+0034_daily_bin1762.fits
.....................!
real 14.36
user 13.86
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107795/ft1_filtered_4FGL_J1132.7+0034_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/107795/ft2_4FGL_J1132.7+0034_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/107795/ltcube_696038401_696297601_4FGL_J1132.7+0034_daily_bin1762.fits outfile=/scratch/kocevski/107795/expmap_696038401_696297601_4FGL_J1132.7+0034_daily_bin1762.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/107795/ltcube_696038401_696297601_4FGL_J1132.7+0034_daily_bin1762.fits
.....................!
real 192.28
user 186.33
sys 4.81

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/107795/ft1_filtered_4FGL_J1132.7+0034_daily_bin1762.fits scfile=/scratch/kocevski/107795/ft2_4FGL_J1132.7+0034_daily_bin1762.fits outfile=/scratch/kocevski/107795/cmap_696038401_696297601_4FGL_J1132.7+0034_daily_bin1762.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107795/ft1_filtered_4FGL_J1132.7+0034_daily_bin1762.fits scfile=/scratch/kocevski/107795/ft2_4FGL_J1132.7+0034_daily_bin1762.fits outfile=/scratch/kocevski/107795/cmap_HighResolution_696038401_696297601_4FGL_J1132.7+0034_daily_bin1762.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.59
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/107795/ft1_filtered_4FGL_J1132.7+0034_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/107795/ft2_4FGL_J1132.7+0034_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/107795/Model_4FGL_J1132.7+0034_daily_bin1762.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/107795/ft1_filtered_4FGL_J1132.7+0034_daily_bin1762.fits.....................!
real 66.31
user 64.58
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .84333E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.770       1.0000          .0000       .10000E+07
     4 'Prefactor '    13.244       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10860E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .94342       1.0000          .0000       .10000E+07
     7 'norm      '    8.5895       1.0000          .0000       .10000E+07
     8 'Prefactor '    .78402       1.0000          .0000       .10000E+07
     9 'norm      '    15.249       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.3911       1.0000          .0000       .10000E+07
    11 'Prefactor '    .92149E-08   1.0000          .0000       .10000E+07
    12 'norm      '    1.7475       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.8440       1.0000          .0000       .10000E+07
    14 'Prefactor '    .29600E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.9632       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.7869       1.0000          .0000       .10000E+07
    17 'Prefactor '    .91946E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .11755E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    55.964       1.0000          .0000       .10000E+07
    20 'Prefactor '    22.866       1.0000          .0000       .10000E+07
    21 'Prefactor '    9.8375       1.0000          .0000       .10000E+07
    22 'Prefactor '    .89098E-05   1.0000          .0000       .10000E+07
    23 'norm      '    2.3374       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0183       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .98192       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=   7138.259     FROM MIGRAD    STATUS=CONVERGED    230 CALLS     2330 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.4083       -.21879E-09** at limit **
   2  norm           .0000        .79139        .29829E-07** at limit **
   3  Prefactor     11.767        16.521       -.82143E-08   -.39104E-01
   4  Prefactor     13.312        12.222       -.43111E-08   -.25442E-02
   5  Prefactor      .0000        7.4268        .29454E-07** at limit **
   6  Prefactor     .81996E-03    5451.8        .19060E-04** at limit **
   7  norm          8.5698        8.2464        .56716E-07    .63975E-02
   8  Prefactor     .78895        6.1940       -.25534E-06   -.16323E-01
   9  norm          15.254        21.240        .15206E-06    .10384    
  10  Prefactor     1.3914        1.4937       -.10148E-07   -.63626E-03
  11  Prefactor      .0000        4.5551        .90846E-07** at limit **
  12  norm          1.7483        4.1423       -.16797E-07    .13831E-03
  13  Prefactor     3.8446        3.4960        .68448E-08    .14504E-02
  14  Prefactor     .19151E-07    22.730        .10253E-07** at limit **
  15  Prefactor     2.9827        10.169        .57770E-07   -.60947E-03
  16  Prefactor     6.7444        10.229       -.35247E-07   -.86740E-02
  17  Prefactor     .55511E-10    7.9914        .19888E-07** at limit **
  18  Prefactor     .19662E-06    31.074       -.16766E-06** at limit **
  19  Prefactor     56.323        26.708       -.39285E-06    .22558    
  20  Prefactor     22.881        4.9167       -.21241E-07   -.35897E-01
  21  Prefactor     10.355        37.169       -.39745E-06   -.42481E-01
  22  Prefactor     .14266E-07    16.185        .76820E-07** at limit **
  23  norm          2.3371        1.9758       -.45353E-07   -.31585E-02
  24  Normalizat    1.0177        .21412       -.10985E-05    .68559E-04
  25  Prefactor     .98227        .16581        .30809E-05    .23014E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  Prefactor  = 11.767
  Prefactor  = 13.3117
  Prefactor  = 0
  Prefactor  = 0.000819958
  norm       = 8.56982
  Prefactor  = 0.788952
  norm       = 15.254
  Prefactor  = 1.39139
  Prefactor  = 0
  norm       = 1.74828
  Prefactor  = 3.84459
  Prefactor  = 1.91513e-08
  Prefactor  = 2.98273
  Prefactor  = 6.74439
  Prefactor  = 5.55112e-11
  Prefactor  = 1.9662e-07
  Prefactor  = 56.3228
  Prefactor  = 22.8805
  Prefactor  = 10.3546
  Prefactor  = 1.42664e-08
  norm       = 2.33711
  Normalizat = 1.01771
  Prefactor  = 0.982269
 **********
 **   18 **HESSE 
 **********

 FCN=   7138.259     FROM HESSE     STATUS=OK           493 CALLS     2823 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.4097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .22831        .21349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.767        16.706        .29175E-03   -1.5639    
   4  Prefactor     13.312        12.695        .27498E-03   -1.5635    
   5  Prefactor      .0000        7.3072        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .81996E-03    72.524        .16110E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.5698        8.5868        .34179E-03   -1.5649    
   8  Prefactor     .78895        8.3536        .54134E-03   -1.5690    
   9  norm          15.254        25.167        .25622E-03   -1.5630    
  10  Prefactor     1.3914        1.5209        .92096E-03   -1.5684    
  11  Prefactor      .0000        4.5786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.7483        4.2393        .79298E-03   -1.5682    
  13  Prefactor     3.8446        3.5604        .51449E-03   -1.5669    
  14  Prefactor     .19151E-07    22.791        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.9827        10.193        .58964E-03   -1.5673    
  16  Prefactor     6.7444        11.283        .38491E-03   -1.5656    
  17  Prefactor     .55511E-10    7.9786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .19662E-06    31.144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     56.323        55.185        .13368E-03   -1.5558    
  20  Prefactor     22.881        21.072        .20918E-03   -1.5612    
  21  Prefactor     10.355        42.909        .31924E-03   -1.5644    
  22  Prefactor     .14266E-07    16.122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.3371        2.0058        .67039E-03   -1.5677    
  24  Normalizat    1.0177        .18946        .43618E-01   -.92439    
  25  Prefactor     .98227        .14395        .46041E-01   -.93323    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43396e-06
Minuit parameter uncertainties:
  1  4.31053e-06
  2  2.09755e-06
  3  16.7058
  4  12.6955
  5  9.2483e-07
  6  0.48772
  7  8.58683
  8  5.13444
  9  25.1674
  10  1.52093
  11  1.09567e-05
  12  4.23928
  13  3.5604
  14  0.0013206
  15  10.1932
  16  11.2834
  17  3.67451e-05
  18  0.00494895
  19  55.1856
  20  21.0723
  21  42.1575
  22  0.000959833
  23  2.00581
  24  0.189585
  25  0.144002
Done.

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

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  1.391e+00  1.521e+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.823e-01  1.440e-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.018e+00  1.896e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.37
Ra Dec: 173.196 0.574
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 2.06e-08 +/- 2.25e-08
Energy Flux (Fixed Index): 1.05e-05 +/- 1.15e-05

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

Saving results to:
/scratch/kocevski/107795/likelihoodResults_696038401_696297601_4FGL_J1132.7+0034_daily_bin1762.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) = 7138.10350428
delta logL = 0.155216089337

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7138.10110402
delta logL = 0.15761634779

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4596       1.0000          .0000       .10000E+07
     2 'Index     '    1.6337       1.0000          .0000       10.000    
     3 'Normalizat'    1.0283       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97806       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7138.101     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      246 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4595        1.6923        .10624E-04    .10486E-03
   2  Index         1.6336        .77794        .11526E-01   -.94908E-05
   3  Normalizat    1.0283        .20033        .27010E-03    .97650E-05
   4  Prefactor     .97806        .16361        .22477E-03    .60189E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.45947
  Index      = 1.63359
  Normalizat = 1.02829
  Prefactor  = 0.978056
 **********
 **   18 **HESSE 
 **********

 FCN=   7138.101     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .16E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4595        1.7355        .42498E-06   -1.5684    
   2  Index         1.6336        .79782        .46103E-03   -.73864    
   3  Normalizat    1.0283        .20053        .10804E-04   -.92089    
   4  Prefactor     .97806        .16377        .89908E-05   -.93465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61938e-13
Minuit parameter uncertainties:
  1  1.73549
  2  0.804148
  3  0.20068
  4  0.163856
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107795': 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) = 7138.10110401
delta logL = 0.157616359709

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  1.459e+00  1.735e+00  0.000e+00  1.000e+06 ( 1.000e-12)
309        Index:  1.634e+00  8.041e-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.781e-01  1.639e-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.028e+00  2.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.68
Ra Dec: 173.196 0.574
Photon Index (Free Index): 1.63 +/- 0.80
Photon Flux (Free Index): 1.15e-08 +/- 1.90e-08
Energy Flux (Free Index): 2.32e-05 +/- 4.01e-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/107795/cmap_HighResolution_696038401_696297601_4FGL_J1132.7+0034_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.74e-03', comment='SUCCESS', photon_flux='2.06e-08', energy_flux2='2.32e-05', photon_flux_error='2.25e-08', dlogl='1.58e-01', energy_flux='1.05e-05', photon_flux2='1.15e-08', job_status='DONE', time_completed='2023-01-25 01:06:13.485978', photon_index_error2='0.80', photon_index2='1.63', ts='1.37', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='7.57e-08', energy_flux_error2='4.01e-05', EG='1.02', time_epoch_completed='1674637573.49', return_code='0', job_id='107795', GAL2='0.98', EG2='1.03', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='1.90e-08', ts2='1.68', photon_index='2.14' WHERE bin_id='1762' AND source_name='4FGL J1132.7+0034' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:06:13 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 107795: <4FGL_J1132.7+0034_daily_bin1762> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1132.7+0034_daily_bin1762 173.196 0.5737 696038401 696297601 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 :                                   751.31 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             336.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   866 sec.
    Turnaround time :                            953 sec.

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

