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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1744
RA = 351.19, Dec = 8.0282
tmin = 691372801, tmax = 691632001
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='597151', job_status='RUN', time_executed='2022-12-02 02:02:07.417329', time_epoch_executed='1669975327.42' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/597151

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/597151/ft1_4FGL_J2324.7+0801_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/597151/ft2_4FGL_J2324.7+0801_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/597151/ft1_4FGL_J2324.7+0801_daily_bin1744.fits outfile=/scratch/kocevski/597151/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1744.fits ra=351.19 dec=8.0282 rad=12.0 tmin=691372801.0 tmax=691632001.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.77
user 2.33
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/597151/ft2_4FGL_J2324.7+0801_daily_bin1744.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/597151/ft2_4FGL_J2324.7+0801_daily_bin1744.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/597151/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1744.fits evtable="EVENTS" outfile="/scratch/kocevski/597151/ft1_filtered_4FGL_J2324.7+0801_daily_bin1744.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.57
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 1059

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/597151/ft1_filtered_4FGL_J2324.7+0801_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/597151/ft2_4FGL_J2324.7+0801_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/597151/ltcube_691372801_691632001_4FGL_J2324.7+0801_daily_bin1744.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/597151/ft2_4FGL_J2324.7+0801_daily_bin1744.fits
.....................!
real 12.63
user 12.23
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/597151/ft1_filtered_4FGL_J2324.7+0801_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/597151/ft2_4FGL_J2324.7+0801_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/597151/ltcube_691372801_691632001_4FGL_J2324.7+0801_daily_bin1744.fits outfile=/scratch/kocevski/597151/expmap_691372801_691632001_4FGL_J2324.7+0801_daily_bin1744.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/597151/ltcube_691372801_691632001_4FGL_J2324.7+0801_daily_bin1744.fits
.....................!
real 192.89
user 187.41
sys 4.93

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 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J2324.7+0801 @ 351.19 8.0282

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/597151/ft1_filtered_4FGL_J2324.7+0801_daily_bin1744.fits scfile=/scratch/kocevski/597151/ft2_4FGL_J2324.7+0801_daily_bin1744.fits outfile=/scratch/kocevski/597151/cmap_691372801_691632001_4FGL_J2324.7+0801_daily_bin1744.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.19 yref=8.0282 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.95
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/597151/ft1_filtered_4FGL_J2324.7+0801_daily_bin1744.fits scfile=/scratch/kocevski/597151/ft2_4FGL_J2324.7+0801_daily_bin1744.fits outfile=/scratch/kocevski/597151/cmap_HighResolution_691372801_691632001_4FGL_J2324.7+0801_daily_bin1744.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.19 yref=8.0282 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/597151/ft1_filtered_4FGL_J2324.7+0801_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/597151/ft2_4FGL_J2324.7+0801_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/597151/Model_4FGL_J2324.7+0801_daily_bin1744.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/597151/ft1_filtered_4FGL_J2324.7+0801_daily_bin1744.fits.....................!
real 109.59
user 107.74
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/597151/ft1_filtered_4FGL_J2324.7+0801_daily_bin1744.fits', '/scratch/kocevski/597151/ft2_4FGL_J2324.7+0801_daily_bin1744.fits', expMap='/scratch/kocevski/597151/expmap_691372801_691632001_4FGL_J2324.7+0801_daily_bin1744.fits', expCube='/scratch/kocevski/597151/ltcube_691372801_691632001_4FGL_J2324.7+0801_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/597151/Model_4FGL_J2324.7+0801_daily_bin1744.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.7+0801'

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  3.182e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/597151/ft1_filtered_4FGL_J2324.7+0801_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/597151/ft2_4FGL_J2324.7+0801_daily_bin1744.fits
Exposure map: /scratch/kocevski/597151/expmap_691372801_691632001_4FGL_J2324.7+0801_daily_bin1744.fits
Exposure cube: /scratch/kocevski/597151/ltcube_691372801_691632001_4FGL_J2324.7+0801_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/597151/Model_4FGL_J2324.7+0801_daily_bin1744.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) = 10532.242648

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3240       1.0000         .10000E-03   10000.    
     2 'norm      '    .33484E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    15.588       1.0000          .0000       .10000E+07
     4 'Prefactor '    .24947E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .56261E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .87190E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .33579       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.6989       1.0000          .0000       .10000E+07
     9 'Prefactor '    .38428       1.0000          .0000       .10000E+07
    10 'Prefactor '    104.57       1.0000          .0000       .10000E+07
    11 'norm      '    .17263E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .25376E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    17.818       1.0000          .0000       .10000E+07
    14 'norm      '    12.349       1.0000          .0000       .10000E+07
    15 'norm      '    13.258       1.0000          .0000       .10000E+07
    16 'Prefactor '    .83919E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .30273E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .39247E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .39716E-04   1.0000          .0000       .10000E+07
    20 'Normalizat'    .79075       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1169       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10532.24     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1627 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3239        .32851       -.10726E-06   -.55904E-02
   2  norm          .33307E-09    6.5636       -.11269E-06** at limit **
   3  Prefactor     15.470        6.2988        .21643E-07   -.59332E-01
   4  Prefactor      .0000        2.2965       -.19578E-06** at limit **
   5  Prefactor     .11102E-09    4.2860       -.13172E-06** at limit **
   6  Prefactor     .55511E-10    2.6172       -.68894E-07** at limit **
   7  norm          .33537        .66723        .22353E-07    .31703E-03
   8  Prefactor     5.6410        7.1706       -.97594E-07   -.56187E-04
   9  Prefactor     .71240E-05    68.289        .34485E-06** at limit **
  10  Prefactor     104.45        3.1844       -.26594E-08    .16110    
  11  norm           .0000        2.7566       -.15394E-06** at limit **
  12  Prefactor     .91482E-07    14.130        .26200E-06** at limit **
  13  Prefactor     17.912        8.9421       -.31327E-07    .54079E-01
  14  norm          12.349        1.2420        .25997E-08   -.42198E-01
  15  norm          13.160        5.1164        .16901E-07   -.19798E-02
  16  Prefactor     .96301E-01    1.1002       -.36102E-07** at limit **
  17  Prefactor     .14988E-07    66.451        .11774E-06** at limit **
  18  Prefactor     .38858E-09    9.6619        .18909E-06** at limit **
  19  Prefactor     .11657E-08    4.6090       -.19320E-07** at limit **
  20  Normalizat    .79117        .20925       -.43690E-05   -.22504E-03
  21  Prefactor     1.1171        .13705        .45676E-06   -.32919E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.32391
  norm       = 3.33067e-10
  Prefactor  = 15.4702
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 5.55112e-11
  norm       = 0.335373
  Prefactor  = 5.64098
  Prefactor  = 7.12402e-06
  Prefactor  = 104.45
  norm       = 0
  Prefactor  = 9.14824e-08
  Prefactor  = 17.912
  norm       = 12.3492
  norm       = 13.1605
  Prefactor  = 0.0963013
  Prefactor  = 1.4988e-08
  Prefactor  = 3.88578e-10
  Prefactor  = 1.16573e-09
  Normalizat = 0.791165
  Prefactor  = 1.11712
 **********
 **   18 **HESSE 
 **********

 FCN=   10532.24     FROM HESSE     STATUS=OK           369 CALLS     1996 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3239        .32990        .31996E-02   -1.5246    
   2  norm          .33307E-09    6.5645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.470        27.361        .25341E-03   -1.5629    
   4  Prefactor      .0000        2.3005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11102E-09    4.2877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    2.6193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .33537        .71419        .27291E-02   -1.5696    
   8  Prefactor     5.6410        7.3448        .42053E-03   -1.5660    
   9  Prefactor     .71240E-05    6.2998        .14537E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     104.45        59.793        .97796E-04   -1.5504    
  11  norm           .0000        2.7639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .91482E-07    14.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.912        24.702        .23700E-03   -1.5623    
  14  norm          12.349        11.044        .28481E-03   -1.5638    
  15  norm          13.160        22.420        .27483E-03   -1.5635    
  16  Prefactor     .96301E-01    2.3048        .91578E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .14988E-07    66.691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .38858E-09    9.7102        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .11657E-08    4.6270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .79117        .19313        .88695E-01   -1.0040    
  21  Prefactor     1.1171        .12066        .36978E-01   -.88921    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16728e-06
