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


Performing analysis on: 4FGL_J1132.7+0034_daily_bin1779
RA = 173.196, Dec = 0.5737
tmin = 700444801, tmax = 700704001
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='21103', job_status='RUN', time_executed='2023-03-17 01:26:51.122657', time_epoch_executed='1679041611.12' WHERE source_name='4FGL J1132.7+0034' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21103

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21103/ft1_4FGL_J1132.7+0034_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21103/ft2_4FGL_J1132.7+0034_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21103/ft1_4FGL_J1132.7+0034_daily_bin1779.fits outfile=/scratch/kocevski/21103/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin1779.fits ra=173.196 dec=0.5737 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.28
user 5.01
sys 0.23

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

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

Number of photons that the gtmktime cut: 555

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21103/ft1_filtered_4FGL_J1132.7+0034_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/21103/ft2_4FGL_J1132.7+0034_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/21103/ltcube_700444801_700704001_4FGL_J1132.7+0034_daily_bin1779.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/21103/ft2_4FGL_J1132.7+0034_daily_bin1779.fits
.....................!
real 12.02
user 11.68
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21103/ft1_filtered_4FGL_J1132.7+0034_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/21103/ft2_4FGL_J1132.7+0034_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/21103/ltcube_700444801_700704001_4FGL_J1132.7+0034_daily_bin1779.fits outfile=/scratch/kocevski/21103/expmap_700444801_700704001_4FGL_J1132.7+0034_daily_bin1779.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/21103/ltcube_700444801_700704001_4FGL_J1132.7+0034_daily_bin1779.fits
.....................!
real 191.13
user 185.63
sys 5.17

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/21103/ft1_filtered_4FGL_J1132.7+0034_daily_bin1779.fits scfile=/scratch/kocevski/21103/ft2_4FGL_J1132.7+0034_daily_bin1779.fits outfile=/scratch/kocevski/21103/cmap_700444801_700704001_4FGL_J1132.7+0034_daily_bin1779.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/21103/ft1_filtered_4FGL_J1132.7+0034_daily_bin1779.fits scfile=/scratch/kocevski/21103/ft2_4FGL_J1132.7+0034_daily_bin1779.fits outfile=/scratch/kocevski/21103/cmap_HighResolution_700444801_700704001_4FGL_J1132.7+0034_daily_bin1779.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/21103/ft1_filtered_4FGL_J1132.7+0034_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/21103/ft2_4FGL_J1132.7+0034_daily_bin1779.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/21103/Model_4FGL_J1132.7+0034_daily_bin1779.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/21103/ft1_filtered_4FGL_J1132.7+0034_daily_bin1779.fits.....................!
real 56.40
user 55.07
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18157E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .40468E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    28.230       1.0000          .0000       .10000E+07
     4 'Prefactor '    .89997E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    6.1703       1.0000          .0000       .10000E+07
     6 'Prefactor '    .37629E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .40399E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.6662       1.0000          .0000       .10000E+07
     9 'norm      '    .25251E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.5549       1.0000          .0000       .10000E+07
    11 'Prefactor '    .16540E-03   1.0000          .0000       .10000E+07
    12 'norm      '    5.9614       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.6796       1.0000          .0000       .10000E+07
    14 'Prefactor '    .12416       1.0000          .0000       .10000E+07
    15 'Prefactor '    12.788       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89770E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    15.124       1.0000          .0000       .10000E+07
    18 'Prefactor '    .27796       1.0000          .0000       .10000E+07
    19 'Prefactor '    18.119       1.0000          .0000       .10000E+07
    20 'Prefactor '    .73996E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    23.750       1.0000          .0000       .10000E+07
    22 'Prefactor '    .20214E-02   1.0000          .0000       .10000E+07
    23 'norm      '    1.6415       1.0000          .0000       .10000E+07
    24 'Normalizat'    .71360       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0738       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=   6090.013     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     2127 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.6078       -.22521E-07** at limit **
   2  norm           .0000        .35961       -.15358E-07** at limit **
   3  Prefactor     28.343        1.1700        .48802E-07   -.12997E-02
   4  Prefactor     .10891E-06    4.2845       -.19216E-06** at limit **
   5  Prefactor     6.1665        4.8589       -.25551E-07    .24406E-02
   6  Prefactor     .25646E-07    10.383       -.28316E-05** at limit **
   7  norm           .0000        2.9412        .90600E-07** at limit **
   8  Prefactor     2.6779        3.7567        .56941E-07    .55212E-02
   9  norm          .14827E-06    8.2869        .80633E-06** at limit **
  10  Prefactor     3.5534        2.2063       -.58306E-07   -.11989E-01
  11  Prefactor     .20745E-06    17.235        .34895E-05** at limit **
  12  norm          5.9935        4.6888        .40306E-07   -.57074E-02
  13  Prefactor     6.6641        3.5339        .32101E-07   -.20851E-02
  14  Prefactor     .77716E-09    43.265       -.37478E-08** at limit **
  15  Prefactor     12.818        7.8083       -.15845E-05   -.29935E-01
  16  Prefactor     .55511E-10    3.5029       -.17006E-06** at limit **
  17  Prefactor     15.254        7.2662       -.12795E-05   -.19710E-01
  18  Prefactor     .34189E-06    197.07       -.13922E-04** at limit **
  19  Prefactor     18.144        2.4263        .15951E-06    .54433E-02
  20  Prefactor     .34667E-06    4.3274        .88153E-06** at limit **
  21  Prefactor     23.799        2.4273        .35088E-06   -.15932E-01
  22  Prefactor     .12501E-06    4.9297       -.10348E-05** at limit **
  23  norm          1.6390        1.8702       -.50508E-07    .66784E-03
  24  Normalizat    .71330        .21472       -.21446E-06    .79371E-04
  25  Prefactor     1.0737        .17191        .45593E-05    .47130E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  Prefactor  = 28.3428
  Prefactor  = 1.08913e-07
  Prefactor  = 6.16645
  Prefactor  = 2.56462e-08
  norm       = 0
  Prefactor  = 2.67793
  norm       = 1.4827e-07
  Prefactor  = 3.55345
  Prefactor  = 2.07445e-07
  norm       = 5.99347
  Prefactor  = 6.66407
  Prefactor  = 7.77156e-10
  Prefactor  = 12.8183
  Prefactor  = 5.55112e-11
  Prefactor  = 15.2536
  Prefactor  = 3.41893e-07
  Prefactor  = 18.1442
  Prefactor  = 3.46667e-07
  Prefactor  = 23.7992
  Prefactor  = 1.25011e-07
  norm       = 1.63901
  Normalizat = 0.713295
  Prefactor  = 1.07374
 **********
 **   18 **HESSE 
 **********

 FCN=   6090.013     FROM HESSE     STATUS=OK           489 CALLS     2616 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.6044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .22641        .14798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     28.343        25.880        .18824E-03   -1.5601    
   4  Prefactor     .10891E-06    7.9558        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.1665        4.8966        .40391E-03   -1.5658    
   6  Prefactor     .25646E-07    15.350        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        2.9394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.6779        3.8000        .62391E-03   -1.5675    
   9  norm          .14827E-06    9.9597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.5534        2.2113        .53582E-03   -1.5670    
  11  Prefactor     .20745E-06    18.773        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.9935        4.7002        .41103E-03   -1.5659    
  13  Prefactor     6.6641        3.5551        .38802E-03   -1.5656    
  14  Prefactor     .77716E-09    43.253        .13321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.818        11.090        .27985E-03   -1.5636    
  16  Prefactor     .55511E-10    8.4111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     15.254        11.570        .25728E-03   -1.5630    
  18  Prefactor     .34189E-06    26.691        .13808E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.144        26.132        .23502E-03   -1.5623    
  20  Prefactor     .34667E-06    8.6171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     23.799        43.231        .20524E-03   -1.5610    
  22  Prefactor     .12501E-06    16.929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.6390        1.8862        .82432E-03   -1.5682    
  24  Normalizat    .71330        .19237        .67536E-01   -1.0337    
  25  Prefactor     1.0737        .14986        .38681E-01   -.90310    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29169e-07
