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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin890
RA = 351.17, Dec = 31.2573
tmin = 470016001, tmax = 470275201
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='834538', job_status='RUN', time_executed='2021-09-29 15:57:55.459501', time_epoch_executed='1632956275.46' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='890'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834538

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834538/ft1_4FGL_J2324.6+3115_daily_bin890.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834538/ft2_4FGL_J2324.6+3115_daily_bin890.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834538/ft1_4FGL_J2324.6+3115_daily_bin890.fits outfile=/scratch/kocevski/834538/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin890.fits ra=351.17 dec=31.2573 rad=12.0 tmin=470016001.0 tmax=470275201.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.29
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/834538/ft2_4FGL_J2324.6+3115_daily_bin890.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/834538/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin890.fits evtable="EVENTS" outfile="/scratch/kocevski/834538/ft1_filtered_4FGL_J2324.6+3115_daily_bin890.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.51
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834538/ft1_filtered_4FGL_J2324.6+3115_daily_bin890.fits" evtable="EVENTS" scfile=/scratch/kocevski/834538/ft2_4FGL_J2324.6+3115_daily_bin890.fits sctable="SC_DATA" outfile=/scratch/kocevski/834538/ltcube_470016001_470275201_4FGL_J2324.6+3115_daily_bin890.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/834538/ft2_4FGL_J2324.6+3115_daily_bin890.fits
.....................!
real 11.92
user 11.57
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834538/ft1_filtered_4FGL_J2324.6+3115_daily_bin890.fits evtable="EVENTS" scfile=/scratch/kocevski/834538/ft2_4FGL_J2324.6+3115_daily_bin890.fits sctable="SC_DATA" expcube=/scratch/kocevski/834538/ltcube_470016001_470275201_4FGL_J2324.6+3115_daily_bin890.fits outfile=/scratch/kocevski/834538/expmap_470016001_470275201_4FGL_J2324.6+3115_daily_bin890.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/834538/ltcube_470016001_470275201_4FGL_J2324.6+3115_daily_bin890.fits
.....................!
real 190.45
user 185.06
sys 5.01

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/834538/ft1_filtered_4FGL_J2324.6+3115_daily_bin890.fits scfile=/scratch/kocevski/834538/ft2_4FGL_J2324.6+3115_daily_bin890.fits outfile=/scratch/kocevski/834538/cmap_470016001_470275201_4FGL_J2324.6+3115_daily_bin890.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834538/ft1_filtered_4FGL_J2324.6+3115_daily_bin890.fits scfile=/scratch/kocevski/834538/ft2_4FGL_J2324.6+3115_daily_bin890.fits outfile=/scratch/kocevski/834538/cmap_HighResolution_470016001_470275201_4FGL_J2324.6+3115_daily_bin890.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.56
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13195       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .94341       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.980       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .45214E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.353       1.0000         .10000E-03   10000.    
    10 'norm      '    .75435       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.7473       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .14628E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.3274       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.1846       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0985       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0091       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=   8334.538     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     3284 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19485        62.369        .23909E-04   -.97544E-04
   2  Prefactor     .93427        6.1833       -.17871E-05   -.59121E-03
   3  norm          .10000E-03    .41187       -.14939E-06** at limit **
   4  Prefactor     .10000E-03    64.290        .17221E-05** at limit **
   5  Prefactor     .10000E-03    9.4655        .20730E-06** at limit **
   6  Prefactor     16.903        18.902        .27329E-05    .25877E-03
   7  Prefactor     .34070        5.5382       -.25166E-05    .28194E-04
   8  Prefactor     .10000E-03    15.155        .15497E-05** at limit **
   9  Prefactor     15.341        26.974        .29464E-05    .14711E-03
  10  norm          .75424        1.4738       -.17961E-05   -.19903E-03
  11  Prefactor     3.7617        25.450       -.34739E-05   -.39850E-06
  12  Prefactor     .10000E-03    16.961       -.88104E-07** at limit **
  13  Prefactor     .10000E-03    8.1887       -.19926E-06** at limit **
  14  norm          .10000E-03    4.3555        .14991E-05** at limit **
  15  norm          5.3284        6.0969       -.38231E-07   -.59720E-05
  16  Prefactor     3.1882        24.461       -.20226E-05    .34715E-04
  17  norm          .10000E-03    .73825       -.44508E-07** at limit **
  18  Prefactor     .10000E-03    12.457        .57362E-06** at limit **
  19  Prefactor     .10000E-03    18.785       -.12674E-05** at limit **
  20  Prefactor     .10000E-03    11.753       -.11634E-05** at limit **
  21  Prefactor     .10000E-03    2.9445       -.81767E-07** at limit **
  22  Normalizat    1.0989        .21630        .28436E-05    .15236E-04
  23  Prefactor     1.0085        .10167       -.33589E-06    .12524E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.194845
  Prefactor  = 0.934268
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.9028
  Prefactor  = 0.340704
  Prefactor  = 0.0001
  Prefactor  = 15.3412
  norm       = 0.754241
  Prefactor  = 3.76172
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.32843
  Prefactor  = 3.18815
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.09887
  Prefactor  = 1.00849
 **********
 **   18 **HESSE 
 **********

 FCN=   8334.538     FROM HESSE     STATUS=OK           370 CALLS     3654 TOTAL
                     EDM=   .62E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19485        61.642        .44058E-02   -1.5620    
   2  Prefactor     .93427        15.153        .42119E-02   -1.5515    
   3  norm          .10000E-03    .42214        .57223E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    64.329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.4784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.903        19.154        .97195E-04   -1.4885    
   7  Prefactor     .34070        53.118        .39239E-02   -1.5591    
   8  Prefactor     .10000E-03    15.617        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.341        27.050        .10222E-03   -1.4924    
  10  norm          .75424        1.4827        .14788E-03   -1.5534    
  11  Prefactor     3.7617        25.499        .20857E-03   -1.5320    
  12  Prefactor     .10000E-03    17.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.1942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    4.4386        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.3284        6.0985        .17412E-03   -1.5246    
  16  Prefactor     3.1882        23.918        .22708E-03   -1.5351    
  17  norm          .10000E-03    .74269        .76595E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    18.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    11.762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.9678        .15298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0989        .24513        .34360E-03   -.89788    
  23  Prefactor     1.0085        .11814        .17322E-03   -.92447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.24612e-08
