aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 28 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7681
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1124.9+4934_daily_bin1780
RA = 171.243, Dec = 49.5674
tmin = 700704001, tmax = 700963201
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='60024', job_status='RUN', time_executed='2023-03-20 00:40:57.381869', time_epoch_executed='1679298057.38' WHERE source_name='4FGL J1124.9+4934' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/60024

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/60024/ft1_4FGL_J1124.9+4934_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/60024/ft2_4FGL_J1124.9+4934_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/60024/ft1_4FGL_J1124.9+4934_daily_bin1780.fits outfile=/scratch/kocevski/60024/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin1780.fits ra=171.243 dec=49.5674 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.09
user 3.86
sys 0.21

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

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

Number of photons that the gtmktime cut: 821

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/60024/ft1_filtered_4FGL_J1124.9+4934_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/60024/ft2_4FGL_J1124.9+4934_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/60024/ltcube_700704001_700963201_4FGL_J1124.9+4934_daily_bin1780.fits outfile=/scratch/kocevski/60024/expmap_700704001_700963201_4FGL_J1124.9+4934_daily_bin1780.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/60024/ltcube_700704001_700963201_4FGL_J1124.9+4934_daily_bin1780.fits
.....................!
real 191.10
user 185.49
sys 5.28

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/60024/ft1_filtered_4FGL_J1124.9+4934_daily_bin1780.fits scfile=/scratch/kocevski/60024/ft2_4FGL_J1124.9+4934_daily_bin1780.fits outfile=/scratch/kocevski/60024/cmap_700704001_700963201_4FGL_J1124.9+4934_daily_bin1780.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.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/60024/ft1_filtered_4FGL_J1124.9+4934_daily_bin1780.fits scfile=/scratch/kocevski/60024/ft2_4FGL_J1124.9+4934_daily_bin1780.fits outfile=/scratch/kocevski/60024/cmap_HighResolution_700704001_700963201_4FGL_J1124.9+4934_daily_bin1780.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.54
user 0.36
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/60024/ft1_filtered_4FGL_J1124.9+4934_daily_bin1780.fits', '/scratch/kocevski/60024/ft2_4FGL_J1124.9+4934_daily_bin1780.fits', expMap='/scratch/kocevski/60024/expmap_700704001_700963201_4FGL_J1124.9+4934_daily_bin1780.fits', expCube='/scratch/kocevski/60024/ltcube_700704001_700963201_4FGL_J1124.9+4934_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/60024/Model_4FGL_J1124.9+4934_daily_bin1780.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  0.000e+00  1.000e+06 ( 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 -5.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/60024/ft1_filtered_4FGL_J1124.9+4934_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/60024/ft2_4FGL_J1124.9+4934_daily_bin1780.fits
Exposure map: /scratch/kocevski/60024/expmap_700704001_700963201_4FGL_J1124.9+4934_daily_bin1780.fits
Exposure cube: /scratch/kocevski/60024/ltcube_700704001_700963201_4FGL_J1124.9+4934_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/60024/Model_4FGL_J1124.9+4934_daily_bin1780.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) = 9025.48701703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .26364E-04   1.0000          .0000       .10000E+07
     2 'norm      '    1.4754       1.0000          .0000       .10000E+07
     3 'Prefactor '    .62764E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    34.333       1.0000          .0000       .10000E+07
     5 'norm      '    2.7752       1.0000          .0000       .10000E+07
     6 'Prefactor '    .19312E-01   1.0000          .0000       .10000E+07
     7 'norm      '    1.4225       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11364E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .88364E-02   1.0000          .0000       .10000E+07
    10 'norm      '    37.680       1.0000          .0000       .10000E+07
    11 'Prefactor '    .18987E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    29.049       1.0000          .0000       .10000E+07
    13 'norm      '    .10380E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    28.013       1.0000          .0000       .10000E+07
    15 'norm      '    .51094       1.0000          .0000       .10000E+07
    16 'norm      '    3.6361       1.0000          .0000       .10000E+07
    17 'Prefactor '    .27423E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .22701E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .85782E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    12.998       1.0000          .0000       .10000E+07
    21 'norm      '    .19451E-06   1.0000          .0000       .10000E+07
    22 'norm      '    .28046E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    9.0888       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.1853       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .85246       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7070E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9025.482     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     2143 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .83267E-09    2.9940        .11707E-06** at limit **
   2  norm          1.4745        1.1811        .16400E-07    .17430E-01
   3  Prefactor     .40523E-08    43.732        .48007E-06** at limit **
   4  Prefactor     34.212        3.7078       -.32722E-06    .41615E-01
   5  norm          2.7749        1.6000       -.37675E-07    .30072E-02
   6  Prefactor     .61062E-09    35.455       -.26569E-06** at limit **
   7  norm          1.4224        .38577       -.20550E-07   -.31295E-01
   8  Prefactor     .22204E-09    128.22        .15500E-05** at limit **
   9  Prefactor     .28311E-08    19.977       -.21032E-05** at limit **
  10  norm          37.653        1.9319        .22988E-06   -.18744E-01
  11  Prefactor     .94369E-09    10.502       -.92347E-06** at limit **
  12  Prefactor     29.070        6.9099       -.66440E-07   -.34796E-02
  13  norm          .16653E-08    6.4410        .25433E-06** at limit **
  14  Prefactor     27.890        3.3017        .49940E-06   -.33536E-01
  15  norm          .51149        .80170       -.70987E-07    .74416E-03
  16  norm          3.6902        7.1397        .15828E-06    .46974E-02
  17  Prefactor      .0000        1.3500       -.35926E-07** at limit **
  18  Prefactor      .0000        22.040        .12585E-05** at limit **
  19  norm          .38858E-09    6.2049        .28103E-06** at limit **
  20  Prefactor     12.946        4.6219       -.10429E-05   -.12000E-01
  21  norm           .0000        .64618       -.41713E-07** at limit **
  22  norm          .14433E-08    7.7902        .69777E-06** at limit **
  23  Prefactor     9.0004        15.522       -.45550E-05   -.26585E-03
  24  Normalizat    1.1856        .15297        .67585E-05   -.53027E-04
  25  Prefactor     .85235        .19106       -.66562E-06    .10543E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.32667e-10
  norm       = 1.47449
  Prefactor  = 4.05231e-09
  Prefactor  = 34.2123
  norm       = 2.77486
  Prefactor  = 6.10623e-10
  norm       = 1.42244
  Prefactor  = 2.22045e-10
  Prefactor  = 2.83107e-09
  norm       = 37.6534
  Prefactor  = 9.4369e-10
  Prefactor  = 29.07
  norm       = 1.66533e-09
  Prefactor  = 27.8901
  norm       = 0.511491
  norm       = 3.69016
  Prefactor  = 0
  Prefactor  = 0
  norm       = 3.88578e-10
  Prefactor  = 12.9458
  norm       = 0
  norm       = 1.44329e-09
  Prefactor  = 9.00041
  Normalizat = 1.1856
  Prefactor  = 0.852352
 **********
 **   18 **HESSE 
 **********

 FCN=   9025.482     FROM HESSE     STATUS=OK           483 CALLS     2626 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .83267E-09    .73309        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.4745        1.2010        .88384E-03   -1.5684    
   3  Prefactor     .40523E-08    43.915        .15064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     34.212        50.774        .17069E-03   -1.5591    
   5  norm          2.7749        1.6085        .61062E-03   -1.5675    
   6  Prefactor     .61062E-09    35.160        .17082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.4224        .38502        .67687E-03   -1.5684    
   8  Prefactor     .22204E-09    126.49        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .28311E-08    20.755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          37.653        30.195        .16293E-03   -1.5585    
  11  Prefactor     .94369E-09    10.446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     29.070        21.828        .18557E-03   -1.5600    
  13  norm          .16653E-08    .96127        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     27.890        36.624        .18897E-03   -1.5602    
  15  norm          .51149        .91587        .77617E-03   -1.5694    
  16  norm          3.6902        7.1861        .52955E-03   -1.5670    
  17  Prefactor      .0000        1.3430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        23.577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .38858E-09    6.1612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.946        15.706        .27758E-03   -1.5636    
  21  norm           .0000        .64105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .14433E-08    7.8007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.0004        16.481        .33221E-03   -1.5648    
  24  Normalizat    1.1856        .13489        .35262E-01   -.87049    
  25  Prefactor     .85235        .16613        .69865E-01   -.97826    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05749e-07
