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


Performing analysis on: 4FGL_J1124.9+4934_daily_bin2
RA = 171.243, Dec = 49.5674
tmin = 239846401, tmax = 240105601
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='751514', job_status='RUN', time_executed='2021-09-03 18:52:42.446354', time_epoch_executed='1630720362.45' WHERE source_name='4FGL J1124.9+4934' and cadence='daily' and bin_id='2'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/751514

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/751514/ft1_4FGL_J1124.9+4934_daily_bin2.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/751514/ft2_4FGL_J1124.9+4934_daily_bin2.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/751514/ft1_4FGL_J1124.9+4934_daily_bin2.fits outfile=/scratch/kocevski/751514/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin2.fits ra=171.243 dec=49.5674 rad=12.0 tmin=239846401.0 tmax=240105601.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.53
user 1.29
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/751514/ft1_filtered_4FGL_J1124.9+4934_daily_bin2.fits evtable="EVENTS" scfile=/scratch/kocevski/751514/ft2_4FGL_J1124.9+4934_daily_bin2.fits sctable="SC_DATA" expcube=/scratch/kocevski/751514/ltcube_239846401_240105601_4FGL_J1124.9+4934_daily_bin2.fits outfile=/scratch/kocevski/751514/expmap_239846401_240105601_4FGL_J1124.9+4934_daily_bin2.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/751514/ltcube_239846401_240105601_4FGL_J1124.9+4934_daily_bin2.fits
.....................!
real 192.85
user 187.29
sys 4.48

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/751514/ft1_filtered_4FGL_J1124.9+4934_daily_bin2.fits scfile=/scratch/kocevski/751514/ft2_4FGL_J1124.9+4934_daily_bin2.fits outfile=/scratch/kocevski/751514/cmap_239846401_240105601_4FGL_J1124.9+4934_daily_bin2.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.56
user 0.41
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/751514/ft1_filtered_4FGL_J1124.9+4934_daily_bin2.fits scfile=/scratch/kocevski/751514/ft2_4FGL_J1124.9+4934_daily_bin2.fits outfile=/scratch/kocevski/751514/cmap_HighResolution_239846401_240105601_4FGL_J1124.9+4934_daily_bin2.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.57
user 0.41
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.747       1.0000         .10000E-03   10000.    
     2 'norm      '    .70037       1.0000         .10000E-03   10000.    
     3 'Prefactor '    113.92       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .39992E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    45.350       1.0000         .10000E-03   10000.    
     6 'norm      '    .10148E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .99556       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.0503       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .31972       1.0000         .10000E-03   10000.    
    17 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.1892       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.2916       1.0000         .10000E-03   10000.    
    20 'norm      '    2.3013       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .53453       1.0000         .10000E-03   10000.    
    24 'Prefactor '    8.0755       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0143       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0401       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=   4971.213     FROM MIGRAD    STATUS=CONVERGED    618 CALLS     3102 TOTAL
                     EDM=   .67E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.748        4.3986       -.56265E-07   -.54786E-04
   2  norm          .69953        1.4528       -.41493E-06   -.33593E-03
   3  Prefactor     113.92        97.000       -.15057E-06   -.38904E-05
   4  Prefactor     .10000E-03    244.18        .96601E-05** at limit **
   5  Prefactor     45.360        75.529       -.60861E-06   -.80759E-05
   6  norm          .10000E-03    1.5565        .10121E-06** at limit **
   7  Prefactor     .10000E-03    35.538       -.78459E-06** at limit **
   8  norm          .99563        .42778        .14500E-08   -.33544E-04
   9  Prefactor     .10000E-03    11.388        .74708E-07** at limit **
  10  Prefactor     .10000E-03    26.237        .93462E-06** at limit **
  11  norm          3.0422        91.325        .12104E-05    .84422E-05
  12  Prefactor     .10000E-03    2.3423        .40486E-07** at limit **
  13  Prefactor     .10000E-03    16.770       -.59334E-07** at limit **
  14  norm          .10000E-03    1.6584        .19637E-06** at limit **
  15  Prefactor     .10000E-03    42.089        .60553E-06** at limit **
  16  norm          .31870        .97940       -.45890E-06    .26356E-03
  17  norm          .10000E-03    3.6615        .16455E-07** at limit **
  18  Prefactor     2.1894        2.3237       -.53410E-07    .10614E-04
  19  Prefactor     3.2935        90.125        .28768E-05    .24688E-04
  20  norm          2.3030        8.2232       -.68924E-06    .82309E-04
  21  Prefactor     .10000E-03    11.337        .13983E-06** at limit **
  22  norm          .10000E-03    1.3676        .85279E-07** at limit **
  23  norm          .54171        33.004        .93196E-05   -.89590E-05
  24  Prefactor     8.0415        26.058       -.59976E-05    .20727E-04
  25  Normalizat    1.0141        .17727        .17466E-06   -.57889E-04
  26  Prefactor     1.0402        .22764       -.43555E-06   -.38867E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.7478
  norm       = 0.699534
  Prefactor  = 113.921
  Prefactor  = 0.000100004
  Prefactor  = 45.3597
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.995628
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.04222
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.318696
  norm       = 0.0001
  Prefactor  = 2.18936
  Prefactor  = 3.29351
  norm       = 2.30302
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.541708
  Prefactor  = 8.04154
  Normalizat = 1.01409
  Prefactor  = 1.04019
 **********
 **   18 **HESSE 
 **********

 FCN=   4971.213     FROM HESSE     STATUS=OK           458 CALLS     3560 TOTAL
                     EDM=   .62E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.748        4.3965        .87644E-04   -1.5022    
   2  norm          .69953        1.3328        .12013E-02   -1.5541    
   3  Prefactor     113.92        97.041        .37693E-04   -1.3569    
   4  Prefactor     .10000E-03    243.98        .21264E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     45.360        75.484        .59537E-04   -1.4360    
   6  norm          .10000E-03    1.6290        .17167E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    35.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .99563        .42694        .29327E-04   -1.5508    
   9  Prefactor     .10000E-03    11.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    26.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.0422        92.054        .23230E-03   -1.5359    
  12  Prefactor     .10000E-03    2.3471        .10537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.7629        .17581E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    42.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .31870        .95696        .10942E-03   -1.5595    
  17  norm          .10000E-03    3.6619        .13174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.1894        2.3105        .10734E-03   -1.5412    
  19  Prefactor     3.2935        87.292        .22316E-03   -1.5345    
  20  norm          2.3030        8.1809        .27052E-03   -1.5404    
  21  Prefactor     .10000E-03    11.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    1.3866        .80452E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .54171        37.029        .36322E-02   -1.5561    
  24  Prefactor     8.0415        27.067        .14109E-03   -1.5141    
  25  Normalizat    1.0141        .20983        .22471E-03   -.92560    
  26  Prefactor     1.0402        .27039        .28566E-03   -.91402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18964e-08
