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


Performing analysis on: 4FGL_J2323.8+4210_daily_bin1750
RA = 350.975, Dec = 42.1826
tmin = 692928001, tmax = 693187201
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='29672', job_status='RUN', time_executed='2022-12-20 02:01:01.225673', time_epoch_executed='1671530461.23' WHERE source_name='4FGL J2323.8+4210' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/29672

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/29672/ft1_4FGL_J2323.8+4210_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/29672/ft2_4FGL_J2323.8+4210_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/29672/ft1_4FGL_J2323.8+4210_daily_bin1750.fits outfile=/scratch/kocevski/29672/ft1_filteredMKT_4FGL_J2323.8+4210_daily_bin1750.fits ra=350.975 dec=42.1826 rad=12.0 tmin=692928001.0 tmax=693187201.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.55
user 3.29
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/29672/ft2_4FGL_J2323.8+4210_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/29672/ft2_4FGL_J2323.8+4210_daily_bin1750.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/29672/ft1_filteredMKT_4FGL_J2323.8+4210_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/29672/ft1_filtered_4FGL_J2323.8+4210_daily_bin1750.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 1179

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/29672/ft1_filtered_4FGL_J2323.8+4210_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/29672/ft2_4FGL_J2323.8+4210_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/29672/ltcube_692928001_693187201_4FGL_J2323.8+4210_daily_bin1750.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/29672/ft2_4FGL_J2323.8+4210_daily_bin1750.fits
.....................!
real 11.96
user 11.50
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/29672/ft1_filtered_4FGL_J2323.8+4210_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/29672/ft2_4FGL_J2323.8+4210_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/29672/ltcube_692928001_693187201_4FGL_J2323.8+4210_daily_bin1750.fits outfile=/scratch/kocevski/29672/expmap_692928001_693187201_4FGL_J2323.8+4210_daily_bin1750.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/29672/ltcube_692928001_693187201_4FGL_J2323.8+4210_daily_bin1750.fits
.....................!
real 194.16
user 186.73
sys 5.59

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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 164 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2323.8+4210 @ 350.975 42.1826

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/29672/ft1_filtered_4FGL_J2323.8+4210_daily_bin1750.fits scfile=/scratch/kocevski/29672/ft2_4FGL_J2323.8+4210_daily_bin1750.fits outfile=/scratch/kocevski/29672/cmap_692928001_693187201_4FGL_J2323.8+4210_daily_bin1750.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=350.975 yref=42.1826 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/29672/ft1_filtered_4FGL_J2323.8+4210_daily_bin1750.fits scfile=/scratch/kocevski/29672/ft2_4FGL_J2323.8+4210_daily_bin1750.fits outfile=/scratch/kocevski/29672/cmap_HighResolution_692928001_693187201_4FGL_J2323.8+4210_daily_bin1750.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=350.975 yref=42.1826 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/29672/ft1_filtered_4FGL_J2323.8+4210_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/29672/ft2_4FGL_J2323.8+4210_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/29672/Model_4FGL_J2323.8+4210_daily_bin1750.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/scratch/kocevski/29672/ft1_filtered_4FGL_J2323.8+4210_daily_bin1750.fits.....................!
real 140.93
user 139.41
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/29672/ft1_filtered_4FGL_J2323.8+4210_daily_bin1750.fits', '/scratch/kocevski/29672/ft2_4FGL_J2323.8+4210_daily_bin1750.fits', expMap='/scratch/kocevski/29672/expmap_692928001_693187201_4FGL_J2323.8+4210_daily_bin1750.fits', expCube='/scratch/kocevski/29672/ltcube_692928001_693187201_4FGL_J2323.8+4210_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/29672/Model_4FGL_J2323.8+4210_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2323.8+4210'

4FGL J2323.8+4210
   Spectrum: LogParabola
