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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin1697
RA = 351.17, Dec = 31.2573
tmin = 679190401, tmax = 679449601
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='857751', job_status='RUN', time_executed='2022-07-14 00:37:27.902080', time_epoch_executed='1657784247.9' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='1697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/857751

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/857751/ft1_4FGL_J2324.6+3115_daily_bin1697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/857751/ft2_4FGL_J2324.6+3115_daily_bin1697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/857751/ft1_4FGL_J2324.6+3115_daily_bin1697.fits outfile=/scratch/kocevski/857751/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1697.fits ra=351.17 dec=31.2573 rad=12.0 tmin=679190401.0 tmax=679449601.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.45
user 3.22
sys 0.20

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

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

Number of photons that the gtmktime cut: 808

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/857751/ft1_filtered_4FGL_J2324.6+3115_daily_bin1697.fits" evtable="EVENTS" scfile=/scratch/kocevski/857751/ft2_4FGL_J2324.6+3115_daily_bin1697.fits sctable="SC_DATA" outfile=/scratch/kocevski/857751/ltcube_679190401_679449601_4FGL_J2324.6+3115_daily_bin1697.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/857751/ft2_4FGL_J2324.6+3115_daily_bin1697.fits
.....................!
real 12.84
user 12.49
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/857751/ft1_filtered_4FGL_J2324.6+3115_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857751/ft2_4FGL_J2324.6+3115_daily_bin1697.fits sctable="SC_DATA" expcube=/scratch/kocevski/857751/ltcube_679190401_679449601_4FGL_J2324.6+3115_daily_bin1697.fits outfile=/scratch/kocevski/857751/expmap_679190401_679449601_4FGL_J2324.6+3115_daily_bin1697.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/857751/ltcube_679190401_679449601_4FGL_J2324.6+3115_daily_bin1697.fits
.....................!
real 193.36
user 187.69
sys 5.30

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/857751/ft1_filtered_4FGL_J2324.6+3115_daily_bin1697.fits scfile=/scratch/kocevski/857751/ft2_4FGL_J2324.6+3115_daily_bin1697.fits outfile=/scratch/kocevski/857751/cmap_679190401_679449601_4FGL_J2324.6+3115_daily_bin1697.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.56
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/857751/ft1_filtered_4FGL_J2324.6+3115_daily_bin1697.fits scfile=/scratch/kocevski/857751/ft2_4FGL_J2324.6+3115_daily_bin1697.fits outfile=/scratch/kocevski/857751/cmap_HighResolution_679190401_679449601_4FGL_J2324.6+3115_daily_bin1697.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.783       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.5066       1.0000         .10000E-03   10000.    
     3 'norm      '    1.5376       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.5044       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.8538       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10504E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.6205       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.802       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .62113E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .17939E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    9.5548       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.9742       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .81974       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93653       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=   8757.890     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     2211 TOTAL
                     EDM=   .90E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.790        15.320        .22626E-05   -.63071E-05
   2  Prefactor     7.5087        6.2555        .43964E-05   -.20683E-03
   3  norm          1.5378        .96933        .79907E-07   -.33781E-03
   4  Prefactor     .10000E-03    20.292        .16292E-05** at limit **
   5  Prefactor     6.5074        14.663       -.17275E-05   -.47818E-04
   6  Prefactor     .10000E-03    8.6420       -.18380E-06** at limit **
   7  Prefactor     .10000E-03    1.7181        .36739E-07** at limit **
   8  Prefactor     6.8566        8.4849        .25358E-05   -.11025E-03
   9  Prefactor     .10000E-03    27.417       -.24222E-05** at limit **
  10  norm          2.6203        1.3297        .48662E-07   -.48059E-03
  11  Prefactor     11.798        17.106        .24545E-05   -.44211E-04
  12  Prefactor     .11335        5.3748        .37008E-06   -.59429E-04
  13  Prefactor     .10000E-03    20.373        .42595E-05** at limit **
  14  norm          .10000E-03    2.5093        .24933E-07** at limit **
  15  norm          9.5524        8.6593       -.19302E-05   -.42729E-04
  16  Prefactor     .10000E-03    6.8021        .61606E-06** at limit **
  17  norm          1.9723        1.9465       -.64696E-07   -.52170E-03
  18  Prefactor     .10000E-03    3.5785        .12453E-06** at limit **
  19  Prefactor     .10000E-03    7.4722       -.24965E-06** at limit **
  20  Prefactor     .10000E-03    19.667       -.39166E-05** at limit **
  21  Prefactor     .10000E-03    3.5355       -.26563E-06** at limit **
  22  Normalizat    .81968        .17539       -.28105E-05   -.36687E-04
  23  Prefactor     .93644        .87250E-01    .27494E-06   -.28743E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.7905
  Prefactor  = 7.50867
  norm       = 1.5378
  Prefactor  = 0.0001
  Prefactor  = 6.5074
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.85659
  Prefactor  = 0.0001
  norm       = 2.62034
  Prefactor  = 11.7975
  Prefactor  = 0.113347
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 9.5524
  Prefactor  = 0.0001
  norm       = 1.97231
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.819676
  Prefactor  = 0.936443
 **********
 **   18 **HESSE 
 **********

 FCN=   8757.890     FROM HESSE     STATUS=OK           378 CALLS     2589 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.790        15.313        .10081E-03   -1.4913    
   2  Prefactor     7.5087        6.1962        .14638E-03   -1.5160    
   3  norm          1.5378        .96209        .69274E-04   -1.5460    
   4  Prefactor     .10000E-03    20.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.5074        14.661        .15736E-03   -1.5198    
   6  Prefactor     .10000E-03    8.6625        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.7236        .11979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.8566        8.4472        .15325E-03   -1.5184    
   9  Prefactor     .10000E-03    27.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6203        1.3218        .73101E-04   -1.5384    
  11  Prefactor     11.798        17.085        .11661E-03   -1.5021    
  12  Prefactor     .11335        10.341        .62145E-01   -1.5641    
  13  Prefactor     .10000E-03    20.474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.2964        .28574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.5524        8.6794        .12964E-03   -1.5090    
  16  Prefactor     .10000E-03    6.8280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.9723        1.9396        .12456E-03   -1.5427    
  18  Prefactor     .10000E-03    3.5801        .17290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.4780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    19.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.5806        .17169E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .81968        .20198        .33892E-03   -.99343    
  23  Prefactor     .93644        .10170        .16185E-03   -.94879    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.77809e-10
