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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1251
RA = 351.19, Dec = 8.0282
tmin = 563587201, tmax = 563846401
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='843728', job_status='RUN', time_executed='2021-09-29 16:28:21.913677', time_epoch_executed='1632958101.91' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1251'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/843728

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/843728/ft1_4FGL_J2324.7+0801_daily_bin1251.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/843728/ft2_4FGL_J2324.7+0801_daily_bin1251.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/843728/ft1_4FGL_J2324.7+0801_daily_bin1251.fits outfile=/scratch/kocevski/843728/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1251.fits ra=351.19 dec=8.0282 rad=12.0 tmin=563587201.0 tmax=563846401.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.75
user 2.55
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/843728/ft2_4FGL_J2324.7+0801_daily_bin1251.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/843728/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1251.fits evtable="EVENTS" outfile="/scratch/kocevski/843728/ft1_filtered_4FGL_J2324.7+0801_daily_bin1251.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/843728/ft1_filtered_4FGL_J2324.7+0801_daily_bin1251.fits" evtable="EVENTS" scfile=/scratch/kocevski/843728/ft2_4FGL_J2324.7+0801_daily_bin1251.fits sctable="SC_DATA" outfile=/scratch/kocevski/843728/ltcube_563587201_563846401_4FGL_J2324.7+0801_daily_bin1251.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/843728/ft2_4FGL_J2324.7+0801_daily_bin1251.fits
.....................!
real 12.50
user 12.14
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/843728/ft1_filtered_4FGL_J2324.7+0801_daily_bin1251.fits evtable="EVENTS" scfile=/scratch/kocevski/843728/ft2_4FGL_J2324.7+0801_daily_bin1251.fits sctable="SC_DATA" expcube=/scratch/kocevski/843728/ltcube_563587201_563846401_4FGL_J2324.7+0801_daily_bin1251.fits outfile=/scratch/kocevski/843728/expmap_563587201_563846401_4FGL_J2324.7+0801_daily_bin1251.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/843728/ltcube_563587201_563846401_4FGL_J2324.7+0801_daily_bin1251.fits
.....................!
real 189.29
user 184.90
sys 4.06

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/843728/ft1_filtered_4FGL_J2324.7+0801_daily_bin1251.fits scfile=/scratch/kocevski/843728/ft2_4FGL_J2324.7+0801_daily_bin1251.fits outfile=/scratch/kocevski/843728/cmap_563587201_563846401_4FGL_J2324.7+0801_daily_bin1251.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/843728/ft1_filtered_4FGL_J2324.7+0801_daily_bin1251.fits scfile=/scratch/kocevski/843728/ft2_4FGL_J2324.7+0801_daily_bin1251.fits outfile=/scratch/kocevski/843728/cmap_HighResolution_563587201_563846401_4FGL_J2324.7+0801_daily_bin1251.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/843728/ft1_filtered_4FGL_J2324.7+0801_daily_bin1251.fits evtable="EVENTS" scfile=/scratch/kocevski/843728/ft2_4FGL_J2324.7+0801_daily_bin1251.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/843728/Model_4FGL_J2324.7+0801_daily_bin1251.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/843728/ft1_filtered_4FGL_J2324.7+0801_daily_bin1251.fits.....................!
real 64.44
user 63.18
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .83117       1.0000         .10000E-03   10000.    
     3 'norm      '    6.8220       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.7245       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.913       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.500       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.1461       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.009       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11433E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .26488E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    12.421       1.0000         .10000E-03   10000.    
    19 'norm      '    33.979       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.1112       1.0000         .10000E-03   10000.    
    21 'Prefactor '    39.334       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .38315E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10176E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3837       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .79040       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=   5512.767     FROM MIGRAD    STATUS=CONVERGED    604 CALLS     2939 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.8186       -.58138E-07** at limit **
   2  Prefactor     .83112        .20104        .20811E-07    .86535E-04
   3  norm          6.8208        9.1551        .11944E-07   -.32869E-04
   4  Prefactor     3.7311        91.319        .62854E-07    .68448E-05
   5  Prefactor     12.912        9.8255       -.10118E-05    .18344E-04
   6  Prefactor     .10000E-03    3.9901       -.18361E-07** at limit **
   7  Prefactor     .10000E-03    11.773       -.79464E-07** at limit **
   8  Prefactor     .10000E-03    4.0915       -.94425E-07** at limit **
   9  norm          .10000E-03    .38731       -.93004E-07** at limit **
  10  Prefactor     10.514        11.653        .27180E-06    .95225E-04
  11  Prefactor     .10000E-03    28.085       -.26165E-06** at limit **
  12  Prefactor     .10000E-03    36.548        .29655E-06** at limit **
  13  norm          1.1080        28.430       -.41447E-05   -.16190E-05
  14  Prefactor     14.049        13.135        .73840E-06    .23327E-03
  15  Prefactor     .10000E-03    88.912       -.12412E-06** at limit **
  16  Prefactor     .10002E-03    12.196       -.24467E-05** at limit **
  17  Prefactor     .10000E-03    22.046        .34059E-06** at limit **
  18  norm          12.417        18.974        .14801E-08    .15603E-04
  19  norm          33.887        38.768        .18249E-05    .19692E-03
  20  Prefactor     7.1250        8.1432        .28792E-07    .16381E-03
  21  Prefactor     39.276        54.167       -.16569E-06    .10527E-03
  22  Prefactor     .10004E-03    228.99        .14694E-04** at limit **
  23  Prefactor     .10000E-03    7.7312       -.94191E-07** at limit **
  24  Normalizat    1.3843        .27914       -.15375E-05    .16971E-03
  25  Prefactor     .78997        .15848        .11495E-05   -.70781E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.831116
  norm       = 6.8208
  Prefactor  = 3.7311
  Prefactor  = 12.9121
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.5144
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.10802
  Prefactor  = 14.0492
  Prefactor  = 0.0001
  Prefactor  = 0.000100019
  Prefactor  = 0.0001
  norm       = 12.4169
  norm       = 33.887
  Prefactor  = 7.125
  Prefactor  = 39.276
  Prefactor  = 0.000100041
  Prefactor  = 0.0001
  Normalizat = 1.38432
  Prefactor  = 0.789972
 **********
 **   18 **HESSE 
 **********

 FCN=   5512.767     FROM HESSE     STATUS=OK           427 CALLS     3366 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.8396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .83112        .20056        .15512E-04   -1.5526    
   3  norm          6.8208        9.1539        .15361E-03   -1.5186    
   4  Prefactor     3.7311        91.290        .20924E-03   -1.5322    
   5  Prefactor     12.912        9.7994        .55734E-03   -1.4989    
   6  Prefactor     .10000E-03    3.9933        .14483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.1154        .14659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .39676        .90088E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.514        11.603        .12365E-03   -1.5059    
  11  Prefactor     .10000E-03    28.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    36.584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.1080        28.552        .43314E-03   -1.5497    
  14  Prefactor     14.049        12.833        .10701E-03   -1.4958    
  15  Prefactor     .10000E-03    88.918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10002E-03    40.613        .40951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    22.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          12.417        18.964        .11366E-03   -1.5003    
  19  norm          33.887        39.247        .68745E-04   -1.4543    
  20  Prefactor     7.1250        8.1597        .15043E-03   -1.5174    
  21  Prefactor     39.276        54.528        .63910E-04   -1.4454    
  22  Prefactor     .10004E-03    235.10        .74919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    7.7559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.3843        .31103        .29553E-03   -.81083    
  25  Prefactor     .78997        .17791        .22880E-03   -1.0010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23481e-09
