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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin586
RA = 351.17, Dec = 31.2573
tmin = 391219201, tmax = 391478401
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='831902', job_status='RUN', time_executed='2021-09-29 15:47:19.091674', time_epoch_executed='1632955639.09' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='586'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/831902

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/831902/ft1_4FGL_J2324.6+3115_daily_bin586.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/831902/ft2_4FGL_J2324.6+3115_daily_bin586.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/831902/ft1_4FGL_J2324.6+3115_daily_bin586.fits outfile=/scratch/kocevski/831902/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin586.fits ra=351.17 dec=31.2573 rad=12.0 tmin=391219201.0 tmax=391478401.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.37
user 3.10
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/831902/ft2_4FGL_J2324.6+3115_daily_bin586.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/831902/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin586.fits evtable="EVENTS" outfile="/scratch/kocevski/831902/ft1_filtered_4FGL_J2324.6+3115_daily_bin586.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/831902/ft1_filtered_4FGL_J2324.6+3115_daily_bin586.fits" evtable="EVENTS" scfile=/scratch/kocevski/831902/ft2_4FGL_J2324.6+3115_daily_bin586.fits sctable="SC_DATA" outfile=/scratch/kocevski/831902/ltcube_391219201_391478401_4FGL_J2324.6+3115_daily_bin586.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/831902/ft2_4FGL_J2324.6+3115_daily_bin586.fits
.....................!
real 12.16
user 11.77
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/831902/ft1_filtered_4FGL_J2324.6+3115_daily_bin586.fits evtable="EVENTS" scfile=/scratch/kocevski/831902/ft2_4FGL_J2324.6+3115_daily_bin586.fits sctable="SC_DATA" expcube=/scratch/kocevski/831902/ltcube_391219201_391478401_4FGL_J2324.6+3115_daily_bin586.fits outfile=/scratch/kocevski/831902/expmap_391219201_391478401_4FGL_J2324.6+3115_daily_bin586.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/831902/ltcube_391219201_391478401_4FGL_J2324.6+3115_daily_bin586.fits
.....................!
real 191.09
user 185.50
sys 5.02

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/831902/ft1_filtered_4FGL_J2324.6+3115_daily_bin586.fits scfile=/scratch/kocevski/831902/ft2_4FGL_J2324.6+3115_daily_bin586.fits outfile=/scratch/kocevski/831902/cmap_391219201_391478401_4FGL_J2324.6+3115_daily_bin586.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.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/831902/ft1_filtered_4FGL_J2324.6+3115_daily_bin586.fits scfile=/scratch/kocevski/831902/ft2_4FGL_J2324.6+3115_daily_bin586.fits outfile=/scratch/kocevski/831902/cmap_HighResolution_391219201_391478401_4FGL_J2324.6+3115_daily_bin586.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77972       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.4888       1.0000         .10000E-03   10000.    
     3 'norm      '    4.6134       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.3418       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.6220       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .24030E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.713       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .14542       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    32.420       1.0000         .10000E-03   10000.    
    14 'norm      '    13.067       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.418       1.0000         .10000E-03   10000.    
    17 'norm      '    .15154E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.193       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.3981       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .64027       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1763       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=   9009.898     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2246 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78159        7.9953       -.14788E-05   -.49318E-04
   2  Prefactor     2.4887        3.8725       -.37629E-06   -.54611E-03
   3  norm          4.6134        1.4482        .99333E-09    .64357E-04
   4  Prefactor     .10000E-03    18.262       -.88600E-05** at limit **
   5  Prefactor     3.3412        18.249       -.14941E-05   -.73204E-04
   6  Prefactor     7.6194        13.744       -.49687E-06   -.30157E-04
   7  Prefactor     .10000E-03    2.4943       -.11523E-06** at limit **
   8  Prefactor     11.713        15.554       -.11319E-05   -.37410E-04
   9  Prefactor     .10000E-03    24.898        .70809E-05** at limit **
  10  norm          .14623        .63032       -.61222E-06   -.12305E-02
  11  Prefactor     .10000E-03    6.7473        .19345E-06** at limit **
  12  Prefactor     .10000E-03    3.8963       -.22086E-07** at limit **
  13  Prefactor     32.421        22.755        .50767E-06    .16031E-04
  14  norm          13.068        6.7126        .67254E-06    .14164E-03
  15  norm          .10000E-03    4.3806        .53830E-08** at limit **
  16  Prefactor     22.413        20.443       -.32748E-05    .62233E-04
  17  norm          .10024E-03    1.0386       -.32212E-06** at limit **
  18  Prefactor     20.193        17.391       -.22628E-06    .20242E-04
  19  Prefactor     .10000E-03    14.867        .46558E-05** at limit **
  20  Prefactor     .10000E-03    33.326        .57497E-05** at limit **
  21  Prefactor     5.3986        5.9305       -.96930E-07   -.19158E-04
  22  Normalizat    .64022        .21190        .16532E-05    .13257E-03
  23  Prefactor     1.1763        .10535        .42366E-07    .41321E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.781595
  Prefactor  = 2.48869
  norm       = 4.61336
  Prefactor  = 0.0001
  Prefactor  = 3.34118
  Prefactor  = 7.61939
  Prefactor  = 0.0001
  Prefactor  = 11.7129
  Prefactor  = 0.0001
  norm       = 0.146234
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.4213
  norm       = 13.0676
  norm       = 0.0001
  Prefactor  = 22.4127
  norm       = 0.000100237
  Prefactor  = 20.1931
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.39861
  Normalizat = 0.640225
  Prefactor  = 1.17632
 **********
 **   18 **HESSE 
 **********

 FCN=   9009.898     FROM HESSE     STATUS=OK           386 CALLS     2632 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78159        44.034        .50602E-02   -1.5531    
   2  Prefactor     2.4887        3.8901        .22827E-03   -1.5392    
   3  norm          4.6134        1.4453        .60738E-04   -1.5278    
   4  Prefactor     .10000E-03    17.911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.3412        18.303        .22140E-03   -1.5342    
   6  Prefactor     7.6194        13.762        .14526E-03   -1.5156    
   7  Prefactor     .10000E-03    8.5339        .29143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.713        15.574        .11705E-03   -1.5023    
   9  Prefactor     .10000E-03    24.939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .14623        1.2875        .14726E-02   -1.5632    
  11  Prefactor     .10000E-03    6.7578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.9117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     32.421        22.741        .70373E-04   -1.4569    
  14  norm          13.068        6.7072        .11081E-03   -1.4985    
  15  norm          .10000E-03    4.3933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.413        20.267        .84597E-04   -1.4761    
  17  norm          .10024E-03    1.7777        .34738E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     20.193        17.389        .89131E-04   -1.4809    
  19  Prefactor     .10000E-03    14.782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    33.239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.3986        5.8895        .17296E-03   -1.5243    
  22  Normalizat    .64022        .22933        .42911E-03   -1.0630    
  23  Prefactor     1.1763        .11633        .16575E-03   -.87063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31057e-08
