/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 22 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 = 7445
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1124.9+4934_daily_bin711
RA = 171.243, Dec = 49.5674
tmin = 423619201, tmax = 423878401
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='762267', job_status='RUN', time_executed='2021-09-03 19:27:59.450063', time_epoch_executed='1630722479.45' WHERE source_name='4FGL J1124.9+4934' and cadence='daily' and bin_id='711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/762267

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/762267/ft1_4FGL_J1124.9+4934_daily_bin711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/762267/ft2_4FGL_J1124.9+4934_daily_bin711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/762267/ft1_4FGL_J1124.9+4934_daily_bin711.fits outfile=/scratch/kocevski/762267/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin711.fits ra=171.243 dec=49.5674 rad=12.0 tmin=423619201.0 tmax=423878401.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.91
user 5.62
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/762267/ft1_filtered_4FGL_J1124.9+4934_daily_bin711.fits" evtable="EVENTS" scfile=/scratch/kocevski/762267/ft2_4FGL_J1124.9+4934_daily_bin711.fits sctable="SC_DATA" outfile=/scratch/kocevski/762267/ltcube_423619201_423878401_4FGL_J1124.9+4934_daily_bin711.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/762267/ft2_4FGL_J1124.9+4934_daily_bin711.fits
.....................!
real 13.42
user 13.04
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/762267/ft1_filtered_4FGL_J1124.9+4934_daily_bin711.fits evtable="EVENTS" scfile=/scratch/kocevski/762267/ft2_4FGL_J1124.9+4934_daily_bin711.fits sctable="SC_DATA" expcube=/scratch/kocevski/762267/ltcube_423619201_423878401_4FGL_J1124.9+4934_daily_bin711.fits outfile=/scratch/kocevski/762267/expmap_423619201_423878401_4FGL_J1124.9+4934_daily_bin711.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/762267/ltcube_423619201_423878401_4FGL_J1124.9+4934_daily_bin711.fits
.....................!
real 190.99
user 185.68
sys 4.74

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/762267/ft1_filtered_4FGL_J1124.9+4934_daily_bin711.fits scfile=/scratch/kocevski/762267/ft2_4FGL_J1124.9+4934_daily_bin711.fits outfile=/scratch/kocevski/762267/cmap_423619201_423878401_4FGL_J1124.9+4934_daily_bin711.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/762267/ft1_filtered_4FGL_J1124.9+4934_daily_bin711.fits scfile=/scratch/kocevski/762267/ft2_4FGL_J1124.9+4934_daily_bin711.fits outfile=/scratch/kocevski/762267/cmap_HighResolution_423619201_423878401_4FGL_J1124.9+4934_daily_bin711.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.42
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.2020       1.0000         .10000E-03   10000.    
     2 'norm      '    4.2479       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.529       1.0000         .10000E-03   10000.    
     5 'Prefactor '    34.083       1.0000         .10000E-03   10000.    
     6 'norm      '    4.8072       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.4826       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-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 '    2.4175       1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.266       1.0000         .10000E-03   10000.    
    14 'norm      '    3.4482       1.0000         .10000E-03   10000.    
    15 'Prefactor '    82.279       1.0000         .10000E-03   10000.    
    16 'norm      '    7.9104       1.0000         .10000E-03   10000.    
    17 'norm      '    15.117       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10923E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.248       1.0000         .10000E-03   10000.    
    20 'norm      '    1.5661       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.9607       1.0000         .10000E-03   10000.    
    22 'norm      '    5.1391       1.0000         .10000E-03   10000.    
    23 'norm      '    5.4580       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .81561       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .89789       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3859.386     FROM MIGRAD    STATUS=CONVERGED    115 CALLS     3046 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.2034        3.9666        .28136E-06    .28510E-03
   2  norm          4.2488        2.3130       -.31228E-07    .51466E-03
   3  Prefactor     .10799E-03    16.458       -.18279E-04** at limit **
   4  Prefactor     25.525        1.1886       -.35918E-06    .97442E-03
   5  Prefactor     34.086        1.9005        .76784E-06   -.28985E-02
   6  norm          4.8079        2.7093       -.42399E-06   -.33228E-03
   7  Prefactor     .10001E-03    19.243        .10215E-04** at limit **
   8  norm          2.4828        .73158        .14989E-07    .21228E-03
   9  Prefactor     .10000E-03    7.8885        .91793E-07** at limit **
  10  Prefactor     .10005E-03    15.187       -.55039E-05** at limit **
  11  norm          .10001E-03    15.803       -.46833E-05** at limit **
  12  Prefactor     2.4190        4.9542        .83057E-05    .11083E-02
  13  Prefactor     26.270        2.1676        .10083E-05   -.15669E-02
  14  norm          3.4489        3.2519       -.20022E-06    .51533E-04
  15  Prefactor     82.280        1.1838        .19282E-06   -.17713E-02
  16  norm          7.9107        2.4291        .64605E-07    .29389E-03
  17  norm          15.118        1.9911        .10576E-05   -.99629E-03
  18  Prefactor     .48688E-01    34.138        .41289E-05    .34576E-03
  19  Prefactor     14.248        1.0696        .27064E-06   -.40037E-03
  20  norm          1.5694        3.8569        .16036E-05    .13098E-02
  21  Prefactor     6.9135        13.799       -.90110E-05   -.14616E-02
  22  norm          5.1395        3.2467       -.14519E-06   -.15534E-04
  23  norm          5.4583        5.6756       -.52492E-05    .98309E-03
  24  Prefactor     .10000E-03    17.072       -.48686E-05** at limit **
  25  Normalizat    .81546        .22475       -.32817E-05    .23956E-03
  26  Prefactor     .89761        .28850        .17003E-05    .14052E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.20341
  norm       = 4.24877
  Prefactor  = 0.000107985
  Prefactor  = 25.5248
  Prefactor  = 34.0862
  norm       = 4.80794
  Prefactor  = 0.000100006
  norm       = 2.48281
  Prefactor  = 0.0001
  Prefactor  = 0.000100053
  norm       = 0.000100011
  Prefactor  = 2.41899
  Prefactor  = 26.2698
  norm       = 3.44893
  Prefactor  = 82.28
  norm       = 7.91068
  norm       = 15.1182
  Prefactor  = 0.048688
  Prefactor  = 14.248
  norm       = 1.56936
  Prefactor  = 6.91346
  norm       = 5.13946
  norm       = 5.45831
  Prefactor  = 0.0001
  Normalizat = 0.815456
  Prefactor  = 0.897614
 **********
 **   18 **HESSE 
 **********

 FCN=   3859.386     FROM HESSE     STATUS=OK           526 CALLS     3572 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.2034        3.9751        .37367E-02   -1.5171    
   2  norm          4.2488        2.3091        .48874E-02   -1.5296    
   3  Prefactor     .10799E-03    132.76        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     25.525        94.166        .19821E-02   -1.4697    
   5  Prefactor     34.086        95.331        .17160E-02   -1.4540    
   6  norm          4.8079        2.7989        .45872E-02   -1.5269    
   7  Prefactor     .10001E-03    19.461        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.4828        .73198        .63351E-02   -1.5393    
   9  Prefactor     .10000E-03    7.8831        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10005E-03    30.565        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10001E-03    31.249        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.4190        5.3744        .65815E-02   -1.5397    
  13  Prefactor     26.270        24.559        .19541E-02   -1.4682    
  14  norm          3.4489        3.2894        .54450E-02   -1.5337    
  15  Prefactor     82.280        79.766        .11070E-02   -1.3891    
  16  norm          7.9107        3.1668        .35641E-02   -1.5145    
  17  norm          15.118        22.760        .25753E-02   -1.4930    
  18  Prefactor     .48688E-01    2.0347        .55400E-01   -1.5664    
  19  Prefactor     14.248        501.27        .26528E-02   -1.4953    
  20  norm          1.5694        6.2439        .84961E-02   -1.5457    
  21  Prefactor     6.9135        14.618        .38015E-02   -1.5182    
  22  norm          5.1395        3.2530        .44336E-02   -1.5255    
  23  norm          5.4583        6.4220        .42998E-02   -1.5241    
  24  Prefactor     .10000E-03    17.100        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .81546        .19972        .43814E-01   -.99498    
  26  Prefactor     .89761        .24827        .66978E-01   -.96225    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.03052e-07
