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


Performing analysis on: 4FGL_J1124.9+4934_daily_bin1750
RA = 171.243, Dec = 49.5674
tmin = 692928001, tmax = 693187201
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='6807', job_status='RUN', time_executed='2022-12-20 00:36:51.586175', time_epoch_executed='1671525411.59' WHERE source_name='4FGL J1124.9+4934' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/6807

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/6807/ft1_4FGL_J1124.9+4934_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/6807/ft2_4FGL_J1124.9+4934_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/6807/ft1_4FGL_J1124.9+4934_daily_bin1750.fits outfile=/scratch/kocevski/6807/ft1_filteredMKT_4FGL_J1124.9+4934_daily_bin1750.fits ra=171.243 dec=49.5674 rad=12.0 tmin=692928001.0 tmax=693187201.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.59
user 3.23
sys 0.20

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

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

Number of photons that the gtmktime cut: 587

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/6807/ft1_filtered_4FGL_J1124.9+4934_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/6807/ft2_4FGL_J1124.9+4934_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/6807/ltcube_692928001_693187201_4FGL_J1124.9+4934_daily_bin1750.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/6807/ft2_4FGL_J1124.9+4934_daily_bin1750.fits
.....................!
real 12.69
user 11.94
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/6807/ft1_filtered_4FGL_J1124.9+4934_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/6807/ft2_4FGL_J1124.9+4934_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/6807/ltcube_692928001_693187201_4FGL_J1124.9+4934_daily_bin1750.fits outfile=/scratch/kocevski/6807/expmap_692928001_693187201_4FGL_J1124.9+4934_daily_bin1750.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/6807/ltcube_692928001_693187201_4FGL_J1124.9+4934_daily_bin1750.fits
.....................!
real 191.79
user 185.53
sys 5.81

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/6807/ft1_filtered_4FGL_J1124.9+4934_daily_bin1750.fits scfile=/scratch/kocevski/6807/ft2_4FGL_J1124.9+4934_daily_bin1750.fits outfile=/scratch/kocevski/6807/cmap_692928001_693187201_4FGL_J1124.9+4934_daily_bin1750.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/6807/ft1_filtered_4FGL_J1124.9+4934_daily_bin1750.fits scfile=/scratch/kocevski/6807/ft2_4FGL_J1124.9+4934_daily_bin1750.fits outfile=/scratch/kocevski/6807/cmap_HighResolution_692928001_693187201_4FGL_J1124.9+4934_daily_bin1750.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3807       1.0000          .0000       .10000E+07
     2 'norm      '    1.9946       1.0000          .0000       .10000E+07
     3 'Prefactor '    .39590E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .23023E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .94848       1.0000          .0000       .10000E+07
     6 'Prefactor '    .62757       1.0000          .0000       .10000E+07
     7 'norm      '    1.3325       1.0000          .0000       .10000E+07
     8 'Prefactor '    21.297       1.0000          .0000       .10000E+07
     9 'Prefactor '    35.451       1.0000          .0000       .10000E+07
    10 'norm      '    .26502E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.2427       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.9050       1.0000          .0000       .10000E+07
    13 'norm      '    .58997E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.1304       1.0000          .0000       .10000E+07
    15 'norm      '    2.8562       1.0000          .0000       .10000E+07
    16 'norm      '    10.493       1.0000          .0000       .10000E+07
    17 'Prefactor '    2.3821       1.0000          .0000       .10000E+07
    18 'Prefactor '    .58287E-07   1.0000          .0000       .10000E+07
    19 'norm      '    .10533E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    37.735       1.0000          .0000       .10000E+07
    21 'norm      '    .43877       1.0000          .0000       .10000E+07
    22 'norm      '    4.7421       1.0000          .0000       .10000E+07
    23 'Prefactor '    18.816       1.0000          .0000       .10000E+07
    24 'Normalizat'    .96717       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .90858       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=   6343.540     FROM MIGRAD    STATUS=CONVERGED    248 CALLS     2263 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3901        2.6803        .15425E-06    .58584E-03
   2  norm          1.9971        1.1902       -.19472E-07   -.25561E-03
   3  Prefactor      .0000        49.543        .97056E-06** at limit **
   4  Prefactor     .94924E-08    23.528        .12547E-05** at limit **
   5  norm          .95096        1.0990       -.17967E-06   -.12781E-02
   6  Prefactor     .49138        47.869        .13382E-05   -.35792E-01
   7  norm          1.3343        .43756       -.69354E-09    .63729E-03
   8  Prefactor     21.078        24.081        .24748E-05    .41053E-01
   9  Prefactor     51.756        98.098       -.18303E-06   -.40998E-02
  10  norm          .55511E-10    52.296        .14706E-05** at limit **
  11  Prefactor     7.3359        8.3722        .29822E-07   -.21559E-02
  12  Prefactor     5.6115        17.806       -.21606E-05   -.27436E-02
  13  norm          .48568E-01    14.606       -.15915E-05** at limit **
  14  Prefactor     .68382        800.14        .10258E-04   -.67754E-02
  15  norm          2.8727        1.3802       -.18709E-06    .13906E-01
  16  norm          10.492        9.6686        .35638E-06    .63629E-03
  17  Prefactor     2.3717        3.6754       -.11468E-07    .82375E-03
  18  Prefactor      .0000        14.782       -.87569E-06** at limit **
  19  norm           .0000        1.7599        .21472E-06** at limit **
  20  Prefactor     38.125        22.160        .72238E-06   -.38173E-01
  21  norm          .45472        1.8829        .88770E-07   -.47610E-03
  22  norm          4.8170        9.7129        .93798E-06    .38086E-02
  23  Prefactor     18.709        27.761       -.12971E-05   -.29742E-01
  24  Normalizat    .96344        .18826       -.11142E-04    .89861E-04
  25  Prefactor     .90814        .23006        .33189E-05    .56919E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.3901
  norm       = 1.99709
  Prefactor  = 0
  Prefactor  = 9.49241e-09
  norm       = 0.950958
  Prefactor  = 0.491381
  norm       = 1.33434
  Prefactor  = 21.0776
  Prefactor  = 51.7557
  norm       = 5.55112e-11
  Prefactor  = 7.3359
  Prefactor  = 5.61145
  norm       = 0.0485676
  Prefactor  = 0.683825
  norm       = 2.87272
  norm       = 10.4921
  Prefactor  = 2.37168
  Prefactor  = 0
  norm       = 0
  Prefactor  = 38.125
  norm       = 0.454725
  norm       = 4.81697
  Prefactor  = 18.7091
  Normalizat = 0.963444
  Prefactor  = 0.908144
 **********
 **   18 **HESSE 
 **********

 FCN=   6343.540     FROM HESSE     STATUS=OK           507 CALLS     2770 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3901        2.6778        .48097E-03   -1.5666    
   2  norm          1.9971        1.1896        .73320E-03   -1.5680    
   3  Prefactor      .0000        49.470        .15982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .94924E-08    23.463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .95096        1.1010        .42464E-03   -1.5688    
   6  Prefactor     .49138        41.201        .13298E-01   -1.5694    
   7  norm          1.3343        .43657        .66137E-03   -1.5685    
   8  Prefactor     21.078        24.229        .21675E-03   -1.5616    
   9  Prefactor     51.756        97.160        .16797E-03   -1.5564    
  10  norm          .55511E-10    51.600        .16641E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.3359        8.3616        .37247E-03   -1.5654    
  12  Prefactor     5.6115        17.928        .45391E-03   -1.5661    
  13  norm          .48568E-01    1.2000        .48081E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .68382        59.241        .13687E-01   -1.5691    
  15  norm          2.8727        1.4126        .60130E-03   -1.5674    
  16  norm          10.492        9.6838        .30907E-03   -1.5643    
  17  Prefactor     2.3717        3.7224        .66342E-03   -1.5677    
  18  Prefactor      .0000        14.807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        1.7569        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     38.125        22.447        .16281E-03   -1.5584    
  21  norm          .45472        1.8523        .85125E-03   -1.5694    
  22  norm          4.8170        9.9312        .46182E-03   -1.5664    
  23  Prefactor     18.709        28.491        .23062E-03   -1.5621    
  24  Normalizat    .96344        .16177        .45754E-01   -.94265    
  25  Prefactor     .90814        .19464        .66465E-01   -.95857    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.36608e-07