Minuit parameter uncertainties:
  1  0.329898
  2  9.13811e-05
  3  27.3612
  4  1.07647e-05
  5  4.08635e-05
  6  1.79459e-05
  7  0.714192
  8  7.34486
  9  0.0133985
  10  59.7932
  11  8.79911e-06
  12  0.00228926
  13  24.7019
  14  11.0439
  15  22.42
  16  0.942241
  17  0.00200109
  18  0.000119381
  19  0.000147892
  20  0.1933
  21  0.120689
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  5.641e+00  7.345e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.117e+00  1.207e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  7.912e-01  1.933e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.07
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 2.03e-08 +/- 2.64e-08
Energy Flux (Fixed Index): 8.67e-06 +/- 1.13e-05

TS (Fixed Index): 1.07
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 8.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/597151/likelihoodResults_691372801_691632001_4FGL_J2324.7+0801_daily_bin1744.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) = 10532.2265904
delta logL = 0.0131383040789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10532.2240371
delta logL = 0.0156915979842

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10532.22     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      202 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1926        8.7788        .40326E-03    .72504E-03
   2  Index         2.0285        1.1494        .25607E-01    .33304E-03
   3  Normalizat    .79665        .18521        .88420E-01    .34977E-04
   4  Prefactor     1.1155        .12026        .37026E-01   -.72832E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.19263
  Index      = 2.02846
  Normalizat = 0.79665
  Prefactor  = 1.11554
 **********
 **   18 **HESSE 
 **********

 FCN=   10532.22     FROM HESSE     STATUS=OK            29 CALLS      231 TOTAL
                     EDM=   .60E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1926        8.2995        .16130E-04   -1.5658    
   2  Index         2.0285        1.0932        .51214E-02   -.63641    
   3  Normalizat    .79665        .21033        .39168E-03   -1.0019    
   4  Prefactor     1.1155        .13714        .21916E-03   -.88972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.03611e-13
