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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin1700
RA = 351.17, Dec = 31.2573
tmin = 679968001, tmax = 680227201
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='83482', job_status='RUN', time_executed='2022-07-23 00:36:35.325229', time_epoch_executed='1658561795.33' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='1700'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/83482

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/83482/ft1_4FGL_J2324.6+3115_daily_bin1700.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/83482/ft2_4FGL_J2324.6+3115_daily_bin1700.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/83482/ft1_4FGL_J2324.6+3115_daily_bin1700.fits outfile=/scratch/kocevski/83482/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1700.fits ra=351.17 dec=31.2573 rad=12.0 tmin=679968001.0 tmax=680227201.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.56
user 4.32
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/83482/ft2_4FGL_J2324.6+3115_daily_bin1700.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/83482/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1700.fits evtable="EVENTS" outfile="/scratch/kocevski/83482/ft1_filtered_4FGL_J2324.6+3115_daily_bin1700.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.50
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 869

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/83482/ft1_filtered_4FGL_J2324.6+3115_daily_bin1700.fits" evtable="EVENTS" scfile=/scratch/kocevski/83482/ft2_4FGL_J2324.6+3115_daily_bin1700.fits sctable="SC_DATA" outfile=/scratch/kocevski/83482/ltcube_679968001_680227201_4FGL_J2324.6+3115_daily_bin1700.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/83482/ft2_4FGL_J2324.6+3115_daily_bin1700.fits
.....................!
real 11.93
user 11.59
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/83482/ft1_filtered_4FGL_J2324.6+3115_daily_bin1700.fits evtable="EVENTS" scfile=/scratch/kocevski/83482/ft2_4FGL_J2324.6+3115_daily_bin1700.fits sctable="SC_DATA" expcube=/scratch/kocevski/83482/ltcube_679968001_680227201_4FGL_J2324.6+3115_daily_bin1700.fits outfile=/scratch/kocevski/83482/expmap_679968001_680227201_4FGL_J2324.6+3115_daily_bin1700.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/83482/ltcube_679968001_680227201_4FGL_J2324.6+3115_daily_bin1700.fits
.....................!
real 191.33
user 185.67
sys 5.25

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/83482/ft1_filtered_4FGL_J2324.6+3115_daily_bin1700.fits scfile=/scratch/kocevski/83482/ft2_4FGL_J2324.6+3115_daily_bin1700.fits outfile=/scratch/kocevski/83482/cmap_679968001_680227201_4FGL_J2324.6+3115_daily_bin1700.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/83482/ft1_filtered_4FGL_J2324.6+3115_daily_bin1700.fits scfile=/scratch/kocevski/83482/ft2_4FGL_J2324.6+3115_daily_bin1700.fits outfile=/scratch/kocevski/83482/cmap_HighResolution_679968001_680227201_4FGL_J2324.6+3115_daily_bin1700.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/83482/ft1_filtered_4FGL_J2324.6+3115_daily_bin1700.fits evtable="EVENTS" scfile=/scratch/kocevski/83482/ft2_4FGL_J2324.6+3115_daily_bin1700.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/83482/Model_4FGL_J2324.6+3115_daily_bin1700.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/83482/ft1_filtered_4FGL_J2324.6+3115_daily_bin1700.fits.....................!
real 104.55
user 102.39
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/83482/ft1_filtered_4FGL_J2324.6+3115_daily_bin1700.fits', '/scratch/kocevski/83482/ft2_4FGL_J2324.6+3115_daily_bin1700.fits', expMap='/scratch/kocevski/83482/expmap_679968001_680227201_4FGL_J2324.6+3115_daily_bin1700.fits', expCube='/scratch/kocevski/83482/ltcube_679968001_680227201_4FGL_J2324.6+3115_daily_bin1700.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/83482/Model_4FGL_J2324.6+3115_daily_bin1700.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/83482/ft1_filtered_4FGL_J2324.6+3115_daily_bin1700.fits
Spacecraft file(s): /scratch/kocevski/83482/ft2_4FGL_J2324.6+3115_daily_bin1700.fits
Exposure map: /scratch/kocevski/83482/expmap_679968001_680227201_4FGL_J2324.6+3115_daily_bin1700.fits
Exposure cube: /scratch/kocevski/83482/ltcube_679968001_680227201_4FGL_J2324.6+3115_daily_bin1700.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/83482/Model_4FGL_J2324.6+3115_daily_bin1700.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) = 9677.95566999

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.109       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.2680       1.0000         .10000E-03   10000.    
     3 'norm      '    2.6603       1.0000         .10000E-03   10000.    
     4 'Prefactor '    46.891       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.092       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.0287       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.134       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.9273       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.4357       1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.421       1.0000         .10000E-03   10000.    
    13 'Prefactor '    45.414       1.0000         .10000E-03   10000.    
    14 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    12.093       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.8616       1.0000         .10000E-03   10000.    
    17 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.735       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    33.713       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.3305       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .89534       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99360       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.

 FCN=   9677.924     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2514 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.107        15.821       -.46403E-06    .65539E-05
   2  Prefactor     1.2670        12.659       -.67493E-05   -.67782E-03
   3  norm          2.6604        1.2274       -.12111E-06   -.23203E-03
   4  Prefactor     46.860        59.413       -.40528E-04    .78719E-05
   5  Prefactor     .10000E-03    6.5301        .54810E-08** at limit **
   6  Prefactor     11.092        10.840        .13037E-06    .36623E-04
   7  Prefactor     4.0287        4.4026       -.24653E-05   -.19811E-03
   8  Prefactor     12.133        9.3087       -.30965E-06   -.14772E-04
   9  Prefactor     .10000E-03    19.818       -.22385E-06** at limit **
  10  norm          1.9272        1.2037       -.11201E-06   -.23289E-03
  11  Prefactor     4.4435        29.002        .16536E-04    .73285E-05
  12  Prefactor     23.420        12.810       -.40200E-06    .38606E-04
  13  Prefactor     45.389        30.733       -.22235E-04   -.21574E-04
  14  norm          .10000E-03    2.3398       -.10734E-06** at limit **
  15  norm          12.092        9.7909       -.23496E-06   -.18919E-04
  16  Prefactor     8.8652        16.635        .48236E-05    .13193E-04
  17  norm          .10000E-03    .62844       -.27820E-07** at limit **
  18  Prefactor     12.735        12.023        .15608E-06    .37093E-03
  19  Prefactor     .10000E-03    55.239        .23799E-05** at limit **
  20  Prefactor     33.714        34.207        .15482E-05    .17065E-04
  21  Prefactor     6.3292        7.6939       -.19832E-05   -.16224E-03
  22  Normalizat    .89530        .20089        .85012E-06    .17181E-03
  23  Prefactor     .99363        .94156E-01    .21465E-05   -.16294E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.1074
  Prefactor  = 1.26704
  norm       = 2.6604
  Prefactor  = 46.8597
  Prefactor  = 0.0001
  Prefactor  = 11.0919
  Prefactor  = 4.02869
  Prefactor  = 12.1332
  Prefactor  = 0.0001
  norm       = 1.9272
  Prefactor  = 4.44353
  Prefactor  = 23.42
  Prefactor  = 45.3889
  norm       = 0.0001
  norm       = 12.0923
  Prefactor  = 8.86523
  norm       = 0.0001
  Prefactor  = 12.7348
  Prefactor  = 0.0001
  Prefactor  = 33.7144
  Prefactor  = 6.32916
  Normalizat = 0.895298
  Prefactor  = 0.99363
 **********
 **   18 **HESSE 
 **********

 FCN=   9677.924     FROM HESSE     STATUS=OK           376 CALLS     2890 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.107        15.785        .12603E-03   -1.5072    
   2  Prefactor     1.2670        13.152        .39538E-03   -1.5483    
   3  norm          2.6604        1.2246        .71380E-04   -1.5382    
   4  Prefactor     46.860        59.246        .58554E-04   -1.4338    
   5  Prefactor     .10000E-03    6.5350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.092        10.846        .12029E-03   -1.5042    
   7  Prefactor     4.0287        4.4037        .20091E-03   -1.5307    
   8  Prefactor     12.133        9.3071        .11500E-03   -1.5011    
   9  Prefactor     .10000E-03    19.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.9272        1.1996        .81595E-04   -1.5430    
  11  Prefactor     4.4435        28.707        .19120E-03   -1.5286    
  12  Prefactor     23.420        12.800        .82769E-04   -1.4740    
  13  Prefactor     45.389        30.654        .59495E-04   -1.4360    
  14  norm          .10000E-03    2.3511        .14666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          12.092        9.8039        .11520E-03   -1.5012    
  16  Prefactor     8.8652        16.615        .13465E-03   -1.5112    
  17  norm          .10000E-03    .63097        .76116E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     12.735        12.029        .56124E-03   -1.4994    
  19  Prefactor     .10000E-03    55.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     33.714        34.181        .69015E-04   -1.4546    
  21  Prefactor     6.3292        7.6750        .15953E-03   -1.5205    
  22  Normalizat    .89530        .23017        .37506E-03   -.96626    
  23  Prefactor     .99363        .10942        .17623E-03   -.92942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.3261e-09
