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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1616
RA = 351.19, Dec = 8.0282
tmin = 658195201, tmax = 658454401
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='500239', job_status='RUN', time_executed='2021-12-08 09:28:54.128489', time_epoch_executed='1638984534.13' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1616'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/500239

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/500239/ft1_4FGL_J2324.7+0801_daily_bin1616.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/500239/ft2_4FGL_J2324.7+0801_daily_bin1616.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/500239/ft1_4FGL_J2324.7+0801_daily_bin1616.fits outfile=/scratch/kocevski/500239/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1616.fits ra=351.19 dec=8.0282 rad=12.0 tmin=658195201.0 tmax=658454401.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 4.83
user 4.59
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/500239/ft1_filtered_4FGL_J2324.7+0801_daily_bin1616.fits" evtable="EVENTS" scfile=/scratch/kocevski/500239/ft2_4FGL_J2324.7+0801_daily_bin1616.fits sctable="SC_DATA" outfile=/scratch/kocevski/500239/ltcube_658195201_658454401_4FGL_J2324.7+0801_daily_bin1616.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/500239/ft2_4FGL_J2324.7+0801_daily_bin1616.fits
.....................!
real 13.36
user 12.99
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/500239/ft1_filtered_4FGL_J2324.7+0801_daily_bin1616.fits evtable="EVENTS" scfile=/scratch/kocevski/500239/ft2_4FGL_J2324.7+0801_daily_bin1616.fits sctable="SC_DATA" expcube=/scratch/kocevski/500239/ltcube_658195201_658454401_4FGL_J2324.7+0801_daily_bin1616.fits outfile=/scratch/kocevski/500239/expmap_658195201_658454401_4FGL_J2324.7+0801_daily_bin1616.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/500239/ltcube_658195201_658454401_4FGL_J2324.7+0801_daily_bin1616.fits
.....................!
real 190.89
user 186.04
sys 4.39

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/500239/ft1_filtered_4FGL_J2324.7+0801_daily_bin1616.fits scfile=/scratch/kocevski/500239/ft2_4FGL_J2324.7+0801_daily_bin1616.fits outfile=/scratch/kocevski/500239/cmap_658195201_658454401_4FGL_J2324.7+0801_daily_bin1616.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/500239/ft1_filtered_4FGL_J2324.7+0801_daily_bin1616.fits scfile=/scratch/kocevski/500239/ft2_4FGL_J2324.7+0801_daily_bin1616.fits outfile=/scratch/kocevski/500239/cmap_HighResolution_658195201_658454401_4FGL_J2324.7+0801_daily_bin1616.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/500239/ft1_filtered_4FGL_J2324.7+0801_daily_bin1616.fits evtable="EVENTS" scfile=/scratch/kocevski/500239/ft2_4FGL_J2324.7+0801_daily_bin1616.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/500239/Model_4FGL_J2324.7+0801_daily_bin1616.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/500239/ft1_filtered_4FGL_J2324.7+0801_daily_bin1616.fits.....................!
real 71.81
user 70.43
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .89348       1.0000         .10000E-03   10000.    
     3 'norm      '    13.779       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10186E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.9067       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .11051E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.171       1.0000         .10000E-03   10000.    
    11 'Prefactor '    28.558       1.0000         .10000E-03   10000.    
    12 'Prefactor '    59.324       1.0000         .10000E-03   10000.    
    13 'norm      '    6.4280       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    40.803       1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.153       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.6393       1.0000         .10000E-03   10000.    
    21 'Prefactor '    37.730       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .80041       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .92419       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .80918       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=   6895.890     FROM MIGRAD    STATUS=CONVERGED    571 CALLS     3353 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    36.749       -.32861E-05** at limit **
   2  Prefactor     .89350        .19725        .13731E-08    .18032E-03
   3  norm          13.780        9.7952        .60516E-07    .32830E-04
   4  Prefactor     .10000E-03    30.511        .43139E-05** at limit **
   5  Prefactor     .10000E-03    2.3601       -.77360E-08** at limit **
   6  Prefactor     9.9072        12.218       -.18423E-07   -.16837E-04
   7  Prefactor     .10000E-03    5.4010       -.13445E-06** at limit **
   8  Prefactor     .10000E-03    5.0586        .14847E-06** at limit **
   9  norm          .53431E-03    .44821       -.44533E-06** at limit **
  10  Prefactor     19.172        13.121       -.11485E-05    .26047E-04
  11  Prefactor     28.549        23.382       -.41006E-06   -.16691E-03
  12  Prefactor     59.332        51.944        .13959E-05    .12426E-03
  13  norm          6.4288        8.8275        .38044E-05   -.14430E-03
  14  Prefactor     .10000E-03    3.6697       -.41478E-06** at limit **
  15  Prefactor     40.899        318.79        .16283E-04    .80274E-04
  16  Prefactor     14.156        13.764       -.12745E-05    .26297E-03
  17  Prefactor     .10000E-03    15.331       -.32007E-05** at limit **
  18  norm          .10000E-03    4.8793        .14231E-06** at limit **
  19  norm          .10000E-03    13.449        .19391E-05** at limit **
  20  Prefactor     1.6392        3.9906        .67324E-06    .11612E-03
  21  Prefactor     37.728        39.006       -.55886E-06    .27368E-04
  22  Prefactor     .79685        17.891       -.12300E-05    .21307E-03
  23  Prefactor     .10000E-03    3.6139        .11900E-06** at limit **
  24  Normalizat    .92409        .19466       -.48921E-06    .20842E-03
  25  Prefactor     .80923        .11361       -.42296E-06    .25200E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.893496
  norm       = 13.7799
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 9.90715
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000534312
  Prefactor  = 19.1718
  Prefactor  = 28.5493
  Prefactor  = 59.3316
  norm       = 6.4288
  Prefactor  = 0.0001
  Prefactor  = 40.8992
  Prefactor  = 14.1561
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 1.63922
  Prefactor  = 37.7284
  Prefactor  = 0.796852
  Prefactor  = 0.0001
  Normalizat = 0.924093
  Prefactor  = 0.809228
 **********
 **   18 **HESSE 
 **********

 FCN=   6895.890     FROM HESSE     STATUS=OK           435 CALLS     3788 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    38.502        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .89350        .19712        .16736E-04   -1.5519    
   3  norm          13.780        9.8026        .53953E-03   -1.4965    
   4  Prefactor     .10000E-03    31.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.3678        .12457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.9072        12.220        .12731E-03   -1.5078    
   7  Prefactor     .10000E-03    5.4071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    21.727        .34967E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .53431E-03    .97637        .17754E-01   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.172        13.154        .91474E-04   -1.4832    
  11  Prefactor     28.549        22.759        .74969E-04   -1.4639    
  12  Prefactor     59.332        52.113        .52090E-04   -1.4166    
  13  norm          6.4288        9.1488        .79152E-03   -1.5201    
  14  Prefactor     .10000E-03    3.6973        .15546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     40.899        345.56        .62753E-04   -1.4428    
  16  Prefactor     14.156        13.641        .10647E-03   -1.4955    
  17  Prefactor     .10000E-03    15.659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.8839        .17916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    13.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.6392        3.9089        .21716E-03   -1.5452    
  21  Prefactor     37.728        39.141        .65249E-04   -1.4479    
  22  Prefactor     .79685        166.26        .63413E-02   -1.5529    
  23  Prefactor     .10000E-03    3.6211        .15419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .92409        .22888        .30030E-03   -.95619    
  25  Prefactor     .80923        .13294        .19778E-03   -.99389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.35417e-09
