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


Performing analysis on: 4FGL_J1132.7+0034_daily_bin1770
RA = 173.196, Dec = 0.5737
tmin = 698112001, tmax = 698371201
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='484108', job_status='RUN', time_executed='2023-02-18 00:40:55.252773', time_epoch_executed='1676709655.25' WHERE source_name='4FGL J1132.7+0034' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/484108

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/484108/ft1_4FGL_J1132.7+0034_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/484108/ft2_4FGL_J1132.7+0034_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/484108/ft1_4FGL_J1132.7+0034_daily_bin1770.fits outfile=/scratch/kocevski/484108/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin1770.fits ra=173.196 dec=0.5737 rad=12.0 tmin=698112001.0 tmax=698371201.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.33
user 4.12
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/484108/ft2_4FGL_J1132.7+0034_daily_bin1770.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/484108/ft1_filteredMKT_4FGL_J1132.7+0034_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/484108/ft1_filtered_4FGL_J1132.7+0034_daily_bin1770.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.48
user 0.36
sys 0.11

Number of photons that the gtmktime cut: 263

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/484108/ft1_filtered_4FGL_J1132.7+0034_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/484108/ft2_4FGL_J1132.7+0034_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/484108/ltcube_698112001_698371201_4FGL_J1132.7+0034_daily_bin1770.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/484108/ft2_4FGL_J1132.7+0034_daily_bin1770.fits
.....................!
real 11.76
user 11.42
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/484108/ft1_filtered_4FGL_J1132.7+0034_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/484108/ft2_4FGL_J1132.7+0034_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/484108/ltcube_698112001_698371201_4FGL_J1132.7+0034_daily_bin1770.fits outfile=/scratch/kocevski/484108/expmap_698112001_698371201_4FGL_J1132.7+0034_daily_bin1770.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/484108/ltcube_698112001_698371201_4FGL_J1132.7+0034_daily_bin1770.fits
.....................!
real 189.54
user 184.64
sys 4.58

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/484108/ft1_filtered_4FGL_J1132.7+0034_daily_bin1770.fits scfile=/scratch/kocevski/484108/ft2_4FGL_J1132.7+0034_daily_bin1770.fits outfile=/scratch/kocevski/484108/cmap_698112001_698371201_4FGL_J1132.7+0034_daily_bin1770.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.53
user 0.40
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/484108/ft1_filtered_4FGL_J1132.7+0034_daily_bin1770.fits scfile=/scratch/kocevski/484108/ft2_4FGL_J1132.7+0034_daily_bin1770.fits outfile=/scratch/kocevski/484108/cmap_HighResolution_698112001_698371201_4FGL_J1132.7+0034_daily_bin1770.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.53
user 0.40
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/484108/ft1_filtered_4FGL_J1132.7+0034_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/484108/ft2_4FGL_J1132.7+0034_daily_bin1770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/484108/Model_4FGL_J1132.7+0034_daily_bin1770.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/484108/ft1_filtered_4FGL_J1132.7+0034_daily_bin1770.fits.....................!
real 35.09
user 33.95
sys 1.06

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.549       1.0000          .0000       .10000E+07
     2 'norm      '    1.8473       1.0000          .0000       .10000E+07
     3 'Prefactor '    .29945E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    50.917       1.0000          .0000       .10000E+07
     5 'Prefactor '    9.7609       1.0000          .0000       .10000E+07
     6 'Prefactor '    .29581       1.0000          .0000       .10000E+07
     7 'norm      '    .26146E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12815E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .33155E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.5559       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.5136       1.0000          .0000       .10000E+07
    12 'norm      '    .36355E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.5331       1.0000          .0000       .10000E+07
    14 'Prefactor '    156.04       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.8320       1.0000          .0000       .10000E+07
    16 'Prefactor '    .12166E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .12938E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.1681       1.0000          .0000       .10000E+07
    19 'Prefactor '    .14078E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    146.40       1.0000          .0000       .10000E+07
    21 'Prefactor '    .23079E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    .45644E-02   1.0000          .0000       .10000E+07
    23 'norm      '    .45584E-05   1.0000          .0000       .10000E+07
    24 'Normalizat'    .65382       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .82574       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=   2994.128     FROM MIGRAD    STATUS=CONVERGED    222 CALLS     2256 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.574        2.5525        .22508E-08    .23528E-01
   2  norm          1.8478        .92628        .12298E-08   -.68171E-04
   3  Prefactor     .94369E-09    10.749       -.14468E-07** at limit **
   4  Prefactor     50.995        7.4626        .41413E-08   -.14101    
   5  Prefactor     9.8658        7.6655        .19011E-08    .21137E-02
   6  Prefactor     .20539E-08    71.023       -.10112E-06** at limit **
   7  norm          .22204E-09    9.2797       -.10206E-07** at limit **
   8  Prefactor     .12879E-07    14.924       -.59504E-08** at limit **
   9  norm          .20539E-08    46.445       -.96235E-07** at limit **
  10  Prefactor     3.5555        2.7405        .43064E-08   -.11966E-03
  11  Prefactor     3.6154        42.829       -.61705E-07    .52538E-02
  12  norm           .0000        2.7396       -.57610E-08** at limit **
  13  Prefactor     7.5785        6.0697       -.30197E-07   -.65742E-04
  14  Prefactor     159.44        140.21        .15288E-06    .34582E-03
  15  Prefactor     3.8332        9.1788       -.55211E-08   -.11100E-03
  16  Prefactor     .61617E-08    13.682        .52472E-07** at limit **
  17  Prefactor     .37209E-06    7.8693        .24028E-08** at limit **
  18  Prefactor     1.2043        557.20        .35377E-05   -.64456E-03
  19  Prefactor     .32574E-06    8.7803       -.11946E-07** at limit **
  20  Prefactor     146.30        45.672       -.86459E-07   -.36415E-01
  21  Prefactor     .11657E-08    18.540        .16945E-07** at limit **
  22  Prefactor     .99920E-09    25.091        .24314E-07** at limit **
  23  norm           .0000        2.1797        .36177E-08** at limit **
  24  Normalizat    .65197        .29741        .52853E-06   -.23652E-05
  25  Prefactor     .82641        .23517       -.85235E-06   -.39686E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.5744
  norm       = 1.8478
  Prefactor  = 9.4369e-10
  Prefactor  = 50.9949
  Prefactor  = 9.86581
  Prefactor  = 2.05391e-09
  norm       = 2.22045e-10
  Prefactor  = 1.28786e-08
  norm       = 2.05391e-09
  Prefactor  = 3.55554
  Prefactor  = 3.61541
  norm       = 0
  Prefactor  = 7.57851
  Prefactor  = 159.438
  Prefactor  = 3.83317
  Prefactor  = 6.16174e-09
  Prefactor  = 3.72091e-07
  Prefactor  = 1.20433
  Prefactor  = 3.25739e-07
  Prefactor  = 146.303
  Prefactor  = 1.16573e-09
  Prefactor  = 9.99201e-10
  norm       = 0
  Normalizat = 0.651972
  Prefactor  = 0.826409
 **********
 **   18 **HESSE 
 **********

 FCN=   2994.128     FROM HESSE     STATUS=OK           473 CALLS     2729 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.574        16.336        .19788E-03   -1.5607    
   2  norm          1.8478        .93379        .76690E-03   -1.5681    
   3  Prefactor     .94369E-09    10.806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     50.995        29.720        .14015E-03   -1.5565    
   5  Prefactor     9.8658        7.7181        .32050E-03   -1.5645    
   6  Prefactor     .20539E-08    70.989        .10271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .22204E-09    9.2815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12879E-07    14.847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .20539E-08    46.431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.5555        2.7398        .53574E-03   -1.5670    
  11  Prefactor     3.6154        44.119        .53909E-03   -1.5670    
  12  norm           .0000        2.7387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.5785        6.0909        .36516E-03   -1.5653    
  14  Prefactor     159.44        139.82        .80060E-04   -1.5455    
  15  Prefactor     3.8332        9.2130        .51533E-03   -1.5669    
  16  Prefactor     .61617E-08    13.661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .37209E-06    16.425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.2043        552.90        .69913E-03   -1.5686    
  19  Prefactor     .32574E-06    16.054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     146.30        47.144        .82653E-04   -1.5466    
  21  Prefactor     .11657E-08    18.571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .99920E-09    25.018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        2.1761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .65197        .26348        .69407E-01   -1.0582    
  25  Prefactor     .82641        .20399        .44051E-01   -.98762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.42191e-07