Minuit parameter uncertainties:
  1  6.93673
  2  7.52701
  3  1.80247e-06
  4  8.06741e-06
  5  1.20444e-06
  6  19.1608
  7  8.51465
  8  3.66455e-05
  9  27.0714
  10  1.48275
  11  19.5996
  12  0.000107168
  13  7.69525e-06
  14  7.08674e-05
  15  6.09916
  16  17.4743
  17  3.56633e-07
  18  8.99761e-07
  19  9.69047e-05
  20  3.37021e-05
  21  6.72867e-06
  22  0.24538
  23  0.118172
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  3.188e+00  1.747e+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.008e+00  1.182e-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:  1.099e+00  2.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/834538/likelihoodResults_470016001_470275201_4FGL_J2324.6+3115_daily_bin890.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) = 8334.38705551
delta logL = 0.150839158359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8334.36199897
delta logL = 0.175895697996

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6019       1.0000         .10000E-03   10000.    
     2 'Index     '    4.9146       1.0000          .0000       10.000    
     3 'Normalizat'    1.0556       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0218       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=   8334.362     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      249 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5597        45.173        .83732E-02    .11810E-02
   2  Index         4.9353        3.9789        .35997        .52743E-04
   3  Normalizat    1.0559        .38300E-01    .79029E-01   -.10581E-05
   4  Prefactor     1.0218        .18681E-01    .41963E-01   -.32864E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.55975
  Index      = 4.93529
  Normalizat = 1.05589
  Prefactor  = 1.02179
 **********
 **   18 **HESSE 
 **********

 FCN=   8334.362     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      280 TOTAL
                     EDM=   .74E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5597        197.14        .17718E-03   -1.5458    
   2  Index         4.9353        6.3676        .12121E-01   -.12943E-01
   3  Normalizat    1.0559        .18782        .34982E-03   -.91181    
   4  Prefactor     1.0218        .91079E-01    .17222E-03   -.92007    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.39853e-07
Minuit parameter uncertainties:
  1  35.1887
  2  18.4589
  3  0.187935
  4  0.0910932
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834538': 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): 102
logL (Free Index) = 8334.36199456
delta logL = 0.175900114373

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.560e+00  3.519e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  4.935e+00  1.846e+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.022e+00  9.109e-02  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.056e+00  1.879e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
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/834538/cmap_HighResolution_470016001_470275201_4FGL_J2324.6+3115_daily_bin890.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', job_status='DONE', photon_flux_upper_limit='1.36e-07', time_completed='2021-09-29 16:11:43.125711', job_id='834538', GAL2='1.02', fit_tolerance='1e-08', EG2='1.06', EG='1.10', time_epoch_completed='1632957103.13', return_code2='102', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.76e-01', ts2='0.43', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='890' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:11:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 834538: <4FGL_J2324.6+3115_daily_bin890> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin890 351.17 31.2573 470016001 470275201 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 :                                   825.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             287.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   988 sec.
    Turnaround time :                            989 sec.

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

