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


Performing analysis on: 4FGL_J1132.7+0034_daily_bin1759
RA = 173.196, Dec = 0.5737
tmin = 695260801, tmax = 695520001
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='555706', job_status='RUN', time_executed='2023-01-16 01:03:51.991724', time_epoch_executed='1673859831.99' WHERE source_name='4FGL J1132.7+0034' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/555706

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/555706/ft1_4FGL_J1132.7+0034_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/555706/ft2_4FGL_J1132.7+0034_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/555706/ft1_4FGL_J1132.7+0034_daily_bin1759.fits outfile=/scratch/kocevski/555706/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin1759.fits ra=173.196 dec=0.5737 rad=12.0 tmin=695260801.0 tmax=695520001.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 2.76
user 2.51
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/555706/ft1_filtered_4FGL_J1132.7+0034_daily_bin1759.fits" evtable="EVENTS" scfile=/scratch/kocevski/555706/ft2_4FGL_J1132.7+0034_daily_bin1759.fits sctable="SC_DATA" outfile=/scratch/kocevski/555706/ltcube_695260801_695520001_4FGL_J1132.7+0034_daily_bin1759.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/555706/ft2_4FGL_J1132.7+0034_daily_bin1759.fits
.....................!
real 17.62
user 17.13
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/555706/ft1_filtered_4FGL_J1132.7+0034_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/555706/ft2_4FGL_J1132.7+0034_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/555706/ltcube_695260801_695520001_4FGL_J1132.7+0034_daily_bin1759.fits outfile=/scratch/kocevski/555706/expmap_695260801_695520001_4FGL_J1132.7+0034_daily_bin1759.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/555706/ltcube_695260801_695520001_4FGL_J1132.7+0034_daily_bin1759.fits
.....................!
real 192.99
user 187.03
sys 5.00

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/555706/ft1_filtered_4FGL_J1132.7+0034_daily_bin1759.fits scfile=/scratch/kocevski/555706/ft2_4FGL_J1132.7+0034_daily_bin1759.fits outfile=/scratch/kocevski/555706/cmap_695260801_695520001_4FGL_J1132.7+0034_daily_bin1759.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.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/555706/ft1_filtered_4FGL_J1132.7+0034_daily_bin1759.fits scfile=/scratch/kocevski/555706/ft2_4FGL_J1132.7+0034_daily_bin1759.fits outfile=/scratch/kocevski/555706/cmap_HighResolution_695260801_695520001_4FGL_J1132.7+0034_daily_bin1759.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/555706/ft1_filtered_4FGL_J1132.7+0034_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/555706/ft2_4FGL_J1132.7+0034_daily_bin1759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/555706/Model_4FGL_J1132.7+0034_daily_bin1759.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/555706/ft1_filtered_4FGL_J1132.7+0034_daily_bin1759.fits.....................!
real 72.25
user 70.67
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22771E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .69001       1.0000          .0000       .10000E+07
     3 'Prefactor '    .63874E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .13920E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.3833       1.0000          .0000       .10000E+07
     6 'Prefactor '    117.82       1.0000          .0000       .10000E+07
     7 'norm      '    7.3362       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.6983       1.0000          .0000       .10000E+07
     9 'norm      '    .23162E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.0412       1.0000          .0000       .10000E+07
    11 'Prefactor '    .45096E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .24425E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.1359       1.0000          .0000       .10000E+07
    14 'Prefactor '    91.427       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.3716       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.7984       1.0000          .0000       .10000E+07
    17 'Prefactor '    .41511E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .10069E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    13.284       1.0000          .0000       .10000E+07
    20 'Prefactor '    16.261       1.0000          .0000       .10000E+07
    21 'Prefactor '    .48910E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .27753E-01   1.0000          .0000       .10000E+07
    23 'norm      '    .10547E-08   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.3171       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .88510       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=   7958.954     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     2166 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3035       -.37510E-06** at limit **
   2  norm          .68969        .55597       -.26407E-07    .68272E-03
   3  Prefactor     .96589E-08    8.3530       -.55400E-05** at limit **
   4  Prefactor     .26090E-08    40.019       -.42533E-06** at limit **
   5  Prefactor     1.4040        4.0957       -.12528E-06    .10781E-03
   6  Prefactor     117.39        17.853        .16328E-06   -.17640    
   7  norm          7.2172        8.3712       -.21902E-06    .10938E-03
   8  Prefactor     2.7112        3.1499        .30110E-06   -.23347E-02
   9  norm          .22204E-09    17.498        .61959E-06** at limit **
  10  Prefactor     2.0397        1.6265       -.36041E-07   -.87115E-03
  11  Prefactor     .16653E-09    12.826        .18417E-06** at limit **
  12  norm           .0000        1.4818        .35134E-07** at limit **
  13  Prefactor     1.1372        2.3983       -.10725E-06    .62836E-03
  14  Prefactor     92.776        94.801        .14245E-05   -.27366E-01
  15  Prefactor     8.4886        7.0437        .20262E-06   -.77379E-03
  16  Prefactor     4.8513        10.417       -.34776E-06   -.18773E-02
  17  Prefactor     .93259E-08    8.5781        .53230E-05** at limit **
  18  Prefactor     .94369E-09    11.076        .60752E-06** at limit **
  19  Prefactor     12.554        44.289        .26625E-05    .45062E-02
  20  Prefactor     16.279        2.4285       -.54214E-06    .12552E-01
  21  Prefactor     .55511E-10    9.2103       -.37408E-06** at limit **
  22  Prefactor     .22204E-09    28.311        .13171E-06** at limit **
  23  norm           .0000        1.4920        .64732E-07** at limit **
  24  Normalizat    1.3174        .22448        .42802E-06   -.90526E-04
  25  Prefactor     .88501        .17001       -.10170E-05   -.59853E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.689693
  Prefactor  = 9.65894e-09
  Prefactor  = 2.60902e-09
  Prefactor  = 1.40395
  Prefactor  = 117.387
  norm       = 7.21723
  Prefactor  = 2.7112
  norm       = 2.22045e-10
  Prefactor  = 2.03968
  Prefactor  = 1.66533e-10
  norm       = 0
  Prefactor  = 1.13721
  Prefactor  = 92.7756
  Prefactor  = 8.4886
  Prefactor  = 4.85126
  Prefactor  = 9.32587e-09
  Prefactor  = 9.4369e-10
  Prefactor  = 12.5539
  Prefactor  = 16.2786
  Prefactor  = 5.55112e-11
  Prefactor  = 2.22045e-10
  norm       = 0
  Normalizat = 1.31742
  Prefactor  = 0.885008
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .68969        .56139        .61523E-03   -1.5691    
   3  Prefactor     .96589E-08    8.4239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .26090E-08    40.112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.4040        4.2039        .92470E-03   -1.5684    
   6  Prefactor     117.39        70.664        .92133E-04   -1.5491    
   7  norm          7.2172        8.5537        .37007E-03   -1.5654    
   8  Prefactor     2.7112        3.1805        .61991E-03   -1.5675    
   9  norm          .22204E-09    17.505        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0397        1.6224        .72352E-03   -1.5679    
  11  Prefactor     .16653E-09    12.840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.4835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1372        2.4324        .10928E-02   -1.5687    
  14  Prefactor     92.776        98.144        .10459E-03   -1.5515    
  15  Prefactor     8.4886        7.0449        .34624E-03   -1.5650    
  16  Prefactor     4.8513        10.663        .45904E-03   -1.5664    
  17  Prefactor     .93259E-08    8.6091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .94369E-09    11.104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.554        44.594        .27456E-03   -1.5637    
  20  Prefactor     16.279        16.538        .24810E-03   -1.5627    
  21  Prefactor     .55511E-10    9.2266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .22204E-09    4.5416        .11109E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        1.4724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.3174        .19054        .59796E-01   -.83048    
  25  Prefactor     .88501        .14375        .44815E-01   -.96667    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43912e-06
