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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin1730
RA = 351.17, Dec = 31.2573
tmin = 687744001, tmax = 688003201
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='469221', job_status='RUN', time_executed='2022-10-21 00:39:02.128366', time_epoch_executed='1666337942.13' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='1730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/469221

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/469221/ft1_4FGL_J2324.6+3115_daily_bin1730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/469221/ft2_4FGL_J2324.6+3115_daily_bin1730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/469221/ft1_4FGL_J2324.6+3115_daily_bin1730.fits outfile=/scratch/kocevski/469221/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1730.fits ra=351.17 dec=31.2573 rad=12.0 tmin=687744001.0 tmax=688003201.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.91
user 4.68
sys 0.22

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

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

Number of photons that the gtmktime cut: 890

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/469221/ft1_filtered_4FGL_J2324.6+3115_daily_bin1730.fits" evtable="EVENTS" scfile=/scratch/kocevski/469221/ft2_4FGL_J2324.6+3115_daily_bin1730.fits sctable="SC_DATA" outfile=/scratch/kocevski/469221/ltcube_687744001_688003201_4FGL_J2324.6+3115_daily_bin1730.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/469221/ft2_4FGL_J2324.6+3115_daily_bin1730.fits
.....................!
real 12.06
user 11.67
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/469221/ft1_filtered_4FGL_J2324.6+3115_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/469221/ft2_4FGL_J2324.6+3115_daily_bin1730.fits sctable="SC_DATA" expcube=/scratch/kocevski/469221/ltcube_687744001_688003201_4FGL_J2324.6+3115_daily_bin1730.fits outfile=/scratch/kocevski/469221/expmap_687744001_688003201_4FGL_J2324.6+3115_daily_bin1730.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/469221/ltcube_687744001_688003201_4FGL_J2324.6+3115_daily_bin1730.fits
.....................!
real 191.40
user 185.38
sys 5.69

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/469221/ft1_filtered_4FGL_J2324.6+3115_daily_bin1730.fits scfile=/scratch/kocevski/469221/ft2_4FGL_J2324.6+3115_daily_bin1730.fits outfile=/scratch/kocevski/469221/cmap_687744001_688003201_4FGL_J2324.6+3115_daily_bin1730.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/469221/ft1_filtered_4FGL_J2324.6+3115_daily_bin1730.fits scfile=/scratch/kocevski/469221/ft2_4FGL_J2324.6+3115_daily_bin1730.fits outfile=/scratch/kocevski/469221/cmap_HighResolution_687744001_688003201_4FGL_J2324.6+3115_daily_bin1730.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.087       1.0000          .0000       .10000E+07
     2 'Prefactor '    .17876E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .79270E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .60342E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    8.0270       1.0000          .0000       .10000E+07
     6 'Prefactor '    6.8807       1.0000          .0000       .10000E+07
     7 'norm      '    .93897       1.0000          .0000       .10000E+07
     8 'Prefactor '    19.123       1.0000          .0000       .10000E+07
     9 'Prefactor '    .49173E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .80873       1.0000          .0000       .10000E+07
    11 'norm      '    .60785E-07   1.0000          .0000       .10000E+07
    12 'norm      '    .62018E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    18.661       1.0000          .0000       .10000E+07
    14 'norm      '    .96196       1.0000          .0000       .10000E+07
    15 'Prefactor '    .14022E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .11257E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .67751E-01   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.4220       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .87783       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=   9332.686     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1417 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.048        5.5283        .42721E-07    .29044E-01
   2  Prefactor      .0000        2.1341        .23901E-07** at limit **
   3  norm           .0000        .64028       -.24337E-07** at limit **
   4  Prefactor      .0000        5.2588        .11104E-07** at limit **
   5  Prefactor     8.0950        6.1251        .43817E-07    .52259E-03
   6  Prefactor     6.8341        3.2911        .79159E-07   -.36857E-02
   7  norm          .93904        1.2381        .40665E-07    .11359E-02
   8  Prefactor     19.162        8.2859       -.14825E-06    .38576E-01
   9  Prefactor      .0000        3.3011        .11586E-07** at limit **
  10  Prefactor     .19025E-01    5647.7        .85341E-05** at limit **
  11  norm           .0000        2.3682        .81962E-08** at limit **
  12  norm           .0000        3.4282       -.10679E-06** at limit **
  13  Prefactor     18.749        12.175       -.19249E-06   -.12713E-01
  14  norm          .96281        .99991       -.17722E-08    .23583E-03
  15  Prefactor     .55511E-10    9.4384       -.27000E-06** at limit **
  16  Prefactor     .44409E-09    11.169        .94876E-07** at limit **
  17  Prefactor     .80338E-01    39.820       -.32189E-06** at limit **
  18  Normalizat    1.4220        .22237        .61191E-06   -.79582E-04
  19  Prefactor     .87806        .11039       -.17892E-06   -.12665E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 20.048
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 8.09505
  Prefactor  = 6.83407
  norm       = 0.939044
  Prefactor  = 19.1622
  Prefactor  = 0
  Prefactor  = 0.0190253
  norm       = 0
  norm       = 0
  Prefactor  = 18.7489
  norm       = 0.962808
  Prefactor  = 5.55112e-11
  Prefactor  = 4.44089e-10
  Prefactor  = 0.0803382
  Normalizat = 1.42197
  Prefactor  = 0.878059
 **********
 **   18 **HESSE 
 **********

 FCN=   9332.686     FROM HESSE     STATUS=OK           318 CALLS     1735 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.048        14.649        .22319E-03   -1.5618    
   2  Prefactor      .0000        2.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .63008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        5.2626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.0950        6.1368        .35365E-03   -1.5651    
   6  Prefactor     6.8341        16.560        .38224E-03   -1.5656    
   7  norm          .93904        1.2515        .43102E-03   -1.5689    
   8  Prefactor     19.162        17.347        .22876E-03   -1.5620    
   9  Prefactor      .0000        3.3312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19025E-01    26.691        .99909E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        2.3636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        3.4585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.749        15.232        .23158E-03   -1.5621    
  14  norm          .96281        .99364        .42414E-03   -1.5688    
  15  Prefactor     .55511E-10    9.5959        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .44409E-09    11.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .80338E-01    2.4334        .81712E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.4220        .19070        .68667E-01   -.79995    
  19  Prefactor     .87806        .93864E-01    .44722E-01   -.96912    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60771e-08
