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


Performing analysis on: 4FGL_J2123.6+0535_daily_bin1727
RA = 320.921, Dec = 5.592
tmin = 686966401, tmax = 687225601
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='214234', job_status='RUN', time_executed='2022-10-12 00:36:26.896504', time_epoch_executed='1665560186.9' WHERE source_name='4FGL J2123.6+0535' and cadence='daily' and bin_id='1727'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214234

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214234/ft1_4FGL_J2123.6+0535_daily_bin1727.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214234/ft2_4FGL_J2123.6+0535_daily_bin1727.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/214234/ft1_4FGL_J2123.6+0535_daily_bin1727.fits outfile=/scratch/kocevski/214234/ft1_filteredMKT_4FGL_J2123.6+0535_daily_bin1727.fits ra=320.921 dec=5.592 rad=12.0 tmin=686966401.0 tmax=687225601.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 2.93
user 2.70
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/214234/ft2_4FGL_J2123.6+0535_daily_bin1727.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/214234/ft1_filteredMKT_4FGL_J2123.6+0535_daily_bin1727.fits evtable="EVENTS" outfile="/scratch/kocevski/214234/ft1_filtered_4FGL_J2123.6+0535_daily_bin1727.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.32
sys 0.17

Number of photons that the gtmktime cut: 581

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/214234/ft1_filtered_4FGL_J2123.6+0535_daily_bin1727.fits" evtable="EVENTS" scfile=/scratch/kocevski/214234/ft2_4FGL_J2123.6+0535_daily_bin1727.fits sctable="SC_DATA" outfile=/scratch/kocevski/214234/ltcube_686966401_687225601_4FGL_J2123.6+0535_daily_bin1727.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/214234/ft2_4FGL_J2123.6+0535_daily_bin1727.fits
.....................!
real 12.72
user 12.30
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214234/ft1_filtered_4FGL_J2123.6+0535_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/214234/ft2_4FGL_J2123.6+0535_daily_bin1727.fits sctable="SC_DATA" expcube=/scratch/kocevski/214234/ltcube_686966401_687225601_4FGL_J2123.6+0535_daily_bin1727.fits outfile=/scratch/kocevski/214234/expmap_686966401_687225601_4FGL_J2123.6+0535_daily_bin1727.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/214234/ltcube_686966401_687225601_4FGL_J2123.6+0535_daily_bin1727.fits
.....................!
real 190.61
user 185.07
sys 4.99

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/214234/ft1_filtered_4FGL_J2123.6+0535_daily_bin1727.fits scfile=/scratch/kocevski/214234/ft2_4FGL_J2123.6+0535_daily_bin1727.fits outfile=/scratch/kocevski/214234/cmap_686966401_687225601_4FGL_J2123.6+0535_daily_bin1727.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.50
user 0.37
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/214234/ft1_filtered_4FGL_J2123.6+0535_daily_bin1727.fits scfile=/scratch/kocevski/214234/ft2_4FGL_J2123.6+0535_daily_bin1727.fits outfile=/scratch/kocevski/214234/cmap_HighResolution_686966401_687225601_4FGL_J2123.6+0535_daily_bin1727.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.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .85152E-03   1.0000          .0000       .10000E+07
     2 'norm      '    5.7398       1.0000          .0000       .10000E+07
     3 'Prefactor '    .77277E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .86700E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .17928E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .22393E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23533E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.3865       1.0000          .0000       .10000E+07
     9 'Prefactor '    26.016       1.0000          .0000       .10000E+07
    10 'Prefactor '    14.243       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.3691       1.0000          .0000       .10000E+07
    12 'Prefactor '    44.897       1.0000          .0000       .10000E+07
    13 'Prefactor '    124.00       1.0000          .0000       .10000E+07
    14 'norm      '    .21649E-08   1.0000          .0000       .10000E+07
    15 'norm      '    22.191       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37193E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .59353E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    66.578       1.0000          .0000       .10000E+07
    19 'Normalizat'    .90377       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .85768       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=   6346.337     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1626 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88818E-09    14.695        .58594E-07** at limit **
   2  norm          5.6943        6.9230       -.36898E-07    .12021E-02
   3  Prefactor      .0000        4.2300       -.14999E-07** at limit **
   4  Prefactor     .19429E-08    9.1949       -.35819E-06** at limit **
   5  Prefactor     .55511E-10    7.0053       -.94004E-08** at limit **
   6  Prefactor     .52180E-08    10.192        .24183E-06** at limit **
   7  Prefactor      .0000        24.674       -.56781E-07** at limit **
   8  Prefactor     2.3770        2.9703       -.19590E-06    .47229E-01
   9  Prefactor     26.217        7.0768        .64220E-07   -.25852E-02
  10  Prefactor     14.162        8.7456        .13822E-07    .12057E-02
  11  Prefactor     3.3623        2.5134       -.12202E-07    .89593E-03
  12  Prefactor     44.944        18.163        .42634E-07   -.12916    
  13  Prefactor     125.68        72.596        .30551E-06   -.18717E-01
  14  norm           .0000        1.4467       -.18475E-07** at limit **
  15  norm          22.047        17.103       -.53945E-06    .15534    
  16  Prefactor     .14546E-03    354.45        .33555E-05** at limit **
  17  Prefactor     .72164E-09    8.1756        .47143E-07** at limit **
  18  Prefactor     67.225        44.199        .54182E-06    .12547    
  19  Normalizat    .90210        .30348       -.73167E-06    .66043E-04
  20  Prefactor     .85830        .12933        .89291E-06    .14478E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.88178e-10
  norm       = 5.69427
  Prefactor  = 0
  Prefactor  = 1.94289e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 5.21805e-09
  Prefactor  = 0
  Prefactor  = 2.37704
  Prefactor  = 26.2167
  Prefactor  = 14.1619
  Prefactor  = 3.36231
  Prefactor  = 44.9437
  Prefactor  = 125.683
  norm       = 0
  norm       = 22.0475
  Prefactor  = 0.00014546
  Prefactor  = 7.21645e-10
  Prefactor  = 67.2251
  Normalizat = 0.902102
  Prefactor  = 0.858296
 **********
 **   18 **HESSE 
 **********

 FCN=   6346.337     FROM HESSE     STATUS=OK           337 CALLS     1963 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88818E-09    14.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.6943        6.9315        .41900E-03   -1.5660    
   3  Prefactor      .0000        4.2197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .19429E-08    9.2432        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    7.0010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .52180E-08    10.200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        24.667        .16815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.3770        31.423        .66275E-03   -1.5677    
   9  Prefactor     26.217        54.573        .19609E-03   -1.5606    
  10  Prefactor     14.162        8.7476        .26513E-03   -1.5633    
  11  Prefactor     3.3623        2.8699        .55105E-03   -1.5671    
  12  Prefactor     44.944        38.894        .14925E-03   -1.5574    
  13  Prefactor     125.68        76.826        .89810E-04   -1.5484    
  14  norm           .0000        1.4431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          22.047        26.811        .21234E-03   -1.5614    
  16  Prefactor     .14546E-03    5.1330        .96300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .72164E-09    8.1150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     67.225        51.545        .12256E-03   -1.5544    
  19  Normalizat    .90210        .26005        .82895E-01   -.96386    
  20  Prefactor     .85830        .10702        .44463E-01   -.97614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34519e-06
