/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 135 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 = 7284
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2324.6+3115_daily_bin118
RA = 351.17, Dec = 31.2573
tmin = 269913601, tmax = 270172801
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='829194', job_status='RUN', time_executed='2021-09-29 15:38:11.464806', time_epoch_executed='1632955091.46' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='118'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/829194

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/829194/ft1_4FGL_J2324.6+3115_daily_bin118.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/829194/ft2_4FGL_J2324.6+3115_daily_bin118.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/829194/ft1_4FGL_J2324.6+3115_daily_bin118.fits outfile=/scratch/kocevski/829194/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin118.fits ra=351.17 dec=31.2573 rad=12.0 tmin=269913601.0 tmax=270172801.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 1.64
user 1.47
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/829194/ft2_4FGL_J2324.6+3115_daily_bin118.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/829194/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin118.fits evtable="EVENTS" outfile="/scratch/kocevski/829194/ft1_filtered_4FGL_J2324.6+3115_daily_bin118.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.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/829194/ft1_filtered_4FGL_J2324.6+3115_daily_bin118.fits evtable="EVENTS" scfile=/scratch/kocevski/829194/ft2_4FGL_J2324.6+3115_daily_bin118.fits sctable="SC_DATA" expcube=/scratch/kocevski/829194/ltcube_269913601_270172801_4FGL_J2324.6+3115_daily_bin118.fits outfile=/scratch/kocevski/829194/expmap_269913601_270172801_4FGL_J2324.6+3115_daily_bin118.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/829194/ltcube_269913601_270172801_4FGL_J2324.6+3115_daily_bin118.fits
.....................!
real 190.69
user 185.32
sys 4.91

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/829194/ft1_filtered_4FGL_J2324.6+3115_daily_bin118.fits scfile=/scratch/kocevski/829194/ft2_4FGL_J2324.6+3115_daily_bin118.fits outfile=/scratch/kocevski/829194/cmap_269913601_270172801_4FGL_J2324.6+3115_daily_bin118.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/829194/ft1_filtered_4FGL_J2324.6+3115_daily_bin118.fits scfile=/scratch/kocevski/829194/ft2_4FGL_J2324.6+3115_daily_bin118.fits outfile=/scratch/kocevski/829194/cmap_HighResolution_269913601_270172801_4FGL_J2324.6+3115_daily_bin118.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.55
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/829194/ft1_filtered_4FGL_J2324.6+3115_daily_bin118.fits', '/scratch/kocevski/829194/ft2_4FGL_J2324.6+3115_daily_bin118.fits', expMap='/scratch/kocevski/829194/expmap_269913601_270172801_4FGL_J2324.6+3115_daily_bin118.fits', expCube='/scratch/kocevski/829194/ltcube_269913601_270172801_4FGL_J2324.6+3115_daily_bin118.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/829194/Model_4FGL_J2324.6+3115_daily_bin118.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/829194/ft1_filtered_4FGL_J2324.6+3115_daily_bin118.fits
Spacecraft file(s): /scratch/kocevski/829194/ft2_4FGL_J2324.6+3115_daily_bin118.fits
Exposure map: /scratch/kocevski/829194/expmap_269913601_270172801_4FGL_J2324.6+3115_daily_bin118.fits
Exposure cube: /scratch/kocevski/829194/ltcube_269913601_270172801_4FGL_J2324.6+3115_daily_bin118.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/829194/Model_4FGL_J2324.6+3115_daily_bin118.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) = 6846.28112201

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.768       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .55665E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.575       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.2803       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .80751       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.676       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    7.7150       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.7128       1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.715       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10216E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0037       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .88541       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=   6846.278     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2513 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.776        16.853        .10716E-05    .76794E-04
   2  Prefactor     .10000E-03    6.2413       -.36362E-06** at limit **
   3  norm          .10000E-03    .45027        .96474E-07** at limit **
   4  Prefactor     .10003E-03    241.00       -.20914E-03** at limit **
   5  Prefactor     18.571        21.707       -.14211E-05   -.33637E-04
   6  Prefactor     .10000E-03    9.0639        .52122E-06** at limit **
   7  Prefactor     5.2803        5.2887        .23108E-07    .64761E-04
   8  Prefactor     .10000E-03    5.5117       -.25718E-06** at limit **
   9  Prefactor     .10000E-03    45.804        .92851E-05** at limit **
  10  norm          .80749        1.1682       -.22356E-06   -.13802E-02
  11  Prefactor     .10000E-03    8.1210        .12103E-05** at limit **
  12  Prefactor     .10000E-03    4.0615       -.16893E-06** at limit **
  13  Prefactor     12.676        14.145        .16144E-08    .17611E-05
  14  norm          .10000E-03    1.1827       -.46236E-07** at limit **
  15  norm          7.7152        7.4975        .24655E-07    .43261E-04
  16  Prefactor     .10000E-03    6.2325        .10411E-05** at limit **
  17  norm          4.7132        2.7818       -.22830E-07   -.71758E-04
  18  Prefactor     20.717        21.534        .10622E-05   -.52369E-05
  19  Prefactor     .10000E-03    29.141        .55178E-05** at limit **
  20  Prefactor     .10000E-03    27.879       -.81687E-05** at limit **
  21  Prefactor     .10000E-03    7.5428       -.21240E-05** at limit **
  22  Normalizat    1.0036        .18853       -.66654E-06    .19864E-03
  23  Prefactor     .88539        .96444E-01    .63854E-06    .37299E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 16.7764
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100026
  Prefactor  = 18.5713
  Prefactor  = 0.0001
  Prefactor  = 5.28031
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.807492
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.6761
  norm       = 0.0001
  norm       = 7.71521
  Prefactor  = 0.0001
  norm       = 4.71316
  Prefactor  = 20.717
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.00365
  Prefactor  = 0.88539
 **********
 **   18 **HESSE 
 **********

 FCN=   6846.278     FROM HESSE     STATUS=OK           368 CALLS     2881 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.776        16.824        .97808E-04   -1.4889    
   2  Prefactor     .10000E-03    6.3362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .63630        .10544E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10003E-03    240.81        .21103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.571        21.232        .92931E-04   -1.4846    
   6  Prefactor     .10000E-03    9.0842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.2803        5.2922        .17491E-03   -1.5248    
   8  Prefactor     .10000E-03    5.5382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    46.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .80749        1.0256        .10276E-02   -1.5528    
  11  Prefactor     .10000E-03    8.1313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.0737        .16283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.676        14.145        .11251E-03   -1.4996    
  14  norm          .10000E-03    1.1852        .87872E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.7152        7.5003        .14437E-03   -1.5152    
  16  Prefactor     .10000E-03    6.2512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.7132        2.7832        .10247E-03   -1.5274    
  18  Prefactor     20.717        21.542        .88003E-04   -1.4797    
  19  Prefactor     .10000E-03    29.237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    27.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.6989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0036        .21681        .31136E-03   -.92908    
  23  Prefactor     .88539        .11179        .16744E-03   -.96654    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.4172e-10
