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 99 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2323.8+4210_daily_bin1695
RA = 350.975, Dec = 42.1826
tmin = 678672001, tmax = 678931201
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='731318', job_status='RUN', time_executed='2022-07-08 00:37:16.407751', time_epoch_executed='1657265836.41' WHERE source_name='4FGL J2323.8+4210' and cadence='daily' and bin_id='1695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/731318

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/731318/ft1_4FGL_J2323.8+4210_daily_bin1695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/731318/ft2_4FGL_J2323.8+4210_daily_bin1695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/731318/ft1_4FGL_J2323.8+4210_daily_bin1695.fits outfile=/scratch/kocevski/731318/ft1_filteredMKT_4FGL_J2323.8+4210_daily_bin1695.fits ra=350.975 dec=42.1826 rad=12.0 tmin=678672001.0 tmax=678931201.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.66
user 3.40
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/731318/ft2_4FGL_J2323.8+4210_daily_bin1695.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/731318/ft1_filteredMKT_4FGL_J2323.8+4210_daily_bin1695.fits evtable="EVENTS" outfile="/scratch/kocevski/731318/ft1_filtered_4FGL_J2323.8+4210_daily_bin1695.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.15

Number of photons that the gtmktime cut: 1070

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/731318/ft1_filtered_4FGL_J2323.8+4210_daily_bin1695.fits" evtable="EVENTS" scfile=/scratch/kocevski/731318/ft2_4FGL_J2323.8+4210_daily_bin1695.fits sctable="SC_DATA" outfile=/scratch/kocevski/731318/ltcube_678672001_678931201_4FGL_J2323.8+4210_daily_bin1695.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/731318/ft2_4FGL_J2323.8+4210_daily_bin1695.fits
.....................!
real 12.72
user 12.06
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/731318/ft1_filtered_4FGL_J2323.8+4210_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731318/ft2_4FGL_J2323.8+4210_daily_bin1695.fits sctable="SC_DATA" expcube=/scratch/kocevski/731318/ltcube_678672001_678931201_4FGL_J2323.8+4210_daily_bin1695.fits outfile=/scratch/kocevski/731318/expmap_678672001_678931201_4FGL_J2323.8+4210_daily_bin1695.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/731318/ltcube_678672001_678931201_4FGL_J2323.8+4210_daily_bin1695.fits
.....................!
real 190.13
user 185.19
sys 4.61

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/731318/ft1_filtered_4FGL_J2323.8+4210_daily_bin1695.fits scfile=/scratch/kocevski/731318/ft2_4FGL_J2323.8+4210_daily_bin1695.fits outfile=/scratch/kocevski/731318/cmap_678672001_678931201_4FGL_J2323.8+4210_daily_bin1695.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/731318/ft1_filtered_4FGL_J2323.8+4210_daily_bin1695.fits scfile=/scratch/kocevski/731318/ft2_4FGL_J2323.8+4210_daily_bin1695.fits outfile=/scratch/kocevski/731318/cmap_HighResolution_678672001_678931201_4FGL_J2323.8+4210_daily_bin1695.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/731318/ft1_filtered_4FGL_J2323.8+4210_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/731318/ft2_4FGL_J2323.8+4210_daily_bin1695.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/731318/Model_4FGL_J2323.8+4210_daily_bin1695.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/731318/ft1_filtered_4FGL_J2323.8+4210_daily_bin1695.fits.....................!
real 126.21
user 124.80
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/731318/ft1_filtered_4FGL_J2323.8+4210_daily_bin1695.fits', '/scratch/kocevski/731318/ft2_4FGL_J2323.8+4210_daily_bin1695.fits', expMap='/scratch/kocevski/731318/expmap_678672001_678931201_4FGL_J2323.8+4210_daily_bin1695.fits', expCube='/scratch/kocevski/731318/ltcube_678672001_678931201_4FGL_J2323.8+4210_daily_bin1695.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/731318/Model_4FGL_J2323.8+4210_daily_bin1695.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  1.000e-04  1.000e+04 ( 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  0.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/731318/ft1_filtered_4FGL_J2323.8+4210_daily_bin1695.fits
Spacecraft file(s): /scratch/kocevski/731318/ft2_4FGL_J2323.8+4210_daily_bin1695.fits
Exposure map: /scratch/kocevski/731318/expmap_678672001_678931201_4FGL_J2323.8+4210_daily_bin1695.fits
Exposure cube: /scratch/kocevski/731318/ltcube_678672001_678931201_4FGL_J2323.8+4210_daily_bin1695.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/731318/Model_4FGL_J2323.8+4210_daily_bin1695.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) = 11196.0280519

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.977       1.0000         .10000E-03   10000.    
     3 'norm      '    9.7066       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .59533       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.027       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.793       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10495E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.6141       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.1353       1.0000         .10000E-03   10000.    
    14 'norm      '    2.3365       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.464       1.0000         .10000E-03   10000.    
    16 'norm      '    1.3321       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10241E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.2283       1.0000         .10000E-03   10000.    
    21 'norm      '    18.407       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    4.9774       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0351       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .90515       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11195.98     FROM MIGRAD    STATUS=CONVERGED    630 CALLS     3668 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.7907        .27770E-05** at limit **
   2  Prefactor     15.978        14.732       -.24432E-06   -.22080E-04
   3  norm          9.7071        14.539       -.74613E-06   -.26872E-04
   4  Prefactor     .10000E-03    5.3762       -.15913E-06** at limit **
   5  norm          .59532        .91282        .23230E-07   -.65417E-03
   6  Prefactor     .10000E-03    1.3794       -.10673E-06** at limit **
   7  Prefactor     23.016        19.626        .13539E-05    .11351E-03
   8  Prefactor     10.801        85.537        .12806E-04    .40184E-04
   9  Prefactor     .10000E-03    2.8716       -.14823E-06** at limit **
  10  norm          2.6135        2.8762       -.20559E-07   -.30950E-03
  11  Prefactor     .10000E-03    8.6658       -.45262E-05** at limit **
  12  Prefactor     .10001E-03    2.8299        .97599E-06** at limit **
  13  Prefactor     5.1360        17.748       -.33821E-06   -.28137E-04
  14  norm          2.3365        1.2880        .19369E-07   -.22199E-03
  15  Prefactor     18.469        11.806       -.49708E-06   -.17925E-03
  16  norm          1.3321        2.6592        .70427E-07   -.38254E-03
  17  norm          .10000E-03    2.8696        .89118E-08** at limit **
  18  Prefactor     .10000E-03    4.2360       -.18242E-07** at limit **
  19  norm          .10000E-03    1.0259        .48361E-07** at limit **
  20  Prefactor     4.2302        15.158       -.10950E-05   -.45668E-04
  21  norm          18.407        9.5532        .66629E-08   -.32866E-05
  22  Prefactor     .10000E-03    22.326        .55996E-06** at limit **
  23  Prefactor     .10000E-03    16.475       -.10918E-05** at limit **
  24  Prefactor     4.9764        3.7839        .76806E-06   -.21483E-02
  25  Normalizat    1.0350        .19873       -.19147E-06   -.64165E-04
  26  Prefactor     .90517        .67920E-01   -.41622E-07   -.12668E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 15.9777
  norm       = 9.70711
  Prefactor  = 0.0001
  norm       = 0.59532
  Prefactor  = 0.0001
  Prefactor  = 23.0162
  Prefactor  = 10.8012
  Prefactor  = 0.000100004
  norm       = 2.61354
  Prefactor  = 0.000100001
  Prefactor  = 0.000100008
  Prefactor  = 5.136
  norm       = 2.33655
  Prefactor  = 18.4691
  norm       = 1.33213
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.2302
  norm       = 18.4073
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.97636
  Normalizat = 1.03499
  Prefactor  = 0.905175
 **********
 **   18 **HESSE 
 **********

 FCN=   11195.98     FROM HESSE     STATUS=OK           474 CALLS     4142 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.8478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.978        14.739        .10020E-03   -1.4908    
   3  norm          9.7071        15.004        .12862E-03   -1.5085    
   4  Prefactor     .10000E-03    5.4838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .59532        .91724        .23308E-03   -1.5554    
   6  Prefactor     .10000E-03    2.5896        .23631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     23.016        19.357        .83473E-04   -1.4748    
   8  Prefactor     10.801        86.327        .12195E-03   -1.5051    
   9  Prefactor     .10000E-03    5.7227        .54907E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6135        2.8917        .17121E-03   -1.5385    
  11  Prefactor     .10000E-03    8.8144        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    8.0538        .33175E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.1360        17.744        .17741E-03   -1.5255    
  14  norm          2.3365        1.2825        .85513E-04   -1.5402    
  15  Prefactor     18.469        11.757        .93210E-04   -1.4848    
  16  norm          1.3321        2.6383        .23871E-03   -1.5477    
  17  norm          .10000E-03    2.8734        .17505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.2478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.8723        .20672E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.2302        15.168        .19596E-03   -1.5297    
  21  norm          18.407        9.5586        .93352E-04   -1.4850    
  22  Prefactor     .10000E-03    22.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    16.486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     4.9764        6.6296        .90129E-03   -1.5262    
  25  Normalizat    1.0350        .22232        .39048E-03   -.91867    
  26  Prefactor     .90517        .76289E-01    .14905E-03   -.95961    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.36649e-09
