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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin532
RA = 351.17, Dec = 31.2573
tmin = 377222401, tmax = 377481601
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='831814', job_status='RUN', time_executed='2021-09-29 15:47:43.955023', time_epoch_executed='1632955663.96' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='532'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/831814

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/831814/ft1_4FGL_J2324.6+3115_daily_bin532.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/831814/ft2_4FGL_J2324.6+3115_daily_bin532.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/831814/ft1_4FGL_J2324.6+3115_daily_bin532.fits outfile=/scratch/kocevski/831814/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin532.fits ra=351.17 dec=31.2573 rad=12.0 tmin=377222401.0 tmax=377481601.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.45
user 3.24
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/831814/ft2_4FGL_J2324.6+3115_daily_bin532.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/831814/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin532.fits evtable="EVENTS" outfile="/scratch/kocevski/831814/ft1_filtered_4FGL_J2324.6+3115_daily_bin532.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.32
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/831814/ft1_filtered_4FGL_J2324.6+3115_daily_bin532.fits evtable="EVENTS" scfile=/scratch/kocevski/831814/ft2_4FGL_J2324.6+3115_daily_bin532.fits sctable="SC_DATA" expcube=/scratch/kocevski/831814/ltcube_377222401_377481601_4FGL_J2324.6+3115_daily_bin532.fits outfile=/scratch/kocevski/831814/expmap_377222401_377481601_4FGL_J2324.6+3115_daily_bin532.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/831814/ltcube_377222401_377481601_4FGL_J2324.6+3115_daily_bin532.fits
.....................!
real 190.38
user 185.08
sys 4.84

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/831814/ft1_filtered_4FGL_J2324.6+3115_daily_bin532.fits scfile=/scratch/kocevski/831814/ft2_4FGL_J2324.6+3115_daily_bin532.fits outfile=/scratch/kocevski/831814/cmap_377222401_377481601_4FGL_J2324.6+3115_daily_bin532.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/831814/ft1_filtered_4FGL_J2324.6+3115_daily_bin532.fits scfile=/scratch/kocevski/831814/ft2_4FGL_J2324.6+3115_daily_bin532.fits outfile=/scratch/kocevski/831814/cmap_HighResolution_377222401_377481601_4FGL_J2324.6+3115_daily_bin532.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.748       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.3511       1.0000         .10000E-03   10000.    
     3 'norm      '    1.1011       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .96131       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .25888E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.3962       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.4228       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    9.5078       1.0000         .10000E-03   10000.    
    15 'norm      '    9.4489       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.885       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.438       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10455E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .88733       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99278       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=   8495.232     FROM MIGRAD    STATUS=CONVERGED    532 CALLS     2221 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.756        15.841        .89803E-06    .74086E-04
   2  Prefactor     8.3497        7.2072       -.15258E-05   -.99081E-03
   3  norm          1.1015        1.0233       -.54321E-07   -.13137E-02
   4  Prefactor     .10001E-03    22.962        .40434E-05** at limit **
   5  Prefactor     .86820        16.850        .30488E-05   -.46100E-03
   6  Prefactor     .10002E-03    10.193       -.17629E-06** at limit **
   7  Prefactor     .10000E-03    1.8822       -.42992E-07** at limit **
   8  Prefactor     6.3953        9.5242        .33205E-06    .10350E-04
   9  Prefactor     .10000E-03    12.730       -.84185E-07** at limit **
  10  norm          .10000E-03    .42613        .57925E-08** at limit **
  11  Prefactor     .10000E-03    18.986       -.23697E-05** at limit **
  12  Prefactor     5.4213        7.7724        .30379E-05   -.11277E-02
  13  Prefactor     .10000E-03    34.719       -.25199E-05** at limit **
  14  norm          9.5079        5.6593       -.94712E-07   -.54366E-04
  15  norm          9.4485        7.2465       -.17132E-05   -.10610E-02
  16  Prefactor     17.885        17.859        .52121E-06    .96358E-04
  17  norm          .10000E-03    1.3040       -.11026E-06** at limit **
  18  Prefactor     11.436        15.035        .34069E-06    .42570E-04
  19  Prefactor     .10000E-03    21.818       -.10338E-05** at limit **
  20  Prefactor     .10000E-03    55.602        .40292E-07** at limit **
  21  Prefactor     .10000E-03    15.831        .12539E-05** at limit **
  22  Normalizat    .88739        .18472       -.31738E-06   -.17094E-03
  23  Prefactor     .99279        .90717E-01   -.20381E-06   -.26209E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.7564
  Prefactor  = 8.34971
  norm       = 1.10155
  Prefactor  = 0.000100006
  Prefactor  = 0.868202
  Prefactor  = 0.000100018
  Prefactor  = 0.0001
  Prefactor  = 6.39533
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 5.42135
  Prefactor  = 0.000100002
  norm       = 9.50786
  norm       = 9.44845
  Prefactor  = 17.8854
  norm       = 0.0001
  Prefactor  = 11.436
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.887385
  Prefactor  = 0.992786
 **********
 **   18 **HESSE 
 **********

 FCN=   8495.232     FROM HESSE     STATUS=OK           380 CALLS     2601 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.756        15.751        .11688E-03   -1.5022    
   2  Prefactor     8.3497        7.4888        .13872E-03   -1.5130    
   3  norm          1.1015        1.0018        .82126E-04   -1.5498    
   4  Prefactor     .10001E-03    23.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .86820        134.77        .65811E-02   -1.5522    
   6  Prefactor     .10002E-03    12.339        .95535E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.8921        .12348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.3953        9.5223        .15870E-03   -1.5202    
   9  Prefactor     .10000E-03    12.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .43931        .11738E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    19.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.4213        9.4295        .86280E-03   -1.5242    
  13  Prefactor     .10000E-03    35.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.5079        5.6580        .12997E-03   -1.5091    
  15  norm          9.4485        7.4416        .13037E-03   -1.5093    
  16  Prefactor     17.885        17.909        .94705E-04   -1.4862    
  17  norm          .10000E-03    1.3468        .20543E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.436        15.033        .11846E-03   -1.5031    
  19  Prefactor     .10000E-03    21.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    55.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    16.296        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .88739        .21232        .34375E-03   -.96905    
  23  Prefactor     .99279        .10514        .16540E-03   -.92970    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31096e-08
