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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin1676
RA = 351.17, Dec = 31.2573
tmin = 673747201, tmax = 674006401
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='68797', job_status='RUN', time_executed='2022-05-12 01:31:21.092703', time_epoch_executed='1652344281.09' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='1676'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/68797

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/68797/ft1_4FGL_J2324.6+3115_daily_bin1676.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/68797/ft2_4FGL_J2324.6+3115_daily_bin1676.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/68797/ft1_4FGL_J2324.6+3115_daily_bin1676.fits outfile=/scratch/kocevski/68797/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1676.fits ra=351.17 dec=31.2573 rad=12.0 tmin=673747201.0 tmax=674006401.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 3.85
user 3.60
sys 0.22

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

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

Number of photons that the gtmktime cut: 724

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/68797/ft1_filtered_4FGL_J2324.6+3115_daily_bin1676.fits" evtable="EVENTS" scfile=/scratch/kocevski/68797/ft2_4FGL_J2324.6+3115_daily_bin1676.fits sctable="SC_DATA" outfile=/scratch/kocevski/68797/ltcube_673747201_674006401_4FGL_J2324.6+3115_daily_bin1676.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/68797/ft2_4FGL_J2324.6+3115_daily_bin1676.fits
.....................!
real 15.29
user 14.86
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/68797/ft1_filtered_4FGL_J2324.6+3115_daily_bin1676.fits evtable="EVENTS" scfile=/scratch/kocevski/68797/ft2_4FGL_J2324.6+3115_daily_bin1676.fits sctable="SC_DATA" expcube=/scratch/kocevski/68797/ltcube_673747201_674006401_4FGL_J2324.6+3115_daily_bin1676.fits outfile=/scratch/kocevski/68797/expmap_673747201_674006401_4FGL_J2324.6+3115_daily_bin1676.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/68797/ltcube_673747201_674006401_4FGL_J2324.6+3115_daily_bin1676.fits
.....................!
real 194.85
user 186.29
sys 4.49

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/68797/ft1_filtered_4FGL_J2324.6+3115_daily_bin1676.fits scfile=/scratch/kocevski/68797/ft2_4FGL_J2324.6+3115_daily_bin1676.fits outfile=/scratch/kocevski/68797/cmap_673747201_674006401_4FGL_J2324.6+3115_daily_bin1676.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 5.47
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/68797/ft1_filtered_4FGL_J2324.6+3115_daily_bin1676.fits scfile=/scratch/kocevski/68797/ft2_4FGL_J2324.6+3115_daily_bin1676.fits outfile=/scratch/kocevski/68797/cmap_HighResolution_673747201_674006401_4FGL_J2324.6+3115_daily_bin1676.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.57
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14045E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.5403       1.0000         .10000E-03   10000.    
     3 'norm      '    1.5255       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.4934       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .51417       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.5097       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .67831       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.196       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.4833       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.4617       1.0000         .10000E-03   10000.    
    14 'norm      '    .13657E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    19.617       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    33.805       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .97250       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1059       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=   7635.443     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2587 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    29.152        .72697E-05** at limit **
   2  Prefactor     2.5406        1.5182        .53977E-07   -.63968E-03
   3  norm          1.5256        1.2956       -.73713E-08   -.22940E-04
   4  Prefactor     .10000E-03    20.923       -.27873E-05** at limit **
   5  Prefactor     9.4929        16.693       -.34730E-06   -.92022E-06
   6  Prefactor     .10000E-03    7.3597       -.11265E-06** at limit **
   7  Prefactor     .50531        5.6867       -.47412E-07   -.17601E-04
   8  Prefactor     8.5104        11.416        .97871E-07    .13678E-05
   9  Prefactor     .10000E-03    15.966        .47731E-06** at limit **
  10  norm          .67787        1.5488        .61729E-07   -.77880E-04
  11  Prefactor     12.194        23.985       -.21185E-05   -.35579E-06
  12  Prefactor     6.4839        11.052       -.10952E-06   -.27185E-05
  13  Prefactor     9.4582        18.757       -.19529E-05   -.59964E-06
  14  norm          .10000E-03    2.4992       -.41463E-07** at limit **
  15  norm          19.616        13.254       -.37582E-07    .30765E-05
  16  Prefactor     .10000E-03    3.5855        .94516E-07** at limit **
  17  norm          .10000E-03    1.0969       -.24767E-07** at limit **
  18  Prefactor     .10000E-03    4.4723        .14383E-07** at limit **
  19  Prefactor     33.807        31.087        .14620E-05   -.59115E-06
  20  Prefactor     .10000E-03    33.749       -.59295E-05** at limit **
  21  Prefactor     .10000E-03    3.3354        .95635E-07** at limit **
  22  Normalizat    .97229        .22371       -.77544E-07   -.16297E-04
  23  Prefactor     1.1060        .11125        .11795E-06   -.47700E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 2.54057
  norm       = 1.52564
  Prefactor  = 0.0001
  Prefactor  = 9.49286
  Prefactor  = 0.0001
  Prefactor  = 0.505307
  Prefactor  = 8.51042
  Prefactor  = 0.0001
  norm       = 0.677868
  Prefactor  = 12.1936
  Prefactor  = 6.48389
  Prefactor  = 9.45821
  norm       = 0.0001
  norm       = 19.616
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.8067
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.972293
  Prefactor  = 1.10596
 **********
 **   18 **HESSE 
 **********

 FCN=   7635.443     FROM HESSE     STATUS=OK           374 CALLS     2961 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    29.448        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.5406        5.9839        .12811E-02   -1.5389    
   3  norm          1.5256        1.2811        .85050E-04   -1.5461    
   4  Prefactor     .10000E-03    20.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.4929        16.639        .13007E-03   -1.5092    
   6  Prefactor     .10000E-03    7.3648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .50531        24.342        .39839E-02   -1.5566    
   8  Prefactor     8.5104        11.411        .13742E-03   -1.5124    
   9  Prefactor     .10000E-03    15.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .67787        1.5448        .15337E-03   -1.5543    
  11  Prefactor     12.194        24.032        .11471E-03   -1.5009    
  12  Prefactor     6.4839        11.007        .15762E-03   -1.5199    
  13  Prefactor     9.4582        18.749        .13028E-03   -1.5093    
  14  norm          .10000E-03    5.4890        .26774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          19.616        13.244        .90430E-04   -1.4822    
  16  Prefactor     .10000E-03    3.5910        .16158E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.5345        .17751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.4728        .18048E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     33.807        31.167        .68921E-04   -1.4544    
  20  Prefactor     .10000E-03    33.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.3475        .15584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .97229        .25586        .36022E-03   -.93965    
  23  Prefactor     1.1060        .12817        .17322E-03   -.89276    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.04798e-08
