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


Performing analysis on: 4FGL_J1124.9+4934_daily_bin710
RA = 171.243, Dec = 49.5674
tmin = 423360001, tmax = 423619201
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='762265', job_status='RUN', time_executed='2021-09-03 19:27:33.311380', time_epoch_executed='1630722453.31' WHERE source_name='4FGL J1124.9+4934' and cadence='daily' and bin_id='710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/762265

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/762265/ft1_4FGL_J1124.9+4934_daily_bin710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/762265/ft2_4FGL_J1124.9+4934_daily_bin710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/762265/ft1_4FGL_J1124.9+4934_daily_bin710.fits outfile=/scratch/kocevski/762265/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin710.fits ra=171.243 dec=49.5674 rad=12.0 tmin=423360001.0 tmax=423619201.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.79
user 5.42
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/762265/ft1_filtered_4FGL_J1124.9+4934_daily_bin710.fits" evtable="EVENTS" scfile=/scratch/kocevski/762265/ft2_4FGL_J1124.9+4934_daily_bin710.fits sctable="SC_DATA" outfile=/scratch/kocevski/762265/ltcube_423360001_423619201_4FGL_J1124.9+4934_daily_bin710.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/762265/ft2_4FGL_J1124.9+4934_daily_bin710.fits
.....................!
real 15.63
user 15.25
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/762265/ft1_filtered_4FGL_J1124.9+4934_daily_bin710.fits evtable="EVENTS" scfile=/scratch/kocevski/762265/ft2_4FGL_J1124.9+4934_daily_bin710.fits sctable="SC_DATA" expcube=/scratch/kocevski/762265/ltcube_423360001_423619201_4FGL_J1124.9+4934_daily_bin710.fits outfile=/scratch/kocevski/762265/expmap_423360001_423619201_4FGL_J1124.9+4934_daily_bin710.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/762265/ltcube_423360001_423619201_4FGL_J1124.9+4934_daily_bin710.fits
.....................!
real 192.96
user 187.00
sys 5.49

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/762265/ft1_filtered_4FGL_J1124.9+4934_daily_bin710.fits scfile=/scratch/kocevski/762265/ft2_4FGL_J1124.9+4934_daily_bin710.fits outfile=/scratch/kocevski/762265/cmap_423360001_423619201_4FGL_J1124.9+4934_daily_bin710.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/762265/ft1_filtered_4FGL_J1124.9+4934_daily_bin710.fits scfile=/scratch/kocevski/762265/ft2_4FGL_J1124.9+4934_daily_bin710.fits outfile=/scratch/kocevski/762265/cmap_HighResolution_423360001_423619201_4FGL_J1124.9+4934_daily_bin710.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.55
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/762265/ft1_filtered_4FGL_J1124.9+4934_daily_bin710.fits', '/scratch/kocevski/762265/ft2_4FGL_J1124.9+4934_daily_bin710.fits', expMap='/scratch/kocevski/762265/expmap_423360001_423619201_4FGL_J1124.9+4934_daily_bin710.fits', expCube='/scratch/kocevski/762265/ltcube_423360001_423619201_4FGL_J1124.9+4934_daily_bin710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/762265/Model_4FGL_J1124.9+4934_daily_bin710.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/762265/ft1_filtered_4FGL_J1124.9+4934_daily_bin710.fits
Spacecraft file(s): /scratch/kocevski/762265/ft2_4FGL_J1124.9+4934_daily_bin710.fits
Exposure map: /scratch/kocevski/762265/expmap_423360001_423619201_4FGL_J1124.9+4934_daily_bin710.fits
Exposure cube: /scratch/kocevski/762265/ltcube_423360001_423619201_4FGL_J1124.9+4934_daily_bin710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/762265/Model_4FGL_J1124.9+4934_daily_bin710.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) = 4407.2105016

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.0708       1.0000         .10000E-03   10000.    
     2 'norm      '    3.0614       1.0000         .10000E-03   10000.    
     3 'Prefactor '    50.883       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.7755       1.0000         .10000E-03   10000.    
     7 'Prefactor '    27.503       1.0000         .10000E-03   10000.    
     8 'norm      '    3.4389       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.3152       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .95757E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    10.714       1.0000         .10000E-03   10000.    
    15 'Prefactor '    57.925       1.0000         .10000E-03   10000.    
    16 'norm      '    5.8172       1.0000         .10000E-03   10000.    
    17 'norm      '    2.1876       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.3982       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10269E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    3.3638       1.0000         .10000E-03   10000.    
    23 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .63983       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.3603       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=   4407.201     FROM MIGRAD    STATUS=CONVERGED   1090 CALLS     3541 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0711        4.4579        .95039E-04   -.66988E-05
   2  norm          3.0614        1.5823        .29223E-03    .58354E-05
   3  Prefactor     50.877        74.126        .56222E-04   -.84929E-06
   4  Prefactor     .10000E-03    118.89        .18142E-02** at limit **
   5  Prefactor     .10000E-03    53.231        .18142E-02** at limit **
   6  norm          2.7752        2.1864        .84432E-04    .84021E-04
   7  Prefactor     27.487        67.247        .76391E-04    .44647E-06
   8  norm          3.4389        .79853        .27736E-04   -.29512E-04
   9  Prefactor     .10000E-03    7.6084        .17874E-02** at limit **
  10  Prefactor     .10000E-03    49.617        .18142E-02** at limit **
  11  norm          .10000E-03    19.747        .18142E-02** at limit **
  12  Prefactor     4.3093        6.1739        .18849E-03   -.77201E-05
  13  Prefactor     .10000E-03    206.04        .52350E-02** at limit **
  14  norm          10.714        4.8789        .94022E-04   -.12092E-04
  15  Prefactor     57.930        71.554        .52712E-04   -.69017E-05
  16  norm          5.8177        2.2537        .52919E-04   -.25844E-03
  17  norm          2.1896        17.417        .13914E-02    .15241E-03
  18  Prefactor     1.3977        5.0371        .25837E-03    .41009E-04
  19  Prefactor     .10000E-03    94.167        .18142E-02** at limit **
  20  norm          .10000E-03    4.0526        .12941E-02** at limit **
  21  Prefactor     .10000E-03    15.386        .18142E-02** at limit **
  22  norm          3.3641        2.6565        .91717E-04    .41276E-04
  23  norm          .10000E-03    2.4749        .10187E-02** at limit **
  24  Prefactor     .10000E-03    8.6431        .18142E-02** at limit **
  25  Normalizat    .63994        .23197        .27888E-03   -.34080E-04
  26  Prefactor     1.3601        .29754        .26618E-03   -.20373E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.07112
  norm       = 3.06141
  Prefactor  = 50.8772
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.77522
  Prefactor  = 27.4868
  norm       = 3.43891
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.30928
  Prefactor  = 0.0001
  norm       = 10.7145
  Prefactor  = 57.9304
  norm       = 5.81773
  norm       = 2.18957
  Prefactor  = 1.39774
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.36411
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.639942
  Prefactor  = 1.36006
 **********
 **   18 **HESSE 
 **********

 FCN=   4407.201     FROM HESSE     STATUS=OK           434 CALLS     3975 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0711        4.4578        .38016E-05   -1.5106    
   2  norm          3.0614        1.5823        .11689E-04   -1.5358    
   3  Prefactor     50.877        74.127        .11244E-04   -1.4280    
   4  Prefactor     .10000E-03    118.89        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    53.232        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.7752        2.1864        .33773E-05   -1.5375    
   7  Prefactor     27.487        67.154        .30556E-05   -1.4659    
   8  norm          3.4389        .79852        .11094E-05   -1.5337    
   9  Prefactor     .10000E-03    7.6088        .35747E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    49.618        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    19.747        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.3093        6.1721        .75398E-05   -1.5293    
  13  Prefactor     .10000E-03    210.59        .10470E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.714        4.8786        .37609E-05   -1.5053    
  15  Prefactor     57.930        71.474        .21085E-05   -1.4184    
  16  norm          5.8177        2.2524        .21167E-05   -1.5226    
  17  norm          2.1896        17.401        .27828E-03   -1.5412    
  18  Prefactor     1.3977        5.0342        .10335E-04   -1.5472    
  19  Prefactor     .10000E-03    94.178        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    4.0540        .25882E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    15.387        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.3641        2.6564        .36687E-05   -1.5341    
  23  norm          .10000E-03    2.4750        .20374E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    8.6434        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .63994        .23213        .11155E-04   -1.0631    
  26  Prefactor     1.3601        .29784        .10647E-04   -.81538    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00048e-11