Minuit parameter uncertainties:
  1  3.95265e-06
  2  0.20056
  3  9.15582
  4  36.9743
  5  9.8006
  6  5.09892e-06
  7  3.64268e-06
  8  8.33617e-06
  9  3.80363e-07
  10  11.6051
  11  5.10784e-05
  12  4.37773e-05
  13  11.2546
  14  12.8357
  15  7.20523e-05
  16  0.00178013
  17  4.13052e-05
  18  18.9729
  19  39.2774
  20  8.16094
  21  54.5968
  22  0.00622158
  23  4.81555e-06
  24  0.311458
  25  0.178041
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.051e+01  1.161e+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:  7.900e-01  1.780e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.384e+00  3.115e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.67
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 3.78e-08 +/- 4.17e-08
Energy Flux (Fixed Index): 1.62e-05 +/- 1.78e-05

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

Saving results to:
/scratch/kocevski/843728/likelihoodResults_563587201_563846401_4FGL_J2324.7+0801_daily_bin1251.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5512.58261809
delta logL = 0.184714420607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5512.58222392
delta logL = 0.185108585663

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.935       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8043       1.0000          .0000       10.000    
     3 'Normalizat'    1.4014       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78377       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=   5512.582     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      265 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.920        759.50        .26824E-02    .52469E-05
   2  Index         1.8035        5.6396        .18908        .14662E-04
   3  Normalizat    1.4014        .26949        .66467E-01    .60117E-05
   4  Prefactor     .78379        .10640        .43506E-01    .11423E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.9203
  Index      = 1.80348
  Normalizat = 1.40141
  Prefactor  = 0.783787
 **********
 **   18 **HESSE 
 **********

 FCN=   5512.582     FROM HESSE     STATUS=OK            33 CALLS      298 TOTAL
                     EDM=   .30E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.920        14.780        .10730E-03   -1.4962    
   2  Index         1.8035        .66422        .10363E-01   -.69359    
   3  Normalizat    1.4014        .29136        .29403E-03   -.80588    
   4  Prefactor     .78379        .17692        .22958E-03   -1.0033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.0145e-13
Minuit parameter uncertainties:
  1  14.7838
  2  0.667569
  3  0.291705
  4  0.177049
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/843728': 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) = 5512.58222255
delta logL = 0.185109959526

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.392e+01  1.478e+01  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  1.803e+00  6.676e-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:  7.838e-01  1.770e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.401e+00  2.917e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.05
Ra Dec: 351.190 8.028
Photon Index (Free Index): 1.80 +/- 0.67
Photon Flux (Free Index): 2.39e-08 +/- 3.37e-08
Energy Flux (Free Index): 2.83e-05 +/- 4.26e-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/843728/cmap_HighResolution_563587201_563846401_4FGL_J2324.7+0801_daily_bin1251.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.09e-02', comment='SUCCESS', photon_flux='3.78e-08', energy_flux2='2.83e-05', photon_flux_error='4.17e-08', dlogl='1.85e-01', energy_flux='1.62e-05', photon_flux2='2.39e-08', job_status='DONE', time_completed='2021-09-29 16:39:05.503133', photon_index_error2='0.67', photon_index2='1.80', ts='1.67', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='1.42e-07', energy_flux_error2='4.26e-05', EG='1.38', time_epoch_completed='1632958745.5', return_code='0', job_id='843728', GAL2='0.78', EG2='1.40', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='3.37e-08', ts2='2.05', photon_index='2.23' WHERE bin_id='1251' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:39:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 843728: <4FGL_J2324.7+0801_daily_bin1251> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1251> 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) <bullet0278>, 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:39:06 2021
Results reported at Wed Sep 29 16:39:06 2021

Your job looked like:

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

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

