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


Performing analysis on: 4FGL_J2123.6+0535_daily_bin1751
RA = 320.921, Dec = 5.592
tmin = 693187201, tmax = 693446401
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='86595', job_status='RUN', time_executed='2022-12-23 01:17:25.693247', time_epoch_executed='1671787045.69' WHERE source_name='4FGL J2123.6+0535' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/86595

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/86595/ft1_4FGL_J2123.6+0535_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/86595/ft2_4FGL_J2123.6+0535_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/86595/ft1_4FGL_J2123.6+0535_daily_bin1751.fits outfile=/scratch/kocevski/86595/ft1_filteredMKT_4FGL_J2123.6+0535_daily_bin1751.fits ra=320.921 dec=5.592 rad=12.0 tmin=693187201.0 tmax=693446401.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.61
user 3.39
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/86595/ft2_4FGL_J2123.6+0535_daily_bin1751.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/86595/ft1_filteredMKT_4FGL_J2123.6+0535_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/86595/ft1_filtered_4FGL_J2123.6+0535_daily_bin1751.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.48
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 667

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/86595/ft1_filtered_4FGL_J2123.6+0535_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/86595/ft2_4FGL_J2123.6+0535_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/86595/ltcube_693187201_693446401_4FGL_J2123.6+0535_daily_bin1751.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/86595/ft2_4FGL_J2123.6+0535_daily_bin1751.fits
.....................!
real 12.01
user 11.64
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/86595/ft1_filtered_4FGL_J2123.6+0535_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/86595/ft2_4FGL_J2123.6+0535_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/86595/ltcube_693187201_693446401_4FGL_J2123.6+0535_daily_bin1751.fits outfile=/scratch/kocevski/86595/expmap_693187201_693446401_4FGL_J2123.6+0535_daily_bin1751.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/86595/ltcube_693187201_693446401_4FGL_J2123.6+0535_daily_bin1751.fits
.....................!
real 191.21
user 185.65
sys 5.19

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/86595/ft1_filtered_4FGL_J2123.6+0535_daily_bin1751.fits scfile=/scratch/kocevski/86595/ft2_4FGL_J2123.6+0535_daily_bin1751.fits outfile=/scratch/kocevski/86595/cmap_693187201_693446401_4FGL_J2123.6+0535_daily_bin1751.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/86595/ft1_filtered_4FGL_J2123.6+0535_daily_bin1751.fits scfile=/scratch/kocevski/86595/ft2_4FGL_J2123.6+0535_daily_bin1751.fits outfile=/scratch/kocevski/86595/cmap_HighResolution_693187201_693446401_4FGL_J2123.6+0535_daily_bin1751.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.54
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/86595/ft1_filtered_4FGL_J2123.6+0535_daily_bin1751.fits', '/scratch/kocevski/86595/ft2_4FGL_J2123.6+0535_daily_bin1751.fits', expMap='/scratch/kocevski/86595/expmap_693187201_693446401_4FGL_J2123.6+0535_daily_bin1751.fits', expCube='/scratch/kocevski/86595/ltcube_693187201_693446401_4FGL_J2123.6+0535_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/86595/Model_4FGL_J2123.6+0535_daily_bin1751.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/86595/ft1_filtered_4FGL_J2123.6+0535_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/86595/ft2_4FGL_J2123.6+0535_daily_bin1751.fits
Exposure map: /scratch/kocevski/86595/expmap_693187201_693446401_4FGL_J2123.6+0535_daily_bin1751.fits
Exposure cube: /scratch/kocevski/86595/ltcube_693187201_693446401_4FGL_J2123.6+0535_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/86595/Model_4FGL_J2123.6+0535_daily_bin1751.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) = 7390.64519747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44054E-04   1.0000          .0000       .10000E+07
     2 'norm      '    3.3405       1.0000          .0000       .10000E+07
     3 'Prefactor '    .39367E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    12.338       1.0000          .0000       .10000E+07
     5 'Prefactor '    .59419E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.7713       1.0000          .0000       .10000E+07
     7 'Prefactor '    .29790E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.4858       1.0000          .0000       .10000E+07
     9 'Prefactor '    .72596E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .30595E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .14431E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    23.385       1.0000          .0000       .10000E+07
    13 'Prefactor '    .24980E-01   1.0000          .0000       .10000E+07
    14 'norm      '    5.1105       1.0000          .0000       .10000E+07
    15 'norm      '    3.4546       1.0000          .0000       .10000E+07
    16 'Prefactor '    .38523E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .47743E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    23.095       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.4374       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .72462       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7390.605     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1480 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30576E-06    11.298       -.63687E-06** at limit **
   2  norm          3.3596        7.9827        .13460E-05    .11859E-01
   3  Prefactor     .15543E-08    1.4019       -.18844E-06** at limit **
   4  Prefactor     12.360        1.5241        .70893E-07   -.14454E-01
   5  Prefactor     .10580E-05    13.377        .54333E-06** at limit **
   6  Prefactor     8.7417        3.5003        .17840E-06    .22418E-02
   7  Prefactor     .21655E-06    36.681       -.50052E-05** at limit **
   8  Prefactor     4.4526        1.4884       -.96838E-07   -.45228E-03
   9  Prefactor     .61368E-06    18.572       -.18899E-06** at limit **
  10  Prefactor     .23870E-08    1.8492       -.35373E-06** at limit **
  11  Prefactor     .99365E-08    1.6676        .82451E-06** at limit **
  12  Prefactor     23.495        15.299        .10356E-05   -.95902E-01
  13  Prefactor     .18319E-07    35.458        .29040E-06** at limit **
  14  norm          5.1120        2.6822        .17816E-07    .16018E-02
  15  norm          3.4164        1.3177        .91293E-07   -.72435E-04
  16  Prefactor     .70777E-07    10.418        .46469E-06** at limit **
  17  Prefactor     .15543E-08    5.6361        .14174E-06** at limit **
  18  Prefactor     23.137        3.5645        .22251E-06   -.18331E-01
  19  Normalizat    1.4374        .26966       -.19626E-05    .48015E-03
  20  Prefactor     .72461        .11779       -.63471E-06    .75736E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.05755e-07
  norm       = 3.35965
  Prefactor  = 1.55431e-09
  Prefactor  = 12.3597
  Prefactor  = 1.05804e-06
  Prefactor  = 8.74167
  Prefactor  = 2.16549e-07
  Prefactor  = 4.45263
  Prefactor  = 6.13676e-07
  Prefactor  = 2.38698e-09
  Prefactor  = 9.9365e-09
  Prefactor  = 23.4952
  Prefactor  = 1.83187e-08
  norm       = 5.11195
  norm       = 3.4164
  Prefactor  = 7.07767e-08
  Prefactor  = 1.55431e-09
  Prefactor  = 23.1367
  Normalizat = 1.43741
  Prefactor  = 0.724615
 **********
 **   18 **HESSE 
 **********

 FCN=   7390.605     FROM HESSE     STATUS=OK           329 CALLS     1809 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30576E-06    12.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.3596        8.2072        .55352E-03   -1.5671    
   3  Prefactor     .15543E-08    1.4574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.360        13.990        .28493E-03   -1.5638    
   5  Prefactor     .10580E-05    15.723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.7417        21.019        .33820E-03   -1.5649    
   7  Prefactor     .21655E-06    43.461        .16462E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.4526        26.391        .47515E-03   -1.5666    
   9  Prefactor     .61368E-06    20.023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .23870E-08    2.1341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .99365E-08    3.0492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.495        28.864        .20684E-03   -1.5611    
  13  Prefactor     .18319E-07    42.240        .16729E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.1120        2.7314        .44451E-03   -1.5663    
  15  norm          3.4164        29.106        .54387E-03   -1.5671    
  16  Prefactor     .70777E-07    10.484        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .15543E-08    5.6521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     23.137        26.969        .20814E-03   -1.5612    
  19  Normalizat    1.4374        .23078        .69560E-01   -.79553    
  20  Prefactor     .72461        .98543E-01    .42728E-01   -1.0257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.16501e-07
