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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1732
RA = 351.19, Dec = 8.0282
tmin = 688262401, tmax = 688521601
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='647732', job_status='RUN', time_executed='2022-10-27 00:36:52.433940', time_epoch_executed='1666856212.43' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647732

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647732/ft1_4FGL_J2324.7+0801_daily_bin1732.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647732/ft2_4FGL_J2324.7+0801_daily_bin1732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647732/ft1_4FGL_J2324.7+0801_daily_bin1732.fits outfile=/scratch/kocevski/647732/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1732.fits ra=351.19 dec=8.0282 rad=12.0 tmin=688262401.0 tmax=688521601.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.52
user 3.27
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/647732/ft2_4FGL_J2324.7+0801_daily_bin1732.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/647732/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1732.fits evtable="EVENTS" outfile="/scratch/kocevski/647732/ft1_filtered_4FGL_J2324.7+0801_daily_bin1732.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.34
sys 0.14

Number of photons that the gtmktime cut: 679

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647732/ft1_filtered_4FGL_J2324.7+0801_daily_bin1732.fits" evtable="EVENTS" scfile=/scratch/kocevski/647732/ft2_4FGL_J2324.7+0801_daily_bin1732.fits sctable="SC_DATA" outfile=/scratch/kocevski/647732/ltcube_688262401_688521601_4FGL_J2324.7+0801_daily_bin1732.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/647732/ft2_4FGL_J2324.7+0801_daily_bin1732.fits
.....................!
real 11.86
user 11.51
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647732/ft1_filtered_4FGL_J2324.7+0801_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647732/ft2_4FGL_J2324.7+0801_daily_bin1732.fits sctable="SC_DATA" expcube=/scratch/kocevski/647732/ltcube_688262401_688521601_4FGL_J2324.7+0801_daily_bin1732.fits outfile=/scratch/kocevski/647732/expmap_688262401_688521601_4FGL_J2324.7+0801_daily_bin1732.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/647732/ltcube_688262401_688521601_4FGL_J2324.7+0801_daily_bin1732.fits
.....................!
real 192.65
user 187.36
sys 4.78

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/647732/ft1_filtered_4FGL_J2324.7+0801_daily_bin1732.fits scfile=/scratch/kocevski/647732/ft2_4FGL_J2324.7+0801_daily_bin1732.fits outfile=/scratch/kocevski/647732/cmap_688262401_688521601_4FGL_J2324.7+0801_daily_bin1732.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647732/ft1_filtered_4FGL_J2324.7+0801_daily_bin1732.fits scfile=/scratch/kocevski/647732/ft2_4FGL_J2324.7+0801_daily_bin1732.fits outfile=/scratch/kocevski/647732/cmap_HighResolution_688262401_688521601_4FGL_J2324.7+0801_daily_bin1732.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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/647732/ft1_filtered_4FGL_J2324.7+0801_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647732/ft2_4FGL_J2324.7+0801_daily_bin1732.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/647732/Model_4FGL_J2324.7+0801_daily_bin1732.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/647732/ft1_filtered_4FGL_J2324.7+0801_daily_bin1732.fits.....................!
real 79.55
user 78.25
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/647732/ft1_filtered_4FGL_J2324.7+0801_daily_bin1732.fits', '/scratch/kocevski/647732/ft2_4FGL_J2324.7+0801_daily_bin1732.fits', expMap='/scratch/kocevski/647732/expmap_688262401_688521601_4FGL_J2324.7+0801_daily_bin1732.fits', expCube='/scratch/kocevski/647732/ltcube_688262401_688521601_4FGL_J2324.7+0801_daily_bin1732.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/647732/Model_4FGL_J2324.7+0801_daily_bin1732.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/647732/ft1_filtered_4FGL_J2324.7+0801_daily_bin1732.fits
Spacecraft file(s): /scratch/kocevski/647732/ft2_4FGL_J2324.7+0801_daily_bin1732.fits
Exposure map: /scratch/kocevski/647732/expmap_688262401_688521601_4FGL_J2324.7+0801_daily_bin1732.fits
Exposure cube: /scratch/kocevski/647732/ltcube_688262401_688521601_4FGL_J2324.7+0801_daily_bin1732.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/647732/Model_4FGL_J2324.7+0801_daily_bin1732.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) = 7224.92020866

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5989       1.0000         .10000E-03   10000.    
     2 'norm      '    .57929       1.0000          .0000       .10000E+07
     3 'Prefactor '    .15149E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .44248       1.0000          .0000       .10000E+07
     5 'Prefactor '    50.334       1.0000          .0000       .10000E+07
     6 'Prefactor '    .51762E-05   1.0000          .0000       .10000E+07
     7 'norm      '    1.6045       1.0000          .0000       .10000E+07
     8 'Prefactor '    .25417E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.8909       1.0000          .0000       .10000E+07
    10 'Prefactor '    31.929       1.0000          .0000       .10000E+07
    11 'norm      '    5.9307       1.0000          .0000       .10000E+07
    12 'Prefactor '    .16693E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    11.654       1.0000          .0000       .10000E+07
    14 'norm      '    .15313E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .13313E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.1669       1.0000          .0000       .10000E+07
    17 'Prefactor '    .58080E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    22.209       1.0000          .0000       .10000E+07
    19 'Prefactor '    .73976E-04   1.0000          .0000       .10000E+07
    20 'Normalizat'    .86685       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .90606       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=   7224.875     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1705 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6003        .34175       -.15343E-06    .82234E-03
   2  norm          .52789E-04    209.70        .15586E-04** at limit **
   3  Prefactor     .99920E-09    13.555       -.20544E-05** at limit **
   4  Prefactor     .50161        22.324        .51227E-06   -.85363E-05
   5  Prefactor     50.840        16.588       -.20774E-06    .10555    
   6  Prefactor     .63727E-07    10.597       -.38246E-05** at limit **
   7  norm          1.5992        1.3286        .51484E-07   -.17516E-02
   8  Prefactor      .0000        6.3982        .15717E-06** at limit **
   9  Prefactor     10.302        16.540        .32346E-05    .61788E-01
  10  Prefactor     39.376        62.923        .10621E-05   -.30955E-02
  11  norm          5.9978        7.4246       -.19103E-06    .34511E-02
  12  Prefactor     .39024E-07    10.533        .79577E-07** at limit **
  13  Prefactor     11.842        6.4174       -.12007E-05   -.34009E-01
  14  norm           .0000        3.9451        .84875E-06** at limit **
  15  norm          .12779E-06    21.097        .84179E-06** at limit **
  16  Prefactor     7.2189        6.4682       -.10509E-05    .10619E-02
  17  Prefactor     .27838E-05    45.786       -.19653E-05** at limit **
  18  Prefactor     23.093        15.883       -.52109E-06    .53687E-01
  19  Prefactor     .55511E-10    2.7081       -.54443E-06** at limit **
  20  Normalizat    .86082        .25030       -.99531E-05   -.67691E-05
  21  Prefactor     .90648        .14939        .13558E-04   -.16395E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.60026
  norm       = 5.2789e-05
  Prefactor  = 9.99201e-10
  Prefactor  = 0.501613
  Prefactor  = 50.8403
  Prefactor  = 6.37268e-08
  norm       = 1.59922
  Prefactor  = 0
  Prefactor  = 10.3024
  Prefactor  = 39.3756
  norm       = 5.99776
  Prefactor  = 3.90243e-08
  Prefactor  = 11.8424
  norm       = 0
  norm       = 1.27787e-07
  Prefactor  = 7.21886
  Prefactor  = 2.78377e-06
  Prefactor  = 23.0926
  Prefactor  = 5.55112e-11
  Normalizat = 0.860822
  Prefactor  = 0.906478
 **********
 **   18 **HESSE 
 **********

 FCN=   7224.875     FROM HESSE     STATUS=OK           369 CALLS     2074 TOTAL
                     EDM=   .67E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6003        .34325        .33110E-02   -1.5328    
   2  norm          .52789E-04    14.324        .99660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .99920E-09    13.570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .50161        4.3255        .84722E-02   -1.5694    
   5  Prefactor     50.840        29.196        .14096E-03   -1.5565    
   6  Prefactor     .63727E-07    10.616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.5992        1.3500        .83635E-03   -1.5683    
   8  Prefactor      .0000        6.3709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.302        21.652        .31838E-03   -1.5644    
  10  Prefactor     39.376        62.873        .17700E-03   -1.5582    
  11  norm          5.9978        7.5561        .41211E-03   -1.5659    
  12  Prefactor     .39024E-07    10.534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.842        21.594        .29320E-03   -1.5639    
  14  norm           .0000        3.9524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .12779E-06    21.495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.2189        6.4771        .37445E-03   -1.5654    
  17  Prefactor     .27838E-05    48.893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     23.093        28.990        .21225E-03   -1.5612    
  19  Prefactor     .55511E-10    2.7045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .86082        .22170        .79003E-01   -.97851    
  21  Prefactor     .90648        .12744        .45082E-01   -.95915    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.70577e-07
