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


Performing analysis on: 4FGL_J1124.9+4934_daily_bin288
RA = 171.243, Dec = 49.5674
tmin = 313977601, tmax = 314236801
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='756986', job_status='RUN', time_executed='2021-09-03 19:11:42.246327', time_epoch_executed='1630721502.25' WHERE source_name='4FGL J1124.9+4934' and cadence='daily' and bin_id='288'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/756986

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/756986/ft1_4FGL_J1124.9+4934_daily_bin288.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/756986/ft2_4FGL_J1124.9+4934_daily_bin288.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/756986/ft1_4FGL_J1124.9+4934_daily_bin288.fits outfile=/scratch/kocevski/756986/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin288.fits ra=171.243 dec=49.5674 rad=12.0 tmin=313977601.0 tmax=314236801.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 3.41
user 3.20
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/756986/ft1_filtered_4FGL_J1124.9+4934_daily_bin288.fits evtable="EVENTS" scfile=/scratch/kocevski/756986/ft2_4FGL_J1124.9+4934_daily_bin288.fits sctable="SC_DATA" expcube=/scratch/kocevski/756986/ltcube_313977601_314236801_4FGL_J1124.9+4934_daily_bin288.fits outfile=/scratch/kocevski/756986/expmap_313977601_314236801_4FGL_J1124.9+4934_daily_bin288.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/756986/ltcube_313977601_314236801_4FGL_J1124.9+4934_daily_bin288.fits
.....................!
real 191.78
user 186.83
sys 4.56

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/756986/ft1_filtered_4FGL_J1124.9+4934_daily_bin288.fits scfile=/scratch/kocevski/756986/ft2_4FGL_J1124.9+4934_daily_bin288.fits outfile=/scratch/kocevski/756986/cmap_313977601_314236801_4FGL_J1124.9+4934_daily_bin288.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/756986/ft1_filtered_4FGL_J1124.9+4934_daily_bin288.fits scfile=/scratch/kocevski/756986/ft2_4FGL_J1124.9+4934_daily_bin288.fits outfile=/scratch/kocevski/756986/cmap_HighResolution_313977601_314236801_4FGL_J1124.9+4934_daily_bin288.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.58
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.2935       1.0000         .10000E-03   10000.    
     2 'norm      '    2.4078       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11016E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    136.04       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11061E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.6144       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    124.84       1.0000         .10000E-03   10000.    
    11 'norm      '    .10139E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.564       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.3265       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.1349       1.0000         .10000E-03   10000.    
    17 'norm      '    4.8581       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .67882       1.0000         .10000E-03   10000.    
    19 'Prefactor '    43.341       1.0000         .10000E-03   10000.    
    20 'norm      '    .70844       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    3.6754       1.0000         .10000E-03   10000.    
    23 'norm      '    .11030E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    21.586       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .91207       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1593       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=   6082.217     FROM MIGRAD    STATUS=CONVERGED    652 CALLS     3165 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.2935        2.7781       -.68476E-08   -.22821E-04
   2  norm          2.4077        1.3426       -.59505E-08    .21563E-03
   3  Prefactor     .10000E-03    77.928       -.27715E-06** at limit **
   4  Prefactor     135.65        130.55        .58834E-05    .21536E-03
   5  Prefactor     .10000E-03    39.076        .18600E-06** at limit **
   6  norm          .10001E-03    2.1028       -.24948E-05** at limit **
   7  Prefactor     .10000E-03    41.086       -.29568E-05** at limit **
   8  norm          1.6144        .48482       -.47369E-08   -.22011E-03
   9  Prefactor     .10000E-03    4.5698       -.22596E-06** at limit **
  10  Prefactor     124.84        99.780       -.88679E-07   -.33573E-05
  11  norm          .10000E-03    44.324        .14123E-06** at limit **
  12  Prefactor     15.565        8.2737        .22533E-07    .14364E-03
  13  Prefactor     .10000E-03    10.473        .10303E-06** at limit **
  14  norm          1.3263        1.6117        .52297E-07    .74031E-04
  15  Prefactor     .10000E-03    15.818        .19566E-06** at limit **
  16  norm          3.1347        1.4468       -.12520E-06   -.62069E-03
  17  norm          4.8599        5.8448       -.63934E-08   -.56509E-05
  18  Prefactor     .67723        2.4241        .23676E-05    .10007E-02
  19  Prefactor     43.177        62.439        .12481E-05    .36508E-04
  20  norm          .72675        4.8236        .62759E-06   -.45735E-04
  21  Prefactor     .10000E-03    28.079       -.48597E-06** at limit **
  22  norm          3.6766        2.6572       -.46983E-07   -.12611E-03
  23  norm          .10000E-03    3.0721        .22078E-06** at limit **
  24  Prefactor     21.574        20.792       -.22667E-06   -.51426E-04
  25  Normalizat    .91190        .17301       -.34917E-06    .20467E-03
  26  Prefactor     1.1595        .21962        .75469E-07    .19509E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.29351
  norm       = 2.40774
  Prefactor  = 0.0001
  Prefactor  = 135.653
  Prefactor  = 0.0001
  norm       = 0.000100009
  Prefactor  = 0.000100003
  norm       = 1.61444
  Prefactor  = 0.0001
  Prefactor  = 124.842
  norm       = 0.0001
  Prefactor  = 15.5653
  Prefactor  = 0.0001
  norm       = 1.3263
  Prefactor  = 0.0001
  norm       = 3.1347
  norm       = 4.85993
  Prefactor  = 0.677226
  Prefactor  = 43.1774
  norm       = 0.726755
  Prefactor  = 0.000100001
  norm       = 3.6766
  norm       = 0.0001
  Prefactor  = 21.5736
  Normalizat = 0.911903
  Prefactor  = 1.15952
 **********
 **   18 **HESSE 
 **********

 FCN=   6082.217     FROM HESSE     STATUS=OK           458 CALLS     3623 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.2935        2.7784        .91659E-04   -1.5248    
   2  norm          2.4077        1.3480        .65735E-04   -1.5398    
   3  Prefactor     .10000E-03    78.041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     135.65        134.03        .17266E-03   -1.3373    
   5  Prefactor     .10000E-03    39.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10001E-03    2.9484        .15268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    41.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.6144        .48599        .28863E-04   -1.5454    
   9  Prefactor     .10000E-03    4.5723        .16285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     124.84        99.822        .18013E-03   -1.3469    
  11  norm          .10000E-03    44.374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.565        8.2750        .10152E-03   -1.4919    
  13  Prefactor     .10000E-03    10.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.3263        1.5974        .10592E-03   -1.5478    
  15  Prefactor     .10000E-03    15.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.1347        1.4551        .55762E-04   -1.5354    
  17  norm          4.8599        5.8433        .18250E-03   -1.5267    
  18  Prefactor     .67723        2.5066        .22765E-03   -1.5543    
  19  Prefactor     43.177        62.808        .60895E-04   -1.4393    
  20  norm          .72675        10.014        .32405E-02   -1.5537    
  21  Prefactor     .10000E-03    28.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.6766        2.6542        .10198E-03   -1.5324    
  23  norm          .10000E-03    3.0802        .13331E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     21.574        20.787        .86210E-04   -1.4779    
  25  Normalizat    .91190        .20552        .24562E-03   -.96043    
  26  Prefactor     1.1595        .26159        .28818E-03   -.87586    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.71393e-08
