/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 102 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 = 7382
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1124.9+4934_daily_bin90
RA = 171.243, Dec = 49.5674
tmin = 262656001, tmax = 262915201
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='752951', job_status='RUN', time_executed='2021-09-03 18:58:16.003417', time_epoch_executed='1630720696.0' WHERE source_name='4FGL J1124.9+4934' and cadence='daily' and bin_id='90'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/752951

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/752951/ft1_4FGL_J1124.9+4934_daily_bin90.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/752951/ft2_4FGL_J1124.9+4934_daily_bin90.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/752951/ft1_4FGL_J1124.9+4934_daily_bin90.fits outfile=/scratch/kocevski/752951/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin90.fits ra=171.243 dec=49.5674 rad=12.0 tmin=262656001.0 tmax=262915201.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 1.46
user 1.25
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/752951/ft2_4FGL_J1124.9+4934_daily_bin90.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/752951/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin90.fits evtable="EVENTS" outfile="/scratch/kocevski/752951/ft1_filtered_4FGL_J1124.9+4934_daily_bin90.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.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/752951/ft1_filtered_4FGL_J1124.9+4934_daily_bin90.fits" evtable="EVENTS" scfile=/scratch/kocevski/752951/ft2_4FGL_J1124.9+4934_daily_bin90.fits sctable="SC_DATA" outfile=/scratch/kocevski/752951/ltcube_262656001_262915201_4FGL_J1124.9+4934_daily_bin90.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/752951/ft2_4FGL_J1124.9+4934_daily_bin90.fits
.....................!
real 16.77
user 16.39
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/752951/ft1_filtered_4FGL_J1124.9+4934_daily_bin90.fits evtable="EVENTS" scfile=/scratch/kocevski/752951/ft2_4FGL_J1124.9+4934_daily_bin90.fits sctable="SC_DATA" expcube=/scratch/kocevski/752951/ltcube_262656001_262915201_4FGL_J1124.9+4934_daily_bin90.fits outfile=/scratch/kocevski/752951/expmap_262656001_262915201_4FGL_J1124.9+4934_daily_bin90.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/752951/ltcube_262656001_262915201_4FGL_J1124.9+4934_daily_bin90.fits
.....................!
real 192.81
user 187.35
sys 4.40

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/752951/ft1_filtered_4FGL_J1124.9+4934_daily_bin90.fits scfile=/scratch/kocevski/752951/ft2_4FGL_J1124.9+4934_daily_bin90.fits outfile=/scratch/kocevski/752951/cmap_262656001_262915201_4FGL_J1124.9+4934_daily_bin90.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/752951/ft1_filtered_4FGL_J1124.9+4934_daily_bin90.fits scfile=/scratch/kocevski/752951/ft2_4FGL_J1124.9+4934_daily_bin90.fits outfile=/scratch/kocevski/752951/cmap_HighResolution_262656001_262915201_4FGL_J1124.9+4934_daily_bin90.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.56
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.8535       1.0000         .10000E-03   10000.    
     2 'norm      '    1.4546       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    69.392       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10507E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .12037E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    80.220       1.0000         .10000E-03   10000.    
     8 'norm      '    1.0183       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    67.205       1.0000         .10000E-03   10000.    
    11 'norm      '    51.108       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.734       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.3434       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10298E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.6504       1.0000         .10000E-03   10000.    
    17 'norm      '    1.6810       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    9.4888       1.0000         .10000E-03   10000.    
    21 'Prefactor '    30.815       1.0000         .10000E-03   10000.    
    22 'norm      '    1.2886       1.0000         .10000E-03   10000.    
    23 'norm      '    11.797       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .11291E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.2010       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .56755       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=   5351.204     FROM MIGRAD    STATUS=CONVERGED    617 CALLS     3101 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.8528        3.5348        .18773E-07    .56095E-05
   2  norm          1.4542        1.1187       -.36764E-07   -.39727E-04
   3  Prefactor     .10000E-03    98.205       -.38335E-05** at limit **
   4  Prefactor     69.196        101.08        .12613E-04    .13466E-05
   5  Prefactor     .10000E-03    56.940        .94187E-06** at limit **
   6  norm          .10000E-03    .99790       -.44314E-06** at limit **
   7  Prefactor     80.181        69.247        .15089E-05    .43266E-05
   8  norm          1.0183        .39032        .97259E-08   -.16169E-04
   9  Prefactor     .10000E-03    51.811        .38176E-06** at limit **
  10  Prefactor     67.105        84.174        .62300E-05   -.19741E-05
  11  norm          51.019        60.289        .51600E-05   -.39759E-05
  12  Prefactor     12.731        8.4279       -.11418E-06    .70865E-05
  13  Prefactor     .10000E-03    26.955       -.35000E-06** at limit **
  14  norm          3.3430        2.6446        .56530E-07    .88047E-05
  15  Prefactor     .10000E-03    35.552       -.34129E-06** at limit **
  16  norm          2.6496        1.2217        .22699E-07    .15421E-04
  17  norm          1.6814        5.5689        .34092E-05   -.35163E-04
  18  Prefactor     .10000E-03    1.2881       -.64283E-08** at limit **
  19  Prefactor     .10000E-03    18.409       -.47606E-06** at limit **
  20  norm          9.4872        7.1389        .25700E-07    .38164E-05
  21  Prefactor     30.810        21.740        .22541E-06   -.20698E-05
  22  norm          1.2890        1.7354        .84210E-07    .11401E-04
  23  norm          11.794        7.8340        .39049E-06   -.19359E-04
  24  Prefactor     .10000E-03    19.937        .75915E-06** at limit **
  25  Normalizat    1.2015        .18420        .39851E-06   -.35587E-05
  26  Prefactor     .56703        .22012       -.28260E-05   -.60889E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 8.85281
  norm       = 1.45424
  Prefactor  = 0.0001
  Prefactor  = 69.196
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 80.1813
  norm       = 1.01827
  Prefactor  = 0.0001
  Prefactor  = 67.1045
  norm       = 51.0194
  Prefactor  = 12.7313
  Prefactor  = 0.0001
  norm       = 3.34297
  Prefactor  = 0.0001
  norm       = 2.64955
  norm       = 1.6814
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.48718
  Prefactor  = 30.8096
  norm       = 1.28896
  norm       = 11.7943
  Prefactor  = 0.0001
  Normalizat = 1.20148
  Prefactor  = 0.567027
 **********
 **   18 **HESSE 
 **********

 FCN=   5351.204     FROM HESSE     STATUS=OK           464 CALLS     3565 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.8528        3.5377        .84480E-04   -1.5113    
   2  norm          1.4542        1.1271        .66120E-04   -1.5467    
   3  Prefactor     .10000E-03    98.358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     69.196        101.17        .24093E-03   -1.4042    
   5  Prefactor     .10000E-03    56.971        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.0126        .71424E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     80.181        69.683        .22421E-03   -1.3915    
   8  norm          1.0183        .39237        .27506E-04   -1.5506    
   9  Prefactor     .10000E-03    52.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     67.105        84.175        .24480E-03   -1.4068    
  11  norm          51.019        60.289        .28049E-03   -1.4278    
  12  Prefactor     12.731        8.4592        .11225E-03   -1.4994    
  13  Prefactor     .10000E-03    27.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.3430        2.6386        .10202E-03   -1.5342    
  15  Prefactor     .10000E-03    35.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.6496        1.2186        .52483E-04   -1.5382    
  17  norm          1.6814        5.5755        .15425E-02   -1.5449    
  18  Prefactor     .10000E-03    1.2977        .80973E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    18.412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          9.4872        7.1348        .13010E-03   -1.5092    
  21  Prefactor     30.810        21.719        .72178E-04   -1.4597    
  22  norm          1.2890        1.7038        .10773E-03   -1.5481    
  23  norm          11.794        7.8272        .11663E-03   -1.5021    
  24  Prefactor     .10000E-03    19.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.2015        .20813        .20903E-03   -.86557    
  26  Prefactor     .56703        .24491        .35997E-03   -1.0899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.32579e-10
