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


Performing analysis on: 4FGL_J2123.6+0535_daily_bin1764
RA = 320.921, Dec = 5.592
tmin = 696556801, tmax = 696816001
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='464634', job_status='RUN', time_executed='2023-01-31 01:57:08.487694', time_epoch_executed='1675159028.49' WHERE source_name='4FGL J2123.6+0535' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/464634

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/464634/ft1_4FGL_J2123.6+0535_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/464634/ft2_4FGL_J2123.6+0535_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/464634/ft1_4FGL_J2123.6+0535_daily_bin1764.fits outfile=/scratch/kocevski/464634/ft1_filteredMKT_4FGL_J2123.6+0535_daily_bin1764.fits ra=320.921 dec=5.592 rad=12.0 tmin=696556801.0 tmax=696816001.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.74
user 3.52
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/464634/ft2_4FGL_J2123.6+0535_daily_bin1764.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/464634/ft2_4FGL_J2123.6+0535_daily_bin1764.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/464634/ft1_filteredMKT_4FGL_J2123.6+0535_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/464634/ft1_filtered_4FGL_J2123.6+0535_daily_bin1764.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.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 562

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/464634/ft1_filtered_4FGL_J2123.6+0535_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/464634/ft2_4FGL_J2123.6+0535_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/464634/ltcube_696556801_696816001_4FGL_J2123.6+0535_daily_bin1764.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/464634/ft2_4FGL_J2123.6+0535_daily_bin1764.fits
.....................!
real 14.83
user 14.37
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/464634/ft1_filtered_4FGL_J2123.6+0535_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/464634/ft2_4FGL_J2123.6+0535_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/464634/ltcube_696556801_696816001_4FGL_J2123.6+0535_daily_bin1764.fits outfile=/scratch/kocevski/464634/expmap_696556801_696816001_4FGL_J2123.6+0535_daily_bin1764.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/464634/ltcube_696556801_696816001_4FGL_J2123.6+0535_daily_bin1764.fits
.....................!
real 192.74
user 187.19
sys 4.42

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 174 point sources and 0 extended sources

Setting source of interest to:
4FGL J2123.6+0535 @ 320.921 5.592

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/464634/ft1_filtered_4FGL_J2123.6+0535_daily_bin1764.fits scfile=/scratch/kocevski/464634/ft2_4FGL_J2123.6+0535_daily_bin1764.fits outfile=/scratch/kocevski/464634/cmap_696556801_696816001_4FGL_J2123.6+0535_daily_bin1764.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=320.921 yref=5.592 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/464634/ft1_filtered_4FGL_J2123.6+0535_daily_bin1764.fits scfile=/scratch/kocevski/464634/ft2_4FGL_J2123.6+0535_daily_bin1764.fits outfile=/scratch/kocevski/464634/cmap_HighResolution_696556801_696816001_4FGL_J2123.6+0535_daily_bin1764.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=320.921 yref=5.592 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.57
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/464634/ft1_filtered_4FGL_J2123.6+0535_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/464634/ft2_4FGL_J2123.6+0535_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/464634/Model_4FGL_J2123.6+0535_daily_bin1764.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/464634/ft1_filtered_4FGL_J2123.6+0535_daily_bin1764.fits.....................!
real 61.67
user 60.04
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/464634/ft1_filtered_4FGL_J2123.6+0535_daily_bin1764.fits', '/scratch/kocevski/464634/ft2_4FGL_J2123.6+0535_daily_bin1764.fits', expMap='/scratch/kocevski/464634/expmap_696556801_696816001_4FGL_J2123.6+0535_daily_bin1764.fits', expCube='/scratch/kocevski/464634/ltcube_696556801_696816001_4FGL_J2123.6+0535_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/464634/Model_4FGL_J2123.6+0535_daily_bin1764.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2123.6+0535'

4FGL J2123.6+0535
   Spectrum: PowerLaw
