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


Performing analysis on: 4FGL_J1124.9+4934_daily_bin61
RA = 171.243, Dec = 49.5674
tmin = 255139201, tmax = 255398401
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='751600', job_status='RUN', time_executed='2021-09-03 18:55:20.071740', time_epoch_executed='1630720520.07' WHERE source_name='4FGL J1124.9+4934' and cadence='daily' and bin_id='61'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/751600

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/751600/ft1_4FGL_J1124.9+4934_daily_bin61.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/751600/ft2_4FGL_J1124.9+4934_daily_bin61.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/751600/ft1_4FGL_J1124.9+4934_daily_bin61.fits outfile=/scratch/kocevski/751600/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin61.fits ra=171.243 dec=49.5674 rad=12.0 tmin=255139201.0 tmax=255398401.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 6.04
user 5.75
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/751600/ft1_filtered_4FGL_J1124.9+4934_daily_bin61.fits" evtable="EVENTS" scfile=/scratch/kocevski/751600/ft2_4FGL_J1124.9+4934_daily_bin61.fits sctable="SC_DATA" outfile=/scratch/kocevski/751600/ltcube_255139201_255398401_4FGL_J1124.9+4934_daily_bin61.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/751600/ft2_4FGL_J1124.9+4934_daily_bin61.fits
.....................!
real 12.14
user 11.82
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/751600/ft1_filtered_4FGL_J1124.9+4934_daily_bin61.fits evtable="EVENTS" scfile=/scratch/kocevski/751600/ft2_4FGL_J1124.9+4934_daily_bin61.fits sctable="SC_DATA" expcube=/scratch/kocevski/751600/ltcube_255139201_255398401_4FGL_J1124.9+4934_daily_bin61.fits outfile=/scratch/kocevski/751600/expmap_255139201_255398401_4FGL_J1124.9+4934_daily_bin61.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/751600/ltcube_255139201_255398401_4FGL_J1124.9+4934_daily_bin61.fits
.....................!
real 157.93
user 153.19
sys 4.44

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/751600/ft1_filtered_4FGL_J1124.9+4934_daily_bin61.fits scfile=/scratch/kocevski/751600/ft2_4FGL_J1124.9+4934_daily_bin61.fits outfile=/scratch/kocevski/751600/cmap_255139201_255398401_4FGL_J1124.9+4934_daily_bin61.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.49
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/751600/ft1_filtered_4FGL_J1124.9+4934_daily_bin61.fits scfile=/scratch/kocevski/751600/ft2_4FGL_J1124.9+4934_daily_bin61.fits outfile=/scratch/kocevski/751600/cmap_HighResolution_255139201_255398401_4FGL_J1124.9+4934_daily_bin61.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.49
user 0.33
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3563       1.0000         .10000E-03   10000.    
     2 'norm      '    2.0095       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.202       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10759E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    65.576       1.0000         .10000E-03   10000.    
     6 'norm      '    3.5143       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.9269       1.0000         .10000E-03   10000.    
     8 'norm      '    1.3735       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.336       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .61543E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.1407       1.0000         .10000E-03   10000.    
    14 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10378E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .12485       1.0000         .10000E-03   10000.    
    17 'norm      '    .10117E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .18059       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.025       1.0000         .10000E-03   10000.    
    20 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .61623E-01   1.0000         .10000E-03   10000.    
    22 'norm      '    .10745E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    5.6602       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .61957       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0965       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=   3417.766     FROM MIGRAD    STATUS=CONVERGED    683 CALLS     3606 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3565        3.2365       -.48147E-07    .50739E-04
   2  norm          2.0096        1.4702       -.43166E-07   -.67319E-04
   3  Prefactor     15.243        272.13       -.66471E-05    .61703E-05
   4  Prefactor     .10000E-03    179.52        .41737E-05** at limit **
   5  Prefactor     65.571        66.339       -.34191E-06    .90048E-05
   6  norm          3.5147        3.2028        .35470E-06    .75163E-03
   7  Prefactor     7.9472        221.78       -.28990E-05    .67550E-05
   8  norm          1.3736        .53677       -.11520E-07    .47426E-03
   9  Prefactor     13.323        30.078       -.21165E-05   -.56931E-04
  10  Prefactor     .10000E-03    46.723        .41891E-06** at limit **
  11  norm          .10018E-03    2196.1       -.18118E-05** at limit **
  12  Prefactor     .10000E-03    6.5618       -.28565E-06** at limit **
  13  Prefactor     9.1414        24.235       -.25334E-06   -.49614E-05
  14  norm          .10000E-03    1.4291        .87273E-07** at limit **
  15  Prefactor     .10000E-03    25.856        .17997E-05** at limit **
  16  norm          .12428        .62426       -.78657E-06   -.10856E-02
  17  norm          .10000E-03    11.324       -.17268E-06** at limit **
  18  Prefactor     .16890        13.010       -.30490E-05    .21271E-03
  19  Prefactor     13.039        40.176        .67066E-05    .23481E-03
  20  norm          .10000E-03    3.1985       -.15542E-06** at limit **
  21  Prefactor     .10004E-03    360.34       -.28564E-04** at limit **
  22  norm          .10001E-03    3.2982        .19565E-05** at limit **
  23  norm          5.6596        5.3646        .64203E-07    .54168E-04
  24  Prefactor     .10000E-03    9.2015       -.64431E-07** at limit **
  25  Normalizat    .61942        .21454        .36020E-05    .22465E-03
  26  Prefactor     1.0965        .27001       -.28575E-06    .93944E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.35654
  norm       = 2.00958
  Prefactor  = 15.2434
  Prefactor  = 0.0001
  Prefactor  = 65.5706
  norm       = 3.51468
  Prefactor  = 7.94718
  norm       = 1.37359
  Prefactor  = 13.3227
  Prefactor  = 0.0001
  norm       = 0.000100178
  Prefactor  = 0.0001
  Prefactor  = 9.14142
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.124278
  norm       = 0.0001
  Prefactor  = 0.168899
  Prefactor  = 13.0385
  norm       = 0.0001
  Prefactor  = 0.00010004
  norm       = 0.000100008
  norm       = 5.65963
  Prefactor  = 0.0001
  Normalizat = 0.619415
  Prefactor  = 1.09651
 **********
 **   18 **HESSE 
 **********

 FCN=   3417.766     FROM HESSE     STATUS=OK           478 CALLS     4084 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3565        3.2390        .88260E-04   -1.5290    
   2  norm          2.0096        1.4780        .59117E-04   -1.5424    
   3  Prefactor     15.243        270.19        .10272E-03   -1.4927    
   4  Prefactor     .10000E-03    181.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     65.571        66.352        .49560E-04   -1.4087    
   6  norm          3.5147        3.2490        .45302E-03   -1.5333    
   7  Prefactor     7.9472        219.25        .14241E-03   -1.5144    
   8  norm          1.3736        .53761        .25992E-04   -1.5474    
   9  Prefactor     13.323        30.195        .10968E-03   -1.4978    
  10  Prefactor     .10000E-03    46.738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10018E-03    70.187        .15617       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.6964        .14640E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.1414        24.210        .13256E-03   -1.5103    
  14  norm          .10000E-03    1.4625        .68317E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    26.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .12428        .62964        .90214E-04   -1.5637    
  17  norm          .10000E-03    11.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .16890        20.429        .16704E-02   -1.5626    
  19  Prefactor     13.039        41.597        .11099E-03   -1.4986    
  20  norm          .10000E-03    3.2225        .10217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10004E-03    48.192        .77293E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10001E-03    3.7657        .16158E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          5.6596        5.3626        .12799E-03   -1.5232    
  24  Prefactor     .10000E-03    9.2198        .17323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .61942        .21711        .23150E-03   -1.0717    
  26  Prefactor     1.0965        .27234        .23440E-03   -.89578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.20727e-09