Minuit parameter uncertainties:
  1  2.77845
  2  1.34799
  3  9.11298e-05
  4  134.335
  5  3.99006e-05
  6  0.000323973
  7  0.000715683
  8  0.485991
  9  1.60523e-05
  10  99.9566
  11  3.27707e-05
  12  8.2756
  13  1.13759e-05
  14  1.59743
  15  3.31953e-05
  16  1.45513
  17  5.84398
  18  2.50696
  19  62.9049
  20  5.3961
  21  0.000286326
  22  2.65428
  23  1.4607e-05
  24  20.7945
  25  0.205702
  26  0.261878
Done.

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

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  1.000e-04  3.277e-05  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.160e+00  2.619e-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:  9.119e-01  2.057e-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.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.36e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/756986/likelihoodResults_313977601_314236801_4FGL_J1124.9+4934_daily_bin288.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) = 6082.21674071
delta logL = -0.000107282048702

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6082.21663388
delta logL = -4.50333573099e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10685E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2846       1.0000          .0000       5.0000    
     3 'Normalizat'    .91190       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1595       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=   6082.217     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      285 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    158.55        .18142E-01** at limit **
   2  alpha         1.7864        3.8784        .50000        .10727E-06
   3  Normalizat    .91190        .76221E-02    .24562E-03   -.66558E-04
   4  Prefactor     1.1595        .99959E-02    .28818E-03   -.59727E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.78636
  Normalizat = 0.911903
  Prefactor  = 1.15952
 **********
 **   18 **HESSE 
 **********

 FCN=   6082.217     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      314 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    812.90        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7864        2.6136        .50000       -.28948    
   3  Normalizat    .91190        .17642E-01    .98249E-05   -.96043    
   4  Prefactor     1.1595        .23137E-01    .11527E-04   -.87586    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.96591e-09
Minuit parameter uncertainties:
  1  0.000370842
  2  1812.43
  3  0.0176423
  4  0.0231368
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/756986': 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): 102
logL (Free Index) = 6082.21663336
delta logL = 6.9785528467e-08

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  1.000e-04  3.708e-04  1.000e-04  1.000e+04 ( 1.000e-14)
353        alpha:  1.786e+00  1.812e+03  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.160e+00  2.314e-02  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:  9.119e-01  1.764e-02  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/756986/cmap_HighResolution_313977601_314236801_4FGL_J1124.9+4934_daily_bin288.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.36e-05', job_status='DONE', photon_flux_upper_limit='2.56e-08', time_completed='2021-09-03 19:26:06.599421', job_id='756986', GAL2='1.16', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1630722366.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='6.98e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.52' WHERE bin_id='288' AND source_name='4FGL J1124.9+4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 19:26:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 756986: <4FGL_J1124.9+4934_daily_bin288> in cluster <slac> Done

Job <4FGL_J1124.9+4934_daily_bin288> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 19:11:21 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 19:11:29 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:11:29 2021
Terminated at Fri Sep  3 19:26:07 2021
Results reported at Fri Sep  3 19:26:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1124.9+4934_daily_bin288 171.243 49.5674 313977601 314236801 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 :                                   860.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            886 sec.

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