458         norm:  5.154e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
459        alpha:  1.778e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
460         beta:  6.822e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
461           Eb:  1.948e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/29672/ft1_filtered_4FGL_J2323.8+4210_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/29672/ft2_4FGL_J2323.8+4210_daily_bin1750.fits
Exposure map: /scratch/kocevski/29672/expmap_692928001_693187201_4FGL_J2323.8+4210_daily_bin1750.fits
Exposure cube: /scratch/kocevski/29672/ltcube_692928001_693187201_4FGL_J2323.8+4210_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/29672/Model_4FGL_J2323.8+4210_daily_bin1750.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) = 12288.6944183

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3847       1.0000          .0000       .10000E+07
     2 'norm      '    1.6774       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.2440       1.0000          .0000       .10000E+07
     4 'norm      '    .37902       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.2882       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12951E-06   1.0000          .0000       .10000E+07
     7 'norm      '    .26340E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16240E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.7557       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.050       1.0000          .0000       .10000E+07
    11 'norm      '    1.6963       1.0000          .0000       .10000E+07
    12 'Prefactor '    .17327E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .42305E-01   1.0000          .0000       .10000E+07
    14 'norm      '    .60268E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .38355E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .26479E-07   1.0000          .0000       .10000E+07
    17 'norm      '    2.2380       1.0000          .0000       .10000E+07
    18 'Prefactor '    .41967E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .23282       1.0000          .0000       .10000E+07
    20 'Prefactor '    .89624E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1920       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98078       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12288.60     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1420 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6990        3.9068       -.19826E-06    .89165E-02
   2  norm          1.7669        6.5097       -.51001E-06    .16537E-02
   3  Prefactor     3.2443        3.5753        .14463E-07    .24133E-03
   4  norm          .37941        1.2433       -.11195E-06    .24781E-02
   5  Prefactor     1.2857        2.3201       -.15787E-06    .12954E-03
   6  Prefactor     .44409E-09    6.2525       -.47176E-06** at limit **
   7  norm          .14061E-06    4.0728        .17009E-07** at limit **
   8  Prefactor     .20539E-08    2.5626        .35110E-06** at limit **
   9  Prefactor     3.7549        3.7151        .10773E-06    .10047E-02
  10  Prefactor     12.053        1.0105        .26224E-08    .40486E-03
  11  norm          1.6972        1.3135        .34220E-07    .17954E-02
  12  Prefactor     .11102E-09    4.7519       -.38578E-06** at limit **
  13  norm          .44014E-01    58.387       -.76711E-05** at limit **
  14  norm          .22204E-09    2.2668       -.36518E-07** at limit **
  15  Prefactor      .0000        18.545        .25745E-06** at limit **
  16  norm          .44409E-09    2.0396       -.48543E-07** at limit **
  17  norm          2.2431        6.8432       -.28899E-06    .44767E-03
  18  Prefactor     .23870E-08    1.6492        .27600E-07** at limit **
  19  Prefactor     .42288E-06    49.134        .17945E-05** at limit **
  20  Prefactor     .23148E-07    3.6312        .16126E-06** at limit **
  21  Normalizat    1.1913        .21709        .46018E-05   -.17420E-04
  22  Prefactor     .98086        .76031E-01   -.86840E-06   -.59756E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.69901
  norm       = 1.7669
  Prefactor  = 3.24429
  norm       = 0.379413
  Prefactor  = 1.28572
  Prefactor  = 4.44089e-10
  norm       = 1.4061e-07
  Prefactor  = 2.05391e-09
  Prefactor  = 3.75488
  Prefactor  = 12.0531
  norm       = 1.69723
  Prefactor  = 1.11022e-10
  norm       = 0.0440136
  norm       = 2.22045e-10
  Prefactor  = 0
  norm       = 4.44089e-10
  norm       = 2.2431
  Prefactor  = 2.38698e-09
  Prefactor  = 4.22884e-07
  Prefactor  = 2.31482e-08
  Normalizat = 1.19133
  Prefactor  = 0.98086
 **********
 **   18 **HESSE 
 **********

 FCN=   12288.60     FROM HESSE     STATUS=OK           406 CALLS     1826 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6990        17.809        .34597E-03   -1.5649    
   2  norm          1.7669        45.589        .81322E-03   -1.5681    
   3  Prefactor     3.2443        3.6214        .56210E-03   -1.5672    
   4  norm          .37941        1.2790        .91959E-03   -1.5696    
   5  Prefactor     1.2857        2.3488        .97585E-03   -1.5685    
   6  Prefactor     .44409E-09    6.7761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .14061E-06    1.4728        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .20539E-08    6.0855        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.7549        3.7440        .52073E-03   -1.5669    
  10  Prefactor     12.053        12.005        .28833E-03   -1.5639    
  11  norm          1.6972        1.3253        .80759E-03   -1.5682    
  12  Prefactor     .11102E-09    4.8031        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .44014E-01    1.8271        .84244E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .22204E-09    2.2783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        18.687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .44409E-09    2.0316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.2431        6.8517        .68679E-03   -1.5678    
  18  Prefactor     .23870E-08    29.432        .20597E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .42288E-06    88.679        .11219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .23148E-07    5.7491        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1913        .20077        .88806E-01   -.86871    
  22  Prefactor     .98086        .67612E-01    .34311E-01   -.93370    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64578e-08