Minuit parameter uncertainties:
  1  4.39666
  2  1.33283
  3  97.1768
  4  0.0018792
  5  75.644
  6  1.26003e-07
  7  5.17809e-05
  8  0.426946
  9  6.48163e-06
  10  6.58206e-05
  11  33.5255
  12  1.77456e-06
  13  6.81857e-06
  14  5.42283e-06
  15  0.000197848
  16  0.957001
  17  2.26031e-06
  18  2.31063
  19  33.9661
  20  8.1849
  21  4.94621e-06
  22  9.24582e-07
  23  8.96236
  24  27.1083
  25  0.209998
  26  0.27075
Done.

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

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  3.042e+00  3.353e+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:  1.040e+00  2.707e-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.014e+00  2.100e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/751514/likelihoodResults_239846401_240105601_4FGL_J1124.9+4934_daily_bin2.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) = 4971.21000326
delta logL = 0.0030227016432

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4971.20986119
delta logL = 0.00316477311389

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5153       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7387       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0142       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0396       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=   4971.210     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      273 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5228        82.631        .21562E-03    .45344E-05
   2  alpha         1.7381        3.3690        .61285E-01    .77317E-04
   3  Normalizat    1.0144        .20653        .22468E-03   -.48814E-03
   4  Prefactor     1.0394        .26739        .28576E-03   -.17795E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.5228
  alpha      = 1.73806
  Normalizat = 1.01442
  Prefactor  = 1.03937
 **********
 **   18 **HESSE 
 **********

 FCN=   4971.210     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5228        67.559        .86249E-05   -1.5333    
   2  alpha         1.7381        3.3590        .12257E-01   -.30970    
   3  Normalizat    1.0144        .20665        .44935E-04   -.92549    
   4  Prefactor     1.0394        .26751        .11430E-04   -.91428    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.57159e-10
Minuit parameter uncertainties:
  1  30.8942
  2  2.7006
  3  0.206809
  4  0.267852
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/751514': 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) = 4971.20986035
delta logL = 0.00316560424926

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  3.523e+00  3.089e+01  1.000e-04  1.000e+04 ( 1.000e-14)
353        alpha:  1.738e+00  2.701e+00  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.039e+00  2.679e-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.014e+00  2.068e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/751514/cmap_HighResolution_239846401_240105601_4FGL_J1124.9+4934_daily_bin2.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.78e-05', job_status='DONE', photon_flux_upper_limit='2.35e-08', time_completed='2021-09-03 19:05:06.407441', job_id='751514', GAL2='1.04', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1630721106.41', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='3.17e-03', ts2='0.02', photon_index_error='0.00', photon_index='1.52' WHERE bin_id='2' AND source_name='4FGL J1124.9+4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 19:05:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 751514: <4FGL_J1124.9+4934_daily_bin2> in cluster <slac> Done

Job <4FGL_J1124.9+4934_daily_bin2> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 18:50:57 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 18:51:05 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:51:05 2021
Terminated at Fri Sep  3 19:05:07 2021
Results reported at Fri Sep  3 19:05:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1124.9+4934_daily_bin2 171.243 49.5674 239846401 240105601 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 :                                   741.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             300.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            850 sec.

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