Minuit parameter uncertainties:
  1  16.3362
  2  0.933785
  3  0.0002011
  4  29.7201
  5  7.71812
  6  0.000759022
  7  9.01822e-05
  8  0.000875106
  9  0.000618435
  10  2.73982
  11  25.2595
  12  5.96392e-06
  13  6.09091
  14  139.82
  15  9.21304
  16  0.000580666
  17  0.00494447
  18  51.6139
  19  0.00457364
  20  47.1439
  21  0.000294899
  22  0.000317076
  23  3.72417e-06
  24  0.263994
  25  0.20418
Done.

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

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  3.556e+00  2.740e+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.264e-01  2.042e-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:  6.520e-01  2.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.49
Ra Dec: 173.196 0.574
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 5.27e-08 +/- 4.06e-08
Energy Flux (Fixed Index): 2.68e-05 +/- 2.07e-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) = 2992.61901058
delta logL = 1.50936021337

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2992.60059076
delta logL = 1.5277800358

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9029       1.0000          .0000       .10000E+07
     2 'Index     '    1.0522       1.0000          .0000       10.000    
     3 'Normalizat'    .65479       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83563       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=   2992.601     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      201 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9029        2.2529        .59613E-03    .42229E-01
   2  Index         1.0521        .32972        .11881       -.33716E-04
   3  Normalizat    .65486        .24865        .69050E-01    .17926E-04
   4  Prefactor     .83560        .20042        .44179E-01    .21470E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.90286
  Index      = 1.05214
  Normalizat = 0.654862
  Prefactor  = 0.835602
 **********
 **   18 **HESSE 
 **********

 FCN=   2992.601     FROM HESSE     STATUS=OK            29 CALLS      230 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9029        3.2252        .63615E-05   -1.5674    
   2  Index         1.0521        .47742        .51824E-03   -.91011    
   3  Normalizat    .65486        .28610        .30559E-03   -1.0570    
   4  Prefactor     .83560        .23112        .21827E-03   -.98429    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.79019e-09