Minuit parameter uncertainties:
  1  1.53037e-06
  2  0.56139
  3  0.000570429
  4  0.000647267
  5  4.20392
  6  70.665
  7  8.5537
  8  3.18047
  9  0.000131686
  10  1.62243
  11  8.90839e-05
  12  4.78148e-06
  13  2.43241
  14  98.1461
  15  7.04487
  16  10.6626
  17  0.000567229
  18  0.000207578
  19  44.5948
  20  16.5384
  21  3.49858e-05
  22  6.47037e-05
  23  1.50105e-08
  24  0.190637
  25  0.143815
Done.

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

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  2.040e+00  1.622e+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.850e-01  1.438e-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.317e+00  1.906e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.52
Ra Dec: 173.196 0.574
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 3.02e-08 +/- 2.40e-08
Energy Flux (Fixed Index): 1.54e-05 +/- 1.22e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7958.77702818
delta logL = 0.177229000098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7958.75784671
delta logL = 0.196410470306

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6580       1.0000          .0000       .10000E+07
     2 'Index     '    1.6609       1.0000          .0000       10.000    
     3 'Normalizat'    1.3349       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88018       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=   7958.758     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      204 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6571        1.9593        .81916E-03   -.39657E-02
   2  Index         1.6606        .61764        .28198       -.46029E-05
   3  Normalizat    1.3349        .18098        .59460E-01   -.27911E-04
   4  Prefactor     .88018        .14162        .44752E-01    .33950E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.65712
  Index      = 1.66064
  Normalizat = 1.33486
  Prefactor  = 0.880183
 **********
 **   18 **HESSE 
 **********

 FCN=   7958.758     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6571        1.9203        .10051E-04   -1.5682    
   2  Index         1.6606        .75865        .10880E-01   -.73135    
   3  Normalizat    1.3349        .21167        .26296E-03   -.82532    
   4  Prefactor     .88018        .16647        .24815E-03   -.96837    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.15331e-11