Minuit parameter uncertainties:
  1  3.23917
  2  1.47798
  3  129.037
  4  3.82e-07
  5  66.4265
  6  3.24914
  7  83.8256
  8  0.537609
  9  30.2291
  10  0.000152622
  11  0.00707184
  12  3.24256e-05
  13  24.2362
  14  5.21477e-06
  15  0.000400148
  16  0.559252
  17  7.81036e-05
  18  3.71523
  19  41.6893
  20  1.47965e-05
  21  0.00279272
  22  0.000339817
  23  5.36305
  24  7.00888e-06
  25  0.21741
  26  0.272688
Done.

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

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  1.002e-04  7.072e-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:  1.097e+00  2.727e-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:  6.194e-01  2.174e-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: 3.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 9.30e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/751600/likelihoodResults_255139201_255398401_4FGL_J1124.9+4934_daily_bin61.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) = 3417.76633639
delta logL = -1.94579388335e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3417.76633639
delta logL = -1.94423682842e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .96367E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5192       1.0000          .0000       5.0000    
     3 'Normalizat'    .61942       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0965       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3417.345     FROM MIGRAD    STATUS=CONVERGED    120 CALLS      293 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.3845        427.38        .90712E-02    .80772E-04
   2  alpha         2.7638        3.7162        .23169        .40851E-04
   3  Normalizat    .61601        .63312E-01    .41204E-01   -.89259E-05
   4  Prefactor     1.0841        .75839E-01    .37721E-01    .92986E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.38454
  alpha      = 2.76377
  Normalizat = 0.616013
  Prefactor  = 1.08405
 **********
 **   18 **HESSE 
 **********

 FCN=   3417.345     FROM HESSE     STATUS=OK            33 CALLS      326 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.3845        27.560        .21764E-03   -1.5164    
   2  alpha         2.7638        1.4788        .11453E-01    .10570    
   3  Normalizat    .61601        .20146        .23201E-03   -1.0731    
   4  Prefactor     1.0841        .26605        .23535E-03   -.89978    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12558e-08
Minuit parameter uncertainties:
  1  27.6075
  2  1.58375
  3  0.201705
  4  0.266377
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/751600': 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) = 3417.34497578
delta logL = 0.42135865958

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  7.385e+00  2.761e+01  1.000e-04  1.000e+04 ( 1.000e-14)
353        alpha:  2.764e+00  1.584e+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.084e+00  2.664e-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:  6.160e-01  2.017e-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/751600/cmap_HighResolution_255139201_255398401_4FGL_J1124.9+4934_daily_bin61.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.30e-05', job_status='DONE', photon_flux_upper_limit='3.23e-08', time_completed='2021-09-03 19:04:31.531365', job_id='751600', GAL2='1.08', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1630721071.53', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='4.21e-01', ts2='0.86', photon_index_error='0.00', photon_index='1.52' WHERE bin_id='61' AND source_name='4FGL J1124.9+4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 19:04:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 751600: <4FGL_J1124.9+4934_daily_bin61> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1124.9+4934_daily_bin61 171.243 49.5674 255139201 255398401 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 :                                   548.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             230.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   689 sec.
    Turnaround time :                            805 sec.

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