Minuit parameter uncertainties:
  1  3.22523
  2  0.47937
  3  0.286751
  4  0.231393
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/484108': 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) = 2992.60059067
delta logL = 1.52778011921

Extracting fit parameters...

4FGL J1132.7+0034
   Spectrum: PowerLaw
308    Prefactor:  2.903e+00  3.225e+00  0.000e+00  1.000e+06 ( 1.000e-12)
309        Index:  1.052e+00  4.794e-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.356e-01  2.314e-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:  6.549e-01  2.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.52
Ra Dec: 173.196 0.574
Photon Index (Free Index): 1.05 +/- 0.48
Photon Flux (Free Index): 2.10e-08 +/- 1.76e-08
Energy Flux (Free Index): 2.67e-04 +/- 2.83e-04

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/484108/cmap_HighResolution_698112001_698371201_4FGL_J1132.7+0034_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.27e-08', energy_flux2='2.67e-04', photon_flux_error='4.06e-08', dlogl='1.53e+00', energy_flux='2.68e-05', photon_flux2='2.10e-08', job_status='DONE', time_completed='2023-02-18 00:48:34.964198', photon_index_error2='0.48', photon_index2='1.05', ts='6.49', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='2.83e-04', EG='0.65', time_epoch_completed='1676710114.96', return_code='0', job_id='484108', GAL2='0.84', EG2='0.65', return_code2='0', energy_flux_error='2.07e-05', photon_flux_error2='1.76e-08', ts2='9.52', photon_index='2.14' WHERE bin_id='1770' AND source_name='4FGL J1132.7+0034' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 00:48:34 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 484108: <4FGL_J1132.7+0034_daily_bin1770> in cluster <slac> Done

Job <4FGL_J1132.7+0034_daily_bin1770> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Feb 18 00:40:14 2023
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:40:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:40:15 2023
Terminated at Sat Feb 18 00:48:35 2023
Results reported at Sat Feb 18 00:48:35 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1132.7+0034_daily_bin1770 173.196 0.5737 698112001 698371201 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 :                                   462.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   500 sec.
    Turnaround time :                            501 sec.

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