Minuit parameter uncertainties:
  1  15.7916
  2  8.16625
  3  1.22466
  4  59.3203
  5  4.01649e-06
  6  10.8483
  7  4.40406
  8  9.30826
  9  3.69061e-05
  10  1.19957
  11  22.6043
  12  12.8016
  13  30.6646
  14  7.87036e-06
  15  9.80521
  16  16.6241
  17  1.48146e-06
  18  12.0311
  19  0.000107213
  20  34.2005
  21  7.67617
  22  0.230426
  23  0.109443
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  8.865e+00  1.662e+01  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.936e-01  1.094e-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:  8.953e-01  2.304e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.35
Ra Dec: 351.170 31.257
Photon Flux Upper Limit: 1.42e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.13e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/83482/likelihoodResults_679968001_680227201_4FGL_J2324.6+3115_daily_bin1700.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) = 9675.8479125
delta logL = 2.07636311367

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9675.58446241
delta logL = 2.3398132073

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .58486E-02   1.0000         .10000E-03   10000.    
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .79192       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0314       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.

 FCN=   9675.584     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      386 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .58497E-02    .44042E-02    .42400E-04   -.39791E-02
   2  Index        10.0000        .98927        .40936    ** at limit **
   3  Normalizat    .79182        .22311        .39592E-03    .26417E-05
   4  Prefactor     1.0315        .10904        .17322E-03    .80200E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00584974
  Index      = 10
  Normalizat = 0.79182
  Prefactor  = 1.03149
 **********
 **   18 **HESSE 
 **********

 FCN=   9675.584     FROM HESSE     STATUS=OK            31 CALLS      417 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .58497E-02    .40411E-02    .16960E-05   -1.5693    
   2  Index        10.0000        .76428        .44970        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .79182        .22374        .15837E-04   -1.0037    
   4  Prefactor     1.0315        .10921        .34645E-04   -.91687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23482e-10
