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 35 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_bin1702
RA = 351.19, Dec = 8.0282
tmin = 680486401, tmax = 680745601
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='259063', job_status='RUN', time_executed='2022-07-29 01:37:44.093774', time_epoch_executed='1659083864.09' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/259063

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/259063/ft1_4FGL_J2324.7+0801_daily_bin1702.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/259063/ft2_4FGL_J2324.7+0801_daily_bin1702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/259063/ft1_4FGL_J2324.7+0801_daily_bin1702.fits outfile=/scratch/kocevski/259063/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1702.fits ra=351.19 dec=8.0282 rad=12.0 tmin=680486401.0 tmax=680745601.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 2.47
user 2.24
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/259063/ft2_4FGL_J2324.7+0801_daily_bin1702.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/259063/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1702.fits evtable="EVENTS" outfile="/scratch/kocevski/259063/ft1_filtered_4FGL_J2324.7+0801_daily_bin1702.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.46
user 0.28
sys 0.15

Number of photons that the gtmktime cut: 486

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/259063/ft1_filtered_4FGL_J2324.7+0801_daily_bin1702.fits" evtable="EVENTS" scfile=/scratch/kocevski/259063/ft2_4FGL_J2324.7+0801_daily_bin1702.fits sctable="SC_DATA" outfile=/scratch/kocevski/259063/ltcube_680486401_680745601_4FGL_J2324.7+0801_daily_bin1702.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/259063/ft2_4FGL_J2324.7+0801_daily_bin1702.fits
.....................!
real 14.26
user 13.94
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/259063/ft1_filtered_4FGL_J2324.7+0801_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/259063/ft2_4FGL_J2324.7+0801_daily_bin1702.fits sctable="SC_DATA" expcube=/scratch/kocevski/259063/ltcube_680486401_680745601_4FGL_J2324.7+0801_daily_bin1702.fits outfile=/scratch/kocevski/259063/expmap_680486401_680745601_4FGL_J2324.7+0801_daily_bin1702.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/259063/ltcube_680486401_680745601_4FGL_J2324.7+0801_daily_bin1702.fits
.....................!
real 157.37
user 153.22
sys 3.80

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/259063/ft1_filtered_4FGL_J2324.7+0801_daily_bin1702.fits scfile=/scratch/kocevski/259063/ft2_4FGL_J2324.7+0801_daily_bin1702.fits outfile=/scratch/kocevski/259063/cmap_680486401_680745601_4FGL_J2324.7+0801_daily_bin1702.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.48
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/259063/ft1_filtered_4FGL_J2324.7+0801_daily_bin1702.fits scfile=/scratch/kocevski/259063/ft2_4FGL_J2324.7+0801_daily_bin1702.fits outfile=/scratch/kocevski/259063/cmap_HighResolution_680486401_680745601_4FGL_J2324.7+0801_daily_bin1702.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.49
user 0.33
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/259063/ft1_filtered_4FGL_J2324.7+0801_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/259063/ft2_4FGL_J2324.7+0801_daily_bin1702.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/259063/Model_4FGL_J2324.7+0801_daily_bin1702.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/259063/ft1_filtered_4FGL_J2324.7+0801_daily_bin1702.fits.....................!
real 53.80
user 52.60
sys 1.06

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    1.2560       1.0000         .10000E-03   10000.    
     3 'norm      '    29.742       1.0000         .10000E-03   10000.    
     4 'Prefactor '    34.106       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11696E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.497       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .14638E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.8568       1.0000         .10000E-03   10000.    
     9 'norm      '    .28356       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.5736       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    188.18       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.8961       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10920E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    27.082       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10330E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0448       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .90617       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=   5488.451     FROM MIGRAD    STATUS=CONVERGED    600 CALLS     2919 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.6745        .25530E-07** at limit **
   2  Prefactor     1.2559        .25531       -.33847E-08   -.80129E-03
   3  norm          29.740        27.023       -.30984E-07    .37118E-04
   4  Prefactor     33.979        51.875       -.72035E-07   -.26433E-05
   5  Prefactor     .10002E-03    6.2888       -.24357E-05** at limit **
   6  Prefactor     10.494        13.736        .35309E-07   -.18999E-04
   7  Prefactor     .10000E-03    49.252        .40540E-06** at limit **
   8  Prefactor     9.8554        8.3466        .62972E-06   -.65494E-05
   9  norm          .28317        1.5475       -.29110E-06   -.33763E-03
  10  Prefactor     2.5739        10.037        .67330E-05    .85480E-04
  11  Prefactor     .10000E-03    9.4084        .55670E-07** at limit **
  12  Prefactor     .10000E-03    29.241       -.17392E-06** at limit **
  13  norm          .10000E-03    2.6324       -.73827E-07** at limit **
  14  Prefactor     .10000E-03    4.2561        .51858E-07** at limit **
  15  Prefactor     188.11        217.52        .19879E-05    .24372E-04
  16  Prefactor     1.9139        31.160        .10168E-04   -.92905E-04
  17  Prefactor     .10000E-03    40.914       -.84739E-06** at limit **
  18  norm          .10000E-03    10.405        .13167E-06** at limit **
  19  norm          .10000E-03    16.590       -.26058E-06** at limit **
  20  Prefactor     .10000E-03    4.3025       -.95918E-06** at limit **
  21  Prefactor     27.041        56.780       -.27374E-06    .30694E-04
  22  Prefactor     .10000E-03    13.488       -.41919E-06** at limit **
  23  Prefactor     .10000E-03    2.2662        .36850E-07** at limit **
  24  Normalizat    1.0443        .22904        .87078E-06    .27247E-03
  25  Prefactor     .90650        .13875       -.16254E-05    .58240E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.25594
  norm       = 29.7396
  Prefactor  = 33.979
  Prefactor  = 0.000100022
  Prefactor  = 10.4938
  Prefactor  = 0.0001
  Prefactor  = 9.85544
  norm       = 0.283165
  Prefactor  = 2.57387
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 188.108
  Prefactor  = 1.91391
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 27.0414
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.04426
  Prefactor  = 0.906503
 **********
 **   18 **HESSE 
 **********

 FCN=   5488.451     FROM HESSE     STATUS=OK           423 CALLS     3342 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.6837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.2559        .25391        .16104E-04   -1.5484    
   3  norm          29.740        27.010        .73466E-04   -1.4617    
   4  Prefactor     33.979        51.913        .68617E-04   -1.4541    
   5  Prefactor     .10002E-03    43.693        .33274E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.494        13.734        .12367E-03   -1.5060    
   7  Prefactor     .10000E-03    49.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.8554        8.3540        .63817E-03   -1.5080    
   9  norm          .28317        1.5537        .17101E-03   -1.5602    
  10  Prefactor     2.5739        10.025        .12721E-02   -1.5387    
  11  Prefactor     .10000E-03    9.4298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    29.252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.6364        .11738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.2892        .14917E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     188.11        217.90        .14719E-03   -1.2956    
  16  Prefactor     1.9139        32.164        .15105E-02   -1.5431    
  17  Prefactor     .10000E-03    41.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    10.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    16.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.4194        .15113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     27.041        57.125        .76981E-04   -1.4667    
  22  Prefactor     .10000E-03    13.529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    2.2688        .10892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0443        .27455        .31030E-03   -.91562    
  25  Prefactor     .90650        .16360        .20397E-03   -.95914    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57713e-09