Minuit parameter uncertainties:
  1  9.72105e-05
  2  14.7425
  3  15.0093
  4  2.94679e-06
  5  0.917266
  6  3.15654e-05
  7  19.3625
  8  61.1929
  9  0.000289926
  10  2.89185
  11  0.000154962
  12  0.000508763
  13  17.7625
  14  1.28255
  15  11.7589
  16  2.63855
  17  8.14197e-07
  18  2.6631e-07
  19  1.06507e-05
  20  15.1823
  21  9.55937
  22  3.01451e-05
  23  4.50242e-05
  24  6.6306
  25  0.222523
  26  0.0762984
Done.

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

Extracting fit parameters...

4FGL J2323.8+4210
   Spectrum: LogParabola
458         norm:  1.000e-04  8.142e-07  1.000e-04  1.000e+04 ( 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  0.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.052e-01  7.630e-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.035e+00  2.225e-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.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.55e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/731318/likelihoodResults_678672001_678931201_4FGL_J2323.8+4210_daily_bin1695.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) = 11195.9796556
delta logL = -0.00165522857606

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11195.9780004
delta logL = 3.47426976077e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7807       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0350       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90517       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11195.98     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      250 TOTAL
                     EDM=   .59E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    21.929        .17508E-02** at limit **
   2  alpha         1.8912        2.5816        .17417       -.15404E-07
   3  Normalizat    1.0350        .20738        .39048E-03   -.20264E-04
   4  Prefactor     .90517        .75157E-01    .14905E-03   -.55373E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.89124
  Normalizat = 1.03499
  Prefactor  = 0.905175
 **********
 **   18 **HESSE 
 **********

 FCN=   11195.98     FROM HESSE     STATUS=OK            23 CALLS      273 TOTAL
                     EDM=   .47E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.8879        .35016E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8912        3.5425        .69669E-02   -.24598    
   3  Normalizat    1.0350        .20751        .15619E-04   -.91867    
   4  Prefactor     .90517        .75205E-01    .59622E-05   -.95961    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.70546e-12