Minuit parameter uncertainties:
  1  15.3169
  2  6.19673
  3  0.962095
  4  3.85245e-06
  5  14.6687
  6  6.97685e-06
  7  1.69776e-06
  8  8.44871
  9  4.67498e-05
  10  1.32182
  11  17.0916
  12  2.16471
  13  5.73098e-07
  14  8.02554e-05
  15  8.68058
  16  8.62411e-06
  17  1.93966
  18  6.06106e-07
  19  4.68913e-06
  20  3.55179e-05
  21  1.36451e-05
  22  0.202165
  23  0.101716
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  8.624e-06  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.364e-01  1.017e-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.197e-01  2.022e-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.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/857751/likelihoodResults_679190401_679449601_4FGL_J2324.6+3115_daily_bin1697.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) = 8757.89117377
delta logL = -0.00069809606066

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8757.89047553
delta logL = 1.37533788802e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8535       1.0000          .0000       10.000    
     3 'Normalizat'    .81967       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93644       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=   8757.890     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      253 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    70.283        .18142E-01** at limit **
   2  Index         2.2411        8.8766        .50000       -.99953E-07
   3  Normalizat    .81968        .12219E-01    .33892E-03    .87817E-04
   4  Prefactor     .93644        .62467E-02    .16185E-03    .19743E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.24105
  Normalizat = 0.819676
  Prefactor  = 0.936444
 **********
 **   18 **HESSE 
 **********

 FCN=   8757.890     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      282 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    450.82        .28510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2411        7.4752        .50000       -.58451    
   3  Normalizat    .81968        .32295E-01    .13557E-04   -.99343    
   4  Prefactor     .93644        .16511E-01    .32371E-04   -.94879    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.19606e-11
Minuit parameter uncertainties:
  1  0.000306207
  2  772.365
  3  0.0322961
  4  0.0165112
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/857751': 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): 102
logL (Free Index) = 8757.8904734
delta logL = 2.27173768508e-06

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  3.062e-04  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.241e+00  7.724e+02  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.364e-01  1.651e-02  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.197e-01  3.230e-02  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/857751/cmap_HighResolution_679190401_679449601_4FGL_J2324.6+3115_daily_bin1697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.17e-03', job_status='DONE', photon_flux_upper_limit='7.76e-08', time_completed='2022-07-14 00:50:09.745515', job_id='857751', GAL2='0.94', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1657785009.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.27e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='1697' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 14 00:50:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 857751: <4FGL_J2324.6+3115_daily_bin1697> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin1697> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jul 14 00:35:57 2022
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 14 00:35:59 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 14 00:35:59 2022
Terminated at Thu Jul 14 00:50:10 2022
Results reported at Thu Jul 14 00:50:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin1697 351.17 31.2573 679190401 679449601 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 :                                   764.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             330.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            853 sec.

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

