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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin535
RA = 351.17, Dec = 31.2573
tmin = 378000001, tmax = 378259201
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='831819', job_status='RUN', time_executed='2021-09-29 15:45:32.248936', time_epoch_executed='1632955532.25' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='535'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/831819

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/831819/ft1_4FGL_J2324.6+3115_daily_bin535.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/831819/ft2_4FGL_J2324.6+3115_daily_bin535.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/831819/ft1_4FGL_J2324.6+3115_daily_bin535.fits outfile=/scratch/kocevski/831819/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin535.fits ra=351.17 dec=31.2573 rad=12.0 tmin=378000001.0 tmax=378259201.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.50
user 3.28
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/831819/ft2_4FGL_J2324.6+3115_daily_bin535.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/831819/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin535.fits evtable="EVENTS" outfile="/scratch/kocevski/831819/ft1_filtered_4FGL_J2324.6+3115_daily_bin535.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/831819/ft1_filtered_4FGL_J2324.6+3115_daily_bin535.fits" evtable="EVENTS" scfile=/scratch/kocevski/831819/ft2_4FGL_J2324.6+3115_daily_bin535.fits sctable="SC_DATA" outfile=/scratch/kocevski/831819/ltcube_378000001_378259201_4FGL_J2324.6+3115_daily_bin535.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/831819/ft2_4FGL_J2324.6+3115_daily_bin535.fits
.....................!
real 11.86
user 11.52
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/831819/ft1_filtered_4FGL_J2324.6+3115_daily_bin535.fits evtable="EVENTS" scfile=/scratch/kocevski/831819/ft2_4FGL_J2324.6+3115_daily_bin535.fits sctable="SC_DATA" expcube=/scratch/kocevski/831819/ltcube_378000001_378259201_4FGL_J2324.6+3115_daily_bin535.fits outfile=/scratch/kocevski/831819/expmap_378000001_378259201_4FGL_J2324.6+3115_daily_bin535.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/831819/ltcube_378000001_378259201_4FGL_J2324.6+3115_daily_bin535.fits
.....................!
real 190.90
user 185.32
sys 5.26

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/831819/ft1_filtered_4FGL_J2324.6+3115_daily_bin535.fits scfile=/scratch/kocevski/831819/ft2_4FGL_J2324.6+3115_daily_bin535.fits outfile=/scratch/kocevski/831819/cmap_378000001_378259201_4FGL_J2324.6+3115_daily_bin535.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/831819/ft1_filtered_4FGL_J2324.6+3115_daily_bin535.fits scfile=/scratch/kocevski/831819/ft2_4FGL_J2324.6+3115_daily_bin535.fits outfile=/scratch/kocevski/831819/cmap_HighResolution_378000001_378259201_4FGL_J2324.6+3115_daily_bin535.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.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.273       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.1412       1.0000         .10000E-03   10000.    
     3 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .23520       1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.905       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.2721       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.778       1.0000         .10000E-03   10000.    
    14 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.2090       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10189E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.763       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.3241       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .91039       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99805       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=   8213.069     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2164 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.275        20.770        .27651E-06    .72651E-05
   2  Prefactor     6.1398        7.0584        .10419E-05   -.12626E-02
   3  norm          .10000E-03    .39717        .46083E-07** at limit **
   4  Prefactor     .10000E-03    20.462        .39312E-05** at limit **
   5  Prefactor     .10000E-03    9.0902       -.26329E-06** at limit **
   6  Prefactor     .10000E-03    4.7187        .14406E-08** at limit **
   7  Prefactor     .10000E-03    3.0086       -.57072E-08** at limit **
   8  Prefactor     .10000E-03    5.1188       -.57967E-07** at limit **
   9  Prefactor     .10000E-03    62.873       -.19638E-05** at limit **
  10  norm          .23598        .81531        .17624E-06   -.72483E-03
  11  Prefactor     34.901        22.432       -.53959E-06   -.94852E-04
  12  Prefactor     7.2718        11.036        .89303E-06   -.67938E-03
  13  Prefactor     11.772        19.975       -.75564E-06   -.67497E-04
  14  norm          .10000E-03    1.5830        .12304E-07** at limit **
  15  norm          3.2090        4.7765        .10333E-05   -.14054E-02
  16  Prefactor     .10000E-03    13.973        .31616E-05** at limit **
  17  norm          .10000E-03    .94855       -.38117E-07** at limit **
  18  Prefactor     .10001E-03    16.960       -.10353E-04** at limit **
  19  Prefactor     20.765        26.763        .45036E-06    .38399E-04
  20  Prefactor     .10000E-03    20.474        .41032E-05** at limit **
  21  Prefactor     6.3240        6.5761       -.10131E-06   -.43790E-04
  22  Normalizat    .91052        .20207       -.42269E-06    .10062E-04
  23  Prefactor     .99804        .96401E-01    .88247E-08    .41979E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 16.2754
  Prefactor  = 6.13984
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.235979
  Prefactor  = 34.9009
  Prefactor  = 7.27175
  Prefactor  = 11.7716
  norm       = 0.0001
  norm       = 3.20896
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 20.7649
  Prefactor  = 0.000100001
  Prefactor  = 6.32396
  Normalizat = 0.910523
  Prefactor  = 0.99804
 **********
 **   18 **HESSE 
 **********

 FCN=   8213.069     FROM HESSE     STATUS=OK           368 CALLS     2532 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.275        20.722        .99285E-04   -1.4901    
   2  Prefactor     6.1398        8.0260        .81002E-03   -1.5212    
   3  norm          .10000E-03    .65612        .11079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    20.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.1076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.7214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.0310        .15350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.1460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    63.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .23598        1.1217        .14450E-02   -1.5611    
  11  Prefactor     34.901        22.489        .67830E-04   -1.4526    
  12  Prefactor     7.2718        11.670        .74369E-03   -1.5169    
  13  Prefactor     11.772        20.008        .11673E-03   -1.5022    
  14  norm          .10000E-03    1.5908        .11133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.2090        5.3711        .11308E-02   -1.5350    
  16  Prefactor     .10000E-03    14.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .95634        .86147E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    17.827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     20.765        26.806        .87900E-04   -1.4796    
  20  Prefactor     .10000E-03    20.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.3240        6.5639        .15961E-03   -1.5205    
  22  Normalizat    .91052        .23647        .35795E-03   -.96091    
  23  Prefactor     .99804        .11376        .16736E-03   -.92795    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.22554e-09
