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


Performing analysis on: 4FGL_J1124.9+4934_daily_bin91
RA = 171.243, Dec = 49.5674
tmin = 262915201, tmax = 263174401
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='752952', job_status='RUN', time_executed='2021-09-03 18:59:19.730447', time_epoch_executed='1630720759.73' WHERE source_name='4FGL J1124.9+4934' and cadence='daily' and bin_id='91'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/752952

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/752952/ft1_4FGL_J1124.9+4934_daily_bin91.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/752952/ft2_4FGL_J1124.9+4934_daily_bin91.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/752952/ft1_4FGL_J1124.9+4934_daily_bin91.fits outfile=/scratch/kocevski/752952/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin91.fits ra=171.243 dec=49.5674 rad=12.0 tmin=262915201.0 tmax=263174401.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.31
user 1.14
sys 0.16

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/752952/ft1_filtered_4FGL_J1124.9+4934_daily_bin91.fits evtable="EVENTS" scfile=/scratch/kocevski/752952/ft2_4FGL_J1124.9+4934_daily_bin91.fits sctable="SC_DATA" expcube=/scratch/kocevski/752952/ltcube_262915201_263174401_4FGL_J1124.9+4934_daily_bin91.fits outfile=/scratch/kocevski/752952/expmap_262915201_263174401_4FGL_J1124.9+4934_daily_bin91.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/752952/ltcube_262915201_263174401_4FGL_J1124.9+4934_daily_bin91.fits
.....................!
real 192.77
user 187.14
sys 5.05

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/752952/ft1_filtered_4FGL_J1124.9+4934_daily_bin91.fits scfile=/scratch/kocevski/752952/ft2_4FGL_J1124.9+4934_daily_bin91.fits outfile=/scratch/kocevski/752952/cmap_262915201_263174401_4FGL_J1124.9+4934_daily_bin91.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/752952/ft1_filtered_4FGL_J1124.9+4934_daily_bin91.fits scfile=/scratch/kocevski/752952/ft2_4FGL_J1124.9+4934_daily_bin91.fits outfile=/scratch/kocevski/752952/cmap_HighResolution_262915201_263174401_4FGL_J1124.9+4934_daily_bin91.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.1686       1.0000         .10000E-03   10000.    
     2 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    120.55       1.0000         .10000E-03   10000.    
     5 'Prefactor '    64.579       1.0000         .10000E-03   10000.    
     6 'norm      '    .85060E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .16156E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .74103       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.676       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .20085E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.237       1.0000         .10000E-03   10000.    
    14 'norm      '    .80031       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .58471E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    1.0561       1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    69.501       1.0000         .10000E-03   10000.    
    20 'norm      '    2.6436       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    8.2298       1.0000         .10000E-03   10000.    
    23 'norm      '    17.568       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .93308       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .86294       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=   3906.375     FROM MIGRAD    STATUS=CONVERGED   1133 CALLS     4077 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.1691        4.2415        .84808E-04   -.40886E-04
   2  norm          .10000E-03    1.3559        .11344E-02** at limit **
   3  Prefactor     .10000E-03    33.290        .18142E-02** at limit **
   4  Prefactor     120.55        120.59        .36654E-04   -.42585E-04
   5  Prefactor     64.606        81.827        .49938E-04   -.10495E-04
   6  norm          .10001E-03    19.342        .15361E-02** at limit **
   7  Prefactor     .10000E-03    123.31        .18142E-02** at limit **
   8  norm          .74109        .36285        .25453E-04   -.99829E-04
   9  Prefactor     16.674        17.177        .98078E-04   -.97055E-04
  10  Prefactor     .10000E-03    99.349        .18142E-02** at limit **
  11  norm          .10000E-03    42.961        .18142E-02** at limit **
  12  Prefactor     .10000E-03    21.525        .36285E-03** at limit **
  13  Prefactor     22.136        37.397        .84941E-04   -.12177E-03
  14  norm          .79766        1.9874        .14744E-02    .81537E-03
  15  Prefactor     .10006E-03    104.10        .12412    ** at limit **
  16  norm          1.0576        1.7636        .81196E-04    .11004E-02
  17  norm          .10000E-03    4.6331        .13135E-02** at limit **
  18  Prefactor     .10000E-03    2.5706        .97395E-03** at limit **
  19  Prefactor     69.503        62.625        .48149E-04    .49442E-04
  20  norm          2.6413        7.9713        .25075E-03   -.89679E-04
  21  Prefactor     .10000E-03    47.361        .18142E-02** at limit **
  22  norm          8.2288        4.1514        .85507E-04   -.16613E-03
  23  norm          17.570        11.852        .95555E-04   -.50088E-04
  24  Prefactor     .10000E-03    27.629        .18142E-02** at limit **
  25  Normalizat    .93287        .23284        .22221E-03   -.70602E-04
  26  Prefactor     .86309        .28302        .28972E-03   -.18195E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.16906
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 120.546
  Prefactor  = 64.6058
  norm       = 0.000100008
  Prefactor  = 0.0001
  norm       = 0.741087
  Prefactor  = 16.6736
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.136
  norm       = 0.797664
  Prefactor  = 0.000100055
  norm       = 1.0576
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 69.5029
  norm       = 2.64127
  Prefactor  = 0.0001
  norm       = 8.22876
  norm       = 17.5697
  Prefactor  = 0.0001
  Normalizat = 0.932872
  Prefactor  = 0.863088
 **********
 **   18 **HESSE 
 **********

 FCN=   3906.375     FROM HESSE     STATUS=OK           442 CALLS     4519 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.1691        4.2415        .33923E-05   -1.5102    
   2  norm          .10000E-03    1.3573        .22688E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    33.290        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     120.55        120.54        .73308E-05   -1.3508    
   5  Prefactor     64.606        81.827        .99877E-05   -1.4099    
   6  norm          .10001E-03    19.663        .30721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    123.34        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .74109        .36284        .10181E-05   -1.5536    
   9  Prefactor     16.674        17.174        .19616E-04   -1.4891    
  10  Prefactor     .10000E-03    99.353        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    42.962        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.526        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.136        37.391        .16988E-04   -1.4767    
  14  norm          .79766        1.9850        .58977E-04   -1.5529    
  15  Prefactor     .10006E-03    105.69        .12306       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0576        1.7643        .32479E-05   -1.5502    
  17  norm          .10000E-03    4.6332        .26270E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.5708        .19479E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     69.503        62.621        .96299E-05   -1.4039    
  20  norm          2.6413        7.9695        .10030E-04   -1.5383    
  21  Prefactor     .10000E-03    47.374        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          8.2288        4.1513        .34203E-05   -1.5134    
  23  norm          17.570        11.852        .38222E-05   -1.4869    
  24  Prefactor     .10000E-03    27.632        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .93287        .23308        .88886E-05   -.95314    
  26  Prefactor     .86309        .28333        .11589E-04   -.97443    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39992e-09
