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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1771
RA = 351.19, Dec = 8.0282
tmin = 698371201, tmax = 698630401
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='573498', job_status='RUN', time_executed='2023-02-21 02:31:38.128724', time_epoch_executed='1676975498.13' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/573498

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/573498/ft1_4FGL_J2324.7+0801_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/573498/ft2_4FGL_J2324.7+0801_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/573498/ft1_4FGL_J2324.7+0801_daily_bin1771.fits outfile=/scratch/kocevski/573498/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1771.fits ra=351.19 dec=8.0282 rad=12.0 tmin=698371201.0 tmax=698630401.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.07
user 2.88
sys 0.18

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

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

Number of photons that the gtmktime cut: 634

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/573498/ft1_filtered_4FGL_J2324.7+0801_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/573498/ft2_4FGL_J2324.7+0801_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/573498/ltcube_698371201_698630401_4FGL_J2324.7+0801_daily_bin1771.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/573498/ft2_4FGL_J2324.7+0801_daily_bin1771.fits
.....................!
real 12.36
user 11.96
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/573498/ft1_filtered_4FGL_J2324.7+0801_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/573498/ft2_4FGL_J2324.7+0801_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/573498/ltcube_698371201_698630401_4FGL_J2324.7+0801_daily_bin1771.fits outfile=/scratch/kocevski/573498/expmap_698371201_698630401_4FGL_J2324.7+0801_daily_bin1771.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/573498/ltcube_698371201_698630401_4FGL_J2324.7+0801_daily_bin1771.fits
.....................!
real 190.89
user 185.06
sys 5.23

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/573498/ft1_filtered_4FGL_J2324.7+0801_daily_bin1771.fits scfile=/scratch/kocevski/573498/ft2_4FGL_J2324.7+0801_daily_bin1771.fits outfile=/scratch/kocevski/573498/cmap_698371201_698630401_4FGL_J2324.7+0801_daily_bin1771.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/573498/ft1_filtered_4FGL_J2324.7+0801_daily_bin1771.fits scfile=/scratch/kocevski/573498/ft2_4FGL_J2324.7+0801_daily_bin1771.fits outfile=/scratch/kocevski/573498/cmap_HighResolution_698371201_698630401_4FGL_J2324.7+0801_daily_bin1771.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.62
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/573498/ft1_filtered_4FGL_J2324.7+0801_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/573498/ft2_4FGL_J2324.7+0801_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/573498/Model_4FGL_J2324.7+0801_daily_bin1771.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/573498/ft1_filtered_4FGL_J2324.7+0801_daily_bin1771.fits.....................!
real 83.56
user 81.04
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5273       1.0000         .10000E-03   10000.    
     2 'norm      '    .45152E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    65.166       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.0598       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.032       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.9469       1.0000          .0000       .10000E+07
     7 'norm      '    .12404       1.0000          .0000       .10000E+07
     8 'Prefactor '    .20918E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    13.365       1.0000          .0000       .10000E+07
    10 'Prefactor '    .78957       1.0000          .0000       .10000E+07
    11 'norm      '    .62389E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .72492E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    15.388       1.0000          .0000       .10000E+07
    14 'norm      '    .69494E-05   1.0000          .0000       .10000E+07
    15 'norm      '    4.8050       1.0000          .0000       .10000E+07
    16 'Prefactor '    .68401E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .34389E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    23.113       1.0000          .0000       .10000E+07
    19 'Prefactor '    .92334E-01   1.0000          .0000       .10000E+07
    20 'Normalizat'    .77571       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .99834       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=   7055.464     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     1728 TOTAL
                     EDM=   .60E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5272        .28142        .80025E-07   -.32116E-03
   2  norm           .0000        10.870        .30115E-07** at limit **
   3  Prefactor     65.680        27.338        .52765E-06    .44230E-01
   4  Prefactor     7.0846        6.4525       -.34517E-07    .24401E-03
   5  Prefactor     23.006        4.2470       -.73129E-07    .31985E-01
   6  Prefactor     5.9597        7.0894        .13809E-06    .14885E-02
   7  norm          .11941        3.9468       -.77361E-07** at limit **
   8  Prefactor      .0000        9.9922        .53737E-06** at limit **
   9  Prefactor     13.389        1.7354        .34796E-07   -.13532E-01
  10  Prefactor     1.0484        225.10        .46378E-05   -.49684E-02
  11  norm           .0000        2.7630        .14566E-06** at limit **
  12  Prefactor      .0000        4.7607        .71011E-07** at limit **
  13  Prefactor     15.427        19.208       -.22654E-06    .33168E-02
  14  norm           .0000        3.9531       -.18046E-08** at limit **
  15  norm          4.7996        3.4229       -.18229E-06    .36432E-02
  16  Prefactor      .0000        3.8482       -.16423E-06** at limit **
  17  Prefactor     .27089E-07    106.89        .50047E-06** at limit **
  18  Prefactor     23.097        20.517        .54623E-06    .59113E-02
  19  Prefactor      .0000        33.229       -.43671E-06** at limit **
  20  Normalizat    .77604        .25957       -.29828E-05   -.12070E-04
  21  Prefactor     .99797        .15842        .10630E-05   -.27510E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.52721
  norm       = 0
  Prefactor  = 65.6804
  Prefactor  = 7.0846
  Prefactor  = 23.0063
  Prefactor  = 5.95969
  norm       = 0.119408
  Prefactor  = 0
  Prefactor  = 13.3886
  Prefactor  = 1.04842
  norm       = 0
  Prefactor  = 0
  Prefactor  = 15.4267
  norm       = 0
  norm       = 4.79956
  Prefactor  = 0
  Prefactor  = 2.70894e-08
  Prefactor  = 23.0972
  Prefactor  = 0
  Normalizat = 0.776044
  Prefactor  = 0.997967
 **********
 **   18 **HESSE 
 **********

 FCN=   7055.464     FROM HESSE     STATUS=OK           373 CALLS     2101 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5272        .28181        .32159E-02   -1.5390    
   2  norm           .0000        10.857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     65.680        56.012        .12388E-03   -1.5546    
   4  Prefactor     7.0846        6.4696        .37731E-03   -1.5655    
   5  Prefactor     23.006        18.365        .20842E-03   -1.5612    
   6  Prefactor     5.9597        7.4444        .41154E-03   -1.5659    
   7  norm          .11941        1.2843        .29531E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        9.9516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.389        13.228        .27373E-03   -1.5635    
  10  Prefactor     1.0484        283.37        .53715E-03   -1.5687    
  11  norm           .0000        2.7508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        4.7399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.427        19.313        .25506E-03   -1.5629    
  14  norm           .0000        3.9519        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.7996        22.461        .45872E-03   -1.5664    
  16  Prefactor      .0000        3.8341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .27089E-07    106.93        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     23.097        21.238        .20806E-03   -1.5612    
  19  Prefactor      .0000        4.5767        .10024E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .77604        .22574        .85204E-01   -1.0096    
  21  Prefactor     .99797        .13384        .46246E-01   -.92797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38454e-07