Minuit parameter uncertainties:
  1  14.6489
  2  3.21831e-06
  3  4.31981e-07
  4  1.32654e-06
  5  6.13676
  6  16.5599
  7  1.25152
  8  17.347
  9  7.3889e-06
  10  1.42522
  11  2.51785e-06
  12  2.8261e-06
  13  15.2316
  14  0.993642
  15  3.53709e-05
  16  0.000144195
  17  0.884305
  18  0.190793
  19  0.0938815
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.875e+01  1.523e+01  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:  8.781e-01  9.388e-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.422e+00  1.908e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.07
Ra Dec: 351.170 31.257
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 6.03e-08 +/- 4.89e-08
Energy Flux (Fixed Index): 1.29e-05 +/- 1.05e-05

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

Saving results to:
/scratch/kocevski/469221/likelihoodResults_687744001_688003201_4FGL_J2324.6+3115_daily_bin1730.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) = 9332.34198481
delta logL = 0.344152664429

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9332.26329836
delta logL = 0.422839121164

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9332.263     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      341 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .73775E-01    .61880        .37530E-03** at limit **
   2  Index         7.9149        3.2699        .25229        .13900E-03
   3  Normalizat    1.3563        .47758E-01    .70007E-01    .11992E-03
   4  Prefactor     .90923        .23883E-01    .45128E-01    .16968E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0737748
  Index      = 7.91493
  Normalizat = 1.35631
  Prefactor  = 0.909233
 **********
 **   18 **HESSE 
 **********

 FCN=   9332.263     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      376 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .73775E-01    1.6045        .17115E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.9149        8.6934        .10178E-01    .62240    
   3  Normalizat    1.3563        .17027        .30974E-03   -.81901    
   4  Prefactor     .90923        .83311E-01    .18391E-03   -.95819    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.19534e-11
Minuit parameter uncertainties:
  1  0.688095
  2  7.0258
  3  0.170341
  4  0.0833231
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/469221': 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) = 9332.26328542
delta logL = 0.422852053181

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  7.377e-02  6.881e-01  0.000e+00  1.000e+06 ( 1.000e-12)
451        Index:  7.915e+00  7.026e+00  0.000e+00  1.000e+01 (-1.000e+00)
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  9.092e-01  8.332e-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.356e+00  1.703e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.11
Ra Dec: 351.170 31.257
Photon Index (Free Index): 7.91 +/- 7.03
Photon Flux (Free Index): 8.63e-08 +/- 5.92e-08
Energy Flux (Free Index): 1.00e-05 +/- 7.82e-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/469221/cmap_HighResolution_687744001_688003201_4FGL_J2324.6+3115_daily_bin1730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.25e-02', comment='SUCCESS', photon_flux='6.03e-08', energy_flux2='1.00e-05', photon_flux_error='4.89e-08', dlogl='4.23e-01', energy_flux='1.29e-05', photon_flux2='8.63e-08', job_status='DONE', time_completed='2022-10-21 00:50:20.003557', photon_index_error2='7.03', photon_index2='7.91', ts='2.07', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.57e-07', energy_flux_error2='7.82e-06', EG='1.42', time_epoch_completed='1666338620.0', return_code='0', job_id='469221', GAL2='0.91', EG2='1.36', return_code2='102', energy_flux_error='1.05e-05', photon_flux_error2='5.92e-08', ts2='3.11', photon_index='2.88' WHERE bin_id='1730' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct 21 00:50:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 469221: <4FGL_J2324.6+3115_daily_bin1730> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin1730> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Oct 21 00:35:31 2022
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct 21 00:35:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct 21 00:35:32 2022
Terminated at Fri Oct 21 00:50:21 2022
Results reported at Fri Oct 21 00:50:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin1730 351.17 31.2573 687744001 688003201 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 :                                   680.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             259.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            890 sec.

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