Minuit parameter uncertainties:
  1  3.53782
  2  1.12715
  3  2.24083e-05
  4  101.422
  5  1.95617e-05
  6  1.17173e-05
  7  69.7546
  8  0.392366
  9  0.000163004
  10  84.3246
  11  60.3607
  12  8.45997
  13  2.11636e-05
  14  2.6387
  15  9.84521e-06
  16  1.21861
  17  5.57723
  18  2.58741e-07
  19  3.24663e-06
  20  7.13545
  21  21.7245
  22  1.70384
  23  7.82793
  24  1.87453e-05
  25  0.208273
  26  0.245366
Done.

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

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  5.102e+01  6.036e+01  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:  5.670e-01  2.454e-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.201e+00  2.083e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.05
Ra Dec: 171.243 49.567
Photon Index (Fixed Index): 1.52 +/- 0.00
Photon Flux (Fixed Index): 8.78e-09 +/- 1.04e-08
Energy Flux (Fixed Index): 2.53e-05 +/- 2.99e-05

TS (Fixed Index): 1.05
Ra Dec: 171.243 49.567
Photon Flux Upper Limit: 3.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/752951/likelihoodResults_262656001_262915201_4FGL_J1124.9+4934_daily_bin90.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) = 5349.5996682
delta logL = 1.60474292643

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5349.59578774
delta logL = 1.60862338325

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    24.906       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6144       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1895       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55637       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.

 FCN=   5349.596     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      249 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.858        430.15        .20067E-02    .11992E-03
   2  alpha         2.6151        3.7628        .20122        .65130E-04
   3  Normalizat    1.1895        .79860E-01    .35153E-01    .10041E-05
   4  Prefactor     .55639        .84214E-01    .81748E-01    .29173E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 24.8575
  alpha      = 2.6151
  Normalizat = 1.18951
  Prefactor  = 0.556391
 **********
 **   18 **HESSE 
 **********

 FCN=   5349.596     FROM HESSE     STATUS=OK            33 CALLS      282 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.858        37.144        .40134E-03   -1.4710    
   2  alpha         2.6151        .67565        .78333E-02    .46057E-01
   3  Normalizat    1.1895        .19655        .20969E-03   -.86928    
   4  Prefactor     .55639        .23998        .36210E-03   -1.0945    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.09066e-09