Minuit parameter uncertainties:
  1  2.03009e-06
  2  3.40122e-06
  3  25.8801
  4  0.00186181
  5  4.89656
  6  0.00125453
  7  7.69387e-06
  8  3.8
  9  0.00243028
  10  2.21127
  11  0.00394693
  12  4.70021
  13  3.5551
  14  0.00037064
  15  11.0899
  16  3.35523e-05
  17  11.5703
  18  0.00604179
  19  26.1321
  20  0.00345683
  21  43.2315
  22  0.00290974
  23  1.88618
  24  0.192548
  25  0.149914
Done.

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

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  3.553e+00  2.211e+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.074e+00  1.499e-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.133e-01  1.925e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.08
Ra Dec: 173.196 0.574
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 5.27e-08 +/- 3.28e-08
Energy Flux (Fixed Index): 2.68e-05 +/- 1.67e-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) = 6089.90706428
delta logL = 0.106349868795

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6089.89991518
delta logL = 0.113498966983

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8158       1.0000          .0000       .10000E+07
     2 'Index     '    1.9226       1.0000          .0000       10.000    
     3 'Normalizat'    .72441       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0699       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=   6089.900     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      206 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8155        69.939        .51646E-03    .12756E-02
   2  Index         1.9223        5.8272        .19095        .34128E-04
   3  Normalizat    .72446        .13593        .67045E-01    .28505E-04
   4  Prefactor     1.0699        .79351E-01    .38863E-01    .13631E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.81546
  Index      = 1.92227
  Normalizat = 0.724458
  Prefactor  = 1.06987
 **********
 **   18 **HESSE 
 **********

 FCN=   6089.900     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8155        2.4591        .94657E-05   -1.5669    
   2  Index         1.9223        .44397        .69384E-02   -.66308    
   3  Normalizat    .72446        .20655        .29665E-03   -1.0294    
   4  Prefactor     1.0699        .17103        .20558E-03   -.90435    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.88016e-12
