/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 124 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 = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2324.6+3115_daily_bin390
RA = 351.17, Dec = 31.2573
tmin = 340416001, tmax = 340675201
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='830555', job_status='RUN', time_executed='2021-09-29 15:42:45.384243', time_epoch_executed='1632955365.38' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='390'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/830555

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

Retrieving the FT1 file...

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

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

Retrieving 53 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/830555/ft1_4FGL_J2324.6+3115_daily_bin390.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/830555/ft2_4FGL_J2324.6+3115_daily_bin390.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/830555/ft1_4FGL_J2324.6+3115_daily_bin390.fits outfile=/scratch/kocevski/830555/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin390.fits ra=351.17 dec=31.2573 rad=12.0 tmin=340416001.0 tmax=340675201.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 6.75
user 6.46
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/830555/ft1_filtered_4FGL_J2324.6+3115_daily_bin390.fits" evtable="EVENTS" scfile=/scratch/kocevski/830555/ft2_4FGL_J2324.6+3115_daily_bin390.fits sctable="SC_DATA" outfile=/scratch/kocevski/830555/ltcube_340416001_340675201_4FGL_J2324.6+3115_daily_bin390.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/830555/ft2_4FGL_J2324.6+3115_daily_bin390.fits
.....................!
real 11.21
user 10.87
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/830555/ft1_filtered_4FGL_J2324.6+3115_daily_bin390.fits evtable="EVENTS" scfile=/scratch/kocevski/830555/ft2_4FGL_J2324.6+3115_daily_bin390.fits sctable="SC_DATA" expcube=/scratch/kocevski/830555/ltcube_340416001_340675201_4FGL_J2324.6+3115_daily_bin390.fits outfile=/scratch/kocevski/830555/expmap_340416001_340675201_4FGL_J2324.6+3115_daily_bin390.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/830555/ltcube_340416001_340675201_4FGL_J2324.6+3115_daily_bin390.fits
.....................!
real 189.43
user 185.18
sys 3.83

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/830555/ft1_filtered_4FGL_J2324.6+3115_daily_bin390.fits scfile=/scratch/kocevski/830555/ft2_4FGL_J2324.6+3115_daily_bin390.fits outfile=/scratch/kocevski/830555/cmap_340416001_340675201_4FGL_J2324.6+3115_daily_bin390.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/830555/ft1_filtered_4FGL_J2324.6+3115_daily_bin390.fits scfile=/scratch/kocevski/830555/ft2_4FGL_J2324.6+3115_daily_bin390.fits outfile=/scratch/kocevski/830555/cmap_HighResolution_340416001_340675201_4FGL_J2324.6+3115_daily_bin390.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3504       1.0000         .10000E-03   10000.    
     3 'norm      '    .45661       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.670       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.510       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.583       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.4360       1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.974       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    11.643       1.0000         .10000E-03   10000.    
    15 'norm      '    6.5968       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10864E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    92.477       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0164       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90023       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=   8004.917     FROM MIGRAD    STATUS=CONVERGED    489 CALLS     2515 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.5723       -.18957E-05** at limit **
   2  Prefactor     1.3570        12.079       -.34066E-05   -.59936E-03
   3  norm          .45625        .83285        .28374E-06    .29699E-03
   4  Prefactor     .10000E-03    17.087        .91390E-05** at limit **
   5  Prefactor     .10000E-03    11.687       -.72060E-05** at limit **
   6  Prefactor     22.667        17.307       -.18460E-05   -.68397E-05
   7  Prefactor     10.509        5.8296       -.66120E-07   -.66715E-03
   8  Prefactor     10.584        11.224       -.32550E-06   -.54989E-04
   9  Prefactor     .10000E-03    4.7689        .43578E-05** at limit **
  10  norm          1.4360        1.3170        .47237E-07   -.70080E-03
  11  Prefactor     34.982        21.751        .54451E-05   -.20769E-04
  12  Prefactor     .10000E-03    4.5095       -.26494E-05** at limit **
  13  Prefactor     .10000E-03    9.2265        .67749E-05** at limit **
  14  norm          11.644        5.4972        .10041E-07    .12027E-03
  15  norm          6.5961        6.4177        .11231E-06    .74325E-04
  16  Prefactor     .10000E-03    11.071       -.51816E-05** at limit **
  17  norm          .10001E-03    1.0081        .21313E-06** at limit **
  18  Prefactor     .10000E-03    6.5806       -.15231E-06** at limit **
  19  Prefactor     92.486        45.236        .77557E-05    .26555E-04
  20  Prefactor     .10000E-03    26.489       -.60006E-05** at limit **
  21  Prefactor     .10000E-03    3.9693        .34015E-06** at limit **
  22  Normalizat    1.0158        .20073       -.36482E-05    .15832E-03
  23  Prefactor     .90049        .96044E-01    .72437E-06   -.13759E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 1.35702
  norm       = 0.456247
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.6667
  Prefactor  = 10.5094
  Prefactor  = 10.5841
  Prefactor  = 0.0001
  norm       = 1.43602
  Prefactor  = 34.9817
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.6435
  norm       = 6.59614
  Prefactor  = 0.0001
  norm       = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 92.4864
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.01579
  Prefactor  = 0.900486
 **********
 **   18 **HESSE 
 **********

 FCN=   8004.917     FROM HESSE     STATUS=OK           372 CALLS     2887 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.5758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.3570        12.845        .37651E-03   -1.5475    
   3  norm          .45625        .66629        .10619E-02   -1.5573    
   4  Prefactor     .10000E-03    17.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     22.667        17.315        .84126E-04   -1.4755    
   7  Prefactor     10.509        5.8365        .61795E-03   -1.5059    
   8  Prefactor     10.584        11.223        .12316E-03   -1.5057    
   9  Prefactor     .10000E-03    4.7580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4360        1.2985        .93448E-04   -1.5468    
  11  Prefactor     34.982        21.591        .67763E-04   -1.4524    
  12  Prefactor     .10000E-03    4.5334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.2007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.644        5.4877        .11741E-03   -1.5025    
  15  norm          6.5961        6.4145        .15624E-03   -1.5194    
  16  Prefactor     .10000E-03    11.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10001E-03    20.753        .17302E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.5863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     92.486        45.326        .41789E-04   -1.3782    
  20  Prefactor     .10000E-03    26.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.0062        .17405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0158        .23090        .33025E-03   -.92503    
  23  Prefactor     .90049        .11205        .17347E-03   -.96124    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94849e-09