Minuit parameter uncertainties:
  1  17.8095
  2  17.9502
  3  3.62139
  4  1.27899
  5  2.34881
  6  0.000109475
  7  0.000910061
  8  0.000223339
  9  3.74402
  10  12.0051
  11  1.32526
  12  4.70047e-05
  13  0.567167
  14  4.6485e-05
  15  2.43444e-05
  16  6.13273e-05
  17  6.85173
  18  0.000531678
  19  0.0122478
  20  0.000729837
  21  0.200903
  22  0.0676176
Done.

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

Extracting fit parameters...

4FGL J2323.8+4210
   Spectrum: LogParabola
458         norm:  2.220e-10  4.648e-05  0.000e+00  1.000e+06 ( 1.000e-13)
459        alpha:  1.778e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
460         beta:  6.822e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
461           Eb:  1.948e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  9.809e-01  6.762e-02  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  1.191e+00  2.009e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 350.975 42.183
Photon Flux Upper Limit: 2.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.05e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/29672/likelihoodResults_692928001_693187201_4FGL_J2323.8+4210_daily_bin1750.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) = 12288.6040505
delta logL = -0.000143991013829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12288.6039146
delta logL = -8.08328877611e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30262E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    .72672       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1906       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98113       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   12288.60     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      228 TOTAL
                     EDM=   .28E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.8218        .42118E-03** at limit **
   2  alpha         2.1606        1.4536        .16502E-04     .0000    
   3  Normalizat    1.1913        1.1099       -.36460E-05    .57148E-04
   4  Prefactor     .98086        1.3213        .46077E-05    .13378E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.16057
  Normalizat = 1.19133
  Prefactor  = 0.98086
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12288.60     FROM HESSE     STATUS=FAILED         7 CALLS      235 TOTAL
                     EDM=   .28E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.8218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .99462        1.4536        .16502E-04   -.13619    
   3  Normalizat    1.1913        1.1099       -.36460E-05   -.86871    
   4  Prefactor     .98086        1.3213        .46077E-05   -.93370    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.82676e-12
Minuit parameter uncertainties:
  1  2.21682e-06
  2  1.55345
  3  1.1331
  4  1.3691
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/29672': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 12288.6039065
delta logL = 4.72937244922e-11

Extracting fit parameters...

4FGL J2323.8+4210
   Spectrum: LogParabola
458         norm:  0.000e+00  2.217e-06  0.000e+00  1.000e+06 ( 1.000e-13)
459        alpha:  2.161e+00  1.553e+00  0.000e+00  5.000e+00 ( 1.000e+00)
460         beta:  6.822e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
461           Eb:  1.948e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  9.809e-01  1.369e+00  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  1.191e+00  1.133e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 350.975 42.183

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/29672/cmap_HighResolution_692928001_693187201_4FGL_J2323.8+4210_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.05e-05', job_status='DONE', photon_flux_upper_limit='2.47e-08', time_completed='2022-12-20 02:14:52.275924', job_id='29672', GAL2='0.98', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1671531292.28', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='4.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='1750' AND source_name='4FGL J2323.8+4210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 02:14:52 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0248>
Subject: Job 29672: <4FGL_J2323.8+4210_daily_bin1750> in cluster <slac> Done

Job <4FGL_J2323.8+4210_daily_bin1750> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Dec 20 02:00:18 2022
Job was executed on host(s) <bullet0248>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 02:00:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 02:00:20 2022
Terminated at Tue Dec 20 02:14:52 2022
Results reported at Tue Dec 20 02:14:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2323.8+4210_daily_bin1750 350.975 42.1826 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2323.8+4210 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   830.51 sec.
    Max Memory :                                 629 MB
    Average Memory :                             325.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            874 sec.

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

