/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 189 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 = 7402
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2324.6+3115_daily_bin414
RA = 351.17, Dec = 31.2573
tmin = 346636801, tmax = 346896001
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='830590', job_status='RUN', time_executed='2021-09-29 15:43:52.838746', time_epoch_executed='1632955432.84' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='414'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/830590

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/830590/ft1_4FGL_J2324.6+3115_daily_bin414.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/830590/ft2_4FGL_J2324.6+3115_daily_bin414.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/830590/ft1_4FGL_J2324.6+3115_daily_bin414.fits outfile=/scratch/kocevski/830590/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin414.fits ra=351.17 dec=31.2573 rad=12.0 tmin=346636801.0 tmax=346896001.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.40
user 3.19
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/830590/ft1_filtered_4FGL_J2324.6+3115_daily_bin414.fits" evtable="EVENTS" scfile=/scratch/kocevski/830590/ft2_4FGL_J2324.6+3115_daily_bin414.fits sctable="SC_DATA" outfile=/scratch/kocevski/830590/ltcube_346636801_346896001_4FGL_J2324.6+3115_daily_bin414.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/830590/ft2_4FGL_J2324.6+3115_daily_bin414.fits
.....................!
real 11.61
user 11.28
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/830590/ft1_filtered_4FGL_J2324.6+3115_daily_bin414.fits evtable="EVENTS" scfile=/scratch/kocevski/830590/ft2_4FGL_J2324.6+3115_daily_bin414.fits sctable="SC_DATA" expcube=/scratch/kocevski/830590/ltcube_346636801_346896001_4FGL_J2324.6+3115_daily_bin414.fits outfile=/scratch/kocevski/830590/expmap_346636801_346896001_4FGL_J2324.6+3115_daily_bin414.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/830590/ltcube_346636801_346896001_4FGL_J2324.6+3115_daily_bin414.fits
.....................!
real 190.35
user 185.00
sys 5.04

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/830590/ft1_filtered_4FGL_J2324.6+3115_daily_bin414.fits scfile=/scratch/kocevski/830590/ft2_4FGL_J2324.6+3115_daily_bin414.fits outfile=/scratch/kocevski/830590/cmap_346636801_346896001_4FGL_J2324.6+3115_daily_bin414.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.52
user 0.36
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    36.606       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.0115       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.1123       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.833       1.0000         .10000E-03   10000.    
    10 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.7138       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.832       1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.075       1.0000         .10000E-03   10000.    
    14 'norm      '    .10094E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    7.5394       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.530       1.0000         .10000E-03   10000.    
    17 'norm      '    1.3450       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1744       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93070       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=   8414.892     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2516 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          36.606        20.061       -.86847E-06   -.67267E-04
   2  Prefactor     .10000E-03    5.7009       -.10873E-05** at limit **
   3  norm          1.0114        .91145       -.70168E-07    .31925E-03
   4  Prefactor     .10000E-03    26.114       -.12521E-04** at limit **
   5  Prefactor     1.1136        11.113       -.18194E-05    .12195E-04
   6  Prefactor     .10000E-03    12.186       -.80579E-05** at limit **
   7  Prefactor     .10000E-03    1.5870       -.29149E-07** at limit **
   8  Prefactor     .10000E-03    3.1853       -.25837E-06** at limit **
   9  Prefactor     19.831        22.133       -.20125E-05    .15413E-04
  10  norm          .10000E-03    .76398        .87727E-07** at limit **
  11  Prefactor     8.7014        29.833       -.28223E-04    .21111E-04
  12  Prefactor     11.829        12.737       -.14105E-05   -.31974E-05
  13  Prefactor     24.072        31.858       -.15523E-05    .64632E-04
  14  norm          .10000E-03    2.9621        .58818E-06** at limit **
  15  norm          7.5399        7.9844       -.13212E-06   -.25056E-04
  16  Prefactor     17.518        20.743       -.11480E-04    .40198E-04
  17  norm          1.3459        2.3105       -.57527E-06   -.11612E-02
  18  Prefactor     .10000E-03    9.2878        .59325E-05** at limit **
  19  Prefactor     .10000E-03    12.999       -.60760E-05** at limit **
  20  Prefactor     .10000E-03    19.162        .20390E-04** at limit **
  21  Prefactor     .10000E-03    3.7352        .30821E-06** at limit **
  22  Normalizat    1.1747        .21793        .77739E-05   -.50477E-04
  23  Prefactor     .93056        .99077E-01   -.21319E-06    .59943E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 36.6059
  Prefactor  = 0.0001
  norm       = 1.0114
  Prefactor  = 0.0001
  Prefactor  = 1.11359
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.8307
  norm       = 0.0001
  Prefactor  = 8.70137
  Prefactor  = 11.8295
  Prefactor  = 24.0719
  norm       = 0.0001
  norm       = 7.53987
  Prefactor  = 17.5178
  norm       = 1.34585
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.17467
  Prefactor  = 0.930562
 **********
 **   18 **HESSE 
 **********

 FCN=   8414.892     FROM HESSE     STATUS=OK           372 CALLS     2888 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          36.606        20.069        .66240E-04   -1.4497    
   2  Prefactor     .10000E-03    5.8396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.0114        .90968        .79000E-04   -1.5507    
   4  Prefactor     .10000E-03    26.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.1136        86.767        .57443E-02   -1.5497    
   6  Prefactor     .10000E-03    12.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.5888        .11286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.1889        .15988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.831        22.113        .89937E-04   -1.4817    
  10  norm          .10000E-03    1.5659        .15408E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.7014        29.865        .13579E-03   -1.5118    
  12  Prefactor     11.829        12.688        .11646E-03   -1.5020    
  13  Prefactor     24.072        31.815        .81639E-04   -1.4726    
  14  norm          .10000E-03    2.9895        .15411E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.5399        7.9845        .14606E-03   -1.5159    
  16  Prefactor     17.518        20.767        .95658E-04   -1.4871    
  17  norm          1.3459        2.2888        .17401E-03   -1.5476    
  18  Prefactor     .10000E-03    9.2958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    19.142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.7474        .17303E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1747        .25589        .33817E-03   -.87389    
  23  Prefactor     .93056        .11795        .17946E-03   -.95081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70607e-09