Minuit parameter uncertainties:
  1  11.7416
  2  3.89047
  3  1.44527
  4  7.08643e-07
  5  15.6474
  6  13.7677
  7  5.53578e-05
  8  15.5792
  9  4.69995e-05
  10  0.867543
  11  2.23095e-07
  12  1.25832e-07
  13  22.7467
  14  6.70754
  15  5.85818e-07
  16  20.2735
  17  0.0012979
  18  17.3929
  19  4.76765e-06
  20  1.52866e-05
  21  5.89016
  22  0.229677
  23  0.116357
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.241e+01  2.027e+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.176e+00  1.164e-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:  6.402e-01  2.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.85
Ra Dec: 351.170 31.257
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 7.21e-08 +/- 6.51e-08
Energy Flux (Fixed Index): 1.54e-05 +/- 1.39e-05

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

Saving results to:
/scratch/kocevski/831902/likelihoodResults_391219201_391478401_4FGL_J2324.6+3115_daily_bin586.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) = 9009.87662504
delta logL = 0.0215960372025

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9009.86232354
delta logL = 0.0358975390736

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.835       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1268       1.0000          .0000       10.000    
     3 'Normalizat'    .63150       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1800       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=   9009.862     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      223 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.811        357.34        .23072E-02    .68758E-03
   2  Index         3.1278        6.5381        .21831        .10096E-03
   3  Normalizat    .63158        .73294E-01    .97445E-01    .67357E-04
   4  Prefactor     1.1800        .37958E-01    .35123E-01    .36994E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.8113
  Index      = 3.12778
  Normalizat = 0.631577
  Prefactor  = 1.18004
 **********
 **   18 **HESSE 
 **********

 FCN=   9009.862     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.811        25.255        .46143E-03   -1.4840    
   2  Index         3.1278        1.1615        .10801E-01   -.38380    
   3  Normalizat    .63158        .22825        .43184E-03   -1.0666    
   4  Prefactor     1.1800        .11538        .16553E-03   -.86948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94984e-11
Minuit parameter uncertainties:
  1  25.2698
  2  1.17396
  3  0.228593
  4  0.115404
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/831902': 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) = 9009.86232077
delta logL = 0.0359003064987

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.881e+01  2.527e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  3.128e+00  1.174e+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.180e+00  1.154e-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:  6.316e-01  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.97
Ra Dec: 351.170 31.257
Photon Index (Free Index): 3.13 +/- 1.17
Photon Flux (Free Index): 7.65e-08 +/- 6.14e-08
Energy Flux (Free Index): 1.44e-05 +/- 1.32e-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/831902/cmap_HighResolution_391219201_391478401_4FGL_J2324.6+3115_daily_bin586.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.48e-02', comment='SUCCESS', photon_flux='7.21e-08', energy_flux2='1.44e-05', photon_flux_error='6.51e-08', dlogl='3.59e-02', energy_flux='1.54e-05', photon_flux2='7.65e-08', job_status='DONE', time_completed='2021-09-29 16:00:24.948481', photon_index_error2='1.17', photon_index2='3.13', ts='1.85', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='1.86e-07', energy_flux_error2='1.32e-05', EG='0.64', time_epoch_completed='1632956424.95', return_code='0', job_id='831902', GAL2='1.18', EG2='0.63', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='6.14e-08', ts2='1.97', photon_index='2.88' WHERE bin_id='586' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:00:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 831902: <4FGL_J2324.6+3115_daily_bin586> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin586> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 15:45:27 2021
Job was executed on host(s) <bullet0057>, 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:25 2021
Results reported at Wed Sep 29 16:00:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin586 351.17 31.2573 391219201 391478401 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 :                                   784.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             351.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            898 sec.

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

