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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin243
RA = 351.17, Dec = 31.2573
tmin = 302313601, tmax = 302572801
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='830350', job_status='RUN', time_executed='2021-09-29 15:42:59.135376', time_epoch_executed='1632955379.14' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='243'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/830350

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/830350/ft1_4FGL_J2324.6+3115_daily_bin243.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/830350/ft2_4FGL_J2324.6+3115_daily_bin243.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/830350/ft1_4FGL_J2324.6+3115_daily_bin243.fits outfile=/scratch/kocevski/830350/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin243.fits ra=351.17 dec=31.2573 rad=12.0 tmin=302313601.0 tmax=302572801.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.55
user 3.31
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/830350/ft2_4FGL_J2324.6+3115_daily_bin243.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/830350/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin243.fits evtable="EVENTS" outfile="/scratch/kocevski/830350/ft1_filtered_4FGL_J2324.6+3115_daily_bin243.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/830350/ft1_filtered_4FGL_J2324.6+3115_daily_bin243.fits" evtable="EVENTS" scfile=/scratch/kocevski/830350/ft2_4FGL_J2324.6+3115_daily_bin243.fits sctable="SC_DATA" outfile=/scratch/kocevski/830350/ltcube_302313601_302572801_4FGL_J2324.6+3115_daily_bin243.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/830350/ft2_4FGL_J2324.6+3115_daily_bin243.fits
.....................!
real 12.35
user 12.00
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/830350/ft1_filtered_4FGL_J2324.6+3115_daily_bin243.fits evtable="EVENTS" scfile=/scratch/kocevski/830350/ft2_4FGL_J2324.6+3115_daily_bin243.fits sctable="SC_DATA" expcube=/scratch/kocevski/830350/ltcube_302313601_302572801_4FGL_J2324.6+3115_daily_bin243.fits outfile=/scratch/kocevski/830350/expmap_302313601_302572801_4FGL_J2324.6+3115_daily_bin243.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/830350/ltcube_302313601_302572801_4FGL_J2324.6+3115_daily_bin243.fits
.....................!
real 191.28
user 185.92
sys 4.97

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/830350/ft1_filtered_4FGL_J2324.6+3115_daily_bin243.fits scfile=/scratch/kocevski/830350/ft2_4FGL_J2324.6+3115_daily_bin243.fits outfile=/scratch/kocevski/830350/cmap_302313601_302572801_4FGL_J2324.6+3115_daily_bin243.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/830350/ft1_filtered_4FGL_J2324.6+3115_daily_bin243.fits scfile=/scratch/kocevski/830350/ft2_4FGL_J2324.6+3115_daily_bin243.fits outfile=/scratch/kocevski/830350/cmap_HighResolution_302313601_302572801_4FGL_J2324.6+3115_daily_bin243.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.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.0209       1.0000         .10000E-03   10000.    
     3 'norm      '    3.3275       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.5547       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.380       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.2479       1.0000         .10000E-03   10000.    
    10 'norm      '    1.3125       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.027       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    7.7943       1.0000         .10000E-03   10000.    
    15 'norm      '    4.8469       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.3282       1.0000         .10000E-03   10000.    
    17 'norm      '    .16986       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    52.808       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.5464       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .90732       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98450       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=   8183.042     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2554 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.4603        .38569E-06** at limit **
   2  Prefactor     3.0217        5.8684        .40721E-06   -.83039E-04
   3  norm          3.3275        1.2624        .21526E-07   -.32327E-04
   4  Prefactor     .10000E-03    26.253        .53250E-07** at limit **
   5  Prefactor     .10000E-03    5.7562        .13238E-06** at limit **
   6  Prefactor     .10000E-03    4.6621        .11373E-06** at limit **
   7  Prefactor     4.5546        4.3406       -.14956E-07    .55174E-05
   8  Prefactor     13.380        9.7067        .72428E-07   -.96629E-05
   9  Prefactor     8.2440        28.664       -.16881E-05   -.62171E-04
  10  norm          1.3126        1.3002        .12540E-06    .57532E-06
  11  Prefactor     .10000E-03    3.9399        .94971E-08** at limit **
  12  Prefactor     13.027        10.114        .35481E-07    .88548E-05
  13  Prefactor     .10000E-03    6.4422        .59948E-06** at limit **
  14  norm          7.7982        6.6458        .18952E-06    .85401E-04
  15  norm          4.8461        7.3479        .26445E-05   -.42553E-03
  16  Prefactor     2.3184        29.717       -.20464E-05   -.13074E-03
  17  norm          .17204        1.1575       -.34128E-07   -.83263E-04
  18  Prefactor     .10000E-03    5.4356       -.44450E-06** at limit **
  19  Prefactor     52.818        38.134        .24606E-05    .25191E-03
  20  Prefactor     8.5501        64.331        .23418E-05    .38461E-04
  21  Prefactor     .10000E-03    7.6529       -.47439E-06** at limit **
  22  Normalizat    .90715        .20007       -.11419E-05    .40624E-04
  23  Prefactor     .98460        .98438E-01    .86557E-07   -.19550E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 3.02172
  norm       = 3.32753
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.55455
  Prefactor  = 13.3801
  Prefactor  = 8.24401
  norm       = 1.31261
  Prefactor  = 0.0001
  Prefactor  = 13.0271
  Prefactor  = 0.0001
  norm       = 7.79821
  norm       = 4.84609
  Prefactor  = 2.3184
  norm       = 0.172043
  Prefactor  = 0.0001
  Prefactor  = 52.8183
  Prefactor  = 8.55005
  Prefactor  = 0.0001
  Normalizat = 0.90715
  Prefactor  = 0.984597
 **********
 **   18 **HESSE 
 **********

 FCN=   8183.042     FROM HESSE     STATUS=OK           374 CALLS     2928 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.4871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.0217        5.8740        .23349E-03   -1.5360    
   3  norm          3.3275        1.2618        .60495E-04   -1.5343    
   4  Prefactor     .10000E-03    26.259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.7610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.6654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.5546        4.3449        .17914E-03   -1.5281    
   8  Prefactor     13.380        9.7062        .10950E-03   -1.4976    
   9  Prefactor     8.2440        28.921        .13960E-03   -1.5134    
  10  norm          1.3126        1.2776        .96818E-04   -1.5479    
  11  Prefactor     .10000E-03    3.9418        .17536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.027        10.045        .11098E-03   -1.4986    
  13  Prefactor     .10000E-03    6.4886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.7982        6.5526        .14363E-03   -1.5149    
  15  norm          4.8461        7.6640        .91360E-03   -1.5268    
  16  Prefactor     2.3184        30.872        .26878E-03   -1.5403    
  17  norm          .17204        6.6997        .18444E-02   -1.5625    
  18  Prefactor     .10000E-03    5.4569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     52.818        39.540        .55193E-04   -1.4253    
  20  Prefactor     8.5501        64.595        .13712E-03   -1.5123    
  21  Prefactor     .10000E-03    7.8382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .90715        .23234        .34410E-03   -.96209    
  23  Prefactor     .98460        .11687        .16961E-03   -.93245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48498e-08
