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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin1707
RA = 351.17, Dec = 31.2573
tmin = 681782401, tmax = 682041601
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='551596', job_status='RUN', time_executed='2022-08-13 00:37:30.088889', time_epoch_executed='1660376250.09' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='1707'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551596

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551596/ft1_4FGL_J2324.6+3115_daily_bin1707.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551596/ft2_4FGL_J2324.6+3115_daily_bin1707.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551596/ft1_4FGL_J2324.6+3115_daily_bin1707.fits outfile=/scratch/kocevski/551596/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1707.fits ra=351.17 dec=31.2573 rad=12.0 tmin=681782401.0 tmax=682041601.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.42
user 5.18
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/551596/ft2_4FGL_J2324.6+3115_daily_bin1707.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/551596/ft2_4FGL_J2324.6+3115_daily_bin1707.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/551596/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1707.fits evtable="EVENTS" outfile="/scratch/kocevski/551596/ft1_filtered_4FGL_J2324.6+3115_daily_bin1707.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.33
sys 0.15

Number of photons that the gtmktime cut: 860

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551596/ft1_filtered_4FGL_J2324.6+3115_daily_bin1707.fits" evtable="EVENTS" scfile=/scratch/kocevski/551596/ft2_4FGL_J2324.6+3115_daily_bin1707.fits sctable="SC_DATA" outfile=/scratch/kocevski/551596/ltcube_681782401_682041601_4FGL_J2324.6+3115_daily_bin1707.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/551596/ft2_4FGL_J2324.6+3115_daily_bin1707.fits
.....................!
real 11.71
user 11.34
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551596/ft1_filtered_4FGL_J2324.6+3115_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/551596/ft2_4FGL_J2324.6+3115_daily_bin1707.fits sctable="SC_DATA" expcube=/scratch/kocevski/551596/ltcube_681782401_682041601_4FGL_J2324.6+3115_daily_bin1707.fits outfile=/scratch/kocevski/551596/expmap_681782401_682041601_4FGL_J2324.6+3115_daily_bin1707.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/551596/ltcube_681782401_682041601_4FGL_J2324.6+3115_daily_bin1707.fits
.....................!
real 189.63
user 184.60
sys 4.66

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 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2324.6+3115 @ 351.17 31.2573

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/551596/ft1_filtered_4FGL_J2324.6+3115_daily_bin1707.fits scfile=/scratch/kocevski/551596/ft2_4FGL_J2324.6+3115_daily_bin1707.fits outfile=/scratch/kocevski/551596/cmap_681782401_682041601_4FGL_J2324.6+3115_daily_bin1707.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=351.17 yref=31.2573 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.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551596/ft1_filtered_4FGL_J2324.6+3115_daily_bin1707.fits scfile=/scratch/kocevski/551596/ft2_4FGL_J2324.6+3115_daily_bin1707.fits outfile=/scratch/kocevski/551596/cmap_HighResolution_681782401_682041601_4FGL_J2324.6+3115_daily_bin1707.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=351.17 yref=31.2573 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/551596/ft1_filtered_4FGL_J2324.6+3115_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/551596/ft2_4FGL_J2324.6+3115_daily_bin1707.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/551596/Model_4FGL_J2324.6+3115_daily_bin1707.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/551596/ft1_filtered_4FGL_J2324.6+3115_daily_bin1707.fits....................!
real 95.61
user 94.18
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/551596/ft1_filtered_4FGL_J2324.6+3115_daily_bin1707.fits', '/scratch/kocevski/551596/ft2_4FGL_J2324.6+3115_daily_bin1707.fits', expMap='/scratch/kocevski/551596/expmap_681782401_682041601_4FGL_J2324.6+3115_daily_bin1707.fits', expCube='/scratch/kocevski/551596/ltcube_681782401_682041601_4FGL_J2324.6+3115_daily_bin1707.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/551596/Model_4FGL_J2324.6+3115_daily_bin1707.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.6+3115'

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.967e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/551596/ft1_filtered_4FGL_J2324.6+3115_daily_bin1707.fits
Spacecraft file(s): /scratch/kocevski/551596/ft2_4FGL_J2324.6+3115_daily_bin1707.fits
Exposure map: /scratch/kocevski/551596/expmap_681782401_682041601_4FGL_J2324.6+3115_daily_bin1707.fits
Exposure cube: /scratch/kocevski/551596/ltcube_681782401_682041601_4FGL_J2324.6+3115_daily_bin1707.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/551596/Model_4FGL_J2324.6+3115_daily_bin1707.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) = 9080.50043596

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.9605       1.0000         .10000E-03   10000.    
     3 'norm      '    3.3272       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13785E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.6753       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.2796       1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.674       1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    49.353       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.9983       1.0000         .10000E-03   10000.    
    13 'Prefactor '    146.99       1.0000         .10000E-03   10000.    
    14 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10206E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .27955E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    79.656       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .96899       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .96497       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9080.489     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2559 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.3129        .90712E-02** at limit **
   2  Prefactor     5.9624        7.4605        .41118E-02    .56773E-03
   3  norm          3.3258        1.3559        .55477E-02   -.25244E-03
   4  Prefactor     .10000E-03    22.440        .90712E-02** at limit **
   5  Prefactor     .10000E-03    65.393        .90712E-02** at limit **
   6  Prefactor     .10000E-03    8.8611        .90712E-02** at limit **
   7  Prefactor     4.6756        5.1100        .46530E-02    .26246E-02
   8  Prefactor     7.2797        10.185        .37165E-02    .83032E-04
   9  Prefactor     23.675        19.548        .20581E-02   -.65678E-04
  10  norm          .10000E-03    .42986        .24861E-01** at limit **
  11  Prefactor     49.354        32.836        .14271E-02   -.66928E-03
  12  Prefactor     1.9981        4.5795        .73249E-02   -.16072E-02
  13  Prefactor     146.99        47.011        .83095E-03   -.14120E-02
  14  norm          .10000E-03    2.0772        .90712E-02** at limit **
  15  norm          .10000E-03    3.2919        .90712E-02** at limit **
  16  Prefactor     .10000E-03    8.1706        .90712E-02** at limit **
  17  norm          .10000E-03    .40493        .90712E-02** at limit **
  18  Prefactor     .10005E-03    5.3797        .10710    ** at limit **
  19  Prefactor     79.658        38.202        .11250E-02   -.12948E-02
  20  Prefactor     .10002E-03    38.145        .90712E-02** at limit **
  21  Prefactor     .10000E-03    3.0780        .90712E-02** at limit **
  22  Normalizat    .96884        .19936        .79942E-01    .32972E-04
  23  Prefactor     .96502        .95896E-01    .45828E-01    .48171E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 5.96244
  norm       = 3.32576
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 4.67559
  Prefactor  = 7.27969
  Prefactor  = 23.6747
  norm       = 0.0001
  Prefactor  = 49.3543
  Prefactor  = 1.99805
  Prefactor  = 146.992
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100045
  Prefactor  = 79.6583
  Prefactor  = 0.000100015
  Prefactor  = 0.0001
  Normalizat = 0.96884
  Prefactor  = 0.965015
 **********
 **   18 **HESSE 
 **********

 FCN=   9080.489     FROM HESSE     STATUS=OK           366 CALLS     2925 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.3386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.9624        7.4709        .16447E-03   -1.5220    
   3  norm          3.3258        1.3526        .68310E-04   -1.5343    
   4  Prefactor     .10000E-03    22.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    67.344        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.9180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.6756        5.1122        .18612E-03   -1.5275    
   8  Prefactor     7.2797        10.177        .14866E-03   -1.5168    
   9  Prefactor     23.675        19.556        .82325E-04   -1.4734    
  10  norm          .10000E-03    .70787        .12106E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     49.354        32.852        .57082E-04   -1.4302    
  12  Prefactor     1.9981        4.5491        .29300E-03   -1.5425    
  13  Prefactor     146.99        46.997        .33238E-04   -1.3277    
  14  norm          .10000E-03    2.1066        .13408E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.2997        .16885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.2729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .40589        .59214E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10005E-03    33.618        .43080E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     79.658        38.301        .44998E-04   -1.3921    
  20  Prefactor     .10002E-03    38.253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.0990        .16323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .96884        .23228        .35384E-03   -.94082    
  23  Prefactor     .96502        .11245        .17689E-03   -.93905    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78462e-08
