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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin990
RA = 351.17, Dec = 31.2573
tmin = 495936001, tmax = 496195201
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='834691', job_status='RUN', time_executed='2021-09-29 15:58:11.150284', time_epoch_executed='1632956291.15' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='990'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834691

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834691/ft1_4FGL_J2324.6+3115_daily_bin990.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834691/ft2_4FGL_J2324.6+3115_daily_bin990.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834691/ft1_4FGL_J2324.6+3115_daily_bin990.fits outfile=/scratch/kocevski/834691/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin990.fits ra=351.17 dec=31.2573 rad=12.0 tmin=495936001.0 tmax=496195201.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.53
user 3.27
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/834691/ft2_4FGL_J2324.6+3115_daily_bin990.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/834691/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin990.fits evtable="EVENTS" outfile="/scratch/kocevski/834691/ft1_filtered_4FGL_J2324.6+3115_daily_bin990.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/834691/ft1_filtered_4FGL_J2324.6+3115_daily_bin990.fits" evtable="EVENTS" scfile=/scratch/kocevski/834691/ft2_4FGL_J2324.6+3115_daily_bin990.fits sctable="SC_DATA" outfile=/scratch/kocevski/834691/ltcube_495936001_496195201_4FGL_J2324.6+3115_daily_bin990.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/834691/ft2_4FGL_J2324.6+3115_daily_bin990.fits
.....................!
real 12.05
user 11.69
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834691/ft1_filtered_4FGL_J2324.6+3115_daily_bin990.fits evtable="EVENTS" scfile=/scratch/kocevski/834691/ft2_4FGL_J2324.6+3115_daily_bin990.fits sctable="SC_DATA" expcube=/scratch/kocevski/834691/ltcube_495936001_496195201_4FGL_J2324.6+3115_daily_bin990.fits outfile=/scratch/kocevski/834691/expmap_495936001_496195201_4FGL_J2324.6+3115_daily_bin990.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/834691/ltcube_495936001_496195201_4FGL_J2324.6+3115_daily_bin990.fits
.....................!
real 190.04
user 184.98
sys 4.62

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/834691/ft1_filtered_4FGL_J2324.6+3115_daily_bin990.fits scfile=/scratch/kocevski/834691/ft2_4FGL_J2324.6+3115_daily_bin990.fits outfile=/scratch/kocevski/834691/cmap_495936001_496195201_4FGL_J2324.6+3115_daily_bin990.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834691/ft1_filtered_4FGL_J2324.6+3115_daily_bin990.fits scfile=/scratch/kocevski/834691/ft2_4FGL_J2324.6+3115_daily_bin990.fits outfile=/scratch/kocevski/834691/cmap_HighResolution_495936001_496195201_4FGL_J2324.6+3115_daily_bin990.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/834691/ft1_filtered_4FGL_J2324.6+3115_daily_bin990.fits evtable="EVENTS" scfile=/scratch/kocevski/834691/ft2_4FGL_J2324.6+3115_daily_bin990.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/834691/Model_4FGL_J2324.6+3115_daily_bin990.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/834691/ft1_filtered_4FGL_J2324.6+3115_daily_bin990.fits.....................!
real 91.43
user 89.94
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    42.203       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.8954       1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.481       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.745       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.3547       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.010       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .59111       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    36.170       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.065       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12089E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .86910       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0425       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=   8441.827     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2555 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          42.201        20.805        .40355E-06    .42986E-03
   2  Prefactor     5.8944        7.8571       -.23093E-06    .16771E-05
   3  norm          .10000E-03    .26708       -.34683E-07** at limit **
   4  Prefactor     21.519        72.545       -.88909E-05    .10326E-05
   5  Prefactor     .10000E-03    5.0620       -.23284E-06** at limit **
   6  Prefactor     18.745        16.307       -.31988E-06    .62413E-04
   7  Prefactor     1.3541        4.1356        .12022E-04    .19979E-03
   8  Prefactor     13.010        9.9065        .39515E-07    .59799E-04
   9  Prefactor     .10000E-03    6.5501        .44376E-06** at limit **
  10  norm          .59116        1.3022        .31897E-07   -.22558E-03
  11  Prefactor     .10000E-03    3.8412       -.11421E-06** at limit **
  12  Prefactor     36.170        13.028       -.21380E-06    .14081E-03
  13  Prefactor     .10000E-03    7.9536       -.35183E-06** at limit **
  14  norm          .10000E-03    3.2825       -.13724E-06** at limit **
  15  norm          .10000E-03    7.3027       -.26905E-06** at limit **
  16  Prefactor     11.064        14.999        .27957E-06    .14812E-03
  17  norm          .10000E-03    .73644       -.88147E-07** at limit **
  18  Prefactor     .10002E-03    56.006       -.61203E-04** at limit **
  19  Prefactor     .10000E-03    17.256        .20396E-06** at limit **
  20  Prefactor     .10000E-03    33.611       -.25082E-05** at limit **
  21  Prefactor     .10000E-03    4.1172       -.29807E-06** at limit **
  22  Normalizat    .86929        .19856        .46781E-05    .57736E-03
  23  Prefactor     1.0424        .99762E-01   -.26971E-05    .76924E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 42.201
  Prefactor  = 5.89439
  norm       = 0.0001
  Prefactor  = 21.5192
  Prefactor  = 0.0001
  Prefactor  = 18.7445
  Prefactor  = 1.35412
  Prefactor  = 13.0096
  Prefactor  = 0.0001
  norm       = 0.591162
  Prefactor  = 0.0001
  Prefactor  = 36.1697
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 11.0638
  norm       = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.86929
  Prefactor  = 1.0424
 **********
 **   18 **HESSE 
 **********

 FCN=   8441.827     FROM HESSE     STATUS=OK           372 CALLS     2927 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          42.201        20.811        .61708E-04   -1.4408    
   2  Prefactor     5.8944        7.8770        .16539E-03   -1.5222    
   3  norm          .10000E-03    .50474        .92465E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.519        72.555        .86422E-04   -1.4780    
   5  Prefactor     .10000E-03    5.0663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.745        16.348        .92508E-04   -1.4842    
   7  Prefactor     1.3541        8.9686        .18781E-02   -1.5475    
   8  Prefactor     13.010        9.9086        .11105E-03   -1.4986    
   9  Prefactor     .10000E-03    6.5518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .59116        1.2782        .14610E-03   -1.5554    
  11  Prefactor     .10000E-03    3.8441        .17587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     36.170        13.044        .66637E-04   -1.4504    
  13  Prefactor     .10000E-03    7.9634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.3129        .16218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    7.4066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.064        14.966        .12044E-03   -1.5043    
  17  norm          .10000E-03    .74540        .76980E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10002E-03    67.256        .54414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    17.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    33.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.1802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .86929        .22758        .35653E-03   -.97548    
  23  Prefactor     1.0424        .11524        .16887E-03   -.91329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77193e-09