Minuit parameter uncertainties:
  1  9.90765e-05
  2  5.98526
  3  1.28108
  4  3.88577e-06
  5  16.6471
  6  2.72788e-07
  7  7.01671
  8  11.414
  9  1.06818e-06
  10  1.54494
  11  24.0512
  12  11.0105
  13  18.7608
  14  1.699e-05
  15  13.246
  16  9.08674e-07
  17  4.75583e-06
  18  4.69329e-07
  19  31.1818
  20  1.27433e-05
  21  1.28764e-06
  22  0.256186
  23  0.128204
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  9.087e-07  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:  1.106e+00  1.282e-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.723e-01  2.562e-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: 5.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/68797/likelihoodResults_673747201_674006401_4FGL_J2324.6+3115_daily_bin1676.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) = 7635.444202
delta logL = -0.00132134143314

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7635.44288035
delta logL = 3.17026206176e-07

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 'Index     '    2.8518       1.0000          .0000       10.000    
     3 'Normalizat'    .97230       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1060       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=   7635.402     FROM MIGRAD    STATUS=FAILED       175 CALLS      330 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94868        146.91        .16541E-01    .13904E-02
   2  Index         1.2050        7.6064        .27708        .92126E-04
   3  Normalizat    .97427        .37501E-01    .36022E-03    .59966E-06
   4  Prefactor     1.1038        .19288E-01    .17322E-03    .65630E-07
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7635.402     FROM SIMPLEX   STATUS=UNCHANGED     95 CALLS      425 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94868        146.91        .16349E-03    .13904E-02
   2  Index         1.2050        7.6064        .18618E-02    .92126E-04
   3  Normalizat    .97427        .37501E-01    .41903E-04    .59966E-06
   4  Prefactor     1.1038        .19288E-01    .39075E-04    .65630E-07
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7635.402     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      464 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94868        8.8479         .0000        .53462E-04
   2  Index         1.2050        1.4300         .0000        .37062E-03
   3  Normalizat    .97427        .24286         .0000        .63122E-06
   4  Prefactor     1.1038        .12484         .0000        .65630E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.948676
  Index      = 1.20505
  Normalizat = 0.974268
  Prefactor  = 1.10383
 **********
 **   18 **HESSE 
 **********

 FCN=   7635.402     FROM HESSE     STATUS=OK            25 CALLS      489 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94868        5.6430        .64365E-04   -1.5513    
   2  Index         1.2050        1.1590        .30438E-02   -2.2798    
   3  Normalizat    .97427        .24286        .28817E-05   -.93898    
   4  Prefactor     1.1038        .12480        .69290E-05   -.89344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65464e-11
Minuit parameter uncertainties:
  1  4.6279
  2  1.18499
  3  0.243137
  4  0.124829
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/68797': 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) = 7635.40214805
delta logL = 0.0407326162303

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  9.487e-01  4.628e+00  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  1.205e+00  1.185e+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:  1.104e+00  1.248e-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.743e-01  2.431e-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/68797/cmap_HighResolution_673747201_674006401_4FGL_J2324.6+3115_daily_bin1676.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.68e-03', job_status='DONE', photon_flux_upper_limit='5.89e-08', time_completed='2022-05-12 01:44:33.379371', job_id='68797', GAL2='1.10', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1652345073.38', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='4.07e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='1676' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 12 01:44:33 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 68797: <4FGL_J2324.6+3115_daily_bin1676> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin1676> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu May 12 01:30:28 2022
Job was executed on host(s) <bullet0022>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu May 12 01:30:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu May 12 01:30:51 2022
Terminated at Thu May 12 01:44:34 2022
Results reported at Thu May 12 01:44:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin1676 351.17 31.2573 673747201 674006401 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 :                                   784.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             342.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            846 sec.

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