Minuit parameter uncertainties:
  1  9.84479e-05
  2  7.47204
  3  1.35264
  4  2.77191e-05
  5  0.00105563
  6  0.000115037
  7  5.11269
  8  10.1797
  9  19.5608
  10  1.10058e-05
  11  32.8641
  12  4.54988
  13  47.0092
  14  4.11909e-06
  15  3.0848e-05
  16  9.68803e-05
  17  2.6406e-07
  18  0.0024746
  19  38.3129
  20  0.0015342
  21  2.95245e-05
  22  0.232526
  23  0.112476
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  9.688e-05  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  9.650e-01  1.125e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  9.688e-01  2.325e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.170 31.257
Photon Flux Upper Limit: 7.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/551596/likelihoodResults_681782401_682041601_4FGL_J2324.6+3115_daily_bin1707.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9080.48911209
delta logL = -0.00057619036852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9080.4885351
delta logL = 8.04069713922e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8155       1.0000          .0000       10.000    
     3 'Normalizat'    .96882       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96503       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9080.465     FROM MIGRAD    STATUS=FAILED       151 CALLS      309 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4747        1677.4        .18142E-01    .13750E-02
   2  Index         1.8931        6.1720        .49439       -.39153E-04
   3  Normalizat    .97048        .10922        .35384E-03   -.70042E-05
   4  Prefactor     .96321        .70987E-01    .17689E-03   -.43703E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9080.465     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      394 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4747        1677.4        .38393E-03    .13750E-02
   2  Index         1.8931        6.1720        .20686E-02   -.39153E-04
   3  Normalizat    .97048        .10922        .79502E-04   -.70042E-05
   4  Prefactor     .96321        .70987E-01    .72432E-04   -.43703E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9080.465     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      428 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4747        9.0787        .56035E-03   -.26010E-04
   2  Index         1.8931        1.4686        .15424E-01   -.14146E-04
   3  Normalizat    .97048        .22020        .14154E-04   -.70684E-05
   4  Prefactor     .96321        .11093        .70757E-05   -.77123E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.47472
  Index      = 1.89312
  Normalizat = 0.970484
  Prefactor  = 0.963205
 **********
 **   18 **HESSE 
 **********

 FCN=   9080.465     FROM HESSE     STATUS=OK            25 CALLS      453 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4747        9.3873        .22414E-04   -1.5465    
   2  Index         1.8931        1.4938        .61694E-03   -.67050    
   3  Normalizat    .97048        .21981        .28307E-05   -.94026    
   4  Prefactor     .96321        .11072        .14151E-05   -.93966    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21504e-11
Minuit parameter uncertainties:
  1  7.44289
  2  1.53264
  3  0.22001
  4  0.110743
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551596': 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) = 9080.46472352
delta logL = 0.0238123813251

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.475e+00  7.443e+00  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  1.893e+00  1.533e+00  0.000e+00  1.000e+01 (-1.000e+00)
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  9.632e-01  1.107e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  9.705e-01  2.200e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.170 31.257

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/551596/cmap_HighResolution_681782401_682041601_4FGL_J2324.6+3115_daily_bin1707.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.74e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2022-08-13 00:51:33.638391', job_id='551596', GAL2='0.96', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1660377093.64', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='2.38e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='1707' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 13 00:51:33 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 551596: <4FGL_J2324.6+3115_daily_bin1707> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin1707> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 13 00:35:27 2022
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 13 00:35:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 13 00:35:28 2022
Terminated at Sat Aug 13 00:51:34 2022
Results reported at Sat Aug 13 00:51:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin1707 351.17 31.2573 681782401 682041601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.6+3115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   845.42 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             281.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   965 sec.
    Turnaround time :                            967 sec.

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

