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 211 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1663
RA = 351.19, Dec = 8.0282
tmin = 670377601, tmax = 670636801
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='261651', job_status='RUN', time_executed='2022-04-03 00:39:25.612959', time_epoch_executed='1648971565.61' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1663'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/261651

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/261651/ft1_4FGL_J2324.7+0801_daily_bin1663.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/261651/ft2_4FGL_J2324.7+0801_daily_bin1663.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/261651/ft1_4FGL_J2324.7+0801_daily_bin1663.fits outfile=/scratch/kocevski/261651/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1663.fits ra=351.19 dec=8.0282 rad=12.0 tmin=670377601.0 tmax=670636801.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.82
user 3.59
sys 0.21

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

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

Number of photons that the gtmktime cut: 639

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/261651/ft1_filtered_4FGL_J2324.7+0801_daily_bin1663.fits" evtable="EVENTS" scfile=/scratch/kocevski/261651/ft2_4FGL_J2324.7+0801_daily_bin1663.fits sctable="SC_DATA" outfile=/scratch/kocevski/261651/ltcube_670377601_670636801_4FGL_J2324.7+0801_daily_bin1663.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/261651/ft2_4FGL_J2324.7+0801_daily_bin1663.fits
.....................!
real 11.85
user 11.49
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/261651/ft1_filtered_4FGL_J2324.7+0801_daily_bin1663.fits evtable="EVENTS" scfile=/scratch/kocevski/261651/ft2_4FGL_J2324.7+0801_daily_bin1663.fits sctable="SC_DATA" expcube=/scratch/kocevski/261651/ltcube_670377601_670636801_4FGL_J2324.7+0801_daily_bin1663.fits outfile=/scratch/kocevski/261651/expmap_670377601_670636801_4FGL_J2324.7+0801_daily_bin1663.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/261651/ltcube_670377601_670636801_4FGL_J2324.7+0801_daily_bin1663.fits
.....................!
real 190.91
user 185.76
sys 4.85

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/261651/ft1_filtered_4FGL_J2324.7+0801_daily_bin1663.fits scfile=/scratch/kocevski/261651/ft2_4FGL_J2324.7+0801_daily_bin1663.fits outfile=/scratch/kocevski/261651/cmap_670377601_670636801_4FGL_J2324.7+0801_daily_bin1663.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/261651/ft1_filtered_4FGL_J2324.7+0801_daily_bin1663.fits scfile=/scratch/kocevski/261651/ft2_4FGL_J2324.7+0801_daily_bin1663.fits outfile=/scratch/kocevski/261651/cmap_HighResolution_670377601_670636801_4FGL_J2324.7+0801_daily_bin1663.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/261651/ft1_filtered_4FGL_J2324.7+0801_daily_bin1663.fits evtable="EVENTS" scfile=/scratch/kocevski/261651/ft2_4FGL_J2324.7+0801_daily_bin1663.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/261651/Model_4FGL_J2324.7+0801_daily_bin1663.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/261651/ft1_filtered_4FGL_J2324.7+0801_daily_bin1663.fits.....................!
real 77.51
user 76.24
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/261651/ft1_filtered_4FGL_J2324.7+0801_daily_bin1663.fits', '/scratch/kocevski/261651/ft2_4FGL_J2324.7+0801_daily_bin1663.fits', expMap='/scratch/kocevski/261651/expmap_670377601_670636801_4FGL_J2324.7+0801_daily_bin1663.fits', expCube='/scratch/kocevski/261651/ltcube_670377601_670636801_4FGL_J2324.7+0801_daily_bin1663.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/261651/Model_4FGL_J2324.7+0801_daily_bin1663.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  1.000e-04  1.000e+04 ( 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/261651/ft1_filtered_4FGL_J2324.7+0801_daily_bin1663.fits
Spacecraft file(s): /scratch/kocevski/261651/ft2_4FGL_J2324.7+0801_daily_bin1663.fits
Exposure map: /scratch/kocevski/261651/expmap_670377601_670636801_4FGL_J2324.7+0801_daily_bin1663.fits
Exposure cube: /scratch/kocevski/261651/ltcube_670377601_670636801_4FGL_J2324.7+0801_daily_bin1663.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/261651/Model_4FGL_J2324.7+0801_daily_bin1663.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) = 7278.46218535

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .47129       1.0000         .10000E-03   10000.    
     3 'norm      '    22.454       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.7000       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.4691       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.8611       1.0000         .10000E-03   10000.    
     9 'norm      '    1.4358       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    38.795       1.0000         .10000E-03   10000.    
    13 'norm      '    .18782E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.4517       1.0000         .10000E-03   10000.    
    15 'Prefactor '    193.45       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.246       1.0000         .10000E-03   10000.    
    18 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.9406       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .44272       1.0000         .10000E-03   10000.    
    22 'Prefactor '    29.744       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .32190E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .86720       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0212       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7278.446     FROM MIGRAD    STATUS=CONVERGED    602 CALLS     2961 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.5586       -.14043E-07** at limit **
   2  Prefactor     .47127        .15989       -.97394E-08   -.23834E-03
   3  norm          22.453        16.318        .38168E-06    .55032E-04
   4  Prefactor     .10000E-03    86.266       -.16932E-05** at limit **
   5  Prefactor     1.6977        5.5430        .72947E-06   -.26543E-03
   6  Prefactor     .10000E-03    13.561       -.39167E-06** at limit **
   7  Prefactor     8.4692        11.514       -.52188E-07    .32091E-05
   8  Prefactor     7.8606        7.9354       -.56459E-07   -.93716E-04
   9  norm          1.4357        .97262       -.46809E-07   -.61041E-04
  10  Prefactor     .10000E-03    30.540       -.12835E-05** at limit **
  11  Prefactor     .10000E-03    11.458        .12788E-05** at limit **
  12  Prefactor     38.743        61.346        .84792E-06    .60992E-04
  13  norm          .10078E-03    6.3920       -.20788E-05** at limit **
  14  Prefactor     2.4779        8.3345        .53364E-05   -.12907E-03
  15  Prefactor     193.50        204.26        .52914E-05    .31764E-04
  16  Prefactor     .10000E-03    9.4569        .51536E-07** at limit **
  17  Prefactor     19.272        28.642       -.18159E-05   -.10974E-03
  18  norm          .10000E-03    10.842       -.21170E-05** at limit **
  19  norm          .10000E-03    10.281        .93370E-06** at limit **
  20  Prefactor     5.9407        4.1645       -.10606E-06    .90309E-04
  21  Prefactor     .24758        31.713       -.24284E-05    .19047E-03
  22  Prefactor     29.743        22.568        .67057E-06    .12105E-03
  23  Prefactor     .10005E-03    5.3891        .43555E-06** at limit **
  24  Normalizat    .86711        .20916        .48321E-06    .69400E-04
  25  Prefactor     1.0214        .12099        .52826E-07    .16210E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.471272
  norm       = 22.4528
  Prefactor  = 0.0001
  Prefactor  = 1.6977
  Prefactor  = 0.0001
  Prefactor  = 8.46916
  Prefactor  = 7.86064
  norm       = 1.43573
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.7428
  norm       = 0.000100776
  Prefactor  = 2.47791
  Prefactor  = 193.497
  Prefactor  = 0.0001
  Prefactor  = 19.2718
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.94066
  Prefactor  = 0.247579
  Prefactor  = 29.7426
  Prefactor  = 0.000100054
  Normalizat = 0.867106
  Prefactor  = 1.0214
 **********
 **   18 **HESSE 
 **********

 FCN=   7278.446     FROM HESSE     STATUS=OK           435 CALLS     3396 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.5595        .17790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .47127        .15900        .19036E-04   -1.5571    
   3  norm          22.453        16.318        .84530E-04   -1.4760    
   4  Prefactor     .10000E-03    88.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.6977        5.4957        .32264E-03   -1.5447    
   6  Prefactor     .10000E-03    13.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.4692        11.510        .13775E-03   -1.5126    
   8  Prefactor     7.8606        7.9338        .14301E-03   -1.5147    
   9  norm          1.4357        .96263        .65993E-04   -1.5468    
  10  Prefactor     .10000E-03    31.376        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     38.743        61.416        .64351E-04   -1.4462    
  13  norm          .10078E-03    111.29        .36295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.4779        8.3968        .26124E-03   -1.5393    
  15  Prefactor     193.50        204.35        .14521E-03   -1.2917    
  16  Prefactor     .10000E-03    9.5298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.272        28.579        .91298E-04   -1.4830    
  18  norm          .10000E-03    10.943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    10.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.9407        4.1659        .13927E-03   -1.5220    
  21  Prefactor     .24758        35.358        .13036       -1.5608    
  22  Prefactor     29.743        22.587        .73463E-04   -1.4617    
  23  Prefactor     .10005E-03    30.588        .37936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .86711        .23853        .33379E-03   -.97626    
  25  Prefactor     1.0214        .13995        .19429E-03   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.7403e-09