Minuit parameter uncertainties:
  1  4.45799
  2  1.58231
  3  74.2622
  4  8.10711e-05
  5  5.02128e-05
  6  2.18643
  7  67.3393
  8  0.798524
  9  9.07698e-06
  10  3.02358e-05
  11  3.65757e-06
  12  6.17305
  13  0.000102416
  14  4.87874
  15  71.58
  16  2.25247
  17  12.3498
  18  5.03573
  19  0.000103467
  20  2.58307e-06
  21  5.72343e-05
  22  2.65654
  23  2.26922e-06
  24  4.81991e-06
  25  0.232484
  26  0.298215
Done.

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

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  1.000e-04  3.658e-06  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:  1.360e+00  2.982e-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:  6.399e-01  2.325e-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: 2.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.76e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/762265/likelihoodResults_423360001_423619201_4FGL_J1124.9+4934_daily_bin710.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) = 4407.20100793
delta logL = -0.00020297302035

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4407.20080825
delta logL = -3.29262456944e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10153E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4763       1.0000          .0000       5.0000    
     3 'Normalizat'    .63999       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3600       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=   4407.201     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      292 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    635.06        .18142E-01** at limit **
   2  alpha         1.2881        4.1945        .16462        .20719E-08
   3  Normalizat    .63994        .27101E-01    .27888E-03   -.80390E-04
   4  Prefactor     1.3601        .36559E-01    .26618E-03   -.23235E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.28813
  Normalizat = 0.639941
  Prefactor  = 1.36006
 **********
 **   18 **HESSE 
 **********

 FCN=   4407.201     FROM HESSE     STATUS=OK            23 CALLS      315 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    20.709        .29381E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.2881        3.1421        .65846E-02   -.50608    
   3  Normalizat    .63994        .21851        .11155E-04   -1.0631    
   4  Prefactor     1.3601        .29481        .10647E-04   -.81538    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.2749e-11