Minuit parameter uncertainties:
  1  1.8527e-05
  2  5.87516
  3  1.26183
  4  1.09101e-05
  5  1.10615e-05
  6  8.91395e-06
  7  4.34516
  8  9.70739
  9  28.9705
  10  1.27758
  11  2.44454e-06
  12  10.0467
  13  5.48366e-05
  14  6.55322
  15  7.66555
  16  16.9305
  17  2.14685
  18  3.37889e-05
  19  39.5601
  20  47.0725
  21  8.36143e-05
  22  0.232599
  23  0.116902
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.318e+00  1.693e+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.846e-01  1.169e-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.071e-01  2.326e-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.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/830350/likelihoodResults_302313601_302572801_4FGL_J2324.6+3115_daily_bin243.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) = 8182.72840082
delta logL = 0.313979065056

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8182.63699555
delta logL = 0.405384326994

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4138       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7004       1.0000          .0000       10.000    
     3 'Normalizat'    .91789       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97758       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=   8182.637     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      223 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4137        9.1381        .39620E-02    .20508E-02
   2  Index         1.7003        .41863        .27860       -.82413E-04
   3  Normalizat    .91773        .18572        .77337E-01    .32084E-04
   4  Prefactor     .97762        .95512E-01    .45986E-01    .43862E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.41375
  Index      = 1.70029
  Normalizat = 0.917731
  Prefactor  = 0.977625
 **********
 **   18 **HESSE 
 **********

 FCN=   8182.637     FROM HESSE     STATUS=OK            29 CALLS      252 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4137        11.531        .15848E-03   -1.5201    
   2  Index         1.7003        .77174        .98468E-02   -.72074    
   3  Normalizat    .91773        .21520        .34229E-03   -.95840    
   4  Prefactor     .97762        .11082        .17003E-03   -.93479    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.37533e-09
Minuit parameter uncertainties:
  1  11.5349
  2  0.777279
  3  0.215403
  4  0.110841
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/830350': 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) = 8182.63699522
delta logL = 0.405384660049

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  6.414e+00  1.153e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  1.700e+00  7.773e-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:  9.776e-01  1.108e-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.177e-01  2.154e-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/830350/cmap_HighResolution_302313601_302572801_4FGL_J2324.6+3115_daily_bin243.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.25e-03', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2021-09-29 15:56:03.496015', job_id='830350', GAL2='0.98', fit_tolerance='1e-08', EG2='0.92', EG='0.91', time_epoch_completed='1632956163.5', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='4.05e-01', ts2='0.84', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='243' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 15:56:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 830350: <4FGL_J2324.6+3115_daily_bin243> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin243> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 15:40:14 2021
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 15:40:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 15:40:15 2021
Terminated at Wed Sep 29 15:56:04 2021
Results reported at Wed Sep 29 15:56:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin243 351.17 31.2573 302313601 302572801 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 :                                   782.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   948 sec.
    Turnaround time :                            950 sec.

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