Minuit parameter uncertainties:
  1  15.7567
  2  7.48961
  3  1.0018
  4  0.000734212
  5  21.6826
  6  0.000930961
  7  2.19708e-06
  8  9.52453
  9  1.23061e-05
  10  3.43342e-07
  11  0.000395472
  12  9.43212
  13  0.000571309
  14  5.65829
  15  7.44229
  16  17.9147
  17  1.07582e-06
  18  15.0382
  19  0.000165165
  20  8.74064e-05
  21  8.70006e-05
  22  0.212517
  23  0.105165
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.789e+01  1.791e+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.928e-01  1.052e-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:  8.874e-01  2.125e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.60
Ra Dec: 351.170 31.257
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 5.75e-08 +/- 5.75e-08
Energy Flux (Fixed Index): 1.23e-05 +/- 1.23e-05

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

Saving results to:
/scratch/kocevski/831814/likelihoodResults_377222401_377481601_4FGL_J2324.6+3115_daily_bin532.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) = 8495.13760288
delta logL = 0.0943860208117

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8495.13682451
delta logL = 0.0951643889985

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.300       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3933       1.0000          .0000       10.000    
     3 'Normalizat'    .86813       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99955       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=   8495.137     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      239 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.314        270.17        .27458E-02    .14062E-03
   2  Index         3.3938        6.6365        .21339        .11894E-03
   3  Normalizat    .86805        .76279E-01    .78436E-01   -.33598E-04
   4  Prefactor     .99958        .33836E-01    .46262E-01   -.15570E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.3139
  Index      = 3.39378
  Normalizat = 0.868046
  Prefactor  = 0.999581
 **********
 **   18 **HESSE 
 **********

 FCN=   8495.137     FROM HESSE     STATUS=OK            31 CALLS      270 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.314        22.536        .10983E-03   -1.4978    
   2  Index         3.3938        1.6361        .11774E-01   -.32704    
   3  Normalizat    .86805        .21306        .34719E-03   -.97592    
   4  Prefactor     .99958        .10529        .16491E-03   -.92743    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.42205e-11
Minuit parameter uncertainties:
  1  22.5507
  2  1.67057
  3  0.213265
  4  0.105314
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/831814': 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) = 8495.13682304
delta logL = 0.0951658592276

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.331e+01  2.255e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  3.394e+00  1.671e+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.996e-01  1.053e-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:  8.680e-01  2.133e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.84
Ra Dec: 351.170 31.257
Photon Index (Free Index): 3.39 +/- 1.67
Photon Flux (Free Index): 7.03e-08 +/- 6.21e-08
Energy Flux (Free Index): 1.21e-05 +/- 1.09e-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/831814/cmap_HighResolution_377222401_377481601_4FGL_J2324.6+3115_daily_bin532.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.31e-02', comment='SUCCESS', photon_flux='5.75e-08', energy_flux2='1.21e-05', photon_flux_error='5.75e-08', dlogl='9.52e-02', energy_flux='1.23e-05', photon_flux2='7.03e-08', job_status='DONE', time_completed='2021-09-29 16:00:20.067937', photon_index_error2='1.67', photon_index2='3.39', ts='1.60', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.64e-07', energy_flux_error2='1.09e-05', EG='0.89', time_epoch_completed='1632956420.07', return_code='0', job_id='831814', GAL2='1.00', EG2='0.87', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='6.21e-08', ts2='1.84', photon_index='2.88' WHERE bin_id='532' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:00:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 831814: <4FGL_J2324.6+3115_daily_bin532> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin532> 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) <bullet0261>, 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 16:00:20 2021
Results reported at Wed Sep 29 16:00:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin532 351.17 31.2573 377222401 377481601 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 :                                   755.28 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             302.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            900 sec.

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