Minuit parameter uncertainties:
  1  4.24159
  2  1.97462e-05
  3  6.90395e-05
  4  120.791
  5  81.9703
  6  0.000781502
  7  0.000300228
  8  0.362843
  9  17.1789
  10  0.00048269
  11  2.7179e-05
  12  0.00012296
  13  37.4304
  14  1.98519
  15  0.00485228
  16  1.76437
  17  1.70773e-06
  18  1.57094e-05
  19  62.6804
  20  7.97265
  21  0.000247842
  22  4.15141
  23  11.8535
  24  2.83191e-06
  25  0.233335
  26  0.283809
Done.

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

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  1.000e-04  2.718e-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:  8.631e-01  2.838e-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.329e-01  2.333e-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.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 9.47e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/752952/likelihoodResults_262915201_263174401_4FGL_J1124.9+4934_daily_bin91.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) = 3906.3748762
delta logL = -0.000110686350581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3906.37476553
delta logL = -1.6901140043e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5087       1.0000          .0000       5.0000    
     3 'Normalizat'    .93287       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86311       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=   3906.375     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      195 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    45.282        .90712E-02** at limit **
   2  alpha         1.5336        3.2536        .46250       -.25620E-05
   3  Normalizat    .93287        .18641        .45320E-01    .10350E-04
   4  Prefactor     .86309        .23572        .65499E-01    .14660E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 1.53361
  Normalizat = 0.93287
  Prefactor  = 0.863092
 **********
 **   18 **HESSE 
 **********

 FCN=   3906.375     FROM HESSE     STATUS=OK            33 CALLS      228 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    42.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5336        3.2483        .50000       -.39689    
   3  Normalizat    .93287        .22073        .22221E-03   -.95315    
   4  Prefactor     .86309        .27882        .28973E-03   -.97443    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.38641e-11
Minuit parameter uncertainties:
  1  0.000467617
  2  2.30911
  3  0.22094
  4  0.279279
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/752952': 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) = 3906.3747655
delta logL = 1.60684976436e-08

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  1.000e-04  4.676e-04  1.000e-04  1.000e+04 ( 1.000e-14)
353        alpha:  1.534e+00  2.309e+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:  8.631e-01  2.793e-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.329e-01  2.209e-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/752952/cmap_HighResolution_262915201_263174401_4FGL_J1124.9+4934_daily_bin91.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.47e-05', job_status='DONE', photon_flux_upper_limit='3.29e-08', time_completed='2021-09-03 19:11:11.606227', job_id='752952', GAL2='0.86', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1630721471.61', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.61e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.52' WHERE bin_id='91' AND source_name='4FGL J1124.9+4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 19:11:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 752952: <4FGL_J1124.9+4934_daily_bin91> in cluster <slac> Done

Job <4FGL_J1124.9+4934_daily_bin91> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep  3 18:56:18 2021
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 18:56:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 18:56:24 2021
Terminated at Fri Sep  3 19:11:12 2021
Results reported at Fri Sep  3 19:11:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1124.9+4934_daily_bin91 171.243 49.5674 262915201 263174401 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 :                                   712.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             268.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   889 sec.
    Turnaround time :                            894 sec.

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

