/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 228 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 = 7359
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1124.9+4934_daily_bin1403
RA = 171.243, Dec = 49.5674
tmin = 602985601, tmax = 603244801
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='768338', job_status='RUN', time_executed='2021-09-03 19:50:39.419416', time_epoch_executed='1630723839.42' WHERE source_name='4FGL J1124.9+4934' and cadence='daily' and bin_id='1403'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/768338

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/768338/ft1_4FGL_J1124.9+4934_daily_bin1403.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/768338/ft2_4FGL_J1124.9+4934_daily_bin1403.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/768338/ft1_4FGL_J1124.9+4934_daily_bin1403.fits outfile=/scratch/kocevski/768338/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin1403.fits ra=171.243 dec=49.5674 rad=12.0 tmin=602985601.0 tmax=603244801.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.14
user 2.85
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/768338/ft1_filtered_4FGL_J1124.9+4934_daily_bin1403.fits evtable="EVENTS" scfile=/scratch/kocevski/768338/ft2_4FGL_J1124.9+4934_daily_bin1403.fits sctable="SC_DATA" expcube=/scratch/kocevski/768338/ltcube_602985601_603244801_4FGL_J1124.9+4934_daily_bin1403.fits outfile=/scratch/kocevski/768338/expmap_602985601_603244801_4FGL_J1124.9+4934_daily_bin1403.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/768338/ltcube_602985601_603244801_4FGL_J1124.9+4934_daily_bin1403.fits
.....................!
real 192.00
user 187.18
sys 4.27

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/768338/ft1_filtered_4FGL_J1124.9+4934_daily_bin1403.fits scfile=/scratch/kocevski/768338/ft2_4FGL_J1124.9+4934_daily_bin1403.fits outfile=/scratch/kocevski/768338/cmap_602985601_603244801_4FGL_J1124.9+4934_daily_bin1403.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.58
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/768338/ft1_filtered_4FGL_J1124.9+4934_daily_bin1403.fits scfile=/scratch/kocevski/768338/ft2_4FGL_J1124.9+4934_daily_bin1403.fits outfile=/scratch/kocevski/768338/cmap_HighResolution_602985601_603244801_4FGL_J1124.9+4934_daily_bin1403.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.41
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1617.5       1.0000         .10000E-03   10000.    
     2 'norm      '    12.816       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .43046E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    508.06       1.0000         .10000E-03   10000.    
     5 'Prefactor '    678.94       1.0000         .10000E-03   10000.    
     6 'norm      '    .10099E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.1761       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10344E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10094E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.3916       1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.828       1.0000         .10000E-03   10000.    
    14 'norm      '    10.912       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.4785       1.0000         .10000E-03   10000.    
    17 'norm      '    .10139E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.8299       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10315E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .19493E-02   1.0000         .10000E-03   10000.    
    22 'norm      '    6.9284       1.0000         .10000E-03   10000.    
    23 'norm      '    7.1863       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .60199       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .93167       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=   1937.891     FROM MIGRAD    STATUS=CONVERGED    607 CALLS     3041 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1617.5        958.49        .13948E-05    .14775E-04
   2  norm          12.815        11.710        .12302E-06    .34432E-04
   3  Prefactor     .10000E-03    368.56        .14007E-05** at limit **
   4  Prefactor     507.99        544.94        .48838E-05    .14066E-04
   5  Prefactor     678.26        687.33       -.10365E-05    .29602E-04
   6  norm          .10000E-03    2.9009        .42062E-06** at limit **
   7  Prefactor     .10000E-03    76.437        .37114E-06** at limit **
   8  norm          1.1755        1.5680        .37126E-06   -.68802E-04
   9  Prefactor     .10000E-03    23.539        .37750E-06** at limit **
  10  Prefactor     .10000E-03    122.88        .15587E-06** at limit **
  11  norm          .10000E-03    51.271        .22830E-06** at limit **
  12  Prefactor     1.3714        32.737       -.14496E-04    .42320E-04
  13  Prefactor     27.899        40.151        .43665E-05    .80306E-04
  14  norm          10.915        9.0605       -.24098E-06    .61871E-04
  15  Prefactor     .10000E-03    42.264        .62028E-06** at limit **
  16  norm          2.4780        2.0787       -.76077E-07   -.18899E-04
  17  norm          .10000E-03    12.584        .70446E-07** at limit **
  18  Prefactor     7.8217        6.0046       -.14341E-05   -.70968E-04
  19  Prefactor     .10000E-03    62.435        .10814E-06** at limit **
  20  norm          .10000E-03    1.4073       -.42455E-06** at limit **
  21  Prefactor     .10000E-03    348.07       -.26710E-04** at limit **
  22  norm          6.9271        3.5239        .16289E-07    .36975E-03
  23  norm          7.1806        9.5720       -.12763E-05    .61522E-04
  24  Prefactor     .10000E-03    31.434       -.39580E-05** at limit **
  25  Normalizat    .60242        .31237        .36916E-05    .10388E-03
  26  Prefactor     .93141        .33560        .32029E-06    .14973E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1617.52
  norm       = 12.8154
  Prefactor  = 0.000100001
  Prefactor  = 507.992
  Prefactor  = 678.263
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.17555
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.3714
  Prefactor  = 27.8989
  norm       = 10.9147
  Prefactor  = 0.0001
  norm       = 2.47801
  norm       = 0.0001
  Prefactor  = 7.82169
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 6.92711
  norm       = 7.18058
  Prefactor  = 0.0001
  Normalizat = 0.602417
  Prefactor  = 0.931412
 **********
 **   18 **HESSE 
 **********

 FCN=   1937.891     FROM HESSE     STATUS=OK           450 CALLS     3491 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1617.5        959.91        .54315E-04   -.74299    
   2  norm          12.815        11.709        .11189E-03   -1.4992    
   3  Prefactor     .10000E-03    368.50        .21230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     507.99        544.57        .91074E-04   -1.1161    
   5  Prefactor     678.26        685.64        .79503E-04   -1.0439    
   6  norm          .10000E-03    2.9094        .73190E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    76.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.1755        1.5396        .61874E-04   -1.5491    
   9  Prefactor     .10000E-03    23.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    122.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    51.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.3714        33.212        .36832E-03   -1.5474    
  13  Prefactor     27.899        40.444        .75944E-04   -1.4651    
  14  norm          10.915        9.0546        .11529E-03   -1.5047    
  15  Prefactor     .10000E-03    42.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.4780        2.0731        .55210E-04   -1.5393    
  17  norm          .10000E-03    12.606        .15253E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.8217        6.0388        .87013E-04   -1.5149    
  19  Prefactor     .10000E-03    62.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.4080        .50995E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    344.76        .59849E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          6.9271        3.5650        .52616E-04   -1.5182    
  23  norm          7.1806        9.5410        .14348E-03   -1.5172    
  24  Prefactor     .10000E-03    31.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .60242        .35660        .27227E-03   -1.0788    
  26  Prefactor     .93141        .38568        .26974E-03   -.95052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42293e-10