Minuit parameter uncertainties:
  1  0.00384728
  2  8.20726
  3  9.49698e-05
  4  13.9902
  5  0.00815736
  6  21.0193
  7  0.00613544
  8  21.6805
  9  0.00701072
  10  0.000142663
  11  0.000348608
  12  28.8638
  13  0.00175965
  14  2.73145
  15  19.9438
  16  0.00172293
  17  0.00018875
  18  26.9694
  19  0.23095
  20  0.0985669
Done.

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

Extracting fit parameters...

4FGL J2123.6+0535
   Spectrum: PowerLaw
313    Prefactor:  4.453e+00  2.168e+01  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:  7.246e-01  9.857e-02  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:  1.437e+00  2.309e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/86595/likelihoodResults_693187201_693446401_4FGL_J2123.6+0535_daily_bin1751.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) = 7390.59614862
delta logL = 0.00891066947497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7390.59587349
delta logL = 0.00918580258076

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1574       1.0000          .0000       .10000E+07
     2 'Index     '    2.6369       1.0000          .0000       10.000    
     3 'Normalizat'    1.4333       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72537       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7390.596     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      292 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1059        24.193        .98817E-04   -.39485E-03
   2  Index         2.6494        1.9764        .58631E-02   -.52900E-04
   3  Normalizat    1.4337        .26776        .30809E-03   -.44111E-03
   4  Prefactor     .72539        .11719        .18310E-03    .13772E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.10594
  Index      = 2.64936
  Normalizat = 1.43369
  Prefactor  = 0.725392
 **********
 **   18 **HESSE 
 **********

 FCN=   7390.596     FROM HESSE     STATUS=OK            25 CALLS      317 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1059        21.881        .39527E-05   -1.5667    
   2  Index         2.6494        1.8864        .23452E-03   -.48944    
   3  Normalizat    1.4337        .26805        .61618E-04   -.79659    
   4  Prefactor     .72539        .11727        .73239E-05   -1.0254    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88308e-09
Minuit parameter uncertainties:
  1  18.9572
  2  1.94918
  3  0.268318
  4  0.117308
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/86595': 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) = 7390.59584647
delta logL = 0.00921281802039

Extracting fit parameters...

4FGL J2123.6+0535
   Spectrum: PowerLaw
313    Prefactor:  4.106e+00  1.896e+01  0.000e+00  1.000e+06 ( 1.000e-13)
314        Index:  2.649e+00  1.949e+00  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:  7.254e-01  1.173e-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:  1.434e+00  2.683e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/86595/cmap_HighResolution_693187201_693446401_4FGL_J2123.6+0535_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.76e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2022-12-23 01:27:41.827353', job_id='86595', GAL2='0.73', fit_tolerance='1e-08', EG2='1.43', EG='1.44', time_epoch_completed='1671787661.83', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='9.21e-03', ts2='0.07', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1751' AND source_name='4FGL J2123.6+0535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:27:41 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 86595: <4FGL_J2123.6+0535_daily_bin1751> in cluster <slac> Done

Job <4FGL_J2123.6+0535_daily_bin1751> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Dec 23 01:15:26 2022
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 01:15:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 01:15:27 2022
Terminated at Fri Dec 23 01:27:42 2022
Results reported at Fri Dec 23 01:27:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2123.6+0535_daily_bin1751 320.921 5.592 693187201 693446401 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 :                                   618.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            736 sec.

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

