/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 6 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 = 7416
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1124.9+4934_daily_bin234
RA = 171.243, Dec = 49.5674
tmin = 299980801, tmax = 300240001
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='755513', job_status='RUN', time_executed='2021-09-03 19:06:45.574397', time_epoch_executed='1630721205.57' WHERE source_name='4FGL J1124.9+4934' and cadence='daily' and bin_id='234'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/755513

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/755513/ft1_4FGL_J1124.9+4934_daily_bin234.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/755513/ft2_4FGL_J1124.9+4934_daily_bin234.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/755513/ft1_4FGL_J1124.9+4934_daily_bin234.fits outfile=/scratch/kocevski/755513/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin234.fits ra=171.243 dec=49.5674 rad=12.0 tmin=299980801.0 tmax=300240001.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.45
user 3.21
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/755513/ft2_4FGL_J1124.9+4934_daily_bin234.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/755513/ft2_4FGL_J1124.9+4934_daily_bin234.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/755513/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin234.fits evtable="EVENTS" outfile="/scratch/kocevski/755513/ft1_filtered_4FGL_J1124.9+4934_daily_bin234.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.52
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/755513/ft1_filtered_4FGL_J1124.9+4934_daily_bin234.fits" evtable="EVENTS" scfile=/scratch/kocevski/755513/ft2_4FGL_J1124.9+4934_daily_bin234.fits sctable="SC_DATA" outfile=/scratch/kocevski/755513/ltcube_299980801_300240001_4FGL_J1124.9+4934_daily_bin234.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/755513/ft2_4FGL_J1124.9+4934_daily_bin234.fits
.....................!
real 16.65
user 16.28
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/755513/ft1_filtered_4FGL_J1124.9+4934_daily_bin234.fits evtable="EVENTS" scfile=/scratch/kocevski/755513/ft2_4FGL_J1124.9+4934_daily_bin234.fits sctable="SC_DATA" expcube=/scratch/kocevski/755513/ltcube_299980801_300240001_4FGL_J1124.9+4934_daily_bin234.fits outfile=/scratch/kocevski/755513/expmap_299980801_300240001_4FGL_J1124.9+4934_daily_bin234.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/755513/ltcube_299980801_300240001_4FGL_J1124.9+4934_daily_bin234.fits
.....................!
real 194.23
user 188.81
sys 3.95

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 222 point sources and 0 extended sources