Minuit parameter uncertainties:
  1  2.67785
  2  1.18964
  3  1.86704e-05
  4  0.000944384
  5  1.10099
  6  8.99908
  7  0.436569
  8  24.2293
  9  97.163
  10  0.000113856
  11  8.36157
  12  17.9284
  13  0.482827
  14  12.7297
  15  1.41264
  16  9.68385
  17  3.72243
  18  1.37156e-05
  19  3.79038e-06
  20  22.4472
  21  1.83552
  22  9.93127
  23  28.4912
  24  0.161855
  25  0.194785
Done.

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

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  5.551e-11  1.139e-04  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:  9.081e-01  1.948e-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.634e-01  1.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 171.243 49.567
Photon Flux Upper Limit: 2.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.02e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/6807/likelihoodResults_692928001_693187201_4FGL_J1124.9+4934_daily_bin1750.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) = 6343.54892414
delta logL = -0.00928128514624

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6342.36883594
delta logL = 1.17080691795

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .76395       1.0000          .0000       .10000E+07
     2 'alpha     '    4.1071       1.0000          .0000       5.0000    
     3 'Normalizat'    .88417       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95444       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=   6342.369     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      236 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .77232        8.8178        .55662E-03    .99899E-02
   2  alpha         4.1028        3.8108        .22275        .91361E-04
   3  Normalizat    .88421        .43392E-01    .44699E-01    .11822E-04
   4  Prefactor     .95443        .54366E-01    .45695E-01    .13310E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.772319
  alpha      = 4.10284
  Normalizat = 0.884214
  Prefactor  = 0.95443
 **********
 **   18 **HESSE 
 **********

 FCN=   6342.369     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      269 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .77232        17.847        .47423E-05   -1.5690    
   2  alpha         4.1028        4.4197        .88987E-02    .69598    
   3  Normalizat    .88421        .17458        .23165E-03   -.97017    
   4  Prefactor     .95443        .21345        .28722E-03   -.94264    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.41528e-07
