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


Performing analysis on: 4FGL_J2339.6+0242_daily_bin1736
RA = 354.904, Dec = 2.7102
tmin = 689299201, tmax = 689558401
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='963504', job_status='RUN', time_executed='2022-11-08 00:42:24.708422', time_epoch_executed='1667896944.71' WHERE source_name='4FGL J2339.6+0242' and cadence='daily' and bin_id='1736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/963504

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/963504/ft1_4FGL_J2339.6+0242_daily_bin1736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/963504/ft2_4FGL_J2339.6+0242_daily_bin1736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/963504/ft1_4FGL_J2339.6+0242_daily_bin1736.fits outfile=/scratch/kocevski/963504/ft1_filteredMKT_4FGL_J2339.6+0242_daily_bin1736.fits ra=354.904 dec=2.7102 rad=12.0 tmin=689299201.0 tmax=689558401.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.36
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/963504/ft2_4FGL_J2339.6+0242_daily_bin1736.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/963504/ft2_4FGL_J2339.6+0242_daily_bin1736.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/963504/ft1_filteredMKT_4FGL_J2339.6+0242_daily_bin1736.fits evtable="EVENTS" outfile="/scratch/kocevski/963504/ft1_filtered_4FGL_J2339.6+0242_daily_bin1736.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 578

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/963504/ft1_filtered_4FGL_J2339.6+0242_daily_bin1736.fits" evtable="EVENTS" scfile=/scratch/kocevski/963504/ft2_4FGL_J2339.6+0242_daily_bin1736.fits sctable="SC_DATA" outfile=/scratch/kocevski/963504/ltcube_689299201_689558401_4FGL_J2339.6+0242_daily_bin1736.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/963504/ft2_4FGL_J2339.6+0242_daily_bin1736.fits
.....................!
real 12.08
user 11.72
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/963504/ft1_filtered_4FGL_J2339.6+0242_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/963504/ft2_4FGL_J2339.6+0242_daily_bin1736.fits sctable="SC_DATA" expcube=/scratch/kocevski/963504/ltcube_689299201_689558401_4FGL_J2339.6+0242_daily_bin1736.fits outfile=/scratch/kocevski/963504/expmap_689299201_689558401_4FGL_J2339.6+0242_daily_bin1736.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/963504/ltcube_689299201_689558401_4FGL_J2339.6+0242_daily_bin1736.fits
.....................!
real 192.74
user 186.67
sys 5.68

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

Setting source of interest to:
4FGL J2339.6+0242 @ 354.904 2.7102

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/963504/ft1_filtered_4FGL_J2339.6+0242_daily_bin1736.fits scfile=/scratch/kocevski/963504/ft2_4FGL_J2339.6+0242_daily_bin1736.fits outfile=/scratch/kocevski/963504/cmap_689299201_689558401_4FGL_J2339.6+0242_daily_bin1736.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=354.904 yref=2.7102 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/963504/ft1_filtered_4FGL_J2339.6+0242_daily_bin1736.fits scfile=/scratch/kocevski/963504/ft2_4FGL_J2339.6+0242_daily_bin1736.fits outfile=/scratch/kocevski/963504/cmap_HighResolution_689299201_689558401_4FGL_J2339.6+0242_daily_bin1736.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=354.904 yref=2.7102 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/963504/ft1_filtered_4FGL_J2339.6+0242_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/963504/ft2_4FGL_J2339.6+0242_daily_bin1736.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/963504/Model_4FGL_J2339.6+0242_daily_bin1736.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/963504/ft1_filtered_4FGL_J2339.6+0242_daily_bin1736.fits.....................!
real 67.05
user 64.79
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/963504/ft1_filtered_4FGL_J2339.6+0242_daily_bin1736.fits', '/scratch/kocevski/963504/ft2_4FGL_J2339.6+0242_daily_bin1736.fits', expMap='/scratch/kocevski/963504/expmap_689299201_689558401_4FGL_J2339.6+0242_daily_bin1736.fits', expCube='/scratch/kocevski/963504/ltcube_689299201_689558401_4FGL_J2339.6+0242_daily_bin1736.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/963504/Model_4FGL_J2339.6+0242_daily_bin1736.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2339.6+0242'

4FGL J2339.6+0242
   Spectrum: PowerLaw
