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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin1037
RA = 351.17, Dec = 31.2573
tmin = 508118401, tmax = 508377601
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='834761', job_status='RUN', time_executed='2021-09-29 15:55:50.337360', time_epoch_executed='1632956150.34' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='1037'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834761

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834761/ft1_4FGL_J2324.6+3115_daily_bin1037.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834761/ft2_4FGL_J2324.6+3115_daily_bin1037.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834761/ft1_4FGL_J2324.6+3115_daily_bin1037.fits outfile=/scratch/kocevski/834761/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1037.fits ra=351.17 dec=31.2573 rad=12.0 tmin=508118401.0 tmax=508377601.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.65
user 3.43
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/834761/ft2_4FGL_J2324.6+3115_daily_bin1037.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/834761/ft2_4FGL_J2324.6+3115_daily_bin1037.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/834761/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1037.fits evtable="EVENTS" outfile="/scratch/kocevski/834761/ft1_filtered_4FGL_J2324.6+3115_daily_bin1037.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834761/ft1_filtered_4FGL_J2324.6+3115_daily_bin1037.fits" evtable="EVENTS" scfile=/scratch/kocevski/834761/ft2_4FGL_J2324.6+3115_daily_bin1037.fits sctable="SC_DATA" outfile=/scratch/kocevski/834761/ltcube_508118401_508377601_4FGL_J2324.6+3115_daily_bin1037.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/834761/ft2_4FGL_J2324.6+3115_daily_bin1037.fits
.....................!
real 11.91
user 11.57
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834761/ft1_filtered_4FGL_J2324.6+3115_daily_bin1037.fits evtable="EVENTS" scfile=/scratch/kocevski/834761/ft2_4FGL_J2324.6+3115_daily_bin1037.fits sctable="SC_DATA" expcube=/scratch/kocevski/834761/ltcube_508118401_508377601_4FGL_J2324.6+3115_daily_bin1037.fits outfile=/scratch/kocevski/834761/expmap_508118401_508377601_4FGL_J2324.6+3115_daily_bin1037.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/834761/ltcube_508118401_508377601_4FGL_J2324.6+3115_daily_bin1037.fits
.....................!
real 190.28
user 185.57
sys 4.33

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 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2324.6+3115 @ 351.17 31.2573

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/834761/ft1_filtered_4FGL_J2324.6+3115_daily_bin1037.fits scfile=/scratch/kocevski/834761/ft2_4FGL_J2324.6+3115_daily_bin1037.fits outfile=/scratch/kocevski/834761/cmap_508118401_508377601_4FGL_J2324.6+3115_daily_bin1037.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.17 yref=31.2573 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834761/ft1_filtered_4FGL_J2324.6+3115_daily_bin1037.fits scfile=/scratch/kocevski/834761/ft2_4FGL_J2324.6+3115_daily_bin1037.fits outfile=/scratch/kocevski/834761/cmap_HighResolution_508118401_508377601_4FGL_J2324.6+3115_daily_bin1037.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.17 yref=31.2573 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/834761/ft1_filtered_4FGL_J2324.6+3115_daily_bin1037.fits evtable="EVENTS" scfile=/scratch/kocevski/834761/ft2_4FGL_J2324.6+3115_daily_bin1037.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834761/Model_4FGL_J2324.6+3115_daily_bin1037.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/834761/ft1_filtered_4FGL_J2324.6+3115_daily_bin1037.fits.....................!
real 96.03
user 94.71
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/834761/ft1_filtered_4FGL_J2324.6+3115_daily_bin1037.fits', '/scratch/kocevski/834761/ft2_4FGL_J2324.6+3115_daily_bin1037.fits', expMap='/scratch/kocevski/834761/expmap_508118401_508377601_4FGL_J2324.6+3115_daily_bin1037.fits', expCube='/scratch/kocevski/834761/ltcube_508118401_508377601_4FGL_J2324.6+3115_daily_bin1037.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/834761/Model_4FGL_J2324.6+3115_daily_bin1037.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.6+3115'

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.967e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/834761/ft1_filtered_4FGL_J2324.6+3115_daily_bin1037.fits
Spacecraft file(s): /scratch/kocevski/834761/ft2_4FGL_J2324.6+3115_daily_bin1037.fits
Exposure map: /scratch/kocevski/834761/expmap_508118401_508377601_4FGL_J2324.6+3115_daily_bin1037.fits
Exposure cube: /scratch/kocevski/834761/ltcube_508118401_508377601_4FGL_J2324.6+3115_daily_bin1037.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/834761/Model_4FGL_J2324.6+3115_daily_bin1037.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) = 8675.75389568

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.3443       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.657       1.0000         .10000E-03   10000.    
     3 'norm      '    4.5267       1.0000         .10000E-03   10000.    
     4 'Prefactor '    24.177       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12425E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.6472       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.324       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.7323       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.2797       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.8783       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11827E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10301E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0977       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .91481       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8675.700     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2565 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.3471        15.273       -.56191E-06   -.45823E-04
   2  Prefactor     11.657        6.9936       -.19719E-06   -.76178E-04
   3  norm          4.5264        1.3925       -.30520E-07    .60431E-04
   4  Prefactor     24.140        67.204       -.59099E-04    .29833E-05
   5  Prefactor     .10000E-03    6.5629        .26364E-06** at limit **
   6  Prefactor     .10000E-03    45.982        .35232E-06** at limit **
   7  Prefactor     .10000E-03    1.7802        .54257E-08** at limit **
   8  Prefactor     .10000E-03    7.9244       -.51697E-06** at limit **
   9  Prefactor     .10000E-03    8.4121        .60921E-06** at limit **
  10  norm          1.6473        1.2185       -.10449E-06   -.58623E-03
  11  Prefactor     .10000E-03    13.725       -.42078E-06** at limit **
  12  Prefactor     15.322        11.917       -.37211E-06   -.24658E-04
  13  Prefactor     .10000E-03    21.254       -.40882E-05** at limit **
  14  norm          2.7331        2.8587       -.54079E-07    .54446E-04
  15  norm          .10000E-03    5.3976       -.54247E-07** at limit **
  16  Prefactor     .10000E-03    8.0587       -.18689E-06** at limit **
  17  norm          2.2801        2.2317       -.19723E-06   -.54612E-03
  18  Prefactor     2.8791        10.116       -.91581E-06   -.15571E-03
  19  Prefactor     .10000E-03    77.384        .11998E-05** at limit **
  20  Prefactor     .10000E-03    20.533        .41220E-05** at limit **
  21  Prefactor     .10000E-03    6.2750       -.21766E-06** at limit **
  22  Normalizat    1.0980        .18990        .25129E-06    .80867E-04
  23  Prefactor     .91464        .93320E-01    .11200E-05   -.94944E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.3471
  Prefactor  = 11.6568
  norm       = 4.52639
  Prefactor  = 24.1402
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.64727
  Prefactor  = 0.0001
  Prefactor  = 15.3219
  Prefactor  = 0.0001
  norm       = 2.73314
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.28015
  Prefactor  = 2.87913
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.09796
  Prefactor  = 0.914635
 **********
 **   18 **HESSE 
 **********

 FCN=   8675.700     FROM HESSE     STATUS=OK           366 CALLS     2931 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.3471        15.234        .13110E-03   -1.5096    
   2  Prefactor     11.657        7.0130        .11733E-03   -1.5025    
   3  norm          4.5264        1.3932        .59028E-04   -1.5282    
   4  Prefactor     24.140        67.202        .81467E-04   -1.4725    
   5  Prefactor     .10000E-03    6.5667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    46.827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.7891        .12136E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.0337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.4185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.6473        1.2066        .84658E-04   -1.5451    
  11  Prefactor     .10000E-03    13.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.322        11.892        .10231E-03   -1.4925    
  13  Prefactor     .10000E-03    21.362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.7331        2.8580        .15634E-03   -1.5377    
  15  norm          .10000E-03    5.4457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.1003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.2801        2.2192        .13084E-03   -1.5406    
  18  Prefactor     2.8791        10.105        .23957E-03   -1.5369    
  19  Prefactor     .10000E-03    78.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    20.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.3797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0980        .22228        .32402E-03   -.89817    
  23  Prefactor     .91464        .10955        .17484E-03   -.95632    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.86898e-10
