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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin818
RA = 351.17, Dec = 31.2573
tmin = 451353601, tmax = 451612801
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='833351', job_status='RUN', time_executed='2021-09-29 15:53:57.171843', time_epoch_executed='1632956037.17' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='818'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/833351

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/833351/ft1_4FGL_J2324.6+3115_daily_bin818.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/833351/ft2_4FGL_J2324.6+3115_daily_bin818.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/833351/ft1_4FGL_J2324.6+3115_daily_bin818.fits outfile=/scratch/kocevski/833351/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin818.fits ra=351.17 dec=31.2573 rad=12.0 tmin=451353601.0 tmax=451612801.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.82
user 3.61
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/833351/ft2_4FGL_J2324.6+3115_daily_bin818.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/833351/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin818.fits evtable="EVENTS" outfile="/scratch/kocevski/833351/ft1_filtered_4FGL_J2324.6+3115_daily_bin818.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.50
user 0.33
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/833351/ft1_filtered_4FGL_J2324.6+3115_daily_bin818.fits evtable="EVENTS" scfile=/scratch/kocevski/833351/ft2_4FGL_J2324.6+3115_daily_bin818.fits sctable="SC_DATA" expcube=/scratch/kocevski/833351/ltcube_451353601_451612801_4FGL_J2324.6+3115_daily_bin818.fits outfile=/scratch/kocevski/833351/expmap_451353601_451612801_4FGL_J2324.6+3115_daily_bin818.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/833351/ltcube_451353601_451612801_4FGL_J2324.6+3115_daily_bin818.fits
.....................!
real 190.88
user 186.16
sys 4.36

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/833351/ft1_filtered_4FGL_J2324.6+3115_daily_bin818.fits scfile=/scratch/kocevski/833351/ft2_4FGL_J2324.6+3115_daily_bin818.fits outfile=/scratch/kocevski/833351/cmap_451353601_451612801_4FGL_J2324.6+3115_daily_bin818.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.16

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

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10842       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.7347       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10502E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.193       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.4895       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10393E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.8223       1.0000         .10000E-03   10000.    
    13 'Prefactor '    37.015       1.0000         .10000E-03   10000.    
    14 'norm      '    .34710E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.649       1.0000         .10000E-03   10000.    
    17 'norm      '    .53796       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    58.376       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .49587       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .99378       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0145       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8705.135     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     2191 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11958E-03    914.57       -.45668E-04** at limit **
   2  Prefactor     .10000E-03    2.9783        .45534E-06** at limit **
   3  norm          1.7350        1.1315       -.34852E-06    .42540E-04
   4  Prefactor     .10030E-03    86.465       -.20637E-04** at limit **
   5  Prefactor     .10000E-03    5.9094       -.53124E-05** at limit **
   6  Prefactor     .10000E-03    5.2299        .36182E-05** at limit **
   7  Prefactor     16.193        1.9701       -.32139E-05   -.63643E-02
   8  Prefactor     .10000E-03    8.1143       -.95125E-05** at limit **
   9  Prefactor     .10003E-03    25.315        .86476E-06** at limit **
  10  norm          2.4889        1.4840       -.93411E-06   -.21826E-03
  11  Prefactor     .10000E-03    7.8497        .10733E-04** at limit **
  12  Prefactor     9.8148        3.2426       -.56447E-05   -.33937E-02
  13  Prefactor     37.064        24.753       -.37342E-04    .24620E-02
  14  norm          .10000E-03    9.3513       -.38366E-05** at limit **
  15  norm          .10000E-03    3.2891       -.10800E-05** at limit **
  16  Prefactor     14.620        5.8508       -.13388E-04   -.91697E-02
  17  norm          .53856        1.5912        .23108E-05   -.16256E-04
  18  Prefactor     .10000E-03    9.3214        .56264E-05** at limit **
  19  Prefactor     .10003E-03    25.066       -.12092E-04** at limit **
  20  Prefactor     58.556        19.331        .10648E-04   -.71414E-02
  21  Prefactor     .45935        17.517        .10442E-04   -.25050E-04
  22  Normalizat    .99345        .23180        .77012E-05   -.44786E-04
  23  Prefactor     1.0147        .11354        .15398E-05   -.35194E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000119583
  Prefactor  = 0.0001
  norm       = 1.73501
  Prefactor  = 0.000100298
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.1933
  Prefactor  = 0.0001
  Prefactor  = 0.000100033
  norm       = 2.48887
  Prefactor  = 0.0001
  Prefactor  = 9.81483
  Prefactor  = 37.0639
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 14.6199
  norm       = 0.538555
  Prefactor  = 0.0001
  Prefactor  = 0.000100026
  Prefactor  = 58.5563
  Prefactor  = 0.459347
  Normalizat = 0.993446
  Prefactor  = 1.01474
 **********
 **   18 **HESSE 
 **********

 FCN=   8705.135     FROM HESSE     STATUS=OK           432 CALLS     2623 TOTAL
                     EDM=   .63E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11958E-03    17.767        .11469       -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.9655        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.7350        1.1417        .79664E-02   -1.5445    
   4  Prefactor     .10030E-03    87.406        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.9093        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.2288        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.193        8.9506        .24882E-02   -1.4903    
   8  Prefactor     .10000E-03    8.0410        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10003E-03    25.937        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.4889        1.4959        .64767E-02   -1.5392    
  11  Prefactor     .10000E-03    7.8489        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.8148        12.309        .31965E-02   -1.5081    
  13  Prefactor     37.064        28.357        .16469E-02   -1.4490    
  14  norm          .10000E-03    4.3835        .53487E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.2842        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.620        19.688        .26162E-02   -1.4943    
  17  norm          .53856        1.5416        .46126E-01   -1.5561    
  18  Prefactor     .10000E-03    9.3269        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10003E-03    25.660        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     58.556        59.463        .13127E-02   -1.4176    
  21  Prefactor     .45935        6.6098        .69853E-01   -1.5572    
  22  Normalizat    .99345        .20502        .81975E-01   -.93250    
  23  Prefactor     1.0147        .99231E-01    .42736E-01   -.92240    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.28979e-07
