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


Performing analysis on: 4FGL_J1124.9+4934_daily_bin76
RA = 171.243, Dec = 49.5674
tmin = 259027201, tmax = 259286401
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='752929', job_status='RUN', time_executed='2021-09-03 18:56:35.365994', time_epoch_executed='1630720595.37' WHERE source_name='4FGL J1124.9+4934' and cadence='daily' and bin_id='76'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/752929

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/752929/ft1_4FGL_J1124.9+4934_daily_bin76.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/752929/ft2_4FGL_J1124.9+4934_daily_bin76.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/752929/ft1_4FGL_J1124.9+4934_daily_bin76.fits outfile=/scratch/kocevski/752929/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin76.fits ra=171.243 dec=49.5674 rad=12.0 tmin=259027201.0 tmax=259286401.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.45
user 1.27
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/752929/ft1_filtered_4FGL_J1124.9+4934_daily_bin76.fits evtable="EVENTS" scfile=/scratch/kocevski/752929/ft2_4FGL_J1124.9+4934_daily_bin76.fits sctable="SC_DATA" expcube=/scratch/kocevski/752929/ltcube_259027201_259286401_4FGL_J1124.9+4934_daily_bin76.fits outfile=/scratch/kocevski/752929/expmap_259027201_259286401_4FGL_J1124.9+4934_daily_bin76.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/752929/ltcube_259027201_259286401_4FGL_J1124.9+4934_daily_bin76.fits
.....................!
real 194.48
user 188.09
sys 4.81

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/752929/ft1_filtered_4FGL_J1124.9+4934_daily_bin76.fits scfile=/scratch/kocevski/752929/ft2_4FGL_J1124.9+4934_daily_bin76.fits outfile=/scratch/kocevski/752929/cmap_259027201_259286401_4FGL_J1124.9+4934_daily_bin76.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/752929/ft1_filtered_4FGL_J1124.9+4934_daily_bin76.fits scfile=/scratch/kocevski/752929/ft2_4FGL_J1124.9+4934_daily_bin76.fits outfile=/scratch/kocevski/752929/cmap_HighResolution_259027201_259286401_4FGL_J1124.9+4934_daily_bin76.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.8320       1.0000         .10000E-03   10000.    
     2 'norm      '    3.3323       1.0000         .10000E-03   10000.    
     3 'Prefactor '    67.677       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.0946       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .92423       1.0000         .10000E-03   10000.    
     9 'Prefactor '    42.883       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10527E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.2468       1.0000         .10000E-03   10000.    
    17 'norm      '    4.0784       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.0832       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    19.136       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.8635       1.0000         .10000E-03   10000.    
    23 'norm      '    17.950       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0816       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .92791       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=   5288.524     FROM MIGRAD    STATUS=CONVERGED    619 CALLS     3047 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.8319        4.2636       -.89699E-09   -.71422E-05
   2  norm          3.3320        2.0137        .10186E-07    .76297E-05
   3  Prefactor     67.660        83.568       -.83640E-05   -.13903E-03
   4  Prefactor     .10000E-03    68.636        .46950E-05** at limit **
   5  Prefactor     .10000E-03    68.087        .26447E-05** at limit **
   6  norm          5.0947        2.9494        .59155E-07   -.18598E-04
   7  Prefactor     .10000E-03    32.060        .44714E-06** at limit **
   8  norm          .92423        .41083       -.83489E-08    .63215E-04
   9  Prefactor     42.862        30.201       -.11747E-05   -.97946E-04
  10  Prefactor     .10000E-03    151.59        .17758E-06** at limit **
  11  norm          .10000E-03    19.056        .13008E-06** at limit **
  12  Prefactor     .10000E-03    2.7731        .12346E-07** at limit **
  13  Prefactor     .10000E-03    12.542       -.47331E-07** at limit **
  14  norm          .10000E-03    1.1096        .11655E-07** at limit **
  15  Prefactor     .10000E-03    63.637       -.62093E-05** at limit **
  16  norm          1.2472        1.0121       -.80488E-07   -.18317E-04
  17  norm          4.0795        5.8294        .16029E-05   -.11003E-02
  18  Prefactor     2.0830        2.5057        .36217E-07   -.40013E-04
  19  Prefactor     .10000E-03    22.431        .22365E-07** at limit **
  20  norm          19.134        8.9515       -.40192E-08    .46142E-05
  21  Prefactor     .10000E-03    15.701       -.10045E-06** at limit **
  22  norm          4.8630        2.7918       -.34662E-07   -.68662E-04
  23  norm          17.952        8.9687       -.91567E-07   -.14057E-04
  24  Prefactor     .10000E-03    22.255       -.16671E-06** at limit **
  25  Normalizat    1.0821        .18487        .55260E-06    .15574E-04
  26  Prefactor     .92731        .22641       -.27277E-08    .35554E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.83191
  norm       = 3.33204
  Prefactor  = 67.6596
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  norm       = 5.09469
  Prefactor  = 0.0001
  norm       = 0.924232
  Prefactor  = 42.8619
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100003
  norm       = 1.24723
  norm       = 4.07954
  Prefactor  = 2.08303
  Prefactor  = 0.0001
  norm       = 19.1342
  Prefactor  = 0.0001
  norm       = 4.86303
  norm       = 17.9523
  Prefactor  = 0.0001
  Normalizat = 1.08209
  Prefactor  = 0.927314
 **********
 **   18 **HESSE 
 **********

 FCN=   5288.524     FROM HESSE     STATUS=OK           454 CALLS     3501 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.8319        4.2640        .11510E-03   -1.5185    
   2  norm          3.3320        2.0112        .77937E-04   -1.5343    
   3  Prefactor     67.660        86.126        .48789E-04   -1.4061    
   4  Prefactor     .10000E-03    69.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    68.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.0947        2.9483        .90158E-04   -1.5257    
   7  Prefactor     .10000E-03    32.098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .92423        .41494        .30195E-04   -1.5516    
   9  Prefactor     42.862        30.354        .61218E-04   -1.4398    
  10  Prefactor     .10000E-03    152.03        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    19.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.7836        .11824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.1198        .74773E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    64.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.2472        .99258        .62964E-04   -1.5485    
  17  norm          4.0795        8.3738        .99820E-03   -1.5304    
  18  Prefactor     2.0830        2.4917        .12166E-03   -1.5419    
  19  Prefactor     .10000E-03    22.449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          19.134        8.9549        .91558E-04   -1.4833    
  21  Prefactor     .10000E-03    15.770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.8630        2.7932        .87452E-04   -1.5267    
  23  norm          17.952        8.9656        .94533E-04   -1.4860    
  24  Prefactor     .10000E-03    22.341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0821        .21335        .23330E-03   -.90329    
  26  Prefactor     .92731        .26132        .31336E-03   -.95193    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43659e-09