Minuit parameter uncertainties:
  1  15.2402
  2  7.01349
  3  1.39321
  4  67.4136
  5  1.80021e-06
  6  0.000304848
  7  1.92769e-06
  8  1.50837e-05
  9  6.81501e-07
  10  1.20663
  11  2.03757e-05
  12  11.8938
  13  2.6065e-05
  14  2.85818
  15  4.84355e-06
  16  1.07018e-05
  17  2.21927
  18  10.111
  19  0.000224771
  20  5.62096e-06
  21  7.6251e-06
  22  0.22247
  23  0.109576
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  1.070e-05  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  9.146e-01  1.096e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.098e+00  2.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.170 31.257
Photon Flux Upper Limit: 8.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/834761/likelihoodResults_508118401_508377601_4FGL_J2324.6+3115_daily_bin1037.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) = 8675.70053548
delta logL = -0.000588444510868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8675.69995021
delta logL = -3.16997284244e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8773       1.0000          .0000       10.000    
     3 'Normalizat'    1.0979       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91453       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+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=   8675.700     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      243 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10006E-03    498.68        .18142E-02** at limit **
   2  Index         2.8985        6.9052        .50000       -.16618E-05
   3  Normalizat    1.0980        .42103E-01    .32402E-03   -.92838E-04
   4  Prefactor     .91464        .21070E-01    .17484E-03   -.14906E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100059
  Index      = 2.89845
  Normalizat = 1.09795
  Prefactor  = 0.914636
 **********
 **   18 **HESSE 
 **********

 FCN=   8675.700     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10006E-03    1629.2        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8985        7.8889        .50000       -.43379    
   3  Normalizat    1.0980        .12287        .12961E-04   -.89818    
   4  Prefactor     .91464        .61490E-01    .34968E-04   -.95632    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.83849e-09
Minuit parameter uncertainties:
  1  0.0201542
  2  3443.54
  3  0.1229
  4  0.0614943
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834761': 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) = 8675.69994703
delta logL = 6.27187546343e-09

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.001e-04  2.015e-02  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.898e+00  3.444e+03  0.000e+00  1.000e+01 (-1.000e+00)
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  9.146e-01  6.149e-02  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.098e+00  1.229e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.170 31.257

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/834761/cmap_HighResolution_508118401_508377601_4FGL_J2324.6+3115_daily_bin1037.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.45e-03', job_status='DONE', photon_flux_upper_limit='8.12e-08', time_completed='2021-09-29 16:09:22.671402', job_id='834761', GAL2='0.91', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1632956962.67', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='6.27e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='1037' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:09:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 834761: <4FGL_J2324.6+3115_daily_bin1037> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin1037> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 15:55:35 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 15:55:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 15:55:36 2021
Terminated at Wed Sep 29 16:09:23 2021
Results reported at Wed Sep 29 16:09:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin1037 351.17 31.2573 508118401 508377601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.6+3115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   804.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             363.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   826 sec.
    Turnaround time :                            828 sec.

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