Minuit parameter uncertainties:
  1  0.0373176
  2  9.92612e-07
  3  1.14172
  4  0.0102271
  5  1.41626e-05
  6  7.48267e-06
  7  8.95135
  8  7.46284e-05
  9  0.00184821
  10  1.4959
  11  5.08395e-05
  12  12.3126
  13  28.3671
  14  1.42869e-05
  15  3.10985e-06
  16  19.6968
  17  1.54176
  18  1.16272e-05
  19  0.00162189
  20  59.5236
  21  3.48503
  22  0.205186
  23  0.0992489
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.462e+01  1.970e+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:  1.015e+00  9.925e-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.934e-01  2.052e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/833351/likelihoodResults_451353601_451612801_4FGL_J2324.6+3115_daily_bin818.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) = 8705.12989638
delta logL = 0.00513255230908

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8705.1288216
delta logL = 0.00620733602955

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.874       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9880       1.0000          .0000       10.000    
     3 'Normalizat'    .98990       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0161       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=   8705.129     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      266 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.873        18.786        .10753E-03    .13532E-04
   2  Index         2.9879        1.0636        .11978E-01    .14906E-03
   3  Normalizat    .99024        .23350        .36339E-03   -.32099E-03
   4  Prefactor     1.0159        .11340        .17609E-03   -.60519E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.8726
  Index      = 2.98792
  Normalizat = 0.990244
  Prefactor  = 1.0159
 **********
 **   18 **HESSE 
 **********

 FCN=   8705.129     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.873        18.199        .43013E-05   -1.4963    
   2  Index         2.9879        1.0305        .23956E-02   -.41415    
   3  Normalizat    .99024        .23371        .14536E-04   -.93358    
   4  Prefactor     1.0159        .11344        .35219E-04   -.92201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85171e-10
Minuit parameter uncertainties:
  1  18.2066
  2  1.03937
  3  0.233948
  4  0.113471
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/833351': 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) = 8705.12882044
delta logL = 0.00620849411644

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.387e+01  1.821e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.988e+00  1.039e+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:  1.016e+00  1.135e-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.902e-01  2.339e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.89
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/833351/cmap_HighResolution_451353601_451612801_4FGL_J2324.6+3115_daily_bin818.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.29e-02', job_status='DONE', photon_flux_upper_limit='1.62e-07', time_completed='2021-09-29 16:06:45.077504', job_id='833351', GAL2='1.02', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1632956805.08', return_code2='0', ts='0.89', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='6.21e-03', ts2='0.90', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='818' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:06:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 833351: <4FGL_J2324.6+3115_daily_bin818> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin818> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 15:50:30 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 15:50:31 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:50:31 2021
Terminated at Wed Sep 29 16:06:46 2021
Results reported at Wed Sep 29 16:06:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin818 351.17 31.2573 451353601 451612801 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 :                                   766.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             256.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   974 sec.
    Turnaround time :                            976 sec.

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