Minuit parameter uncertainties:
  1  4.86879e-05
  2  1.20096
  3  0.000844934
  4  50.7744
  5  1.60855
  6  0.000286562
  7  0.38502
  8  0.00035269
  9  0.000483499
  10  30.1955
  11  0.000196534
  12  21.8276
  13  8.03977e-05
  14  36.624
  15  0.915866
  16  7.18613
  17  1.94427e-06
  18  1.00982e-05
  19  9.59342e-05
  20  15.7057
  21  1.33965e-06
  22  0.000210843
  23  16.4814
  24  0.134925
  25  0.166224
Done.

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

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  3.765e+01  3.020e+01  0.000e+00  1.000e+06 ( 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 -5.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.524e-01  1.662e-01  0.000e+00  1.000e+01 ( 1.000e+00)
705        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
706        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
703   Normalization:  1.186e+00  1.349e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.39
Ra Dec: 171.243 49.567
Photon Index (Fixed Index): 1.52 +/- 0.00
Photon Flux (Fixed Index): 6.48e-09 +/- 5.19e-09
Energy Flux (Fixed Index): 1.87e-05 +/- 1.50e-05

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) = 9025.453303
delta logL = 0.028371196895

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9025.44904655
delta logL = 0.0326276472279

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    34.728       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7074       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1849       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85213       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=   9025.449     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      235 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          34.724        32.266        .67885E-05    .50810E-02
   2  alpha         1.7077        .76533        .18260E-01    .10279E-03
   3  Normalizat    1.1849        .15103        .21246E-03   -.46373E-03
   4  Prefactor     .85214        .19028        .30914E-03   -.34355E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 34.724
  alpha      = 1.70772
  Normalizat = 1.18486
  Prefactor  = 0.852139
 **********
 **   18 **HESSE 
 **********

 FCN=   9025.449     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          34.724        31.519        .13577E-05   -1.5590    
   2  alpha         1.7077        .74842        .73039E-03   -.32247    
   3  Normalizat    1.1849        .15115        .42492E-04   -.87072    
   4  Prefactor     .85214        .19045        .12366E-04   -.97834    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10404e-09