Minuit parameter uncertainties:
  1  0.281807
  2  1.90317e-06
  3  56.0126
  4  6.46963
  5  18.3649
  6  7.44444
  7  0.783204
  8  2.81602e-05
  9  13.2281
  10  34.4745
  11  5.4965e-06
  12  5.20211e-06
  13  19.3133
  14  2.28828e-07
  15  20.7659
  16  5.54433e-06
  17  0.0034056
  18  21.2384
  19  1.75735e-05
  20  0.226009
  21  0.133884
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  2.816e-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.980e-01  1.339e-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.760e-01  2.260e-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: 8.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/573498/likelihoodResults_698371201_698630401_4FGL_J2324.7+0801_daily_bin1771.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) = 7055.51375127
delta logL = -0.050219932742

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7055.46353136
delta logL = -2.32412276091e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16964E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.3036       1.0000          .0000       10.000    
     3 'Normalizat'    .77606       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99797       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=   7055.464     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      238 TOTAL
                     EDM=   .45E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .28533E-01    .42118E-03** at limit **
   2  Index         2.2707        6.8941        .50000        .45475E-10
   3  Normalizat    .77605        .30076E-03    .85204E-01    .45800E-03
   4  Prefactor     .99796        .18556E-03    .46242E-01    .23991E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.27065
  Normalizat = 0.776052
  Prefactor  = 0.997963
 **********
 **   18 **HESSE 
 **********

 FCN=   7055.464     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      269 TOTAL
                     EDM=   .28E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    .17900        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2707        5.4419        .50000       -.57743    
   3  Normalizat    .77605        .75017E-03    .37736E-03   -1.0096    
   4  Prefactor     .99796        .46391E-03    .20648E-03   -.92797    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.81337e-13
Minuit parameter uncertainties:
  1  1.14085e-05
  2  8193.65
  3  0.000750165
  4  0.000463906
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/573498': 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) = 7055.46353133
delta logL = -4.75665729027e-10

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.665e-10  1.141e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.271e+00  8.194e+03  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.980e-01  4.639e-04  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.761e-01  7.502e-04  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 -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/573498/cmap_HighResolution_698371201_698630401_4FGL_J2324.7+0801_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.72e-03', job_status='DONE', photon_flux_upper_limit='8.80e-08', time_completed='2023-02-21 02:41:47.726199', job_id='573498', GAL2='1.00', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1676976107.73', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-4.76e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1771' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 02:41:47 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 573498: <4FGL_J2324.7+0801_daily_bin1771> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1771> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 02:30:15 2023
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 02:30:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 02:30:15 2023
Terminated at Tue Feb 21 02:41:48 2023
Results reported at Tue Feb 21 02:41:48 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1771 351.19 8.0282 698371201 698630401 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 :                                   610.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   693 sec.
    Turnaround time :                            693 sec.

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

