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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin590
RA = 351.17, Dec = 31.2573
tmin = 392256001, tmax = 392515201
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='831909', job_status='RUN', time_executed='2021-09-29 15:47:30.495183', time_epoch_executed='1632955650.5' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='590'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/831909

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/831909/ft1_4FGL_J2324.6+3115_daily_bin590.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/831909/ft2_4FGL_J2324.6+3115_daily_bin590.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/831909/ft1_4FGL_J2324.6+3115_daily_bin590.fits outfile=/scratch/kocevski/831909/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin590.fits ra=351.17 dec=31.2573 rad=12.0 tmin=392256001.0 tmax=392515201.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.30
user 3.08
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/831909/ft1_filtered_4FGL_J2324.6+3115_daily_bin590.fits" evtable="EVENTS" scfile=/scratch/kocevski/831909/ft2_4FGL_J2324.6+3115_daily_bin590.fits sctable="SC_DATA" outfile=/scratch/kocevski/831909/ltcube_392256001_392515201_4FGL_J2324.6+3115_daily_bin590.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/831909/ft2_4FGL_J2324.6+3115_daily_bin590.fits
.....................!
real 11.76
user 11.44
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/831909/ft1_filtered_4FGL_J2324.6+3115_daily_bin590.fits evtable="EVENTS" scfile=/scratch/kocevski/831909/ft2_4FGL_J2324.6+3115_daily_bin590.fits sctable="SC_DATA" expcube=/scratch/kocevski/831909/ltcube_392256001_392515201_4FGL_J2324.6+3115_daily_bin590.fits outfile=/scratch/kocevski/831909/expmap_392256001_392515201_4FGL_J2324.6+3115_daily_bin590.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/831909/ltcube_392256001_392515201_4FGL_J2324.6+3115_daily_bin590.fits
.....................!
real 189.85
user 185.00
sys 4.53

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/831909/ft1_filtered_4FGL_J2324.6+3115_daily_bin590.fits scfile=/scratch/kocevski/831909/ft2_4FGL_J2324.6+3115_daily_bin590.fits outfile=/scratch/kocevski/831909/cmap_392256001_392515201_4FGL_J2324.6+3115_daily_bin590.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.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/831909/ft1_filtered_4FGL_J2324.6+3115_daily_bin590.fits scfile=/scratch/kocevski/831909/ft2_4FGL_J2324.6+3115_daily_bin590.fits outfile=/scratch/kocevski/831909/cmap_HighResolution_392256001_392515201_4FGL_J2324.6+3115_daily_bin590.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.17 yref=31.2573 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.618       1.0000         .10000E-03   10000.    
     3 'norm      '    4.7768       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.143       1.0000         .10000E-03   10000.    
    10 'norm      '    .97575       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.0765       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.636       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.9723       1.0000         .10000E-03   10000.    
    14 'norm      '    17.029       1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    33.501       1.0000         .10000E-03   10000.    
    17 'norm      '    2.8591       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.1169       1.0000         .10000E-03   10000.    
    19 'Prefactor '    43.926       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.3657       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2193       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87265       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=   8885.573     FROM MIGRAD    STATUS=CONVERGED    493 CALLS     2511 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    12.257        .38973E-05** at limit **
   2  Prefactor     10.620        8.2000       -.14994E-05   -.17914E-02
   3  norm          4.7771        1.7178        .48329E-07    .14732E-04
   4  Prefactor     .10000E-03    38.940        .45613E-06** at limit **
   5  Prefactor     .10000E-03    13.506       -.54713E-05** at limit **
   6  Prefactor     .10000E-03    4.5429       -.40642E-07** at limit **
   7  Prefactor     .10000E-03    7.0627       -.95800E-07** at limit **
   8  Prefactor     .10000E-03    4.8951        .10852E-06** at limit **
   9  Prefactor     17.136        23.550       -.67444E-05   -.67701E-05
  10  norm          .97530        1.1525        .10175E-07   -.39154E-03
  11  Prefactor     3.0762        16.993       -.88578E-06   -.91069E-04
  12  Prefactor     19.634        13.502        .48688E-06   -.18630E-04
  13  Prefactor     4.9724        13.322       -.82763E-06   -.61965E-04
  14  norm          17.028        7.7322       -.13260E-05   -.18266E-04
  15  norm          .10000E-03    3.9021        .15954E-08** at limit **
  16  Prefactor     33.509        25.545        .60204E-05   -.18755E-04
  17  norm          2.8586        2.7490       -.12750E-06   -.48924E-03
  18  Prefactor     8.1098        17.049       -.40281E-05   -.36504E-04
  19  Prefactor     43.935        42.610        .10436E-04   -.10450E-04
  20  Prefactor     .10000E-03    16.948        .19167E-05** at limit **
  21  Prefactor     6.3658        6.3161       -.28344E-07   -.74492E-04
  22  Normalizat    1.2188        .21923       -.30833E-05    .99636E-04
  23  Prefactor     .87289        .99638E-01    .96806E-06   -.22725E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 10.6195
  norm       = 4.77712
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.1359
  norm       = 0.975304
  Prefactor  = 3.07616
  Prefactor  = 19.6342
  Prefactor  = 4.97242
  norm       = 17.028
  norm       = 0.0001
  Prefactor  = 33.5089
  norm       = 2.85861
  Prefactor  = 8.10975
  Prefactor  = 43.9351
  Prefactor  = 0.0001
  Prefactor  = 6.36576
  Normalizat = 1.21879
  Prefactor  = 0.872885
 **********
 **   18 **HESSE 
 **********

 FCN=   8885.573     FROM HESSE     STATUS=OK           374 CALLS     2885 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    12.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.620        8.6100        .61478E-03   -1.5056    
   3  norm          4.7771        1.7188        .70918E-04   -1.5271    
   4  Prefactor     .10000E-03    38.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.5438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.3242        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.9073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.136        23.433        .96733E-04   -1.4880    
  10  norm          .97530        1.1161        .10495E-03   -1.5510    
  11  Prefactor     3.0762        17.002        .23125E-03   -1.5357    
  12  Prefactor     19.634        13.477        .90387E-04   -1.4821    
  13  Prefactor     4.9724        13.315        .18035E-03   -1.5262    
  14  norm          17.028        7.7178        .97057E-04   -1.4882    
  15  norm          .10000E-03    3.9069        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     33.509        25.358        .69232E-04   -1.4550    
  17  norm          2.8586        2.7422        .14577E-03   -1.5370    
  18  Prefactor     8.1098        17.066        .14073E-03   -1.5138    
  19  Prefactor     43.935        42.421        .60490E-04   -1.4381    
  20  Prefactor     .10000E-03    16.945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.3658        6.3168        .15909E-03   -1.5203    
  22  Normalizat    1.2188        .25321        .35005E-03   -.86024    
  23  Prefactor     .87289        .11593        .19155E-03   -.97095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79807e-09