Minuit parameter uncertainties:
  1  5.42637e-05
  2  524.534
  3  0.218809
  4  0.295171
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/762265': 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) = 4407.20080487
delta logL = 9.56015355769e-08

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  1.000e-04  5.426e-05  1.000e-04  1.000e+04 ( 1.000e-14)
353        alpha:  1.288e+00  5.245e+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:  1.360e+00  2.952e-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:  6.399e-01  2.188e-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/762265/cmap_HighResolution_423360001_423619201_4FGL_J1124.9+4934_daily_bin710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.76e-05', job_status='DONE', photon_flux_upper_limit='2.00e-08', time_completed='2021-09-03 19:40:22.679311', job_id='762265', GAL2='1.36', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1630723222.68', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='9.56e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.52' WHERE bin_id='710' AND source_name='4FGL J1124.9+4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 19:40:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 762265: <4FGL_J1124.9+4934_daily_bin710> in cluster <slac> Done

Job <4FGL_J1124.9+4934_daily_bin710> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep  3 19:26:24 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 19:27:18 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:27:18 2021
Terminated at Fri Sep  3 19:40:23 2021
Results reported at Fri Sep  3 19:40:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1124.9+4934_daily_bin710 171.243 49.5674 423360001 423619201 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 :                                   760.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            839 sec.

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