Setting source of interest to:
4FGL J1124.9+4934 @ 171.243 49.5674

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/755513/ft1_filtered_4FGL_J1124.9+4934_daily_bin234.fits scfile=/scratch/kocevski/755513/ft2_4FGL_J1124.9+4934_daily_bin234.fits outfile=/scratch/kocevski/755513/cmap_299980801_300240001_4FGL_J1124.9+4934_daily_bin234.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=171.243 yref=49.5674 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.59
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/755513/ft1_filtered_4FGL_J1124.9+4934_daily_bin234.fits scfile=/scratch/kocevski/755513/ft2_4FGL_J1124.9+4934_daily_bin234.fits outfile=/scratch/kocevski/755513/cmap_HighResolution_299980801_300240001_4FGL_J1124.9+4934_daily_bin234.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=171.243 yref=49.5674 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.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/755513/ft1_filtered_4FGL_J1124.9+4934_daily_bin234.fits evtable="EVENTS" scfile=/scratch/kocevski/755513/ft2_4FGL_J1124.9+4934_daily_bin234.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/755513/Model_4FGL_J1124.9+4934_daily_bin234.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/755513/ft1_filtered_4FGL_J1124.9+4934_daily_bin234.fits.....................!
real 48.62
user 47.17
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/755513/ft1_filtered_4FGL_J1124.9+4934_daily_bin234.fits', '/scratch/kocevski/755513/ft2_4FGL_J1124.9+4934_daily_bin234.fits', expMap='/scratch/kocevski/755513/expmap_299980801_300240001_4FGL_J1124.9+4934_daily_bin234.fits', expCube='/scratch/kocevski/755513/ltcube_299980801_300240001_4FGL_J1124.9+4934_daily_bin234.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/755513/Model_4FGL_J1124.9+4934_daily_bin234.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1124.9+4934'

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  6.417e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
353        alpha:  1.519e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.498e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  2.941e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/755513/ft1_filtered_4FGL_J1124.9+4934_daily_bin234.fits
Spacecraft file(s): /scratch/kocevski/755513/ft2_4FGL_J1124.9+4934_daily_bin234.fits
Exposure map: /scratch/kocevski/755513/expmap_299980801_300240001_4FGL_J1124.9+4934_daily_bin234.fits
Exposure cube: /scratch/kocevski/755513/ltcube_299980801_300240001_4FGL_J1124.9+4934_daily_bin234.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/755513/Model_4FGL_J1124.9+4934_daily_bin234.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) = 5496.11622304

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0419       1.0000         .10000E-03   10000.    
     2 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .19368E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.7445       1.0000         .10000E-03   10000.    
     6 'norm      '    2.4460       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.2834       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10473E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.213       1.0000         .10000E-03   10000.    
    14 'norm      '    2.1314       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.628       1.0000         .10000E-03   10000.    
    16 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    21.806       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.783       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .13245E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    20.740       1.0000         .10000E-03   10000.    
    22 'norm      '    4.3961       1.0000         .10000E-03   10000.    
    23 'norm      '    9.2509       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1504       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .71658       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5496.076     FROM MIGRAD    STATUS=CONVERGED    632 CALLS     2666 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0417        2.9806       -.18344E-08    .83155E-04
   2  norm          .10000E-03    .70308        .97606E-08** at limit **
   3  Prefactor     .10000E-03    217.51       -.17594E-04** at limit **
   4  Prefactor     .10000E-03    32.591        .11486E-04** at limit **
   5  Prefactor     6.7400        193.59       -.12292E-04   -.20333E-05
   6  norm          2.4461        1.8479       -.62654E-06   -.44241E-02
   7  Prefactor     .10000E-03    11.671        .15909E-06** at limit **
   8  norm          1.2834        .40727        .23465E-08    .29057E-03
   9  Prefactor     .10000E-03    5.3400        .45862E-07** at limit **
  10  Prefactor     .10000E-03    34.268       -.33220E-04** at limit **
  11  norm          .10000E-03    15.742       -.32376E-06** at limit **
  12  Prefactor     .10000E-03    4.2950        .84392E-07** at limit **
  13  Prefactor     26.224        25.250       -.38876E-05   -.89478E-04
  14  norm          2.1313        2.3142       -.18249E-06   -.32516E-03
  15  Prefactor     10.631        48.450        .32180E-05    .12763E-04
  16  norm          .10000E-03    .71218       -.16403E-06** at limit **
  17  norm          21.803        13.690       -.54750E-06   -.11479E-04
  18  Prefactor     10.783        4.7275        .15146E-06   -.79787E-04
  19  Prefactor     .10000E-03    32.608        .19393E-04** at limit **
  20  norm          .10010E-03    6.5702        .11704E-05** at limit **
  21  Prefactor     20.748        22.566       -.20509E-05   -.92552E-05
  22  norm          4.3977        2.5883       -.67962E-07   -.24478E-03
  23  norm          9.2525        6.6080        .55569E-06   -.32000E-04
  24  Prefactor     .10000E-03    9.3874       -.59865E-07** at limit **
  25  Normalizat    1.1502        .17456        .59139E-06   -.10253E-03
  26  Prefactor     .71684        .21314        .22930E-06   -.31662E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.04168
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.73996
  norm       = 2.44608
  Prefactor  = 0.0001
  norm       = 1.28337
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.2243
  norm       = 2.13131
  Prefactor  = 10.6312
  norm       = 0.0001
  norm       = 21.8025
  Prefactor  = 10.7828
  Prefactor  = 0.0001
  norm       = 0.000100105
  Prefactor  = 20.7478
  norm       = 4.39769
  norm       = 9.25252
  Prefactor  = 0.0001
  Normalizat = 1.15016
  Prefactor  = 0.716837
 **********
 **   18 **HESSE 
 **********

 FCN=   5496.076     FROM HESSE     STATUS=OK           460 CALLS     3126 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0417        2.9817        .87465E-04   -1.5216    
   2  norm          .10000E-03    .72676        .12135E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    218.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    32.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.7400        194.83        .15450E-03   -1.5189    
   6  norm          2.4461        1.8950        .43729E-03   -1.5395    
   7  Prefactor     .10000E-03    11.672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2834        .40945        .25936E-04   -1.5481    
   9  Prefactor     .10000E-03    5.3431        .16731E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    33.484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    15.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.3876        .14994E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.224        24.994        .78245E-04   -1.4683    
  14  norm          2.1313        2.2934        .11184E-03   -1.5416    
  15  Prefactor     10.631        43.140        .12290E-03   -1.5056    
  16  norm          .10000E-03    1.2109        .11345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          21.803        13.657        .85776E-04   -1.4774    
  18  Prefactor     10.783        4.7306        .95248E-04   -1.5051    
  19  Prefactor     .10000E-03    32.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10010E-03    70.439        .35856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     20.748        22.578        .87950E-04   -1.4797    
  22  norm          4.3977        2.5905        .87343E-04   -1.5289    
  23  norm          9.2525        6.6026        .13177E-03   -1.5100    
  24  Prefactor     .10000E-03    9.3988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1502        .19949        .21055E-03   -.88157    
  26  Prefactor     .71684        .24317        .32920E-03   -1.0287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.33456e-09