463    Prefactor:  8.280e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
464        Index:  2.549e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
465        Scale:  7.790e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/963504/ft1_filtered_4FGL_J2339.6+0242_daily_bin1736.fits
Spacecraft file(s): /scratch/kocevski/963504/ft2_4FGL_J2339.6+0242_daily_bin1736.fits
Exposure map: /scratch/kocevski/963504/expmap_689299201_689558401_4FGL_J2339.6+0242_daily_bin1736.fits
Exposure cube: /scratch/kocevski/963504/ltcube_689299201_689558401_4FGL_J2339.6+0242_daily_bin1736.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/963504/Model_4FGL_J2339.6+0242_daily_bin1736.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) = 6468.79036721

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23626       1.0000          .0000       .10000E+07
     2 'Prefactor '    21.703       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.2389       1.0000          .0000       .10000E+07
     4 'norm      '    .51693       1.0000          .0000       .10000E+07
     5 'norm      '    4.1356       1.0000          .0000       .10000E+07
     6 'Prefactor '    .61872E-04   1.0000          .0000       .10000E+07
     7 'norm      '    11.643       1.0000          .0000       .10000E+07
     8 'Prefactor '    44.427       1.0000          .0000       .10000E+07
     9 'Prefactor '    .12590E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.5232       1.0000          .0000       .10000E+07
    11 'norm      '    1.4181       1.0000          .0000       .10000E+07
    12 'norm      '    .11286E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .59166E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .10128E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .37976E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    11.667       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11522E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .48887       1.0000          .0000       .10000E+07
    19 'norm      '    35.695       1.0000          .0000       .10000E+07
    20 'Prefactor '    1.5378       1.0000          .0000       .10000E+07
    21 'Prefactor '    .18389E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    3.6207       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0063       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .71710       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6468.781     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1970 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20936        .72024        .22857E-06** at limit **
   2  Prefactor     21.637        5.6171        .19906E-06   -.36300E-01
   3  Prefactor     2.2679        5.9841       -.19900E-05   -.48544E-01
   4  norm          .52595        3.4874        .34854E-07    .78673E-02
   5  norm          4.1375        3.4234        .74507E-07    .11064E-02
   6  Prefactor     .14483E-06    3.0785       -.12812E-06** at limit **
   7  norm          11.637        1.2387        .61179E-07    .34199E-02
   8  Prefactor     44.600        20.961        .12523E-05   -.12080    
   9  Prefactor      .0000        3.2704       -.20462E-06** at limit **
  10  Prefactor     3.5296        6.8817        .32650E-06    .12962E-01
  11  norm          1.4198        .76897        .22386E-08   -.30469E-02
  12  norm           .0000        1.2961       -.21675E-07** at limit **
  13  Prefactor     .18707E-07    5.2856       -.16138E-06** at limit **
  14  Prefactor     .88818E-09    7.5418       -.51584E-06** at limit **
  15  norm          .19124E-06    2.9717        .11957E-06** at limit **
  16  Prefactor     11.765        6.9448        .11057E-07    .21482E-01
  17  Prefactor     .21649E-07    6.8294        .68569E-06** at limit **
  18  norm          .34205        63.296       -.42884E-05   -.15410E-01
  19  norm          35.637        5.9690       -.16668E-06   -.46987E-01
  20  Prefactor     1.5420        3.3844        .36896E-06    .95271E-03
  21  Prefactor     .10547E-07    9.5781        .11082E-05** at limit **
  22  Prefactor     3.6216        1.1357        .15349E-07   -.13004E-02
  23  Normalizat    1.0057        .20147        .42714E-07    .13010E-04
  24  Prefactor     .71714        .13269       -.67719E-07    .61432E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.209357
  Prefactor  = 21.6375
  Prefactor  = 2.26792
  norm       = 0.525949
  norm       = 4.13746
  Prefactor  = 1.44829e-07
  norm       = 11.637
  Prefactor  = 44.6004
  Prefactor  = 0
  Prefactor  = 3.52962
  norm       = 1.41985
  norm       = 0
  Prefactor  = 1.87073e-08
  Prefactor  = 8.88178e-10
  norm       = 1.91236e-07
  Prefactor  = 11.7654
  Prefactor  = 2.16493e-08
  norm       = 0.342045
  norm       = 35.6366
  Prefactor  = 1.54203
  Prefactor  = 1.05471e-08
  Prefactor  = 3.62156
  Normalizat = 1.00574
  Prefactor  = 0.717136
 **********
 **   18 **HESSE 
 **********

 FCN=   6468.781     FROM HESSE     STATUS=OK           459 CALLS     2429 TOTAL
                     EDM=   .67E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20936        7.4364        .76664E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     21.637        18.761        .21471E-03   -1.5615    
   3  Prefactor     2.2679        6.7139        .68664E-03   -1.5678    
   4  norm          .52595        4.9917        .77024E-03   -1.5693    
   5  norm          4.1375        3.4271        .49543E-03   -1.5667    
   6  Prefactor     .14483E-06    3.8840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          11.637        11.312        .29333E-03   -1.5640    
   8  Prefactor     44.600        35.388        .15004E-03   -1.5574    
   9  Prefactor      .0000        3.2659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.5296        6.9319        .53832E-03   -1.5670    
  11  norm          1.4198        .77388        .90840E-03   -1.5684    
  12  norm           .0000        1.3022        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .18707E-07    5.4533        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .88818E-09    9.5299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .19124E-06    4.0880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.765        6.9985        .29304E-03   -1.5639    
  17  Prefactor     .21649E-07    7.2788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .34205        11.752        .10705E-01   -1.5696    
  19  norm          35.637        23.585        .16740E-03   -1.5589    
  20  Prefactor     1.5420        3.8617        .85971E-03   -1.5683    
  21  Prefactor     .10547E-07    10.743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.6216        17.129        .53073E-03   -1.5670    
  23  Normalizat    1.0057        .18207        .46245E-01   -.92838    
  24  Prefactor     .71714        .11653        .42628E-01   -1.0286    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.73047e-07