313    Prefactor:  5.562e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
314        Index:  2.390e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  1.027e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/464634/ft1_filtered_4FGL_J2123.6+0535_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/464634/ft2_4FGL_J2123.6+0535_daily_bin1764.fits
Exposure map: /scratch/kocevski/464634/expmap_696556801_696816001_4FGL_J2123.6+0535_daily_bin1764.fits
Exposure cube: /scratch/kocevski/464634/ltcube_696556801_696816001_4FGL_J2123.6+0535_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/464634/Model_4FGL_J2123.6+0535_daily_bin1764.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) = 6132.12058625

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .94840E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .19976E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.1886       1.0000          .0000       .10000E+07
     4 'Prefactor '    26.415       1.0000          .0000       .10000E+07
     5 'Prefactor '    .54131E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.4294       1.0000          .0000       .10000E+07
     7 'Prefactor '    .22795E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16650E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .53098E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .46620E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .46630E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .15810E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .76744E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .39185E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .17890E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .13284E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.6103       1.0000          .0000       .10000E+07
    18 'Prefactor '    .11406E-01   1.0000          .0000       .10000E+07
    19 'Normalizat'    .66878       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99499       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6131.992     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     1663 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    51.760        .82362E-05** at limit **
   2  norm          .37748E-08    4.0258       -.79372E-07** at limit **
   3  Prefactor     4.1776        4.4967       -.36669E-07   -.18140E-02
   4  Prefactor     26.422        15.475        .16445E-07    .26623E-03
   5  Prefactor     .55511E-10    9.9268       -.82867E-06** at limit **
   6  Prefactor     7.5180        13.127       -.19734E-05    .11491E-03
   7  Prefactor      .0000        15.007       -.20631E-05** at limit **
   8  Prefactor      .0000        35.486       -.45053E-05** at limit **
   9  Prefactor      .0000        12.854        .12957E-05** at limit **
  10  Prefactor      .0000        2.3768       -.25163E-08** at limit **
  11  Prefactor     .46057E-01    1.1412       -.51434E-07** at limit **
  12  Prefactor      .0000        13.751        .88112E-07** at limit **
  13  Prefactor      .0000        67.720       -.55225E-05** at limit **
  14  norm           .0000        2.2937       -.15242E-07** at limit **
  15  norm           .0000        9.8632        .50017E-06** at limit **
  16  Prefactor      .0000        7.3071        .65208E-07** at limit **
  17  Prefactor     1.6071        24.342       -.29872E-05   -.18821E-02
  18  Prefactor     .55511E-10    20.794        .20172E-05** at limit **
  19  Normalizat    .66854        .23207        .54110E-05    .35716E-03
  20  Prefactor     .99515        .11004        .15220E-06    .81527E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 3.77476e-09
  Prefactor  = 4.17756
  Prefactor  = 26.4217
  Prefactor  = 5.55112e-11
  Prefactor  = 7.51798
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.0460565
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.60705
  Prefactor  = 5.55112e-11
  Normalizat = 0.668544
  Prefactor  = 0.995151
 **********
 **   18 **HESSE 
 **********

 FCN=   6131.992     FROM HESSE     STATUS=OK           287 CALLS     1950 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    51.642        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .37748E-08    49.017        .30134E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.1776        4.4938        .16671E-04   -1.5667    
   4  Prefactor     26.422        15.467        .77843E-05   -1.5605    
   5  Prefactor     .55511E-10    9.9255        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.5180        13.122        .14709E-04   -1.5653    
   7  Prefactor      .0000        15.001        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        35.510        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        12.852        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        2.3801        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .46057E-01    6.3821        .16220E-03   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        13.754        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        67.741        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        2.3599        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        9.8676        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        7.3229        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.6071        24.856        .33377E-04   -1.5683    
  18  Prefactor     .55511E-10    20.822        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .66854        .26350        .38169E-03   -1.0515    
  20  Prefactor     .99515        .12638        .15162E-03   -.92891    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99295e-08
Minuit parameter uncertainties:
  1  0.000116828
  2  0.000862902
  3  4.49384
  4  15.4675
  5  4.65886e-05
  6  13.1216
  7  3.03957e-06
  8  3.38767e-05
  9  1.76056e-06
  10  4.331e-06
  11  1.08432
  12  5.87843e-06
  13  8.34383e-06
  14  1.3012e-05
  15  9.41162e-06
  16  5.94128e-06
  17  12.6405
  18  7.47881e-05
  19  0.263996
  20  0.126413
Done.

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

Extracting fit parameters...

4FGL J2123.6+0535
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  3.388e-05  0.000e+00  1.000e+06 ( 1.000e-13)
314        Index:  2.390e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  1.027e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  9.952e-01  1.264e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  6.685e-01  2.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 320.921 5.592
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/464634/likelihoodResults_696556801_696816001_4FGL_J2123.6+0535_daily_bin1764.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) = 6132.00587423
delta logL = -0.0140119107155

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6131.23053635
delta logL = 0.761325974075

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49727E-05   1.0000          .0000       .10000E+07
     2 'Index     '    9.9991       1.0000          .0000       10.000    
     3 'Normalizat'    .55002       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0335       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6131.992     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      545 TOTAL
                     EDM=   .27E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.1777        .42118E-03** at limit **
   2  Index         1.0106        .95077        .83981E-07     .0000    
   3  Normalizat    .66854        .97107        .21243E-05    .23492E-05
   4  Prefactor     .99515        1.1931        .40489E-06   -.64221E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.01056
  Normalizat = 0.668542
  Prefactor  = 0.995151
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6131.992     FROM HESSE     STATUS=FAILED         9 CALLS      554 TOTAL
                     EDM=   .27E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.1777        .42118E-03   -190.07    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9896        1.7754        .83981E-07    25338.    
   3  Normalizat    .66854        .97107        .21243E-05    5.2317    
   4  Prefactor     .99515        1.1931        .40489E-06    129.73    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.71179e-14
Minuit parameter uncertainties:
  1  1.38597e-06
  2  0.967285
  3  0.997798
  4  1.22713
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/464634': 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): 101
logL (Free Index) = 6131.99186232
delta logL = 1.58252078108e-10

Extracting fit parameters...

4FGL J2123.6+0535
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  1.386e-06  0.000e+00  1.000e+06 ( 1.000e-13)
314        Index:  1.011e+00  9.673e-01  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  1.027e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  9.952e-01  1.227e+00  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  6.685e-01  9.978e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 320.921 5.592

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/464634/cmap_HighResolution_696556801_696816001_4FGL_J2123.6+0535_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.02e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2023-01-31 02:07:04.484214', job_id='464634', GAL2='1.00', fit_tolerance='1e-08', EG2='0.67', EG='0.67', time_epoch_completed='1675159624.48', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.58e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1764' AND source_name='4FGL J2123.6+0535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 02:07:04 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 464634: <4FGL_J2123.6+0535_daily_bin1764> in cluster <slac> Done

Job <4FGL_J2123.6+0535_daily_bin1764> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jan 31 01:55:14 2023
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 01:55:42 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 01:55:42 2023
Terminated at Tue Jan 31 02:07:05 2023
Results reported at Tue Jan 31 02:07:05 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2123.6+0535_daily_bin1764 320.921 5.592 696556801 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2123.6+0535 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   596.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   682 sec.
    Turnaround time :                            711 sec.

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