Minuit parameter uncertainties:
  1  1.39616e-06
  2  0.159003
  3  16.3211
  4  0.000222665
  5  5.49729
  6  4.53755e-05
  7  11.5127
  8  7.9349
  9  0.962639
  10  0.000245445
  11  3.23965e-05
  12  61.5169
  13  0.0186191
  14  8.40082
  15  205.104
  16  5.44941e-05
  17  28.5992
  18  8.97673e-05
  19  1.15536e-05
  20  4.16608
  21  5.91974
  22  22.5935
  23  0.00257033
  24  0.238824
  25  0.140002
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.000e-04  2.454e-04  1.000e-04  1.000e+04 ( 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.021e+00  1.400e-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.671e-01  2.388e-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: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/261651/likelihoodResults_670377601_670636801_4FGL_J2324.7+0801_daily_bin1663.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): 102
logL (Free Index) = 7278.44568471
delta logL = -0.000152045195136

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7278.44553338
delta logL = -7.21906872059e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24967E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3479       1.0000          .0000       10.000    
     3 'Normalizat'    .86743       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0212       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=   7278.446     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      233 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10103E-03    1.1789        .10733    ** at limit **
   2  Index         2.3581        1.9289        .50000       -.42992E-04
   3  Normalizat    .86711        .23614E-02    .75419E-01    .13829E-04
   4  Prefactor     1.0214        .14885E-02    .42022E-01   -.41934E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101027
  Index      = 2.35815
  Normalizat = 0.867106
  Prefactor  = 1.0214
 **********
 **   18 **HESSE 
 **********

 FCN=   7278.446     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      268 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10103E-03    6433.8        .38398E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3581        7.7582        .50000       -.55668    
   3  Normalizat    .86711        .26328E-01    .33379E-03   -.97626    
   4  Prefactor     1.0214        .16619E-01    .19429E-03   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.19334e-07
Minuit parameter uncertainties:
  1  0.114557
  2  21.7094
  3  0.0263285
  4  0.016619
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/261651': 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) = 7278.44553145
delta logL = 1.21456105262e-06

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.010e-04  1.146e-01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.358e+00  2.171e+01  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.021e+00  1.662e-02  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.671e-01  2.633e-02  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/261651/cmap_HighResolution_670377601_670636801_4FGL_J2324.7+0801_daily_bin1663.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.79e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2022-04-03 00:51:28.854082', job_id='261651', GAL2='1.02', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1648972288.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.21e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1663' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr  3 00:51:28 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 261651: <4FGL_J2324.7+0801_daily_bin1663> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1663> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Apr  3 00:35:46 2022
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr  3 00:35:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr  3 00:35:47 2022
Terminated at Sun Apr  3 00:51:29 2022
Results reported at Sun Apr  3 00:51:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1663 351.19 8.0282 670377601 670636801 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 :                                   726.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   942 sec.
    Turnaround time :                            943 sec.

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