Minuit parameter uncertainties:
  1  37.1782
  2  0.684172
  3  0.196676
  4  0.240423
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/752951': 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) = 5349.59578663
delta logL = 1.60862449597

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  2.486e+01  3.718e+01  1.000e-04  1.000e+04 ( 1.000e-14)
353        alpha:  2.615e+00  6.842e-01  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:  5.564e-01  2.404e-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.190e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.26
Ra Dec: 171.243 49.567
Photon Index (Free Index): 2.62 +/- 0.68
Photon Flux (Free Index): 3.53e-08 +/- 2.75e-08
Energy Flux (Free Index): 1.42e-05 +/- 1.14e-05

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/752951/cmap_HighResolution_262656001_262915201_4FGL_J1124.9+4934_daily_bin90.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-04', comment='SUCCESS', photon_flux='8.78e-09', energy_flux2='1.42e-05', photon_flux_error='1.04e-08', dlogl='1.61e+00', energy_flux='2.53e-05', photon_flux2='3.53e-08', job_status='DONE', time_completed='2021-09-03 19:11:15.498976', photon_index_error2='0.68', photon_index2='2.62', ts='1.05', fit_tolerance='1e-08', GAL='0.57', photon_index_error='0.00', photon_flux_upper_limit='3.58e-08', energy_flux_error2='1.14e-05', EG='1.20', time_epoch_completed='1630721475.5', return_code='0', job_id='752951', GAL2='0.56', EG2='1.19', return_code2='0', energy_flux_error='2.99e-05', photon_flux_error2='2.75e-08', ts2='4.26', photon_index='1.52' WHERE bin_id='90' AND source_name='4FGL J1124.9+4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 19:11:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 752951: <4FGL_J1124.9+4934_daily_bin90> in cluster <slac> Done

Job <4FGL_J1124.9+4934_daily_bin90> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep  3 18:56:18 2021
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 18:56:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 18:56:24 2021
Terminated at Fri Sep  3 19:11:16 2021
Results reported at Fri Sep  3 19:11:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1124.9+4934_daily_bin90 171.243 49.5674 262656001 262915201 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 :                                   778.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   891 sec.
    Turnaround time :                            898 sec.

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