Minuit parameter uncertainties:
  1  3.80306e-06
  2  8.611
  3  1.71877
  4  6.90988e-06
  5  9.67635e-06
  6  2.33814e-06
  7  7.67657e-06
  8  3.43142e-06
  9  23.4451
  10  1.11611
  11  14.47
  12  13.4792
  13  13.323
  14  7.71825
  15  6.86753e-07
  16  25.3666
  17  2.74233
  18  17.0763
  19  42.4499
  20  1.27655e-06
  21  6.31746
  22  0.253462
  23  0.115968
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  3.351e+01  2.537e+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:  8.729e-01  1.160e-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.219e+00  2.535e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.89
Ra Dec: 351.170 31.257
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 1.08e-07 +/- 8.15e-08
Energy Flux (Fixed Index): 2.30e-05 +/- 1.74e-05

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

Saving results to:
/scratch/kocevski/831909/likelihoodResults_392256001_392515201_4FGL_J2324.6+3115_daily_bin590.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) = 8881.60523735
delta logL = 3.96732365279

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8881.23838811
delta logL = 4.33417289268

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.053       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3686       1.0000          .0000       10.000    
     3 'Normalizat'    1.3061       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84900       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=   8881.238     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      233 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.041        9.0862        .27717E-02   -.21706E-04
   2  Index         1.3682        .21947        .12867       -.13255E-03
   3  Normalizat    1.3059        .20508        .76829E-01    .15896E-04
   4  Prefactor     .84920        .97180E-01    .44352E-01    .83982E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.0411
  Index      = 1.36816
  Normalizat = 1.30587
  Prefactor  = 0.849198
 **********
 **   18 **HESSE 
 **********

 FCN=   8881.238     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.041        16.295        .11087E-03   -1.4986    
   2  Index         1.3682        .42068        .53333E-02   -.81302    
   3  Normalizat    1.3059        .23778        .34004E-03   -.83391    
   4  Prefactor     .84920        .11284        .19385E-03   -.97940    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.33912e-09
Minuit parameter uncertainties:
  1  16.3
  2  0.421741
  3  0.237981
  4  0.112873
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/831909': 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) = 8881.23838578
delta logL = 4.33417522111

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.304e+01  1.630e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  1.368e+00  4.217e-01  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.492e-01  1.129e-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.306e+00  2.380e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.57
Ra Dec: 351.170 31.257
Photon Index (Free Index): 1.37 +/- 0.42
Photon Flux (Free Index): 2.29e-08 +/- 2.31e-08
Energy Flux (Free Index): 1.13e-04 +/- 9.84e-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/831909/cmap_HighResolution_392256001_392515201_4FGL_J2324.6+3115_daily_bin590.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.93e-02', comment='SUCCESS', photon_flux='1.08e-07', energy_flux2='1.13e-04', photon_flux_error='8.15e-08', dlogl='4.33e+00', energy_flux='2.30e-05', photon_flux2='2.29e-08', job_status='DONE', time_completed='2021-09-29 16:00:38.718045', photon_index_error2='0.42', photon_index2='1.37', ts='2.89', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='2.42e-07', energy_flux_error2='9.84e-05', EG='1.22', time_epoch_completed='1632956438.72', return_code='0', job_id='831909', GAL2='0.85', EG2='1.31', return_code2='0', energy_flux_error='1.74e-05', photon_flux_error2='2.31e-08', ts2='11.57', photon_index='2.88' WHERE bin_id='590' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:00:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 831909: <4FGL_J2324.6+3115_daily_bin590> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin590 351.17 31.2573 392256001 392515201 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 :                                   787.34 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             303.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            911 sec.

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