Minuit parameter uncertainties:
  1  7.42537
  2  3.46014
  3  0.174691
  4  0.213638
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/6807': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6342.36883222
delta logL = 1.17081063054

Extracting fit parameters...

4FGL J1124.9+4934
   Spectrum: LogParabola
352         norm:  7.723e-01  7.425e+00  0.000e+00  1.000e+06 ( 1.000e-14)
353        alpha:  4.103e+00  3.460e+00  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:  9.544e-01  2.136e-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:  8.842e-01  1.747e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.45
Ra Dec: 171.243 49.567
Photon Index (Free Index): 4.10 +/- 3.46
Photon Flux (Free Index): 6.66e-08 +/- 6.31e-08
Energy Flux (Free Index): 1.14e-05 +/- 8.59e-06

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/6807/cmap_HighResolution_692928001_693187201_4FGL_J1124.9+4934_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.02e-05', comment='SUCCESS', energy_flux2='1.14e-05', dlogl='1.17e+00', photon_flux2='6.66e-08', job_status='DONE', time_completed='2022-12-20 00:49:16.750582', photon_index_error2='3.46', photon_index2='4.10', ts='-0.00', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='2.09e-08', energy_flux_error2='8.59e-06', EG='0.96', time_epoch_completed='1671526156.75', return_code='0', job_id='6807', GAL2='0.95', EG2='0.88', return_code2='102', photon_flux_error2='6.31e-08', ts2='2.45', photon_index='1.52' WHERE bin_id='1750' AND source_name='4FGL J1124.9+4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:49:16 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 6807: <4FGL_J1124.9+4934_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1124.9+4934_daily_bin1750> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec 20 00:35:17 2022
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:35:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:35:18 2022
Terminated at Tue Dec 20 00:49:17 2022
Results reported at Tue Dec 20 00:49:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1124.9+4934_daily_bin1750 171.243 49.5674 692928001 693187201 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 :                                   739.31 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             318.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            840 sec.

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

