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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1250
RA = 351.19, Dec = 8.0282
tmin = 563328001, tmax = 563587201
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='843727', job_status='RUN', time_executed='2021-09-29 16:26:34.500657', time_epoch_executed='1632957994.5' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1250'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/843727

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/843727/ft1_4FGL_J2324.7+0801_daily_bin1250.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/843727/ft2_4FGL_J2324.7+0801_daily_bin1250.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/843727/ft1_4FGL_J2324.7+0801_daily_bin1250.fits outfile=/scratch/kocevski/843727/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1250.fits ra=351.19 dec=8.0282 rad=12.0 tmin=563328001.0 tmax=563587201.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.98
user 2.77
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/843727/ft1_filtered_4FGL_J2324.7+0801_daily_bin1250.fits" evtable="EVENTS" scfile=/scratch/kocevski/843727/ft2_4FGL_J2324.7+0801_daily_bin1250.fits sctable="SC_DATA" outfile=/scratch/kocevski/843727/ltcube_563328001_563587201_4FGL_J2324.7+0801_daily_bin1250.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/843727/ft2_4FGL_J2324.7+0801_daily_bin1250.fits
.....................!
real 12.27
user 11.90
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/843727/ft1_filtered_4FGL_J2324.7+0801_daily_bin1250.fits evtable="EVENTS" scfile=/scratch/kocevski/843727/ft2_4FGL_J2324.7+0801_daily_bin1250.fits sctable="SC_DATA" expcube=/scratch/kocevski/843727/ltcube_563328001_563587201_4FGL_J2324.7+0801_daily_bin1250.fits outfile=/scratch/kocevski/843727/expmap_563328001_563587201_4FGL_J2324.7+0801_daily_bin1250.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/843727/ltcube_563328001_563587201_4FGL_J2324.7+0801_daily_bin1250.fits
.....................!
real 189.89
user 185.18
sys 4.40

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/843727/ft1_filtered_4FGL_J2324.7+0801_daily_bin1250.fits scfile=/scratch/kocevski/843727/ft2_4FGL_J2324.7+0801_daily_bin1250.fits outfile=/scratch/kocevski/843727/cmap_563328001_563587201_4FGL_J2324.7+0801_daily_bin1250.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/843727/ft1_filtered_4FGL_J2324.7+0801_daily_bin1250.fits scfile=/scratch/kocevski/843727/ft2_4FGL_J2324.7+0801_daily_bin1250.fits outfile=/scratch/kocevski/843727/cmap_HighResolution_563328001_563587201_4FGL_J2324.7+0801_daily_bin1250.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.53
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/843727/ft1_filtered_4FGL_J2324.7+0801_daily_bin1250.fits evtable="EVENTS" scfile=/scratch/kocevski/843727/ft2_4FGL_J2324.7+0801_daily_bin1250.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/843727/Model_4FGL_J2324.7+0801_daily_bin1250.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/843727/ft1_filtered_4FGL_J2324.7+0801_daily_bin1250.fits.....................!
real 64.90
user 63.57
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2912       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.3168       1.0000         .10000E-03   10000.    
     3 'norm      '    7.9786       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.1957       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.595       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .22605E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.4359       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.9958       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    66.814       1.0000         .10000E-03   10000.    
    13 'norm      '    25.445       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11289E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.328       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.5099       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .11450E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .58836       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .82911       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .93866       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=   5739.695     FROM MIGRAD    STATUS=CONVERGED    572 CALLS     2492 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2870        97.429       -.15865E-05   -.98992E-05
   2  Prefactor     2.3169        .31049       -.37357E-07    .13193E-02
   3  norm          7.9767        12.382        .42084E-07    .16216E-04
   4  Prefactor     .10000E-03    17.003        .15355E-05** at limit **
   5  Prefactor     2.1958        8.4447        .83217E-05   -.24235E-03
   6  Prefactor     .10000E-03    6.1961       -.49606E-07** at limit **
   7  Prefactor     13.594        12.448        .44430E-07    .26476E-04
   8  Prefactor     .10002E-03    6.6435        .27406E-05** at limit **
   9  norm          1.4359        .94745        .46763E-08    .43431E-03
  10  Prefactor     8.9963        9.0376       -.67163E-08    .18066E-03
  11  Prefactor     .10000E-03    25.487        .18952E-05** at limit **
  12  Prefactor     66.860        58.856       -.49484E-05   -.35815E-04
  13  norm          25.457        13.734        .10687E-05    .76878E-03
  14  Prefactor     .10000E-03    18.032       -.23255E-05** at limit **
  15  Prefactor     .10000E-03    185.86        .19465E-05** at limit **
  16  Prefactor     22.334        17.224        .19838E-05    .71472E-03
  17  Prefactor     1.4786        121.93       -.58796E-05   -.35015E-05
  18  norm          .10000E-03    10.967       -.32605E-06** at limit **
  19  norm          .10000E-03    28.926       -.39965E-06** at limit **
  20  Prefactor     .58333        6.3261       -.56026E-06   -.65859E-04
  21  Prefactor     .10000E-03    29.826        .38911E-06** at limit **
  22  Prefactor     .10000E-03    31.426       -.20618E-05** at limit **
  23  Prefactor     .10000E-03    10.257       -.85996E-08** at limit **
  24  Normalizat    .82919        .24684        .16550E-05    .36004E-03
  25  Prefactor     .93870        .14791       -.72382E-06    .49683E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.28699
  Prefactor  = 2.31687
  norm       = 7.97669
  Prefactor  = 0.0001
  Prefactor  = 2.19584
  Prefactor  = 0.0001
  Prefactor  = 13.5939
  Prefactor  = 0.000100022
  norm       = 1.43589
  Prefactor  = 8.99629
  Prefactor  = 0.0001
  Prefactor  = 66.8596
  norm       = 25.4574
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 22.3336
  Prefactor  = 1.47861
  norm       = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.583334
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.829194
  Prefactor  = 0.938704
 **********
 **   18 **HESSE 
 **********

 FCN=   5739.695     FROM HESSE     STATUS=OK           425 CALLS     2917 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2870        98.618        .38966E-03   -1.5481    
   2  Prefactor     2.3169        .30885        .13972E-04   -1.5404    
   3  norm          7.9767        12.377        .14195E-03   -1.5143    
   4  Prefactor     .10000E-03    16.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.1958        8.6959        .13885E-02   -1.5412    
   6  Prefactor     .10000E-03    6.2110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.594        12.448        .10863E-03   -1.4970    
   8  Prefactor     .10002E-03    19.390        .34810E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.4359        .95025        .57782E-04   -1.5468    
  10  Prefactor     8.9963        9.0255        .13363E-03   -1.5108    
  11  Prefactor     .10000E-03    25.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     66.860        58.357        .24551E-03   -1.4071    
  13  norm          25.457        13.744        .79413E-04   -1.4698    
  14  Prefactor     .10000E-03    18.557        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    185.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.334        16.650        .84769E-04   -1.4762    
  17  Prefactor     1.4786        121.74        .34812E-03   -1.5465    
  18  norm          .10000E-03    10.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    28.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .58333        12.104        .30714E-02   -1.5555    
  21  Prefactor     .10000E-03    29.864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    31.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    10.307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .82919        .29072        .35820E-03   -.98995    
  25  Prefactor     .93870        .17503        .20840E-03   -.94801    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.80722e-08