Minuit parameter uncertainties:
  1  971.131
  2  11.7115
  3  0.00102084
  4  550.311
  5  694.434
  6  7.27232e-07
  7  0.000197279
  8  1.5397
  9  8.75458e-05
  10  0.000448422
  11  0.000120126
  12  13.5056
  13  40.4841
  14  9.05573
  15  6.12642e-05
  16  2.07315
  17  2.01099e-05
  18  6.03925
  19  1.27095e-05
  20  2.24469e-06
  21  0.0012051
  22  3.56512
  23  9.54307
  24  0.00017722
  25  0.357977
  26  0.38682
Done.

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

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  1.000e-04  1.201e-04  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.314e-01  3.868e-01  0.000e+00  1.000e+01 ( 1.000e+00)
705        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
706        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
703   Normalization:  6.024e-01  3.580e-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: 5.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.46e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/768338/likelihoodResults_602985601_603244801_4FGL_J1124.9+4934_daily_bin1403.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) = 1937.89131658
delta logL = -9.25899705635e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1937.89122515
delta logL = -1.16569913189e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10366E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4766       1.0000          .0000       5.0000    
     3 'Normalizat'    .60242       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93140       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=   1937.891     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      294 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10006E-03    1401.6        .18142E-01** at limit **
   2  alpha         1.3770        3.8988        .16462        .84514E-07
   3  Normalizat    .60242        .36432E-01    .27228E-03    .53164E-04
   4  Prefactor     .93141        .44514E-01    .26974E-03    .52377E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100061
  alpha      = 1.37697
  Normalizat = 0.602419
  Prefactor  = 0.93141
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10006E-03    66.875        .31105E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3770        3.7159        .65846E-02   -.46588    
   3  Normalizat    .60242        .30839        .10891E-04   -1.0788    
   4  Prefactor     .93141        .37682        .10790E-04   -.95052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55283e-09
Minuit parameter uncertainties:
  1  0.0040496
  2  989.579
  3  0.309278
  4  0.377881
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/768338': 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) = 1937.89122397
delta logL = 1.78170012077e-08

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  1.001e-04  4.050e-03  1.000e-04  1.000e+04 ( 1.000e-14)
353        alpha:  1.377e+00  9.896e+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.314e-01  3.779e-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.024e-01  3.093e-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/768338/cmap_HighResolution_602985601_603244801_4FGL_J1124.9+4934_daily_bin1403.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.46e-04', job_status='DONE', photon_flux_upper_limit='5.06e-08', time_completed='2021-09-03 19:59:00.216033', job_id='768338', GAL2='0.93', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1630724340.22', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.78e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.52' WHERE bin_id='1403' AND source_name='4FGL J1124.9+4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 19:59:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 768338: <4FGL_J1124.9+4934_daily_bin1403> in cluster <slac> Done

Job <4FGL_J1124.9+4934_daily_bin1403> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep  3 19:46:11 2021
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 19:46:35 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:46:35 2021
Terminated at Fri Sep  3 19:59:01 2021
Results reported at Fri Sep  3 19:59:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1124.9+4934_daily_bin1403 171.243 49.5674 602985601 603244801 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 :                                   492.60 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             233.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            770 sec.

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

