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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin562
RA = 351.17, Dec = 31.2573
tmin = 384998401, tmax = 385257601
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='831861', job_status='RUN', time_executed='2021-09-29 15:48:29.413832', time_epoch_executed='1632955709.41' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='562'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/831861

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/831861/ft1_4FGL_J2324.6+3115_daily_bin562.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/831861/ft2_4FGL_J2324.6+3115_daily_bin562.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/831861/ft1_4FGL_J2324.6+3115_daily_bin562.fits outfile=/scratch/kocevski/831861/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin562.fits ra=351.17 dec=31.2573 rad=12.0 tmin=384998401.0 tmax=385257601.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.52
user 3.30
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/831861/ft1_filtered_4FGL_J2324.6+3115_daily_bin562.fits evtable="EVENTS" scfile=/scratch/kocevski/831861/ft2_4FGL_J2324.6+3115_daily_bin562.fits sctable="SC_DATA" expcube=/scratch/kocevski/831861/ltcube_384998401_385257601_4FGL_J2324.6+3115_daily_bin562.fits outfile=/scratch/kocevski/831861/expmap_384998401_385257601_4FGL_J2324.6+3115_daily_bin562.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/831861/ltcube_384998401_385257601_4FGL_J2324.6+3115_daily_bin562.fits
.....................!
real 192.35
user 186.79
sys 5.22

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/831861/ft1_filtered_4FGL_J2324.6+3115_daily_bin562.fits scfile=/scratch/kocevski/831861/ft2_4FGL_J2324.6+3115_daily_bin562.fits outfile=/scratch/kocevski/831861/cmap_384998401_385257601_4FGL_J2324.6+3115_daily_bin562.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.17 yref=31.2573 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/831861/ft1_filtered_4FGL_J2324.6+3115_daily_bin562.fits scfile=/scratch/kocevski/831861/ft2_4FGL_J2324.6+3115_daily_bin562.fits outfile=/scratch/kocevski/831861/cmap_HighResolution_384998401_385257601_4FGL_J2324.6+3115_daily_bin562.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/831861/ft1_filtered_4FGL_J2324.6+3115_daily_bin562.fits evtable="EVENTS" scfile=/scratch/kocevski/831861/ft2_4FGL_J2324.6+3115_daily_bin562.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/831861/Model_4FGL_J2324.6+3115_daily_bin562.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/831861/ft1_filtered_4FGL_J2324.6+3115_daily_bin562.fits.....................!
real 90.15
user 88.80
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.417       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.7901       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.643       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.2963       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.3148       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.190       1.0000         .10000E-03   10000.    
    10 'norm      '    3.5875       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.120       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.0452       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.6224       1.0000         .10000E-03   10000.    
    14 'norm      '    18.802       1.0000         .10000E-03   10000.    
    15 'norm      '    11.655       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.2995       1.0000         .10000E-03   10000.    
    17 'norm      '    .11524E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.290       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .91691       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .97329       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=   8484.996     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2500 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.421        18.506        .57223E-05    .50884E-04
   2  Prefactor     .10000E-03    3.3184        .15823E-06** at limit **
   3  norm          6.7903        1.6487       -.10847E-06    .19926E-04
   4  Prefactor     .10000E-03    17.151       -.40077E-06** at limit **
   5  Prefactor     11.643        14.127       -.17285E-06   -.47766E-05
   6  Prefactor     .10000E-03    7.2546       -.58403E-06** at limit **
   7  Prefactor     1.2954        4.2515       -.41775E-05   -.12660E-02
   8  Prefactor     5.3149        5.2463       -.32332E-07    .14706E-03
   9  Prefactor     10.181        20.219       -.16306E-04   -.10543E-04
  10  norm          3.5876        1.6403       -.52870E-07   -.39356E-03
  11  Prefactor     11.122        13.113        .49759E-06   -.91664E-05
  12  Prefactor     6.0441        12.117        .79811E-06   -.46206E-04
  13  Prefactor     7.6194        19.134       -.74308E-05   -.57653E-04
  14  norm          18.798        7.4493       -.14936E-05   -.43961E-03
  15  norm          11.654        9.7071       -.18494E-06    .47344E-05
  16  Prefactor     2.3054        30.014        .16690E-04   -.66498E-04
  17  norm          .10001E-03    1.2151       -.64479E-08** at limit **
  18  Prefactor     .10000E-03    5.8119       -.35937E-06** at limit **
  19  Prefactor     18.269        33.927       -.41457E-04   -.33448E-05
  20  Prefactor     .10000E-03    17.025        .14108E-05** at limit **
  21  Prefactor     .10000E-03    8.1419       -.17600E-05** at limit **
  22  Normalizat    .91637        .20045        .42268E-05   -.89963E-04
  23  Prefactor     .97356        .97401E-01    .57651E-06    .62871E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 21.421
  Prefactor  = 0.0001
  norm       = 6.79029
  Prefactor  = 0.0001
  Prefactor  = 11.6435
  Prefactor  = 0.0001
  Prefactor  = 1.29543
  Prefactor  = 5.31487
  Prefactor  = 10.1807
  norm       = 3.58759
  Prefactor  = 11.1219
  Prefactor  = 6.04412
  Prefactor  = 7.6194
  norm       = 18.7983
  norm       = 11.6536
  Prefactor  = 2.30542
  norm       = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 18.269
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.916369
  Prefactor  = 0.973562
 **********
 **   18 **HESSE 
 **********

 FCN=   8484.996     FROM HESSE     STATUS=OK           376 CALLS     2876 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.421        18.504        .86551E-04   -1.4782    
   2  Prefactor     .10000E-03    3.3687        .16384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.7903        1.6495        .55492E-04   -1.5187    
   4  Prefactor     .10000E-03    17.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.643        14.127        .11740E-03   -1.5025    
   6  Prefactor     .10000E-03    7.2623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.2954        4.2698        .33807E-03   -1.5480    
   8  Prefactor     5.3149        5.2507        .17433E-03   -1.5247    
   9  Prefactor     10.181        20.210        .12552E-03   -1.5070    
  10  norm          3.5876        1.6371        .75309E-04   -1.5329    
  11  Prefactor     11.122        13.115        .12014E-03   -1.5041    
  12  Prefactor     6.0441        11.872        .16330E-03   -1.5216    
  13  Prefactor     7.6194        19.133        .14525E-03   -1.5156    
  14  norm          18.798        7.2946        .92369E-04   -1.4841    
  15  norm          11.654        9.6889        .11734E-03   -1.5025    
  16  Prefactor     2.3054        28.550        .27064E-03   -1.5404    
  17  norm          .10001E-03    6.8281        .19173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.8183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.269        33.896        .93650E-04   -1.4853    
  20  Prefactor     .10000E-03    17.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.2973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .91637        .23010        .35467E-03   -.95887    
  23  Prefactor     .97356        .11253        .17538E-03   -.93616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60586e-09