Minuit parameter uncertainties:
  1  31.5196
  2  0.761438
  3  0.151203
  4  0.190594
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/60024': 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) = 9025.44904644
delta logL = 0.0326277503355

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  3.472e+01  3.152e+01  0.000e+00  1.000e+06 ( 1.000e-14)
353        alpha:  1.708e+00  7.614e-01  0.000e+00  5.000e+00 ( 1.000e+00)
354         beta:  1.498e-01  0.000e+00 -5.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.521e-01  1.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
705        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
706        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
703   Normalization:  1.185e+00  1.512e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.46
Ra Dec: 171.243 49.567
Photon Index (Free Index): 1.71 +/- 0.76
Photon Flux (Free Index): 7.67e-09 +/- 8.14e-09
Energy Flux (Free Index): 1.44e-05 +/- 1.83e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/60024/cmap_HighResolution_700704001_700963201_4FGL_J1124.9+4934_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.48e-09', energy_flux2='1.44e-05', photon_flux_error='5.19e-09', dlogl='3.26e-02', energy_flux='1.87e-05', photon_flux2='7.67e-09', job_status='DONE', time_completed='2023-03-20 00:54:03.119773', photon_index_error2='0.76', photon_index2='1.71', ts='4.39', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='1.83e-05', EG='1.19', time_epoch_completed='1679298843.12', return_code='0', job_id='60024', GAL2='0.85', EG2='1.18', return_code2='0', energy_flux_error='1.50e-05', photon_flux_error2='8.14e-09', ts2='4.46', photon_index='1.52' WHERE bin_id='1780' AND source_name='4FGL J1124.9+4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:54:03 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 60024: <4FGL_J1124.9+4934_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1124.9+4934_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:40:19 2023
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:40:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:40:20 2023
Terminated at Mon Mar 20 00:54:03 2023
Results reported at Mon Mar 20 00:54:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1124.9+4934_daily_bin1780 171.243 49.5674 700704001 700963201 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 :                                   788.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             358.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            824 sec.

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