Minuit parameter uncertainties:
  1  6.37364e-06
  2  8.35218
  3  0.666298
  4  4.12535e-06
  5  1.25513e-05
  6  17.3193
  7  5.83686
  8  11.2252
  9  1.74631e-06
  10  1.29856
  11  21.5957
  12  1.29704e-05
  13  1.57705e-05
  14  5.48796
  15  6.41522
  16  4.10544e-06
  17  0.000847452
  18  3.95701e-06
  19  45.3433
  20  2.22861e-05
  21  1.03692e-05
  22  0.23113
  23  0.112079
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  4.105e-06  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.005e-01  1.121e-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.016e+00  2.311e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.170 31.257
Photon Flux Upper Limit: 9.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/830555/likelihoodResults_340416001_340675201_4FGL_J2324.6+3115_daily_bin390.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): 102
logL (Free Index) = 8004.91737146
delta logL = -0.000429246886597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8004.91694222
delta logL = -6.83030521031e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8774       1.0000          .0000       10.000    
     3 'Normalizat'    1.0158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90048       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8004.917     FROM MIGRAD    STATUS=FAILED        89 CALLS      243 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10015E-03    333.83        .18142E-02** at limit **
   2  Index         2.9276        8.4757        .50000       -.15131E-05
   3  Normalizat    1.0158        .28809E-01    .33026E-03   -.19164E-03
   4  Prefactor     .90049        .14430E-01    .17347E-03    .15903E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8004.917     FROM SIMPLEX   STATUS=UNCHANGED    160 CALLS      403 TOTAL
                     EDM=   .97E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10015E-03    333.83        .47214E-03** at limit **
   2  Index         2.9276        8.4757        .18112E-04   -.15131E-05
   3  Normalizat    1.0158        .28809E-01    .18929E-06   -.19164E-03
   4  Prefactor     .90049        .14430E-01    .15151E-07    .15903E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8004.778     FROM MIGRAD    STATUS=CONVERGED    130 CALLS      533 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41127E-02    .76008E-02    .25066E-02   -.15853E-01
   2  Index         9.1814        1.7877        .50000        .99837E-04
   3  Normalizat    .98462        .22968        .13210E-04    .20121E-03
   4  Prefactor     .91045        .11255        .34694E-04    .28456E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00411266
  Index      = 9.18143
  Normalizat = 0.98462
  Prefactor  = 0.910447
 **********
 **   18 **HESSE 
 **********

 FCN=   8004.778     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      564 TOTAL
                     EDM=   .36E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41127E-02    .87245        .10479E-03   -1.5721    
   2  Index         9.1814        8.1644        .59203E-01    .99047    
   3  Normalizat    .98462        .19066        .26420E-05   -.93547    
   4  Prefactor     .91045        .94042E-01    .69388E-05   -.95777    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.64857e-06
Minuit parameter uncertainties:
  1  0.118337
  2  21.1574
  3  0.190795
  4  0.0940583
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/830555': 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) = 8004.77845062
delta logL = 0.138491593804

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  4.113e-03  1.183e-01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  9.181e+00  2.116e+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.104e-01  9.406e-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:  9.846e-01  1.908e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/830555/cmap_HighResolution_340416001_340675201_4FGL_J2324.6+3115_daily_bin390.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.80e-03', job_status='DONE', photon_flux_upper_limit='9.81e-08', time_completed='2021-09-29 15:55:58.713539', job_id='830555', GAL2='0.91', fit_tolerance='1e-08', EG2='0.98', EG='1.02', time_epoch_completed='1632956158.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.38e-01', ts2='0.30', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='390' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 15:55:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 830555: <4FGL_J2324.6+3115_daily_bin390> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin390> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 15:40:30 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 15:40:32 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:32 2021
Terminated at Wed Sep 29 15:55:59 2021
Results reported at Wed Sep 29 15:55:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin390 351.17 31.2573 340416001 340675201 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 :                                   788.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   927 sec.
    Turnaround time :                            929 sec.

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