Minuit parameter uncertainties:
  1  6.50706e-06
  2  282.786
  3  0.207675
  4  0.0752133
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/731318': 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) = 11195.9780003
delta logL = 8.52196535561e-08

Extracting fit parameters...

4FGL J2323.8+4210
   Spectrum: LogParabola
458         norm:  1.000e-04  6.507e-06  1.000e-04  1.000e+04 ( 1.000e-13)
459        alpha:  1.891e+00  2.828e+02  0.000e+00  5.000e+00 ( 1.000e+00)
460         beta:  6.822e-02  0.000e+00  0.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.052e-01  7.521e-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.035e+00  2.077e-01  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/731318/cmap_HighResolution_678672001_678931201_4FGL_J2323.8+4210_daily_bin1695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.55e-05', job_status='DONE', photon_flux_upper_limit='2.89e-08', time_completed='2022-07-08 00:56:49.428713', job_id='731318', GAL2='0.91', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1657267009.43', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='8.52e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.78' WHERE bin_id='1695' AND source_name='4FGL J2323.8+4210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul  8 00:56:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0200>
Subject: Job 731318: <4FGL_J2323.8+4210_daily_bin1695> in cluster <slac> Done

Job <4FGL_J2323.8+4210_daily_bin1695> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Jul  8 00:35:27 2022
Job was executed on host(s) <bullet0200>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  8 00:35:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  8 00:35:29 2022
Terminated at Fri Jul  8 00:56:49 2022
Results reported at Fri Jul  8 00:56:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2323.8+4210_daily_bin1695 350.975 42.1826 678672001 678931201 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 :                                   1174.36 sec.
    Max Memory :                                 1271 MB
    Average Memory :                             353.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2931 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1280 sec.
    Turnaround time :                            1282 sec.

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

