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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin745
RA = 351.17, Dec = 31.2573
tmin = 432432001, tmax = 432691201
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='833242', job_status='RUN', time_executed='2021-09-29 15:54:05.642406', time_epoch_executed='1632956045.64' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/833242

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/833242/ft1_4FGL_J2324.6+3115_daily_bin745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/833242/ft2_4FGL_J2324.6+3115_daily_bin745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/833242/ft1_4FGL_J2324.6+3115_daily_bin745.fits outfile=/scratch/kocevski/833242/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin745.fits ra=351.17 dec=31.2573 rad=12.0 tmin=432432001.0 tmax=432691201.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 5.11
user 4.83
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/833242/ft1_filtered_4FGL_J2324.6+3115_daily_bin745.fits" evtable="EVENTS" scfile=/scratch/kocevski/833242/ft2_4FGL_J2324.6+3115_daily_bin745.fits sctable="SC_DATA" outfile=/scratch/kocevski/833242/ltcube_432432001_432691201_4FGL_J2324.6+3115_daily_bin745.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/833242/ft2_4FGL_J2324.6+3115_daily_bin745.fits
.....................!
real 12.25
user 11.88
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/833242/ft1_filtered_4FGL_J2324.6+3115_daily_bin745.fits evtable="EVENTS" scfile=/scratch/kocevski/833242/ft2_4FGL_J2324.6+3115_daily_bin745.fits sctable="SC_DATA" expcube=/scratch/kocevski/833242/ltcube_432432001_432691201_4FGL_J2324.6+3115_daily_bin745.fits outfile=/scratch/kocevski/833242/expmap_432432001_432691201_4FGL_J2324.6+3115_daily_bin745.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/833242/ltcube_432432001_432691201_4FGL_J2324.6+3115_daily_bin745.fits
.....................!
real 190.14
user 185.11
sys 4.66

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/833242/ft1_filtered_4FGL_J2324.6+3115_daily_bin745.fits scfile=/scratch/kocevski/833242/ft2_4FGL_J2324.6+3115_daily_bin745.fits outfile=/scratch/kocevski/833242/cmap_432432001_432691201_4FGL_J2324.6+3115_daily_bin745.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.58
user 0.39
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10193E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .41755E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.2271       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .15998E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.6024       1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.621       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10647E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    48.495       1.0000         .10000E-03   10000.    
    10 'norm      '    2.9036       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.363       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.505       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.2362       1.0000         .10000E-03   10000.    
    14 'norm      '    3.0182       1.0000         .10000E-03   10000.    
    15 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.275       1.0000         .10000E-03   10000.    
    17 'norm      '    1.5127       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.7693       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11346E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    60.801       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11313E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .76366       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0635       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=   5372.314     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2596 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    19.230        .64388E-06** at limit **
   2  Prefactor     .10002E-03    14.527        .68878E-05** at limit **
   3  norm          3.2269        1.5707       -.54824E-07   -.14020E-03
   4  Prefactor     .10000E-03    53.124       -.10425E-06** at limit **
   5  Prefactor     1.6008        27.550        .37787E-05    .13799E-03
   6  Prefactor     23.628        21.689        .19434E-06   -.88621E-04
   7  Prefactor     .10000E-03    3.0712       -.72197E-07** at limit **
   8  Prefactor     .10000E-03    8.0413       -.14569E-06** at limit **
   9  Prefactor     48.498        49.986       -.85893E-07   -.68552E-05
  10  norm          2.9031        2.0787        .63860E-07    .27853E-03
  11  Prefactor     10.273        36.095        .55238E-06   -.21616E-04
  12  Prefactor     11.504        16.096       -.35627E-06    .28484E-04
  13  Prefactor     6.2387        20.565       -.60595E-07    .39235E-04
  14  norm          3.0177        5.6378        .90273E-06    .43212E-03
  15  norm          .10000E-03    3.9041       -.59065E-08** at limit **
  16  Prefactor     14.270        21.570       -.73766E-06    .18800E-04
  17  norm          1.5128        3.0241        .89367E-06    .75563E-03
  18  Prefactor     1.7658        39.038        .32443E-05    .89791E-04
  19  Prefactor     .10000E-03    14.753        .42382E-06** at limit **
  20  Prefactor     60.813        56.451        .29324E-05    .29800E-03
  21  Prefactor     .10000E-03    16.252        .83404E-06** at limit **
  22  Normalizat    .76402        .26386        .78774E-06   -.33532E-04
  23  Prefactor     1.0635        .12932       -.28542E-06    .77467E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100018
  norm       = 3.22689
  Prefactor  = 0.0001
  Prefactor  = 1.60078
  Prefactor  = 23.6285
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 48.4985
  norm       = 2.90308
  Prefactor  = 10.2732
  Prefactor  = 11.5037
  Prefactor  = 6.23866
  norm       = 3.0177
  norm       = 0.0001
  Prefactor  = 14.2701
  norm       = 1.51281
  Prefactor  = 1.76583
  Prefactor  = 0.0001
  Prefactor  = 60.8131
  Prefactor  = 0.000100003
  Normalizat = 0.764017
  Prefactor  = 1.06349
 **********
 **   18 **HESSE 
 **********

 FCN=   5372.314     FROM HESSE     STATUS=OK           370 CALLS     2966 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    19.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10002E-03    16.718        .34600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.2269        1.5690        .61803E-04   -1.5349    
   4  Prefactor     .10000E-03    53.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.6008        28.644        .33485E-03   -1.5455    
   6  Prefactor     23.628        21.709        .82418E-04   -1.4735    
   7  Prefactor     .10000E-03    3.0813        .12544E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.0775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     48.498        49.974        .57583E-04   -1.4314    
  10  norm          2.9031        2.0692        .83773E-04   -1.5367    
  11  Prefactor     10.273        36.082        .12447E-03   -1.5067    
  12  Prefactor     11.504        15.968        .11811E-03   -1.5029    
  13  Prefactor     6.2387        20.531        .16075E-03   -1.5208    
  14  norm          3.0177        5.6573        .21662E-03   -1.5361    
  15  norm          .10000E-03    3.9070        .14144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.270        21.504        .10601E-03   -1.4952    
  17  norm          1.5128        3.0503        .17149E-03   -1.5462    
  18  Prefactor     1.7658        39.985        .31484E-03   -1.5442    
  19  Prefactor     .10000E-03    14.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     60.813        57.288        .51457E-04   -1.4147    
  21  Prefactor     .10000E-03    16.396        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .76402        .29324        .38636E-03   -1.0142    
  23  Prefactor     1.0635        .14731        .16856E-03   -.90642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.72962e-09
