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 163 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2115.4+2932_monthly_bin169
RA = 318.874, Dec = 29.5456
tmin = 675043201, tmax = 677635201
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='189049', job_status='RUN', time_executed='2022-06-23 03:10:59.216166', time_epoch_executed='1655979059.22' WHERE source_name='4FGL J2115.4+2932' and cadence='monthly' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/189049

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/189049/ft1_4FGL_J2115.4+2932_monthly_bin169.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/189049/ft2_4FGL_J2115.4+2932_monthly_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/189049/ft1_4FGL_J2115.4+2932_monthly_bin169.fits outfile=/scratch/kocevski/189049/ft1_filteredMKT_4FGL_J2115.4+2932_monthly_bin169.fits ra=318.874 dec=29.5456 rad=12.0 tmin=675043201.0 tmax=677635201.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 27.66
user 26.68
sys 0.90

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/189049/ft2_4FGL_J2115.4+2932_monthly_bin169.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/189049/ft2_4FGL_J2115.4+2932_monthly_bin169.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/189049/ft1_filteredMKT_4FGL_J2115.4+2932_monthly_bin169.fits evtable="EVENTS" outfile="/scratch/kocevski/189049/ft1_filtered_4FGL_J2115.4+2932_monthly_bin169.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.87
user 0.67
sys 0.19

Number of photons that the gtmktime cut: 24360

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/189049/ft1_filtered_4FGL_J2115.4+2932_monthly_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/189049/ft2_4FGL_J2115.4+2932_monthly_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/189049/ltcube_675043201_677635201_4FGL_J2115.4+2932_monthly_bin169.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/189049/ft2_4FGL_J2115.4+2932_monthly_bin169.fits
.....................!
real 136.91
user 136.22
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/189049/ft1_filtered_4FGL_J2115.4+2932_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/189049/ft2_4FGL_J2115.4+2932_monthly_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/189049/ltcube_675043201_677635201_4FGL_J2115.4+2932_monthly_bin169.fits outfile=/scratch/kocevski/189049/expmap_675043201_677635201_4FGL_J2115.4+2932_monthly_bin169.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/189049/ltcube_675043201_677635201_4FGL_J2115.4+2932_monthly_bin169.fits
.....................!
real 192.61
user 186.56
sys 5.47

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
Extended source Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CygnusLoop.fits is the correct path to the extended template.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 208 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2115.4+2932 @ 318.874 29.5456

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/189049/ft1_filtered_4FGL_J2115.4+2932_monthly_bin169.fits scfile=/scratch/kocevski/189049/ft2_4FGL_J2115.4+2932_monthly_bin169.fits outfile=/scratch/kocevski/189049/cmap_675043201_677635201_4FGL_J2115.4+2932_monthly_bin169.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=318.874 yref=29.5456 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.83
user 0.67
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/189049/ft1_filtered_4FGL_J2115.4+2932_monthly_bin169.fits scfile=/scratch/kocevski/189049/ft2_4FGL_J2115.4+2932_monthly_bin169.fits outfile=/scratch/kocevski/189049/cmap_HighResolution_675043201_677635201_4FGL_J2115.4+2932_monthly_bin169.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=318.874 yref=29.5456 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.83
user 0.66
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/189049/ft1_filtered_4FGL_J2115.4+2932_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/189049/ft2_4FGL_J2115.4+2932_monthly_bin169.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/189049/Model_4FGL_J2115.4+2932_monthly_bin169.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 Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/scratch/kocevski/189049/ft1_filtered_4FGL_J2115.4+2932_monthly_bin169.fits....................!
real 4780.59
user 4769.10
sys 1.42

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/189049/ft1_filtered_4FGL_J2115.4+2932_monthly_bin169.fits', '/scratch/kocevski/189049/ft2_4FGL_J2115.4+2932_monthly_bin169.fits', expMap='/scratch/kocevski/189049/expmap_675043201_677635201_4FGL_J2115.4+2932_monthly_bin169.fits', expCube='/scratch/kocevski/189049/ltcube_675043201_677635201_4FGL_J2115.4+2932_monthly_bin169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/189049/Model_4FGL_J2115.4+2932_monthly_bin169.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2115.4+2932'

4FGL J2115.4+2932
   Spectrum: LogParabola
