/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 31 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 = 7405
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1371
RA = 351.19, Dec = 8.0282
tmin = 594691201, tmax = 594950401
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='843900', job_status='RUN', time_executed='2021-09-29 16:26:42.583028', time_epoch_executed='1632958002.58' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1371'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/843900

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/843900/ft1_4FGL_J2324.7+0801_daily_bin1371.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/843900/ft2_4FGL_J2324.7+0801_daily_bin1371.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/843900/ft1_4FGL_J2324.7+0801_daily_bin1371.fits outfile=/scratch/kocevski/843900/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1371.fits ra=351.19 dec=8.0282 rad=12.0 tmin=594691201.0 tmax=594950401.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.96
user 2.74
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/843900/ft2_4FGL_J2324.7+0801_daily_bin1371.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/843900/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1371.fits evtable="EVENTS" outfile="/scratch/kocevski/843900/ft1_filtered_4FGL_J2324.7+0801_daily_bin1371.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.54
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/843900/ft1_filtered_4FGL_J2324.7+0801_daily_bin1371.fits" evtable="EVENTS" scfile=/scratch/kocevski/843900/ft2_4FGL_J2324.7+0801_daily_bin1371.fits sctable="SC_DATA" outfile=/scratch/kocevski/843900/ltcube_594691201_594950401_4FGL_J2324.7+0801_daily_bin1371.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/843900/ft2_4FGL_J2324.7+0801_daily_bin1371.fits
.....................!
real 12.76
user 12.35
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/843900/ft1_filtered_4FGL_J2324.7+0801_daily_bin1371.fits evtable="EVENTS" scfile=/scratch/kocevski/843900/ft2_4FGL_J2324.7+0801_daily_bin1371.fits sctable="SC_DATA" expcube=/scratch/kocevski/843900/ltcube_594691201_594950401_4FGL_J2324.7+0801_daily_bin1371.fits outfile=/scratch/kocevski/843900/expmap_594691201_594950401_4FGL_J2324.7+0801_daily_bin1371.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/843900/ltcube_594691201_594950401_4FGL_J2324.7+0801_daily_bin1371.fits
.....................!
real 192.05
user 186.19
sys 5.38

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/843900/ft1_filtered_4FGL_J2324.7+0801_daily_bin1371.fits scfile=/scratch/kocevski/843900/ft2_4FGL_J2324.7+0801_daily_bin1371.fits outfile=/scratch/kocevski/843900/cmap_594691201_594950401_4FGL_J2324.7+0801_daily_bin1371.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/843900/ft1_filtered_4FGL_J2324.7+0801_daily_bin1371.fits scfile=/scratch/kocevski/843900/ft2_4FGL_J2324.7+0801_daily_bin1371.fits outfile=/scratch/kocevski/843900/cmap_HighResolution_594691201_594950401_4FGL_J2324.7+0801_daily_bin1371.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.79
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/843900/ft1_filtered_4FGL_J2324.7+0801_daily_bin1371.fits evtable="EVENTS" scfile=/scratch/kocevski/843900/ft2_4FGL_J2324.7+0801_daily_bin1371.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/843900/Model_4FGL_J2324.7+0801_daily_bin1371.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/843900/ft1_filtered_4FGL_J2324.7+0801_daily_bin1371.fits.....................!
real 77.53
user 75.86
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .39467       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    57.637       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.6223       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.2778       1.0000         .10000E-03   10000.    
     9 'norm      '    .49348       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    51.942       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.6588       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .86523E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10374E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.0044       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11899E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.2375       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .79850       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0983       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=   7249.024     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2947 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.6482        .17120E-05** at limit **
   2  Prefactor     .39468        .15938        .74479E-07   -.13992E-02
   3  norm          .10000E-03    3.8663       -.86895E-06** at limit **
   4  Prefactor     57.632        44.507       -.56308E-05   -.13085E-03
   5  Prefactor     .10000E-03    7.3549        .17133E-05** at limit **
   6  Prefactor     8.6238        14.584        .37012E-05   -.94169E-04
   7  Prefactor     .10000E-03    24.342        .72384E-05** at limit **
   8  Prefactor     5.2781        11.702       -.10090E-05   -.17029E-03
   9  norm          .49318        .82889        .78088E-06    .11939E-02
  10  Prefactor     .10000E-03    4.9343        .18721E-05** at limit **
  11  Prefactor     51.947        32.961        .59293E-05   -.13948E-04
  12  Prefactor     .10000E-03    15.831        .44606E-05** at limit **
  13  norm          .10000E-03    3.9062       -.60192E-06** at limit **
  14  Prefactor     2.6601        7.4576       -.18337E-05   -.65151E-03
  15  Prefactor     .10013E-03    1758.9       -.51795E-03** at limit **
  16  Prefactor     .10000E-03    14.595       -.83494E-07** at limit **
  17  Prefactor     7.0175        28.245        .28187E-04   -.16086E-03
  18  norm          .10000E-03    13.685       -.60947E-05** at limit **
  19  norm          .10000E-03    6.0271       -.47410E-05** at limit **
  20  Prefactor     .10000E-03    3.4553        .82783E-06** at limit **
  21  Prefactor     2.2771        119.34        .17961E-03   -.22302E-04
  22  Prefactor     .10000E-03    7.4270        .86494E-06** at limit **
  23  Prefactor     .10000E-03    3.3286        .63513E-07** at limit **
  24  Normalizat    .79825        .21395       -.15138E-04   -.16364E-03
  25  Prefactor     1.0984        .12346        .66462E-06   -.79115E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.394681
  norm       = 0.0001
  Prefactor  = 57.6317
  Prefactor  = 0.0001
  Prefactor  = 8.62381
  Prefactor  = 0.000100001
  Prefactor  = 5.27808
  norm       = 0.493178
  Prefactor  = 0.0001
  Prefactor  = 51.9474
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.66006
  Prefactor  = 0.000100131
  Prefactor  = 0.0001
  Prefactor  = 7.01749
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.27707
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.79825
  Prefactor  = 1.09838
 **********
 **   18 **HESSE 
 **********

 FCN=   7249.024     FROM HESSE     STATUS=OK           419 CALLS     3366 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.6570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .39468        .15858        .20706E-04   -1.5582    
   3  norm          .10000E-03    3.8755        .16348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     57.632        44.705        .52842E-04   -1.4188    
   5  Prefactor     .10000E-03    7.4887        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.6238        14.562        .13651E-03   -1.5121    
   7  Prefactor     .10000E-03    24.638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.2781        11.619        .17496E-03   -1.5248    
   9  norm          .49318        .82907        .44977E-04   -1.5568    
  10  Prefactor     .10000E-03    4.9487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     51.947        32.775        .55649E-04   -1.4265    
  12  Prefactor     .10000E-03    15.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.9127        .16411E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.6601        7.4087        .24998E-03   -1.5382    
  15  Prefactor     .10013E-03    1770.0        .20855E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.008        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.0175        27.894        .15158E-03   -1.5178    
  18  norm          .10000E-03    13.743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.0328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.5840        .30855E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.2771        117.18        .27479E-03   -1.5406    
  22  Prefactor     .10000E-03    7.4314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    3.3306        .15171E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .79825        .24162        .34302E-03   -1.0013    
  25  Prefactor     1.0984        .14117        .18864E-03   -.89519    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11935e-09