Minuit parameter uncertainties:
  1  22.5696
  2  0.308846
  3  12.3808
  4  3.47459e-05
  5  8.70088
  6  1.84184e-05
  7  12.4505
  8  0.00130091
  9  0.950256
  10  9.02682
  11  3.13903e-05
  12  58.4074
  13  13.7461
  14  0.00041044
  15  3.06877e-05
  16  16.6536
  17  26.8895
  18  3.14787e-05
  19  0.00042815
  20  5.31517
  21  5.82713e-05
  22  8.72433e-05
  23  2.63466e-05
  24  0.291272
  25  0.175133
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  8.996e+00  9.027e+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

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  9.387e-01  1.751e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  8.292e-01  2.913e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.41
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 3.24e-08 +/- 3.25e-08
Energy Flux (Fixed Index): 1.38e-05 +/- 1.39e-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) = 5738.89622549
delta logL = 0.799143122402

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5738.89439952
delta logL = 0.800969089964

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.9947       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3208       1.0000          .0000       10.000    
     3 'Normalizat'    .84662       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93539       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=   5738.894     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      208 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.8259        8.9975        .33410E-02    .25751E-03
   2  Index         1.3150        .49987        .27906        .17765E-03
   3  Normalizat    .84650        .23523        .80187E-01    .10843E-03
   4  Prefactor     .93550        .14556        .45455E-01    .32027E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.82595
  Index      = 1.31498
  Normalizat = 0.846498
  Prefactor  = 0.935499
 **********
 **   18 **HESSE 
 **********

 FCN=   5738.894     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.8259        10.561        .13364E-03   -1.5114    
   2  Index         1.3150        .66192        .10892E-01   -.82863    
   3  Normalizat    .84650        .27785        .35500E-03   -.98366    
   4  Prefactor     .93550        .17250        .20878E-03   -.94911    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42617e-09
Minuit parameter uncertainties:
  1  10.5629
  2  0.666232
  3  0.278322
  4  0.172605
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/843727': 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) = 5738.89427829
delta logL = 0.801090322009

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  8.826e+00  1.056e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  1.315e+00  6.662e-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:  9.355e-01  1.726e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  8.465e-01  2.783e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.00
Ra Dec: 351.190 8.028
Photon Index (Free Index): 1.31 +/- 0.67
Photon Flux (Free Index): 9.05e-09 +/- 1.25e-08
Energy Flux (Free Index): 5.28e-05 +/- 8.35e-05

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/843727/cmap_HighResolution_563328001_563587201_4FGL_J2324.7+0801_daily_bin1250.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.24e-08', energy_flux2='5.28e-05', photon_flux_error='3.25e-08', dlogl='8.01e-01', energy_flux='1.38e-05', photon_flux2='9.05e-09', job_status='DONE', time_completed='2021-09-29 16:35:57.381776', photon_index_error2='0.67', photon_index2='1.31', ts='4.41', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='8.35e-05', EG='0.83', time_epoch_completed='1632958557.38', return_code='0', job_id='843727', GAL2='0.94', EG2='0.85', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='1.25e-08', ts2='6.00', photon_index='2.23' WHERE bin_id='1250' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:35:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 843727: <4FGL_J2324.7+0801_daily_bin1250> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1250> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 16:25:37 2021
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 16:25:38 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:38 2021
Terminated at Wed Sep 29 16:35:58 2021
Results reported at Wed Sep 29 16:35:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1250 351.19 8.0282 563328001 563587201 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 :                                   554.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   619 sec.
    Turnaround time :                            621 sec.

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