Minuit parameter uncertainties:
  1  20.8144
  2  7.87836
  3  1.81083e-06
  4  72.855
  5  4.34913e-06
  6  16.3515
  7  6.97106
  8  9.90982
  9  4.80839e-06
  10  1.27825
  11  8.59611e-06
  12  13.0451
  13  1.64907e-05
  14  1.82932e-05
  15  2.0607e-05
  16  14.9708
  17  6.08922e-06
  18  0.00203384
  19  0.000114059
  20  0.000140805
  21  7.15505e-05
  22  0.227831
  23  0.115267
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.106e+01  1.497e+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.042e+00  1.153e-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:  8.693e-01  2.278e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/834691/likelihoodResults_495936001_496195201_4FGL_J2324.6+3115_daily_bin990.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) = 8440.47052362
delta logL = 1.35688693603

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8440.01047271
delta logL = 1.81693784734

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.916       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8574       1.0000          .0000       10.000    
     3 'Normalizat'    .90426       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0172       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=   8440.010     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      226 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.916        19.184        .18956E-02    .35381E-02
   2  Index         1.8574        .30151        .18055       -.91574E-04
   3  Normalizat    .90436        .18897        .79091E-01    .27780E-04
   4  Prefactor     1.0171        .97907E-01    .42430E-01    .24171E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.9156
  Index      = 1.85741
  Normalizat = 0.904364
  Prefactor  = 1.01715
 **********
 **   18 **HESSE 
 **********

 FCN=   8440.010     FROM HESSE     STATUS=OK            31 CALLS      257 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.916        20.053        .75825E-04   -1.4651    
   2  Index         1.8574        .36979        .68156E-02   -.67965    
   3  Normalizat    .90436        .21831        .35009E-03   -.96307    
   4  Prefactor     1.0171        .11322        .17045E-03   -.92160    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60351e-08
Minuit parameter uncertainties:
  1  20.0582
  2  0.370346
  3  0.218526
  4  0.113246
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834691': 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) = 8440.01047256
delta logL = 1.81693799306

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.792e+01  2.006e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  1.857e+00  3.703e-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:  1.017e+00  1.132e-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.044e-01  2.185e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.35
Ra Dec: 351.170 31.257
Photon Index (Free Index): 1.86 +/- 0.37
Photon Flux (Free Index): 4.59e-08 +/- 3.48e-08
Energy Flux (Free Index): 4.64e-05 +/- 4.55e-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/834691/cmap_HighResolution_495936001_496195201_4FGL_J2324.6+3115_daily_bin990.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', comment='SUCCESS', energy_flux2='4.64e-05', dlogl='1.82e+00', photon_flux2='4.59e-08', job_status='DONE', time_completed='2021-09-29 16:11:17.889030', photon_index_error2='0.37', photon_index2='1.86', ts='0.69', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.38e-07', energy_flux_error2='4.55e-05', EG='0.87', time_epoch_completed='1632957077.89', return_code='0', job_id='834691', GAL2='1.02', EG2='0.90', return_code2='0', photon_flux_error2='3.48e-08', ts2='4.35', photon_index='2.88' WHERE bin_id='990' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:11:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 834691: <4FGL_J2324.6+3115_daily_bin990> in cluster <slac> Done

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

Your job looked like:

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

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