472         norm:  6.398e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
473        alpha:  2.243e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
474         beta:  1.080e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
475           Eb:  8.394e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/189049/ft1_filtered_4FGL_J2115.4+2932_monthly_bin169.fits
Spacecraft file(s): /scratch/kocevski/189049/ft2_4FGL_J2115.4+2932_monthly_bin169.fits
Exposure map: /scratch/kocevski/189049/expmap_675043201_677635201_4FGL_J2115.4+2932_monthly_bin169.fits
Exposure cube: /scratch/kocevski/189049/ltcube_675043201_677635201_4FGL_J2115.4+2932_monthly_bin169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/189049/Model_4FGL_J2115.4+2932_monthly_bin169.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) = 240766.071176

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .97190       1.0000         .10000E-03   10000.    
     3 'norm      '    .92750       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.2211       1.0000         .10000E-03   10000.    
     5 'norm      '    2.9871       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.6714       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10191E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.349       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .14455       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.8234       1.0000         .10000E-03   10000.    
    12 'norm      '    .42288E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    1.3183       1.0000         .10000E-03   10000.    
    14 'norm      '    1.5370       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.7788       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2441       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .96801       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   240765.0     FROM MIGRAD    STATUS=CONVERGED    414 CALLS     1736 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.7440        .33393E-07** at limit **
   2  norm          .97191        .62265        .11184E-07   -.29438E-02
   3  norm          .92744        .70370       -.33418E-07   -.12941E-02
   4  Prefactor     2.2210        .89223       -.15286E-07   -.11366E-02
   5  norm          2.9867        3.6269       -.12040E-05   -.46351E-04
   6  Prefactor     4.6718        3.3594       -.11556E-05   -.13177E-03
   7  Prefactor     .10000E-03    34.077       -.12082E-05** at limit **
   8  Prefactor     12.342        7.0767       -.34091E-05   -.54513E-04
   9  Prefactor     .13575        .85157        .39931E-06   -.15945E-02
  10  Prefactor     .10000E-03    .27765        .19610E-08** at limit **
  11  norm          1.8233        .85407       -.66424E-08   -.89631E-03
  12  norm          .42297E-01    .16860        .55709E-07   -.27792E-02
  13  norm          1.3183        .71425       -.24334E-07   -.14784E-02
  14  norm          1.5368        .97558        .40132E-07   -.36229E-02
  15  Prefactor     .10000E-03    4.0453       -.40129E-08** at limit **
  16  Prefactor     1.7787        1.2625       -.15410E-06   -.61998E-03
  17  norm          .10000E-03    .21049E-01   -.10845E-07** at limit **
  18  Normalizat    1.2441        .59379E-01    .41421E-06   -.46580E-04
  19  Prefactor     .96801        .11954E-01    .39523E-07    .34726E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.971913
  norm       = 0.927439
  Prefactor  = 2.22096
  norm       = 2.98667
  Prefactor  = 4.67176
  Prefactor  = 0.0001
  Prefactor  = 12.3417
  Prefactor  = 0.135753
  Prefactor  = 0.0001
  norm       = 1.82334
  norm       = 0.0422971
  norm       = 1.31831
  norm       = 1.53678
  Prefactor  = 0.0001
  Prefactor  = 1.77866
  norm       = 0.0001
  Normalizat = 1.24409
  Prefactor  = 0.968012
 **********
 **   18 **HESSE 
 **********

 FCN=   240765.0     FROM HESSE     STATUS=OK           288 CALLS     2024 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.8724        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .97191        .65464        .31376E-03   -1.5511    
   3  norm          .92744        .84782        .35372E-02   -1.5515    
   4  Prefactor     2.2210        .89591        .27592E-03   -1.5410    
   5  norm          2.9867        3.6223        .23489E-03   -1.5362    
   6  Prefactor     4.6718        3.3590        .18620E-03   -1.5276    
   7  Prefactor     .10000E-03    34.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.342        7.0807        .11399E-03   -1.5005    
   9  Prefactor     .13575        .86853        .17327       -1.5634    
  10  Prefactor     .10000E-03    .28964        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.8233        .85360        .30223E-03   -1.5438    
  12  norm          .42297E-01    .21324        .18465E-03   -1.5667    
  13  norm          1.3183        .70852        .29773E-03   -1.5478    
  14  norm          1.5368        1.3716        .17202E-02   -1.5460    
  15  Prefactor     .10000E-03    4.0472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.7787        1.2607        .31383E-03   -1.5441    
  17  norm          .10000E-03    .54318E-01    .13759E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2441        .61664E-01    .59157E-03   -.85251    
  19  Prefactor     .96801        .12587E-01    .13380E-03   -.93804    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9578e-07