Minuit parameter uncertainties:
  1  1.92035
  2  0.764006
  3  0.211806
  4  0.166562
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/555706': 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) = 7958.75784659
delta logL = 0.196410586116

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  1.657e+00  1.920e+00  0.000e+00  1.000e+06 ( 1.000e-12)
309        Index:  1.661e+00  7.640e-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.802e-01  1.666e-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.335e+00  2.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.90
Ra Dec: 173.196 0.574
Photon Index (Free Index): 1.66 +/- 0.76
Photon Flux (Free Index): 1.34e-08 +/- 2.29e-08
Energy Flux (Free Index): 2.48e-05 +/- 3.40e-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/555706/cmap_HighResolution_695260801_695520001_4FGL_J1132.7+0034_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.02e-08', energy_flux2='2.48e-05', photon_flux_error='2.40e-08', dlogl='1.96e-01', energy_flux='1.54e-05', photon_flux2='1.34e-08', job_status='DONE', time_completed='2023-01-16 01:15:31.255028', photon_index_error2='0.76', photon_index2='1.66', ts='6.52', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='3.40e-05', EG='1.32', time_epoch_completed='1673860531.26', return_code='0', job_id='555706', GAL2='0.88', EG2='1.33', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='2.29e-08', ts2='6.90', photon_index='2.14' WHERE bin_id='1759' AND source_name='4FGL J1132.7+0034' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:15:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 555706: <4FGL_J1132.7+0034_daily_bin1759> in cluster <slac> Done

Job <4FGL_J1132.7+0034_daily_bin1759> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon Jan 16 01:00:26 2023
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 01:03:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 01:03:21 2023
Terminated at Mon Jan 16 01:15:32 2023
Results reported at Mon Jan 16 01:15:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1132.7+0034_daily_bin1759 173.196 0.5737 695260801 695520001 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 :                                   700.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             339.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            906 sec.

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

