/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 75 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 = 7427
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2324.7+0801_daily_bin264
RA = 351.19, Dec = 8.0282
tmin = 307756801, tmax = 308016001
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='838003', job_status='RUN', time_executed='2021-09-29 16:07:09.677154', time_epoch_executed='1632956829.68' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='264'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/838003

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/838003/ft1_4FGL_J2324.7+0801_daily_bin264.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/838003/ft2_4FGL_J2324.7+0801_daily_bin264.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/838003/ft1_4FGL_J2324.7+0801_daily_bin264.fits outfile=/scratch/kocevski/838003/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin264.fits ra=351.19 dec=8.0282 rad=12.0 tmin=307756801.0 tmax=308016001.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.43
user 3.21
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/838003/ft1_filtered_4FGL_J2324.7+0801_daily_bin264.fits" evtable="EVENTS" scfile=/scratch/kocevski/838003/ft2_4FGL_J2324.7+0801_daily_bin264.fits sctable="SC_DATA" outfile=/scratch/kocevski/838003/ltcube_307756801_308016001_4FGL_J2324.7+0801_daily_bin264.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/838003/ft2_4FGL_J2324.7+0801_daily_bin264.fits
.....................!
real 11.65
user 11.31
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/838003/ft1_filtered_4FGL_J2324.7+0801_daily_bin264.fits evtable="EVENTS" scfile=/scratch/kocevski/838003/ft2_4FGL_J2324.7+0801_daily_bin264.fits sctable="SC_DATA" expcube=/scratch/kocevski/838003/ltcube_307756801_308016001_4FGL_J2324.7+0801_daily_bin264.fits outfile=/scratch/kocevski/838003/expmap_307756801_308016001_4FGL_J2324.7+0801_daily_bin264.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/838003/ltcube_307756801_308016001_4FGL_J2324.7+0801_daily_bin264.fits
.....................!
real 189.92
user 184.69
sys 4.89

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/838003/ft1_filtered_4FGL_J2324.7+0801_daily_bin264.fits scfile=/scratch/kocevski/838003/ft2_4FGL_J2324.7+0801_daily_bin264.fits outfile=/scratch/kocevski/838003/cmap_307756801_308016001_4FGL_J2324.7+0801_daily_bin264.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/838003/ft1_filtered_4FGL_J2324.7+0801_daily_bin264.fits scfile=/scratch/kocevski/838003/ft2_4FGL_J2324.7+0801_daily_bin264.fits outfile=/scratch/kocevski/838003/cmap_HighResolution_307756801_308016001_4FGL_J2324.7+0801_daily_bin264.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    5.0935       1.0000         .10000E-03   10000.    
     3 'norm      '    .40922       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.2776       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.3029       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.8733       1.0000         .10000E-03   10000.    
     9 'norm      '    2.5479       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10291E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.9549       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.1464       1.0000         .10000E-03   10000.    
    13 'norm      '    4.4279       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.8842       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.3921       1.0000         .10000E-03   10000.    
    18 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    23.053       1.0000         .10000E-03   10000.    
    21 'Prefactor '    27.551       1.0000         .10000E-03   10000.    
    22 'Prefactor '    33.352       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .92977       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0360       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=   8098.151     FROM MIGRAD    STATUS=CONVERGED   1016 CALLS     3343 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.8463        .18142E-02** at limit **
   2  Prefactor     5.0934        .39601        .15081E-04    .10554E-03
   3  norm          .20143        15.514        .95945E-01    .20939E-03
   4  Prefactor     .10000E-03    9.5203        .18142E-02** at limit **
   5  Prefactor     1.2751        9.7717        .39297E-03   -.10907E-04
   6  Prefactor     1.3021        6.5675        .38691E-03   -.36141E-05
   7  Prefactor     .10000E-03    5.7808        .18142E-02** at limit **
   8  Prefactor     5.8704        7.1426        .82854E-03   -.80956E-04
   9  norm          2.5481        1.4751        .79343E-04   -.12896E-05
  10  Prefactor     .10000E-03    10.860        .18142E-02** at limit **
  11  Prefactor     2.9532        10.130        .11812E-02   -.57651E-04
  12  Prefactor     3.1455        60.398        .22852E-03   -.99497E-07
  13  norm          4.4160        13.732        .19137E-03   -.54000E-04
  14  Prefactor     4.8917        10.378        .18201E-03    .91571E-04
  15  Prefactor     .10000E-03    114.42        .18142E-02** at limit **
  16  Prefactor     .10000E-03    12.576        .18142E-02** at limit **
  17  Prefactor     2.3873        68.692        .26479E-03    .91020E-05
  18  norm          .10000E-03    23.432        .36285E-03** at limit **
  19  norm          .10000E-03    12.887        .18142E-02** at limit **
  20  Prefactor     23.054        7.8060        .83426E-04   -.12673E-04
  21  Prefactor     27.517        45.280        .76324E-04   -.23981E-04
  22  Prefactor     33.343        28.855        .69386E-04   -.23266E-04
  23  Prefactor     .10000E-03    3.2073        .15726E-02** at limit **
  24  Normalizat    .93005        .28213        .37938E-03    .70960E-04
  25  Prefactor     1.0360        .16640        .22810E-03   -.11647E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.09338
  norm       = 0.201427
  Prefactor  = 0.0001
  Prefactor  = 1.2751
  Prefactor  = 1.30214
  Prefactor  = 0.0001
  Prefactor  = 5.87045
  norm       = 2.54813
  Prefactor  = 0.0001
  Prefactor  = 2.95318
  Prefactor  = 3.14548
  norm       = 4.41602
  Prefactor  = 4.8917
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 2.38731
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 23.0541
  Prefactor  = 27.517
  Prefactor  = 33.3425
  Prefactor  = 0.0001
  Normalizat = 0.930053
  Prefactor  = 1.03603
 **********
 **   18 **HESSE 
 **********

 FCN=   8098.151     FROM HESSE     STATUS=OK           415 CALLS     3758 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.8464        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.0934        .39596        .60323E-06   -1.5257    
   3  norm          .20143        14.824        .99032E-01   -1.5618    
   4  Prefactor     .10000E-03    9.5205        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.2751        9.7648        .15719E-04   -1.5482    
   6  Prefactor     1.3021        6.5665        .15476E-04   -1.5480    
   7  Prefactor     .10000E-03    5.7810        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.8704        7.1396        .33141E-04   -1.5223    
   9  norm          2.5481        1.4751        .31737E-05   -1.5389    
  10  Prefactor     .10000E-03    10.866        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.9532        10.126        .47249E-04   -1.5364    
  12  Prefactor     3.1455        60.393        .91409E-05   -1.5353    
  13  norm          4.4160        13.696        .76550E-05   -1.5288    
  14  Prefactor     4.8917        10.354        .72802E-05   -1.5266    
  15  Prefactor     .10000E-03    114.42        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.580        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.3873        68.604        .10592E-04   -1.5399    
  18  norm          .10000E-03    23.433        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    12.887        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     23.054        7.8056        .33370E-05   -1.4747    
  21  Prefactor     27.517        45.320        .30530E-05   -1.4658    
  22  Prefactor     33.343        28.863        .27755E-05   -1.4552    
  23  Prefactor     .10000E-03    3.2074        .31452E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .93005        .28234        .15175E-04   -.95412    
  25  Prefactor     1.0360        .16656        .45620E-04   -.91538    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.49961e-10