Minuit parameter uncertainties:
  1  7.86059e-05
  2  0.00110672
  3  1.56903
  4  2.048e-05
  5  13.5501
  6  21.7163
  7  8.89713e-06
  8  2.1577e-05
  9  50.0171
  10  2.06924
  11  36.1583
  12  15.9738
  13  20.5547
  14  5.6583
  15  1.67065e-07
  16  21.5159
  17  3.05061
  18  16.8177
  19  0.000169258
  20  57.3395
  21  0.000418798
  22  0.293848
  23  0.147365
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.427e+01  2.152e+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.063e+00  1.474e-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:  7.640e-01  2.938e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/833242/likelihoodResults_432432001_432691201_4FGL_J2324.6+3115_daily_bin745.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) = 5372.17940103
delta logL = 0.134531795738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5372.1753027
delta logL = 0.138630129914

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6417       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6639       1.0000          .0000       10.000    
     3 'Normalizat'    .74206       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0713       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=   5372.175     FROM MIGRAD    STATUS=FAILED        87 CALLS      291 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6360        24.615        .13636E-03   -.16300E-03
   2  Index         3.6634        2.2534        .11300E-01    .26796E-03
   3  Normalizat    .74258        .28647        .39141E-03   -.75489E-04
   4  Prefactor     1.0712        .14354        .16802E-03    .14958E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5372.175     FROM SIMPLEX   STATUS=UNCHANGED     76 CALLS      367 TOTAL
                     EDM=   .19E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6360        24.615        .41030E-03   -1.5120    
   2  Index         3.6634        2.2534        .25616E-02   -.27062    
   3  Normalizat    .74258        .28647        .61145E-03   -1.0224    
   4  Prefactor     1.0712        .14354        .21499E-03   -.90394    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5372.175     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      400 TOTAL
                     EDM=   .59E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6361        19.032        .54543E-05    .79205E-05
   2  Index         3.6634        1.7685        .22600E-02   -.49398E-05
   3  Normalizat    .74258        .28676        .15656E-04   -.39211E-05
   4  Prefactor     1.0712        .14353        .33604E-04    .10420E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.63609
  Index      = 3.66336
  Normalizat = 0.742582
  Prefactor  = 1.07115
 **********
 **   18 **HESSE 
 **********

 FCN=   5372.175     FROM HESSE     STATUS=OK            23 CALLS      423 TOTAL
                     EDM=   .62E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6361        18.270        .10909E-05   -1.5120    
   2  Index         3.6634        1.7008        .90401E-04   -.27062    
   3  Normalizat    .74258        .28649        .31313E-05   -1.0224    
   4  Prefactor     1.0712        .14343        .67207E-05   -.90394    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.17876e-12
Minuit parameter uncertainties:
  1  18.282
  2  1.73828
  3  0.287068
  4  0.143478
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/833242': 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) = 5372.17530001
delta logL = 0.138632814422

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  8.636e+00  1.828e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  3.663e+00  1.738e+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.071e+00  1.435e-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:  7.426e-01  2.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.62
Ra Dec: 351.170 31.257

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/833242/cmap_HighResolution_432432001_432691201_4FGL_J2324.6+3115_daily_bin745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.47e-02', job_status='DONE', photon_flux_upper_limit='1.85e-07', time_completed='2021-09-29 16:04:32.318677', job_id='833242', GAL2='1.07', fit_tolerance='1e-08', EG2='0.74', EG='0.76', time_epoch_completed='1632956672.32', return_code2='0', ts='0.62', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.39e-01', ts2='0.92', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='745' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:04:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 833242: <4FGL_J2324.6+3115_daily_bin745> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin745> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 15:50:21 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 15:50:22 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:50:22 2021
Terminated at Wed Sep 29 16:04:33 2021
Results reported at Wed Sep 29 16:04:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin745 351.17 31.2573 432432001 432691201 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 :                                   626.28 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             285.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            852 sec.

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