Minuit parameter uncertainties:
  1  16.8283
  2  2.12249e-06
  3  5.28525e-06
  4  0.00500778
  5  21.2411
  6  8.81636e-07
  7  5.29272
  8  3.28103e-07
  9  9.35516e-05
  10  1.02563
  11  6.79802e-07
  12  6.7692e-07
  13  14.1492
  14  1.0189e-07
  15  7.50122
  16  1.26401e-06
  17  2.78326
  18  21.55
  19  2.08614e-05
  20  1.61581e-05
  21  1.1631e-05
  22  0.216997
  23  0.111822
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  1.264e-06  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:  8.854e-01  1.118e-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.004e+00  2.170e-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: 7.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/829194/likelihoodResults_269913601_270172801_4FGL_J2324.6+3115_daily_bin118.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) = 6846.27827422
delta logL = -0.000762369314543

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6846.27751169
delta logL = 1.67611688084e-07

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 'Index     '    2.8524       1.0000          .0000       10.000    
     3 'Normalizat'    1.0036       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88539       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6846.278     FROM MIGRAD    STATUS=FAILED       108 CALLS      264 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    112.84        .18142E-01** at limit **
   2  Index         2.0129        5.3392        .50000       -.32350E-05
   3  Normalizat    1.0036        .16612E-01    .31136E-03   -.15102E-02
   4  Prefactor     .88539        .84987E-02    .16744E-03   -.26996E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6846.278     FROM SIMPLEX   STATUS=UNCHANGED    147 CALLS      411 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    112.84        .60743E-03** at limit **
   2  Index         2.0129        5.3392        .15373E-04   -.32350E-05
   3  Normalizat    1.0036        .16612E-01    .85087E-07   -.15102E-02
   4  Prefactor     .88539        .84987E-02    .47350E-07   -.26996E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6846.278     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      442 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2206.5        .53772E-03** at limit **
   2  Index         2.0144        6.2805        .50000        .90631E-07
   3  Normalizat    1.0036        .12371        .62273E-04   -.15053E-02
   4  Prefactor     .88539        .63302E-01    .33487E-04   -.26894E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.01438
  Normalizat = 1.00364
  Prefactor  = 0.885388
 **********
 **   18 **HESSE 
 **********

 FCN=   6846.278     FROM HESSE     STATUS=OK            29 CALLS      471 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.311        .10754E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0144        5.6995        .50000       -.63991    
   3  Normalizat    1.0036        .21570        .12455E-04   -.92908    
   4  Prefactor     .88539        .11042        .66975E-05   -.96654    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53259e-09
Minuit parameter uncertainties:
  1  0.000108755
  2  106.546
  3  0.215888
  4  0.110443
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/829194': 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) = 6846.27750826
delta logL = 3.59642217518e-06

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  1.088e-04  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.014e+00  1.065e+02  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:  8.854e-01  1.104e-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.004e+00  2.159e-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/829194/cmap_HighResolution_269913601_270172801_4FGL_J2324.6+3115_daily_bin118.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.34e-03', job_status='DONE', photon_flux_upper_limit='7.98e-08', time_completed='2021-09-29 15:49:39.232095', job_id='829194', GAL2='0.89', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1632955779.23', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.60e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='118' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 15:49:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 829194: <4FGL_J2324.6+3115_daily_bin118> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin118> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 15:35:46 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 15:35:47 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:35:47 2021
Terminated at Wed Sep 29 15:49:39 2021
Results reported at Wed Sep 29 15:49:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin118 351.17 31.2573 269913601 270172801 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 :                                   687.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            833 sec.

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