Minuit parameter uncertainties:
  1  2.49549
  2  18.7612
  3  6.71391
  4  3.24062
  5  3.42709
  6  0.00149998
  7  11.3116
  8  35.388
  9  5.21018e-06
  10  6.93189
  11  0.773883
  12  1.07811e-06
  13  0.000638454
  14  0.000184732
  15  0.00176843
  16  6.99851
  17  0.000793736
  18  4.00985
  19  23.5855
  20  3.86166
  21  0.000672349
  22  15.7522
  23  0.182179
  24  0.116571
Done.

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

Extracting fit parameters...

4FGL J2339.6+0242
   Spectrum: PowerLaw
463    Prefactor:  1.055e-08  6.723e-04  0.000e+00  1.000e+06 ( 1.000e-13)
464        Index:  2.549e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
465        Scale:  7.790e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  7.171e-01  1.166e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.006e+00  1.822e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 354.904 2.710
Photon Flux Upper Limit: 5.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/963504/likelihoodResults_689299201_689558401_4FGL_J2339.6+0242_daily_bin1736.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) = 6468.78156024
delta logL = -0.000106652913928

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6468.78145486
delta logL = -1.28011834022e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6468.781     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      259 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14988E-08    .23614        .42118E-03** at limit **
   2  Index         2.5851        6.0598        .50000        .20464E-09
   3  Normalizat    1.0057        .64780E-03    .46238E-01   -.11553E-02
   4  Prefactor     .71714        .45523E-03    .42628E-01   -.59340E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4988e-09
  Index      = 2.58507
  Normalizat = 1.00573
  Prefactor  = 0.71714
 **********
 **   18 **HESSE 
 **********

 FCN=   6468.781     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      288 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14988E-08    1.1958        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5851        8.7063        .50000       -.50406    
   3  Normalizat    1.0057        .14565E-02    .25359E-03   -.92839    
   4  Prefactor     .71714        .10235E-02    .20670E-03   -1.0286    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.20437e-11
Minuit parameter uncertainties:
  1  8.52289e-05
  2  13827.6
  3  0.00145653
  4  0.00102354
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/963504': 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) = 6468.78145359
delta logL = -7.77617970016e-10

Extracting fit parameters...

4FGL J2339.6+0242
   Spectrum: PowerLaw
463    Prefactor:  1.499e-09  8.523e-05  0.000e+00  1.000e+06 ( 1.000e-13)
464        Index:  2.585e+00  1.383e+04  0.000e+00  1.000e+01 (-1.000e+00)
465        Scale:  7.790e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  7.171e-01  1.024e-03  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.006e+00  1.457e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 354.904 2.710

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/963504/cmap_HighResolution_689299201_689558401_4FGL_J2339.6+0242_daily_bin1736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.40e-03', job_status='DONE', photon_flux_upper_limit='5.64e-08', time_completed='2022-11-08 00:52:15.733524', job_id='963504', GAL2='0.72', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1667897535.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='-7.78e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1736' AND source_name='4FGL J2339.6+0242' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov  8 00:52:15 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 963504: <4FGL_J2339.6+0242_daily_bin1736> in cluster <slac> Done

Job <4FGL_J2339.6+0242_daily_bin1736> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Nov  8 00:40:28 2022
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 00:40:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 00:40:29 2022
Terminated at Tue Nov  8 00:52:16 2022
Results reported at Tue Nov  8 00:52:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2339.6+0242_daily_bin1736 354.904 2.7102 689299201 689558401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2339.6+0242 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   592.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             352.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            708 sec.

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