Minuit parameter uncertainties:
  1  2.98172
  2  4.87824e-07
  3  6.63867e-05
  4  8.20451e-06
  5  72.7357
  6  1.89507
  7  4.33303e-07
  8  0.40945
  9  6.57422e-06
  10  2.5861e-06
  11  3.26196e-07
  12  1.45471e-05
  13  25.0044
  14  2.29352
  15  42.8849
  16  1.90222e-05
  17  13.6594
  18  4.7308
  19  1.80843e-05
  20  0.00543376
  21  22.5876
  22  2.59055
  23  6.60315
  24  9.65463e-06
  25  0.19962
  26  0.243527
Done.

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

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  1.000e-04  3.262e-07  1.000e-04  1.000e+04 ( 1.000e-14)
353        alpha:  1.519e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
354         beta:  1.498e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  2.941e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
704    Prefactor:  7.168e-01  2.435e-01  0.000e+00  1.000e+01 ( 1.000e+00)
705        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
706        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
703   Normalization:  1.150e+00  1.996e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 171.243 49.567
Photon Flux Upper Limit: 1.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.62e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/755513/likelihoodResults_299980801_300240001_4FGL_J1124.9+4934_daily_bin234.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) = 5496.07633251
delta logL = -0.00026039093882

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5496.07607634
delta logL = -4.21775530413e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3372       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1501       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71694       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7070E+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.

 FCN=   5496.076     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      288 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    461.20        .18142E-01** at limit **
   2  alpha         1.2721        3.8123        .16505        .70947E-08
   3  Normalizat    1.1502        .22596E-01    .21055E-03    .13892E-02
   4  Prefactor     .71684        .28634E-01    .32920E-03    .84081E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.27206
  Normalizat = 1.15017
  Prefactor  = 0.716837
 **********
 **   18 **HESSE 
 **********

 FCN=   5496.076     FROM HESSE     STATUS=OK            23 CALLS      311 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    16.789        .29500E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.2721        2.9494        .66020E-02   -.51344    
   3  Normalizat    1.1502        .19035        .42110E-04   -.88157    
   4  Prefactor     .71684        .24101        .65840E-04   -1.0287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66584e-09
Minuit parameter uncertainties:
  1  1.38118e-05
  2  437.012
  3  0.190465
  4  0.241364
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/755513': 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) = 5496.07607196
delta logL = 1.62179276231e-07

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  1.000e-04  1.381e-05  1.000e-04  1.000e+04 ( 1.000e-14)
353        alpha:  1.272e+00  4.370e+02  0.000e+00  5.000e+00 ( 1.000e+00)
354         beta:  1.498e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
355           Eb:  2.941e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
704    Prefactor:  7.168e-01  2.414e-01  0.000e+00  1.000e+01 ( 1.000e+00)
705        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
706        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
703   Normalization:  1.150e+00  1.905e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 171.243 49.567

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/755513/cmap_HighResolution_299980801_300240001_4FGL_J1124.9+4934_daily_bin234.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.62e-05', job_status='DONE', photon_flux_upper_limit='1.60e-08', time_completed='2021-09-03 19:19:41.061140', job_id='755513', GAL2='0.72', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1630721981.06', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='1.62e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.52' WHERE bin_id='234' AND source_name='4FGL J1124.9+4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 19:19:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0006>
Subject: Job 755513: <4FGL_J1124.9+4934_daily_bin234> in cluster <slac> Done

Job <4FGL_J1124.9+4934_daily_bin234> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep  3 19:06:22 2021
Job was executed on host(s) <bullet0006>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 19:06:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 19:06:29 2021
Terminated at Fri Sep  3 19:19:41 2021
Results reported at Fri Sep  3 19:19:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1124.9+4934_daily_bin234 171.243 49.5674 299980801 300240001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1124.9+4934 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   771.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             332.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            799 sec.

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