Minuit parameter uncertainties:
  1  0.000227053
  2  6.93155
  3  1.00486e-05
  4  0.000268836
  5  3.88684e-05
  6  0.000461617
  7  2.98642e-05
  8  17.2853
  9  54.5744
  10  8.74758
  11  2.86991
  12  38.8938
  13  76.8262
  14  5.77555e-06
  15  26.8111
  16  0.0546498
  17  0.000152302
  18  51.5454
  19  0.260416
  20  0.107043
Done.

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

Extracting fit parameters...

4FGL J2123.6+0535
   Spectrum: PowerLaw
313    Prefactor:  2.377e+00  1.729e+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:  8.583e-01  1.070e-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:  9.021e-01  2.604e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 320.921 5.592
Photon Flux Upper Limit: 9.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/214234/likelihoodResults_686966401_687225601_4FGL_J2123.6+0535_daily_bin1727.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) = 6346.33664493
delta logL = 3.34800188284e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6346.33663846
delta logL = 9.825572306e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3768       1.0000          .0000       .10000E+07
     2 'Index     '    2.3978       1.0000          .0000       10.000    
     3 'Normalizat'    .90204       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85823       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6346.337     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      267 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3434        37.906        .13285E-03   -.19255E-03
   2  Index         2.4015        2.3103        .11197E-01   -.12042E-04
   3  Normalizat    .90206        .28845        .36700E-03    .74346E-05
   4  Prefactor     .85831        .12704        .16408E-03    .36252E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.34338
  Index      = 2.40148
  Normalizat = 0.902057
  Prefactor  = 0.858314
 **********
 **   18 **HESSE 
 **********

 FCN=   6346.337     FROM HESSE     STATUS=OK            27 CALLS      294 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3434        34.085        .53139E-05   -1.5677    
   2  Index         2.4015        2.2049        .44790E-03   -.54650    
   3  Normalizat    .90206        .28869        .14680E-04   -.96388    
   4  Prefactor     .85831        .12712        .32816E-04   -.97613    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.86177e-11
Minuit parameter uncertainties:
  1  17.8747
  2  2.31678
  3  0.289189
  4  0.127162
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214234': 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) = 6346.33663528
delta logL = 1.29986037791e-05

Extracting fit parameters...

4FGL J2123.6+0535
   Spectrum: PowerLaw
313    Prefactor:  2.343e+00  1.787e+01  0.000e+00  1.000e+06 ( 1.000e-13)
314        Index:  2.401e+00  2.317e+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:  8.583e-01  1.272e-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:  9.021e-01  2.892e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/214234/cmap_HighResolution_686966401_687225601_4FGL_J2123.6+0535_daily_bin1727.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.56e-03', job_status='DONE', photon_flux_upper_limit='9.79e-08', time_completed='2022-10-12 00:45:58.717972', job_id='214234', GAL2='0.86', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1665560758.72', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.30e-05', ts2='0.02', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1727' AND source_name='4FGL J2123.6+0535' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Oct 12 00:45:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 214234: <4FGL_J2123.6+0535_daily_bin1727> in cluster <slac> Done

Job <4FGL_J2123.6+0535_daily_bin1727> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Oct 12 00:35:45 2022
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 12 00:35:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 12 00:35:47 2022
Terminated at Wed Oct 12 00:45:59 2022
Results reported at Wed Oct 12 00:45:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2123.6+0535_daily_bin1727 320.921 5.592 686966401 687225601 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 :                                   574.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             305.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   612 sec.
    Turnaround time :                            614 sec.

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