Minuit parameter uncertainties:
  1  8.29954
  2  1.10713
  3  0.210547
  4  0.13718
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/597151': 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) = 10532.224031
delta logL = 0.0156977110673

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  6.193e+00  8.300e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.028e+00  1.107e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.116e+00  1.372e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  7.966e-01  2.105e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.10
Ra Dec: 351.190 8.028
Photon Index (Free Index): 2.03 +/- 1.11
Photon Flux (Free Index): 1.54e-08 +/- 3.25e-08
Energy Flux (Free Index): 9.94e-06 +/- 1.62e-05

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/597151/cmap_HighResolution_691372801_691632001_4FGL_J2324.7+0801_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.74e-03', comment='SUCCESS', photon_flux='2.03e-08', energy_flux2='9.94e-06', photon_flux_error='2.64e-08', dlogl='1.57e-02', energy_flux='8.67e-06', photon_flux2='1.54e-08', job_status='DONE', time_completed='2022-12-02 02:14:35.331522', photon_index_error2='1.11', photon_index2='2.03', ts='1.07', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='8.83e-08', energy_flux_error2='1.62e-05', EG='0.79', time_epoch_completed='1669976075.33', return_code='0', job_id='597151', GAL2='1.12', EG2='0.80', return_code2='0', energy_flux_error='1.13e-05', photon_flux_error2='3.25e-08', ts2='1.10', photon_index='2.23' WHERE bin_id='1744' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 02:14:35 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 597151: <4FGL_J2324.7+0801_daily_bin1744> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1744> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Dec  2 02:00:29 2022
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 02:00:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 02:00:40 2022
Terminated at Fri Dec  2 02:14:37 2022
Results reported at Fri Dec  2 02:14:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1744 351.19 8.0282 691372801 691632001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.7+0801 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   742.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             370.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            848 sec.

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

