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 157 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin1745
RA = 351.17, Dec = 31.2573
tmin = 691632001, tmax = 691891201
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='658813', job_status='RUN', time_executed='2022-12-05 01:33:15.256006', time_epoch_executed='1670232795.26' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/658813

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/658813/ft1_4FGL_J2324.6+3115_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/658813/ft2_4FGL_J2324.6+3115_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/658813/ft1_4FGL_J2324.6+3115_daily_bin1745.fits outfile=/scratch/kocevski/658813/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1745.fits ra=351.17 dec=31.2573 rad=12.0 tmin=691632001.0 tmax=691891201.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 2.37
user 2.17
sys 0.19

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

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

Number of photons that the gtmktime cut: 1044

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/658813/ft1_filtered_4FGL_J2324.6+3115_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/658813/ft2_4FGL_J2324.6+3115_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/658813/ltcube_691632001_691891201_4FGL_J2324.6+3115_daily_bin1745.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/658813/ft2_4FGL_J2324.6+3115_daily_bin1745.fits
.....................!
real 12.69
user 12.33
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/658813/ft1_filtered_4FGL_J2324.6+3115_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/658813/ft2_4FGL_J2324.6+3115_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/658813/ltcube_691632001_691891201_4FGL_J2324.6+3115_daily_bin1745.fits outfile=/scratch/kocevski/658813/expmap_691632001_691891201_4FGL_J2324.6+3115_daily_bin1745.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/658813/ltcube_691632001_691891201_4FGL_J2324.6+3115_daily_bin1745.fits
.....................!
real 190.23
user 184.85
sys 4.91

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/658813/ft1_filtered_4FGL_J2324.6+3115_daily_bin1745.fits scfile=/scratch/kocevski/658813/ft2_4FGL_J2324.6+3115_daily_bin1745.fits outfile=/scratch/kocevski/658813/cmap_691632001_691891201_4FGL_J2324.6+3115_daily_bin1745.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.38
sys 0.14

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

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/658813/ft1_filtered_4FGL_J2324.6+3115_daily_bin1745.fits', '/scratch/kocevski/658813/ft2_4FGL_J2324.6+3115_daily_bin1745.fits', expMap='/scratch/kocevski/658813/expmap_691632001_691891201_4FGL_J2324.6+3115_daily_bin1745.fits', expCube='/scratch/kocevski/658813/ltcube_691632001_691891201_4FGL_J2324.6+3115_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/658813/Model_4FGL_J2324.6+3115_daily_bin1745.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  0.000e+00  1.000e+06 ( 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/658813/ft1_filtered_4FGL_J2324.6+3115_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/658813/ft2_4FGL_J2324.6+3115_daily_bin1745.fits
Exposure map: /scratch/kocevski/658813/expmap_691632001_691891201_4FGL_J2324.6+3115_daily_bin1745.fits
Exposure cube: /scratch/kocevski/658813/ltcube_691632001_691891201_4FGL_J2324.6+3115_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/658813/Model_4FGL_J2324.6+3115_daily_bin1745.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) = 10904.1296827

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.763       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.7859       1.0000          .0000       .10000E+07
     3 'norm      '    3.0223       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.4172       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.4467       1.0000          .0000       .10000E+07
     6 'Prefactor '    .29609E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .62545E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    8.5617       1.0000          .0000       .10000E+07
     9 'Prefactor '    .23050E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    532.99       1.0000          .0000       .10000E+07
    11 'norm      '    .18957E-06   1.0000          .0000       .10000E+07
    12 'norm      '    8.9562       1.0000          .0000       .10000E+07
    13 'Prefactor '    .45532E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .28089E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .27412E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .17351E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .30582E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.3171       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .90467       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10904.10     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     1528 TOTAL
                     EDM=   .26E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.641        18.924       -.28748E-07    .74839E-04
   2  Prefactor     6.6342        10.411       -.53170E-08    .40666E-05
   3  norm          3.0221        1.0343        .92690E-09   -.45353E-04
   4  Prefactor     6.5434        8.2286       -.90852E-07    .62445E-04
   5  Prefactor     4.4470        4.3455        .99494E-07   -.93861E-04
   6  Prefactor      .0000        5.6509       -.79303E-07** at limit **
   7  norm          .61371E-01    2.2004       -.25726E-07** at limit **
   8  Prefactor     9.0065        29.014       -.26967E-07   -.85082E-03
   9  Prefactor      .0000        7.3231       -.12089E-06** at limit **
  10  Prefactor     532.40        17.028       -.17638E-08    .42807E-01
  11  norm           .0000        1.0270       -.41398E-07** at limit **
  12  norm          9.0388        8.8996        .74395E-07   -.51737E-04
  13  Prefactor     .26340E-06    235.46       -.36108E-07** at limit **
  14  norm           .0000        1.2474        .21921E-07** at limit **
  15  Prefactor     .55511E-10    26.830        .18261E-06** at limit **
  16  Prefactor     .99365E-08    208.40       -.19274E-07** at limit **
  17  Prefactor      .0000        9.2360        .33287E-07** at limit **
  18  Normalizat    1.3176        .23937       -.50377E-06   -.36008E-05
  19  Prefactor     .90448        .11250       -.21839E-06   -.63723E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 15.6413
  Prefactor  = 6.63424
  norm       = 3.02207
  Prefactor  = 6.54341
  Prefactor  = 4.447
  Prefactor  = 0
  norm       = 0.0613711
  Prefactor  = 9.00649
  Prefactor  = 0
  Prefactor  = 532.402
  norm       = 0
  norm       = 9.03881
  Prefactor  = 2.634e-07
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 9.9365e-09
  Prefactor  = 0
  Normalizat = 1.31758
  Prefactor  = 0.904475
 **********
 **   18 **HESSE 
 **********

 FCN=   10904.10     FROM HESSE     STATUS=OK           314 CALLS     1842 TOTAL
                     EDM=   .78E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.641        18.968        .25200E-03   -1.5629    
   2  Prefactor     6.6342        10.379        .38493E-03   -1.5656    
   3  norm          3.0221        1.0373        .58349E-04   -1.5673    
   4  Prefactor     6.5434        8.2371        .39597E-03   -1.5657    
   5  Prefactor     4.4470        4.3424        .47729E-03   -1.5666    
   6  Prefactor      .0000        5.6706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .61371E-01    .57518        .26312E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.0065        30.992        .34235E-03   -1.5648    
   9  Prefactor      .0000        7.3392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     532.40        68.426        .43327E-04   -1.5246    
  11  norm           .0000        1.0404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.0388        8.9192        .33467E-03   -1.5648    
  13  Prefactor     .26340E-06    16.230        .78892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.2414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    26.895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .99365E-08    210.82        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        9.2515        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.3176        .20657        .80216E-01   -.83043    
  19  Prefactor     .90448        .95830E-01    .45065E-01   -.95985    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.78449e-08
