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


Performing analysis on: 4FGL_J2123.6+0535_daily_bin1746
RA = 320.921, Dec = 5.592
tmin = 691891201, tmax = 692150401
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='739092', job_status='RUN', time_executed='2022-12-08 01:40:46.061787', time_epoch_executed='1670492446.06' WHERE source_name='4FGL J2123.6+0535' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/739092

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/739092/ft1_4FGL_J2123.6+0535_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/739092/ft2_4FGL_J2123.6+0535_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/739092/ft1_4FGL_J2123.6+0535_daily_bin1746.fits outfile=/scratch/kocevski/739092/ft1_filteredMKT_4FGL_J2123.6+0535_daily_bin1746.fits ra=320.921 dec=5.592 rad=12.0 tmin=691891201.0 tmax=692150401.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.70
user 4.45
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/739092/ft2_4FGL_J2123.6+0535_daily_bin1746.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/739092/ft1_filteredMKT_4FGL_J2123.6+0535_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/739092/ft1_filtered_4FGL_J2123.6+0535_daily_bin1746.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 659

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/739092/ft1_filtered_4FGL_J2123.6+0535_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/739092/ft2_4FGL_J2123.6+0535_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/739092/ltcube_691891201_692150401_4FGL_J2123.6+0535_daily_bin1746.fits outfile=/scratch/kocevski/739092/expmap_691891201_692150401_4FGL_J2123.6+0535_daily_bin1746.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/739092/ltcube_691891201_692150401_4FGL_J2123.6+0535_daily_bin1746.fits
.....................!
real 191.67
user 186.63
sys 4.69

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/739092/ft1_filtered_4FGL_J2123.6+0535_daily_bin1746.fits scfile=/scratch/kocevski/739092/ft2_4FGL_J2123.6+0535_daily_bin1746.fits outfile=/scratch/kocevski/739092/cmap_691891201_692150401_4FGL_J2123.6+0535_daily_bin1746.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/739092/ft1_filtered_4FGL_J2123.6+0535_daily_bin1746.fits scfile=/scratch/kocevski/739092/ft2_4FGL_J2123.6+0535_daily_bin1746.fits outfile=/scratch/kocevski/739092/cmap_HighResolution_691891201_692150401_4FGL_J2123.6+0535_daily_bin1746.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.55
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30748E-06   1.0000          .0000       .10000E+07
     2 'norm      '    15.175       1.0000          .0000       .10000E+07
     3 'Prefactor '    .40691E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .26230E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .21346E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .16482E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .31197E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .17639E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    41.125       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.5918       1.0000          .0000       .10000E+07
    11 'Prefactor '    .27262E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    53.427       1.0000          .0000       .10000E+07
    13 'Prefactor '    .86495E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .31238E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .16653E-08   1.0000          .0000       .10000E+07
    16 'Prefactor '    .93767E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .97373E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .26414E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1913       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .65186       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=   7084.194     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1520 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11596E-06    11.219        .23867E-05** at limit **
   2  norm          15.250        9.1812        .14223E-06    .26630E-02
   3  Prefactor     .55511E-09    2.0672       -.55653E-06** at limit **
   4  Prefactor     .53846E-07    6.1175        .15897E-05** at limit **
   5  Prefactor     .77016E-06    6.7613       -.18341E-05** at limit **
   6  Prefactor     .45519E-08    4.4823        .61783E-06** at limit **
   7  Prefactor     .10036E-06    11.400        .23995E-05** at limit **
   8  Prefactor     .60862E-06    5.7121        .81473E-06** at limit **
   9  Prefactor     41.408        7.1491        .58612E-06   -.11859    
  10  Prefactor     4.5993        4.6252       -.97295E-06   -.65646E-03
  11  Prefactor     .44409E-09    1.7181       -.97279E-06** at limit **
  12  Prefactor     53.814        3.1960        .46443E-07    .21914E-01
  13  Prefactor     .13403E-05    12.231       -.14927E-05** at limit **
  14  norm          .61007E-07    3.8879        .74162E-06** at limit **
  15  norm          .51986E-06    3.8563       -.15328E-05** at limit **
  16  Prefactor     .67829E-06    4.3243        .14248E-05** at limit **
  17  Prefactor     .24053E-06    4.7539       -.19900E-05** at limit **
  18  Prefactor     .45519E-08    34.176       -.25321E-05** at limit **
  19  Normalizat    1.1904        .23343        .32325E-04    .54331E-04
  20  Prefactor     .65194        .10555       -.16424E-04    .61368E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.15963e-07
  norm       = 15.25
  Prefactor  = 5.55112e-10
  Prefactor  = 5.38458e-08
  Prefactor  = 7.70162e-07
  Prefactor  = 4.55191e-09
  Prefactor  = 1.00364e-07
  Prefactor  = 6.08624e-07
  Prefactor  = 41.4083
  Prefactor  = 4.59933
  Prefactor  = 4.44089e-10
  Prefactor  = 53.8138
  Prefactor  = 1.34026e-06
  norm       = 6.10068e-08
  norm       = 5.19862e-07
  Prefactor  = 6.78291e-07
  Prefactor  = 2.4053e-07
  Prefactor  = 4.55191e-09
  Normalizat = 1.19038
  Prefactor  = 0.651936
 **********
 **   18 **HESSE 
 **********

 FCN=   7084.194     FROM HESSE     STATUS=OK           325 CALLS     1845 TOTAL
                     EDM=   .95E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11596E-06    23.859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.250        9.1993        .25685E-03   -1.5630    
   3  Prefactor     .55511E-09    2.0876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .53846E-07    11.419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .77016E-06    8.6014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .45519E-08    4.6268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10036E-06    23.766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .60862E-06    12.376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     41.408        36.384        .15595E-03   -1.5579    
  10  Prefactor     4.5993        4.6352        .46950E-03   -1.5665    
  11  Prefactor     .44409E-09    1.7267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     53.814        29.382        .13682E-03   -1.5561    
  13  Prefactor     .13403E-05    16.117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .61007E-07    .96664        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .51986E-06    5.3986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .67829E-06    5.7565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .24053E-06    7.2730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .45519E-08    36.073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1904        .20008        .64318E-01   -.86901    
  20  Prefactor     .65194        .88153E-01    .41757E-01   -1.0544    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.5131e-07