Minuit parameter uncertainties:
  1  18.509
  2  1.59455e-05
  3  1.64947
  4  2.48267e-06
  5  14.1315
  6  7.57213e-06
  7  4.2708
  8  5.25119
  9  20.2238
  10  1.63712
  11  13.1186
  12  11.8766
  13  19.1481
  14  7.29499
  15  9.69024
  16  16.2351
  17  0.000441064
  18  9.24826e-06
  19  33.9316
  20  5.84652e-05
  21  0.000164576
  22  0.230352
  23  0.112554
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.305e+00  1.624e+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.736e-01  1.126e-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.164e-01  2.304e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 351.170 31.257
Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/831861/likelihoodResults_384998401_385257601_4FGL_J2324.6+3115_daily_bin562.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) = 8484.99591807
delta logL = 0.000396066900066

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8484.99589772
delta logL = 0.000416416763983

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2326       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9552       1.0000          .0000       10.000    
     3 'Normalizat'    .91538       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97392       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=   8484.996     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      240 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2221        678.71        .68781E-02    .15131E-03
   2  Index         2.9533        6.2593        .50000        .11488E-04
   3  Normalizat    .91601        .31203E-01    .80137E-01    .34343E-04
   4  Prefactor     .97369        .16012E-01    .45940E-01    .15543E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22212
  Index      = 2.95332
  Normalizat = 0.916013
  Prefactor  = 0.973689
 **********
 **   18 **HESSE 
 **********

 FCN=   8484.996     FROM HESSE     STATUS=OK            31 CALLS      271 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2221        27.052        .27513E-03   -1.5410    
   2  Index         2.9533        2.7564        .23820E-01   -.42173    
   3  Normalizat    .91601        .21776        .35473E-03   -.95900    
   4  Prefactor     .97369        .11031        .17537E-03   -.93612    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.68402e-10
Minuit parameter uncertainties:
  1  15.515
  2  2.95971
  3  0.217974
  4  0.110331
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/831861': 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) = 8484.99589306
delta logL = 0.000421072047175

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.222e+00  1.551e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.953e+00  2.960e+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.737e-01  1.103e-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.160e-01  2.180e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/831861/cmap_HighResolution_384998401_385257601_4FGL_J2324.6+3115_daily_bin562.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.27e-03', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2021-09-29 16:01:36.565989', job_id='831861', GAL2='0.97', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1632956496.57', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='4.21e-04', ts2='0.03', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='562' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:01:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 831861: <4FGL_J2324.6+3115_daily_bin562> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin562 351.17 31.2573 384998401 385257601 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.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   971 sec.
    Turnaround time :                            973 sec.

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