Minuit parameter uncertainties:
  1  18.9685
  2  10.3787
  3  1.03727
  4  8.23707
  5  4.34245
  6  5.71062e-06
  7  0.375762
  8  30.9928
  9  4.26787e-06
  10  68.4263
  11  7.43253e-07
  12  8.91916
  13  0.00413506
  14  7.47226e-07
  15  6.54267e-05
  16  0.00289765
  17  1.74022e-06
  18  0.206702
  19  0.0958475
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.634e-07  4.135e-03  0.000e+00  1.000e+06 ( 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.045e-01  9.585e-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:  1.318e+00  2.067e-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: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/658813/likelihoodResults_691632001_691891201_4FGL_J2324.6+3115_daily_bin1745.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): 0
logL (Free Index) = 10904.1007408
delta logL = -0.0040516818317

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10904.0966987
delta logL = -9.56953954301e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10904.10     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      230 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44076E-07    256.87       -.25515E-04** at limit **
   2  Index         2.7799        3.3004        .13476E-04   -.64791E-09
   3  Normalizat    1.3176        .22629       -.22124E-04   -.31193E-03
   4  Prefactor     .90447        .10973       -.15982E-05   -.85883E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.40759e-08
  Index      = 2.77991
  Normalizat = 1.31758
  Prefactor  = 0.904474
 **********
 **   18 **HESSE 
 **********

 FCN=   10904.10     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      269 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44076E-07    20.295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7799        6.1884        .50000       -.46008    
   3  Normalizat    1.3176        .15123E-02    .80216E-01   -.83043    
   4  Prefactor     .90447        .73267E-03    .45068E-01   -.95985    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.70245e-11
Minuit parameter uncertainties:
  1  0.00189162
  2  3071.43
  3  0.00151234
  4  0.000732666
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/658813': 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) = 10904.0966891
delta logL = 2.61934474111e-10

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  4.408e-08  1.892e-03  0.000e+00  1.000e+06 ( 1.000e-12)
451        Index:  2.780e+00  3.071e+03  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.045e-01  7.327e-04  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:  1.318e+00  1.512e-03  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/658813/cmap_HighResolution_691632001_691891201_4FGL_J2324.6+3115_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.02e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2022-12-05 01:45:27.537731', job_id='658813', GAL2='0.90', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1670233527.54', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='1745' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 01:45:27 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 658813: <4FGL_J2324.6+3115_daily_bin1745> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin1745> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Dec  5 01:30:27 2022
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 01:30:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 01:30:29 2022
Terminated at Mon Dec  5 01:45:28 2022
Results reported at Mon Dec  5 01:45:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin1745 351.17 31.2573 691632001 691891201 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 :                                   734.18 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             287.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            901 sec.

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