Minuit parameter uncertainties:
  1  20.0724
  2  4.74205e-05
  3  0.909689
  4  1.08221e-05
  5  19.6882
  6  7.31345e-06
  7  1.55416e-06
  8  6.62428e-06
  9  22.1218
  10  1.64472e-05
  11  29.9166
  12  12.6909
  13  31.8377
  14  6.1233e-05
  15  7.98559
  16  20.7757
  17  2.28892
  18  1.48625e-05
  19  1.37419e-05
  20  2.39395e-05
  21  1.4886e-05
  22  0.256159
  23  0.11798
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.752e+01  2.078e+01  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.306e-01  1.180e-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.175e+00  2.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.00
Ra Dec: 351.170 31.257
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 5.64e-08 +/- 6.67e-08
Energy Flux (Fixed Index): 1.20e-05 +/- 1.43e-05

TS (Fixed Index): 1.00
Ra Dec: 351.170 31.257
Photon Flux Upper Limit: 1.92e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.53e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/830590/likelihoodResults_346636801_346896001_4FGL_J2324.6+3115_daily_bin414.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) = 8414.88755128
delta logL = 0.00413680732527

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8414.88719332
delta logL = 0.00449476502399

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.309       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9739       1.0000          .0000       10.000    
     3 'Normalizat'    1.1689       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93223       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.

 FCN=   8414.887     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      232 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.265        523.40        .24067E-02    .21701E-04
   2  Index         2.9698        6.4425        .33711        .14325E-04
   3  Normalizat    1.1695        .66016E-01    .76553E-01   -.26268E-04
   4  Prefactor     .93214        .32508E-01    .45415E-01   -.35818E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.2655
  Index      = 2.96983
  Normalizat = 1.1695
  Prefactor  = 0.932144
 **********
 **   18 **HESSE 
 **********

 FCN=   8414.887     FROM HESSE     STATUS=OK            31 CALLS      263 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.265        20.685        .96267E-04   -1.4877    
   2  Index         2.9698        1.0094        .11680E-01   -.41811    
   3  Normalizat    1.1695        .25145        .33882E-03   -.87551    
   4  Prefactor     .93214        .11675        .17932E-03   -.95027    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4641e-10
Minuit parameter uncertainties:
  1  20.6933
  2  1.01779
  3  0.251713
  4  0.116781
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/830590': 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) = 8414.88717816
delta logL = 0.0045099271465

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.727e+01  2.069e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.970e+00  1.018e+00  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.321e-01  1.168e-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.170e+00  2.517e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.01
Ra Dec: 351.170 31.257
Photon Index (Free Index): 2.97 +/- 1.02
Photon Flux (Free Index): 6.05e-08 +/- 7.86e-08
Energy Flux (Free Index): 1.23e-05 +/- 1.42e-05

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/830590/cmap_HighResolution_346636801_346896001_4FGL_J2324.6+3115_daily_bin414.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.53e-02', comment='SUCCESS', photon_flux='5.64e-08', energy_flux2='1.23e-05', photon_flux_error='6.67e-08', dlogl='4.51e-03', energy_flux='1.20e-05', photon_flux2='6.05e-08', job_status='DONE', time_completed='2021-09-29 15:56:38.102489', photon_index_error2='1.02', photon_index2='2.97', ts='1.00', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.92e-07', energy_flux_error2='1.42e-05', EG='1.17', time_epoch_completed='1632956198.1', return_code='0', job_id='830590', GAL2='0.93', EG2='1.17', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='7.86e-08', ts2='1.01', photon_index='2.88' WHERE bin_id='414' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 15:56:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 830590: <4FGL_J2324.6+3115_daily_bin414> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin414> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 15:40:32 2021
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 15:40:34 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:40:34 2021
Terminated at Wed Sep 29 15:56:38 2021
Results reported at Wed Sep 29 15:56:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin414 351.17 31.2573 346636801 346896001 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 :                                   764.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   964 sec.
    Turnaround time :                            966 sec.

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