Minuit parameter uncertainties:
  1  0.000358389
  2  0.197117
  3  9.8037
  4  0.00066566
  5  8.61763e-07
  6  12.2228
  7  8.67325e-06
  8  0.000199527
  9  0.0411856
  10  13.1562
  11  22.7662
  12  52.1532
  13  9.1508
  14  2.8387e-05
  15  239.662
  16  13.644
  17  0.00035221
  18  1.00501e-05
  19  0.000210478
  20  3.90955
  21  39.1672
  22  23.0839
  23  7.55032e-06
  24  0.229124
  25  0.132993
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.917e+01  1.316e+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:  8.092e-01  1.330e-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:  9.241e-01  2.291e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.06
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 6.90e-08 +/- 4.73e-08
Energy Flux (Fixed Index): 2.95e-05 +/- 2.02e-05

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) = 6895.84944251
delta logL = 0.0402775891334

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6895.84767258
delta logL = 0.0420475275359

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.600       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3732       1.0000          .0000       10.000    
     3 'Normalizat'    .91264       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81330       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=   6895.848     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      303 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.604        15.336        .98302E-04    .57594E-04
   2  Index         2.3734        .55010        .56672E-02    .56000E-03
   3  Normalizat    .91265        .21518        .30195E-03   -.11408E-03
   4  Prefactor     .81325        .13214        .19733E-03   -.15325E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.6041
  Index      = 2.37342
  Normalizat = 0.912649
  Prefactor  = 0.813246
 **********
 **   18 **HESSE 
 **********

 FCN=   6895.848     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.604        14.437        .39321E-05   -1.4893    
   2  Index         2.3734        .51730        .11334E-02   -.55309    
   3  Normalizat    .91265        .21480        .12078E-04   -.96017    
   4  Prefactor     .81325        .13203        .78931E-05   -.99242    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.78659e-11
Minuit parameter uncertainties:
  1  14.4402
  2  0.518588
  3  0.214999
  4  0.132077
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/500239': 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) = 6895.84767199
delta logL = 0.0420481108176

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.660e+01  1.444e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.373e+00  5.186e-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:  8.132e-01  1.321e-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:  9.126e-01  2.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.13
Ra Dec: 351.190 8.028
Photon Index (Free Index): 2.37 +/- 0.52
Photon Flux (Free Index): 7.96e-08 +/- 6.03e-08
Energy Flux (Free Index): 2.70e-05 +/- 1.85e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/500239/cmap_HighResolution_658195201_658454401_4FGL_J2324.7+0801_daily_bin1616.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.90e-08', energy_flux2='2.70e-05', photon_flux_error='4.73e-08', dlogl='4.20e-02', energy_flux='2.95e-05', photon_flux2='7.96e-08', job_status='DONE', time_completed='2021-12-08 09:40:08.837909', photon_index_error2='0.52', photon_index2='2.37', ts='4.06', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='1.85e-05', EG='0.92', time_epoch_completed='1638985208.84', return_code='0', job_id='500239', GAL2='0.81', EG2='0.91', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='6.03e-08', ts2='4.13', photon_index='2.23' WHERE bin_id='1616' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 09:40:08 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0187>
Subject: Job 500239: <4FGL_J2324.7+0801_daily_bin1616> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1616> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Wed Dec  8 09:25:34 2021
Job was executed on host(s) <bullet0187>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 09:27:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 09:27:06 2021
Terminated at Wed Dec  8 09:40:09 2021
Results reported at Wed Dec  8 09:40:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1616 351.19 8.0282 658195201 658454401 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 :                                   673.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            875 sec.

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