Minuit parameter uncertainties:
  1  6.48458e-06
  2  0.654644
  3  0.847828
  4  0.895916
  5  3.62255
  6  3.35915
  7  2.71854e-05
  8  7.08122
  9  0.686509
  10  3.91391e-07
  11  0.85361
  12  0.189716
  13  0.708524
  14  1.37167
  15  6.96033e-07
  16  1.26074
  17  2.14952e-07
  18  0.061668
  19  0.0125868
Done.

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

Extracting fit parameters...

4FGL J2115.4+2932
   Spectrum: LogParabola
472         norm:  1.823e+00  8.536e-01  1.000e-04  1.000e+04 ( 1.000e-12)
473        alpha:  2.243e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
474         beta:  1.080e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
475           Eb:  8.394e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
748    Prefactor:  9.680e-01  1.259e-02  0.000e+00  1.000e+01 ( 1.000e+00)
749        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
750        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
747   Normalization:  1.244e+00  6.167e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.78
Ra Dec: 318.874 29.546
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 1.36e-08 +/- 6.35e-09
Energy Flux (Fixed Index): 5.37e-06 +/- 2.52e-06

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) = 240764.249037
delta logL = 0.787520304293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 240764.234219
delta logL = 0.802338275505

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7637       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8048       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2491       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96772       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   240764.2     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      235 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7630        1.0841         .0000        .69213E-02
   2  alpha         1.8047        .35044         .0000       -.74390E-03
   3  Normalizat    1.2490        .57358E-01     .0000        .70881E-03
   4  Prefactor     .96773        .11636E-01     .0000       -.24913E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.76298
  alpha      = 1.80467
  Normalizat = 1.24905
  Prefactor  = 0.967727
 **********
 **   18 **HESSE 
 **********

 FCN=   240764.2     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7630        .86211        .29831E-03   -1.5442    
   2  alpha         1.8047        .33233        .53359E-01   -.28185    
   3  Normalizat    1.2490        .59898E-01    .59057E-03   -.85100    
   4  Prefactor     .96773        .12223E-01    .13382E-03   -.93813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.58826e-10
Minuit parameter uncertainties:
  1  0.862112
  2  0.3334
  3  0.0599013
  4  0.0122228
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/189049': 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) = 240764.234219
delta logL = 0.802338780253

Extracting fit parameters...

4FGL J2115.4+2932
   Spectrum: LogParabola
472         norm:  1.763e+00  8.621e-01  1.000e-04  1.000e+04 ( 1.000e-12)
473        alpha:  1.805e+00  3.334e-01  0.000e+00  5.000e+00 ( 1.000e+00)
474         beta:  1.080e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
475           Eb:  8.394e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
748    Prefactor:  9.677e-01  1.222e-02  0.000e+00  1.000e+01 ( 1.000e+00)
749        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
750        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
747   Normalization:  1.249e+00  5.990e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.38
Ra Dec: 318.874 29.546
Photon Index (Free Index): 1.80 +/- 0.33
Photon Flux (Free Index): 8.18e-09 +/- 5.22e-09
Energy Flux (Free Index): 6.47e-06 +/- 3.34e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /scratch/kocevski/189049/cmap_HighResolution_675043201_677635201_4FGL_J2115.4+2932_monthly_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.36e-08', energy_flux2='6.47e-06', photon_flux_error='6.35e-09', dlogl='8.02e-01', energy_flux='5.37e-06', photon_flux2='8.18e-09', job_status='DONE', time_completed='2022-06-23 07:14:44.836797', photon_index_error2='0.33', photon_index2='1.80', ts='8.78', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='3.34e-06', EG='1.24', time_epoch_completed='1655993684.84', return_code='0', job_id='189049', GAL2='0.97', EG2='1.25', return_code2='0', energy_flux_error='2.52e-06', photon_flux_error2='5.22e-09', ts2='10.38', photon_index='2.24' WHERE bin_id='169' AND source_name='4FGL J2115.4+2932' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jun 23 07:14:44 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 189049: <4FGL_J2115.4+2932_monthly_bin169> in cluster <slac> Done

Job <4FGL_J2115.4+2932_monthly_bin169> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Jun 23 03:05:30 2022
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 03:08:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 03:08:07 2022
Terminated at Thu Jun 23 07:14:46 2022
Results reported at Thu Jun 23 07:14:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2115.4+2932_monthly_bin169 318.874 29.5456 675043201 677635201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2115.4+2932 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   14566.00 sec.
    Max Memory :                                 755 MB
    Average Memory :                             681.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   14799 sec.
    Turnaround time :                            14956 sec.

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