Minuit parameter uncertainties:
  1  20.7311
  2  8.02736
  3  1.20042e-06
  4  0.000337618
  5  1.61514e-05
  6  2.41997e-07
  7  7.904e-07
  8  1.87695e-06
  9  0.000303573
  10  1.02881
  11  22.4942
  12  11.6739
  13  20.0195
  14  5.00705e-07
  15  5.37186
  16  0.000216419
  17  9.4108e-07
  18  0.000821344
  19  26.8217
  20  0.000350127
  21  6.56464
  22  0.236737
  23  0.113791
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  2.164e-04  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.980e-01  1.138e-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:  9.105e-01  2.367e-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: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/831819/likelihoodResults_378000001_378259201_4FGL_J2324.6+3115_daily_bin535.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) = 8213.0693038
delta logL = -0.000336396133207

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8213.06896739
delta logL = 1.30676198751e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8613       1.0000          .0000       10.000    
     3 'Normalizat'    .91052       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99805       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=   8213.069     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      247 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10104E-03    346.00        .18142E-02** at limit **
   2  Index         2.7974        8.5672        .50000        .61796E-05
   3  Normalizat    .91052        .25785E-01    .35795E-03   -.36207E-05
   4  Prefactor     .99804        .12655E-01    .16736E-03   -.14129E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101037
  Index      = 2.79736
  Normalizat = 0.910523
  Prefactor  = 0.99804
 **********
 **   18 **HESSE 
 **********

 FCN=   8213.069     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      276 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10104E-03    1314.0        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7974        7.3700        .50000       -.45619    
   3  Normalizat    .91052        .56360E-01    .14318E-04   -.96091    
   4  Prefactor     .99804        .27663E-01    .66944E-05   -.92795    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.03435e-08
Minuit parameter uncertainties:
  1  0.0755457
  2  1772.37
  3  0.0563641
  4  0.0276632
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/831819': 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) = 8213.06896731
delta logL = 9.8885720945e-08

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.010e-04  7.555e-02  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.797e+00  1.772e+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.980e-01  2.766e-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:  9.105e-01  5.636e-02  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/831819/cmap_HighResolution_378000001_378259201_4FGL_J2324.6+3115_daily_bin535.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.06e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-09-29 15:57:40.237296', job_id='831819', GAL2='1.00', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1632956260.24', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='9.89e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='535' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 15:57:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 831819: <4FGL_J2324.6+3115_daily_bin535> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin535> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 15:45:20 2021
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 15:45:22 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:45:22 2021
Terminated at Wed Sep 29 15:57:40 2021
Results reported at Wed Sep 29 15:57:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin535 351.17 31.2573 378000001 378259201 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 :                                   724.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   738 sec.
    Turnaround time :                            740 sec.

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