Minuit parameter uncertainties:
  1  2.45907
  2  0.444916
  3  0.206776
  4  0.171114
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21103': 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) = 6089.89991481
delta logL = 0.113499336784

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  3.815e+00  2.459e+00  0.000e+00  1.000e+06 ( 1.000e-12)
309        Index:  1.922e+00  4.449e-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:  1.070e+00  1.711e-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.245e-01  2.068e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.28
Ra Dec: 173.196 0.574
Photon Index (Free Index): 1.92 +/- 0.44
Photon Flux (Free Index): 4.17e-08 +/- 3.56e-08
Energy Flux (Free Index): 3.52e-05 +/- 3.19e-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/21103/cmap_HighResolution_700444801_700704001_4FGL_J1132.7+0034_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.27e-08', energy_flux2='3.52e-05', photon_flux_error='3.28e-08', dlogl='1.13e-01', energy_flux='2.68e-05', photon_flux2='4.17e-08', job_status='DONE', time_completed='2023-03-17 01:36:57.720127', photon_index_error2='0.44', photon_index2='1.92', ts='5.08', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='3.19e-05', EG='0.71', time_epoch_completed='1679042217.72', return_code='0', job_id='21103', GAL2='1.07', EG2='0.72', return_code2='0', energy_flux_error='1.67e-05', photon_flux_error2='3.56e-08', ts2='5.28', photon_index='2.14' WHERE bin_id='1779' AND source_name='4FGL J1132.7+0034' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 01:36:57 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 21103: <4FGL_J1132.7+0034_daily_bin1779> in cluster <slac> Done

Job <4FGL_J1132.7+0034_daily_bin1779> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Mar 17 01:25:27 2023
Job was executed on host(s) <bullet0149>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 01:25:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 01:25:29 2023
Terminated at Fri Mar 17 01:36:58 2023
Results reported at Fri Mar 17 01:36:58 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1132.7+0034_daily_bin1779 173.196 0.5737 700444801 700704001 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 :                                   606.33 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             299.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            691 sec.

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