Minuit parameter uncertainties:
  1  2.60391e-05
  2  0.158583
  3  2.4052e-05
  4  44.731
  5  7.91671e-05
  6  14.5676
  7  0.000320258
  8  11.6242
  9  0.829086
  10  6.13541e-05
  11  32.7863
  12  6.78415e-05
  13  3.57537e-05
  14  7.41123
  15  0.0313874
  16  5.17752e-05
  17  27.9459
  18  8.93505e-05
  19  4.36029e-06
  20  8.97532e-06
  21  32.7367
  22  0.000123143
  23  5.34598e-06
  24  0.241941
  25  0.141217
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.000e-04  6.135e-05  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.098e+00  1.412e-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.983e-01  2.419e-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.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/843900/likelihoodResults_594691201_594950401_4FGL_J2324.7+0801_daily_bin1371.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) = 7249.02477402
delta logL = -0.000962366350905

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7249.02381168
delta logL = -2.37960193772e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2354       1.0000          .0000       10.000    
     3 'Normalizat'    .79823       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0984       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=   7249.024     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      205 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    170.75        .90712E-02** at limit **
   2  Index         2.2429        5.8869        .50000       -.13232E-04
   3  Normalizat    .79825        .30397E-01    .77492E-01    .30542E-04
   4  Prefactor     1.0984        .19417E-01    .37648E-01    .17453E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.24289
  Normalizat = 0.798246
  Prefactor  = 1.09838
 **********
 **   18 **HESSE 
 **********

 FCN=   7249.024     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      238 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    903.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2429        6.0917        .50000       -.58407    
   3  Normalizat    .79825        .10032        .34303E-03   -1.0013    
   4  Prefactor     1.0984        .64201E-01    .18864E-03   -.89518    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.17752e-08
Minuit parameter uncertainties:
  1  3.11189e-05
  2  57.1763
  3  0.100344
  4  0.0642051
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/843900': 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) = 7249.02381161
delta logL = 4.66015990241e-08

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.000e-04  3.112e-05  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.243e+00  5.718e+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.098e+00  6.421e-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:  7.982e-01  1.003e-01  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/843900/cmap_HighResolution_594691201_594950401_4FGL_J2324.7+0801_daily_bin1371.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.31e-03', job_status='DONE', photon_flux_upper_limit='6.96e-08', time_completed='2021-09-29 16:39:26.581743', job_id='843900', GAL2='1.10', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1632958766.58', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='4.66e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1371' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:39:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 843900: <4FGL_J2324.7+0801_daily_bin1371> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1371> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 16:25:50 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:25:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 16:25:53 2021
Terminated at Wed Sep 29 16:39:27 2021
Results reported at Wed Sep 29 16:39:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1371 351.19 8.0282 594691201 594950401 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 :                                   727.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            817 sec.

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