Minuit parameter uncertainties:
  1  4.26418
  2  2.01125
  3  86.2853
  4  0.000727534
  5  0.000390732
  6  2.94839
  7  6.65542e-05
  8  0.414942
  9  30.3645
  10  6.33693e-05
  11  9.86056e-06
  12  1.13766e-06
  13  1.76164e-06
  14  9.50668e-08
  15  0.000921649
  16  0.992593
  17  8.37621
  18  2.49183
  19  6.3887e-08
  20  8.95549
  21  1.87271e-05
  22  2.79326
  23  8.96631
  24  1.90873e-05
  25  0.213515
  26  0.261673
Done.

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

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  1.000e-04  9.861e-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:  9.273e-01  2.617e-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.082e+00  2.135e-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.87e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.39e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/752929/likelihoodResults_259027201_259286401_4FGL_J1124.9+4934_daily_bin76.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) = 5288.52450979
delta logL = -0.000246543205321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5288.52426596
delta logL = -2.71203043667e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5174       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0821       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92728       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=   5288.524     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      271 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    589.32        .18142E-01** at limit **
   2  alpha         1.3956        2.6537        .16461        .23689E-07
   3  Normalizat    1.0821        .26206E-01    .23330E-03   -.51069E-04
   4  Prefactor     .92731        .32976E-01    .31336E-03   -.55471E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00010001
  alpha      = 1.39562
  Normalizat = 1.08209
  Prefactor  = 0.927313
 **********
 **   18 **HESSE 
 **********

 FCN=   5288.524     FROM HESSE     STATUS=OK            23 CALLS      294 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    19.630        .31185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3956        3.1580        .65845E-02   -.45755    
   3  Normalizat    1.0821        .20663        .93319E-05   -.90329    
   4  Prefactor     .92731        .25985        .12535E-04   -.95193    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.26534e-10
Minuit parameter uncertainties:
  1  0.000882492
  2  524.476
  3  0.206783
  4  0.260201
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/752929': 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) = 5288.52426321
delta logL = 2.8920112527e-08

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  1.000e-04  8.825e-04  1.000e-04  1.000e+04 ( 1.000e-14)
353        alpha:  1.396e+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:  9.273e-01  2.602e-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.082e+00  2.068e-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/752929/cmap_HighResolution_259027201_259286401_4FGL_J1124.9+4934_daily_bin76.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.39e-05', job_status='DONE', photon_flux_upper_limit='1.87e-08', time_completed='2021-09-03 19:09:29.292193', job_id='752929', GAL2='0.93', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1630721369.29', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.89e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.52' WHERE bin_id='76' AND source_name='4FGL J1124.9+4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 19:09:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 752929: <4FGL_J1124.9+4934_daily_bin76> in cluster <slac> Done

Job <4FGL_J1124.9+4934_daily_bin76> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep  3 18:56:16 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 18:56:19 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:19 2021
Terminated at Fri Sep  3 19:09:30 2021
Results reported at Fri Sep  3 19:09:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1124.9+4934_daily_bin76 171.243 49.5674 259027201 259286401 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 :                                   766.22 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             350.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            794 sec.

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