Minuit parameter uncertainties:
  1  0.00404107
  2  0.000134587
  3  0.223999
  4  0.109234
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/83482': 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) = 9675.58446218
delta logL = 2.33981343526

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  5.850e-03  4.041e-03  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  1.000e+01  1.346e-04  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:  1.031e+00  1.092e-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:  7.918e-01  2.240e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.34
Ra Dec: 351.170 31.257
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 1.04e-07 +/- 6.96e-08
Energy Flux (Free Index): 1.16e-05 +/- 7.83e-06

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/83482/cmap_HighResolution_679968001_680227201_4FGL_J2324.6+3115_daily_bin1700.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', comment='SUCCESS', energy_flux2='1.16e-05', dlogl='2.34e+00', photon_flux2='1.04e-07', job_status='DONE', time_completed='2022-07-23 00:51:24.256548', photon_index_error2='0.00', photon_index2='10.00', ts='0.35', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.42e-07', energy_flux_error2='7.83e-06', EG='0.90', time_epoch_completed='1658562684.26', return_code='0', job_id='83482', GAL2='1.03', EG2='0.79', return_code2='0', photon_flux_error2='6.96e-08', ts2='5.34', photon_index='2.88' WHERE bin_id='1700' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 23 00:51:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 83482: <4FGL_J2324.6+3115_daily_bin1700> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin1700> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Jul 23 00:35:51 2022
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 00:35:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 00:35:52 2022
Terminated at Sat Jul 23 00:51:25 2022
Results reported at Sat Jul 23 00:51:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin1700 351.17 31.2573 679968001 680227201 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 :                                   856.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             364.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   932 sec.
    Turnaround time :                            934 sec.

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