Minuit parameter uncertainties:
  1  3.97527
  2  2.30913
  3  0.0652624
  4  94.7213
  5  95.7611
  6  2.79901
  7  0.000668432
  8  0.731983
  9  2.79687e-05
  10  0.00255469
  11  0.00115967
  12  5.3755
  13  24.5682
  14  3.28957
  15  79.8705
  16  3.1669
  17  22.7733
  18  0.628866
  19  170.591
  20  6.24644
  21  14.6257
  22  3.25314
  23  6.42279
  24  0.000141477
  25  0.199902
  26  0.248583
Done.

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

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  1.000e-04  1.160e-03  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:  8.976e-01  2.486e-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:  8.155e-01  1.999e-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.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.72e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/762267/likelihoodResults_423619201_423878401_4FGL_J1124.9+4934_daily_bin711.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) = 3859.38569885
delta logL = -0.000152244017045

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3859.38554866
delta logL = -2.05502510653e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10627E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3998       1.0000          .0000       5.0000    
     3 'Normalizat'    .81546       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89761       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=   3859.386     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      277 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10002E-03    905.35        .18142E-01** at limit **
   2  alpha         1.3087        2.6576        .16477        .21009E-07
   3  Normalizat    .81546        .26362E-01    .23834E-03    .59521E-03
   4  Prefactor     .89762        .34411E-01    .29627E-03    .48152E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100025
  alpha      = 1.30874
  Normalizat = 0.815456
  Prefactor  = 0.897617
 **********
 **   18 **HESSE 
 **********

 FCN=   3859.386     FROM HESSE     STATUS=OK            23 CALLS      300 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10002E-03    57.980        .34610E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3087        2.9435        .32955E-01   -.49668    
   3  Normalizat    .81546        .21948        .47668E-04   -.99498    
   4  Prefactor     .89762        .28632        .59253E-04   -.96224    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63414e-09
Minuit parameter uncertainties:
  1  0.00240747
  2  788.235
  3  0.21972
  4  0.286803
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/762267': 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) = 3859.38554654
delta logL = 6.25159373158e-08

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  1.000e-04  2.407e-03  1.000e-04  1.000e+04 ( 1.000e-14)
353        alpha:  1.309e+00  7.882e+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:  8.976e-01  2.868e-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:  8.155e-01  2.197e-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/762267/cmap_HighResolution_423619201_423878401_4FGL_J1124.9+4934_daily_bin711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.72e-05', job_status='DONE', photon_flux_upper_limit='2.68e-08', time_completed='2021-09-03 19:39:27.630579', job_id='762267', GAL2='0.90', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1630723167.63', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='6.25e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.52' WHERE bin_id='711' AND source_name='4FGL J1124.9+4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 19:39:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 762267: <4FGL_J1124.9+4934_daily_bin711> in cluster <slac> Done

Job <4FGL_J1124.9+4934_daily_bin711> 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) <bullet0239>, 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:39:28 2021
Results reported at Fri Sep  3 19:39:28 2021

Your job looked like:

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

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