Minuit parameter uncertainties:
  1  9.63905e-08
  2  0.395958
  3  3.45603
  4  4.53789e-06
  5  7.05854
  6  5.84904
  7  1.39403e-06
  8  7.14067
  9  1.47509
  10  5.87578e-05
  11  10.1318
  12  27.5973
  13  13.706
  14  10.3582
  15  0.000597896
  16  7.55769e-08
  17  25.6271
  18  3.45629e-05
  19  2.02982e-06
  20  7.8059
  21  45.3772
  22  28.8752
  23  2.54672e-07
  24  0.282794
  25  0.16664
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.000e-04  5.876e-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.036e+00  1.666e-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.301e-01  2.828e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 8.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/838003/likelihoodResults_307756801_308016001_4FGL_J2324.7+0801_daily_bin264.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) = 8098.15180076
delta logL = -0.000438907810349

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8098.151362
delta logL = -1.41158125189e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11481E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2805       1.0000          .0000       10.000    
     3 'Normalizat'    .93017       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0360       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=   8098.151     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      215 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    210.69        .90712E-02** at limit **
   2  Index         2.3503        8.6213        .50000       -.57107E-04
   3  Normalizat    .93005        .21177E-01    .85673E-01    .49002E-04
   4  Prefactor     1.0360        .13439E-01    .40812E-01    .14229E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100023
  Index      = 2.35035
  Normalizat = 0.93005
  Prefactor  = 1.03603
 **********
 **   18 **HESSE 
 **********

 FCN=   8098.151     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      248 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    6189.6        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3503        5.5670        .50000       -.55852    
   3  Normalizat    .93005        .96738E-01    .37937E-03   -.95412    
   4  Prefactor     1.0360        .61533E-01    .22810E-03   -.91538    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.50413e-06
Minuit parameter uncertainties:
  1  0.0155352
  2  54.5552
  3  0.0967564
  4  0.0615374
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/838003': 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) = 8098.15136042
delta logL = 1.43163106259e-06

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.000e-04  1.554e-02  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.350e+00  5.456e+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.036e+00  6.154e-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:  9.301e-01  9.676e-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/838003/cmap_HighResolution_307756801_308016001_4FGL_J2324.7+0801_daily_bin264.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.39e-03', job_status='DONE', photon_flux_upper_limit='8.37e-08', time_completed='2021-09-29 16:21:28.135649', job_id='838003', GAL2='1.04', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1632957688.14', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.43e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='264' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:21:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 838003: <4FGL_J2324.7+0801_daily_bin264> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin264> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 16:05:45 2021
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:05:46 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:05:46 2021
Terminated at Wed Sep 29 16:21:28 2021
Results reported at Wed Sep 29 16:21:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin264 351.19 8.0282 307756801 308016001 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 :                                   856.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.73 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.