Minuit parameter uncertainties:
  1  0.00332647
  2  9.19931
  3  6.63984e-05
  4  0.00156833
  5  0.00514764
  6  0.000290274
  7  0.00308919
  8  0.00548915
  9  36.3846
  10  4.63525
  11  5.49216e-05
  12  29.3824
  13  0.0092953
  14  0.000485668
  15  0.00335059
  16  0.00395196
  17  0.00264535
  18  0.000809413
  19  0.200204
  20  0.0881718
Done.

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

Extracting fit parameters...

4FGL J2123.6+0535
   Spectrum: PowerLaw
313    Prefactor:  6.086e-07  5.489e-03  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:  6.519e-01  8.817e-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.190e+00  2.002e-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: 6.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/739092/likelihoodResults_691891201_692150401_4FGL_J2123.6+0535_daily_bin1746.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) = 7084.23375737
delta logL = -0.0393485763088

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7084.1944097
delta logL = -9.07961293706e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25990E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.1537       1.0000          .0000       10.000    
     3 'Normalizat'    1.1906       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65189       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=   7084.194     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      199 TOTAL
                     EDM=   .93E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94369E-09    10.093       -.43312E-05** at limit **
   2  Index         2.7534        6.3660        .24697E-03    .16320E-09
   3  Normalizat    1.1904        .23090        .72104E-04    .24317E-03
   4  Prefactor     .65194        .10497       -.34571E-04    .31306E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.4369e-10
  Index      = 2.75343
  Normalizat = 1.19038
  Prefactor  = 0.651936
 **********
 **   18 **HESSE 
 **********

 FCN=   7084.194     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      232 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94369E-09    .37057        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7534        6.3710        .35830       -.46600    
   3  Normalizat    1.1904        .95227E-03    .64318E-01   -.86901    
   4  Prefactor     .65194        .43299E-03    .41757E-01   -1.0544    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.28348e-12
Minuit parameter uncertainties:
  1  3.68989e-05
  2  17799.2
  3  0.000952272
  4  0.000432988
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/739092': 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) = 7084.19440877
delta logL = 2.44808688876e-08

Extracting fit parameters...

4FGL J2123.6+0535
   Spectrum: PowerLaw
313    Prefactor:  9.437e-10  3.690e-05  0.000e+00  1.000e+06 ( 1.000e-13)
314        Index:  2.753e+00  1.780e+04  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:  6.519e-01  4.330e-04  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.190e+00  9.523e-04  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/739092/cmap_HighResolution_691891201_692150401_4FGL_J2123.6+0535_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.39e-03', job_status='DONE', photon_flux_upper_limit='6.98e-08', time_completed='2022-12-08 01:51:05.858571', job_id='739092', GAL2='0.65', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1670493065.86', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='2.45e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1746' AND source_name='4FGL J2123.6+0535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:51:05 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 739092: <4FGL_J2123.6+0535_daily_bin1746> in cluster <slac> Done

Job <4FGL_J2123.6+0535_daily_bin1746> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Dec  8 01:40:17 2022
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:40:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:40:18 2022
Terminated at Thu Dec  8 01:51:06 2022
Results reported at Thu Dec  8 01:51:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2123.6+0535_daily_bin1746 320.921 5.592 691891201 692150401 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 :                                   622.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             336.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   648 sec.
    Turnaround time :                            649 sec.

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