Minuit parameter uncertainties:
  1  0.343248
  2  0.0549959
  3  0.000235094
  4  2.946
  5  29.1963
  6  0.00164475
  7  1.35
  8  2.63462e-05
  9  21.6526
  10  62.8745
  11  7.55611
  12  0.00128239
  13  21.594
  14  3.79594e-06
  15  0.00331431
  16  6.47707
  17  0.0233331
  18  28.9898
  19  1.89036e-05
  20  0.221931
  21  0.12748
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  2.635e-05  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:  9.065e-01  1.275e-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:  8.608e-01  2.219e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/647732/likelihoodResults_688262401_688521601_4FGL_J2324.7+0801_daily_bin1732.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) = 7224.954621
delta logL = -0.0800147006303

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7224.87460639
delta logL = -9.49939931161e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .56233E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.1853       1.0000          .0000       10.000    
     3 'Normalizat'    .86077       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90653       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=   7224.875     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      202 TOTAL
                     EDM=   .59E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.9635       -.97897E-07** at limit **
   2  Index         2.1631        2.1578        .38376E-05     .0000    
   3  Normalizat    .86082        .23550        .27618E-05   -.23120E-04
   4  Prefactor     .90648        .14790       -.27210E-05   -.35547E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.16312
  Normalizat = 0.860822
  Prefactor  = 0.906478
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7224.875     FROM HESSE     STATUS=FAILED        11 CALLS      213 TOTAL
                     EDM=   .59E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.9772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .51416        1.8208        .38376E-05   -.60332    
   3  Normalizat    .86082        1.1978        .27618E-05   -.97851    
   4  Prefactor     .90648        1.2511       -.27210E-05   -.95915    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.91536e-13
Minuit parameter uncertainties:
  1  3.88216e-06
  2  1.44052
  3  1.23805
  4  1.29452
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647732': 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): 101
logL (Free Index) = 7224.8746063
delta logL = 0.0

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  3.882e-06  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.163e+00  1.441e+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:  9.065e-01  1.295e+00  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:  8.608e-01  1.238e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 351.190 8.028

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/647732/cmap_HighResolution_688262401_688521601_4FGL_J2324.7+0801_daily_bin1732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.92e-03', job_status='DONE', photon_flux_upper_limit='6.44e-08', time_completed='2022-10-27 00:47:05.940213', job_id='647732', GAL2='0.91', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1666856825.94', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1732' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 27 00:47:05 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 647732: <4FGL_J2324.7+0801_daily_bin1732> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1732> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Oct 27 00:35:50 2022
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct 27 00:35:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct 27 00:35:51 2022
Terminated at Thu Oct 27 00:47:06 2022
Results reported at Thu Oct 27 00:47:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1732 351.19 8.0282 688262401 688521601 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 :                                   615.25 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             345.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   675 sec.
    Turnaround time :                            676 sec.

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