Minuit parameter uncertainties:
  1  6.67695e-06
  2  0.253914
  3  27.0212
  4  51.9824
  5  0.00194404
  6  13.7379
  7  0.000308836
  8  8.35496
  9  1.32638
  10  10.0312
  11  1.21862e-05
  12  8.0055e-05
  13  1.032e-05
  14  6.16056e-06
  15  218.841
  16  15.7015
  17  0.000292183
  18  3.24521e-05
  19  8.54292e-05
  20  0.000153594
  21  57.2412
  22  0.000116999
  23  4.07865e-06
  24  0.274921
  25  0.163685
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  2.574e+00  1.003e+01  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:  9.065e-01  1.637e-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:  1.044e+00  2.749e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/259063/likelihoodResults_680486401_680745601_4FGL_J2324.7+0801_daily_bin1702.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) = 5488.41139632
delta logL = 0.0393018919231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5488.40940098
delta logL = 0.0412972295899

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1144       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6813       1.0000          .0000       10.000    
     3 'Normalizat'    1.0367       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90783       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5488.409     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      256 TOTAL
                     EDM=   .92E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1121        9.6088        .27565E-03    .12785E-04
   2  Index         2.6816        1.8102        .95451E-02    .86077E-05
   3  Normalizat    1.0366        .26157        .31131E-03    .36518E-05
   4  Prefactor     .90787        .16137        .20382E-03    .32909E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.11208
  Index      = 2.68161
  Normalizat = 1.03661
  Prefactor  = 0.907871
 **********
 **   18 **HESSE 
 **********

 FCN=   5488.409     FROM HESSE     STATUS=OK            25 CALLS      281 TOTAL
                     EDM=   .21E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1121        7.5848        .11026E-04   -1.5417    
   2  Index         2.6816        1.5371        .38180E-03   -.48214    
   3  Normalizat    1.0366        .26161        .12453E-04   -.91814    
   4  Prefactor     .90787        .16131        .81528E-05   -.95867    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1113e-13
Minuit parameter uncertainties:
  1  7.58821
  2  1.56971
  3  0.261938
  4  0.161394
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/259063': 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) = 5488.4094009
delta logL = 0.0412973142229

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  2.112e+00  7.588e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.682e+00  1.570e+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.079e-01  1.614e-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:  1.037e+00  2.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/259063/cmap_HighResolution_680486401_680745601_4FGL_J2324.7+0801_daily_bin1702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.35e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2022-07-29 01:46:27.891776', job_id='259063', GAL2='0.91', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1659084387.89', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='4.13e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1702' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 29 01:46:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 259063: <4FGL_J2324.7+0801_daily_bin1702> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1702> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Jul 29 01:35:27 2022
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 01:37:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 29 01:37:01 2022
Terminated at Fri Jul 29 01:46:28 2022
Results reported at Fri Jul 29 01:46:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1702 351.19 8.0282 680486401 680745601 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 :                                   525.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             365.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   567 sec.
    Turnaround time :                            661 sec.

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

