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


Performing analysis on: 4FGL_J2323.8+4210_daily_bin1765
RA = 350.975, Dec = 42.1826
tmin = 696816001, tmax = 697075201
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='649803', job_status='RUN', time_executed='2023-02-03 01:52:56.664198', time_epoch_executed='1675417976.66' WHERE source_name='4FGL J2323.8+4210' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/649803

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/649803/ft1_4FGL_J2323.8+4210_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/649803/ft2_4FGL_J2323.8+4210_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/649803/ft1_4FGL_J2323.8+4210_daily_bin1765.fits outfile=/scratch/kocevski/649803/ft1_filteredMKT_4FGL_J2323.8+4210_daily_bin1765.fits ra=350.975 dec=42.1826 rad=12.0 tmin=696816001.0 tmax=697075201.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.71
user 3.44
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/649803/ft2_4FGL_J2323.8+4210_daily_bin1765.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/649803/ft1_filteredMKT_4FGL_J2323.8+4210_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/649803/ft1_filtered_4FGL_J2323.8+4210_daily_bin1765.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1094

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/649803/ft1_filtered_4FGL_J2323.8+4210_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/649803/ft2_4FGL_J2323.8+4210_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/649803/ltcube_696816001_697075201_4FGL_J2323.8+4210_daily_bin1765.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/649803/ft2_4FGL_J2323.8+4210_daily_bin1765.fits
.....................!
real 16.66
user 16.17
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/649803/ft1_filtered_4FGL_J2323.8+4210_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/649803/ft2_4FGL_J2323.8+4210_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/649803/ltcube_696816001_697075201_4FGL_J2323.8+4210_daily_bin1765.fits outfile=/scratch/kocevski/649803/expmap_696816001_697075201_4FGL_J2323.8+4210_daily_bin1765.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/649803/ltcube_696816001_697075201_4FGL_J2323.8+4210_daily_bin1765.fits
.....................!
real 192.78
user 186.55
sys 5.71

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/649803/ft1_filtered_4FGL_J2323.8+4210_daily_bin1765.fits scfile=/scratch/kocevski/649803/ft2_4FGL_J2323.8+4210_daily_bin1765.fits outfile=/scratch/kocevski/649803/cmap_696816001_697075201_4FGL_J2323.8+4210_daily_bin1765.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/649803/ft1_filtered_4FGL_J2323.8+4210_daily_bin1765.fits scfile=/scratch/kocevski/649803/ft2_4FGL_J2323.8+4210_daily_bin1765.fits outfile=/scratch/kocevski/649803/cmap_HighResolution_696816001_697075201_4FGL_J2323.8+4210_daily_bin1765.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.56
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/649803/ft1_filtered_4FGL_J2323.8+4210_daily_bin1765.fits', '/scratch/kocevski/649803/ft2_4FGL_J2323.8+4210_daily_bin1765.fits', expMap='/scratch/kocevski/649803/expmap_696816001_697075201_4FGL_J2323.8+4210_daily_bin1765.fits', expCube='/scratch/kocevski/649803/ltcube_696816001_697075201_4FGL_J2323.8+4210_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/649803/Model_4FGL_J2323.8+4210_daily_bin1765.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/649803/ft1_filtered_4FGL_J2323.8+4210_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/649803/ft2_4FGL_J2323.8+4210_daily_bin1765.fits
Exposure map: /scratch/kocevski/649803/expmap_696816001_697075201_4FGL_J2323.8+4210_daily_bin1765.fits
Exposure cube: /scratch/kocevski/649803/ltcube_696816001_697075201_4FGL_J2323.8+4210_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/649803/Model_4FGL_J2323.8+4210_daily_bin1765.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) = 11307.8705496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.6999       1.0000          .0000       .10000E+07
     2 'norm      '    .15297E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.5609       1.0000          .0000       .10000E+07
     4 'norm      '    1.0337       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.6362       1.0000          .0000       .10000E+07
     6 'Prefactor '    .67560E-05   1.0000          .0000       .10000E+07
     7 'norm      '    1.4511       1.0000          .0000       .10000E+07
     8 'Prefactor '    .26905E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8876       1.0000          .0000       .10000E+07
    10 'Prefactor '    .68825E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .53985       1.0000          .0000       .10000E+07
    12 'Prefactor '    8.5273       1.0000          .0000       .10000E+07
    13 'norm      '    .27908E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .81927       1.0000          .0000       .10000E+07
    15 'Prefactor '    12.470       1.0000          .0000       .10000E+07
    16 'norm      '    .51903E-07   1.0000          .0000       .10000E+07
    17 'norm      '    10.835       1.0000          .0000       .10000E+07
    18 'Prefactor '    .78678E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .82855E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .11401E-05   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.2949       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .89758       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=   11307.80     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1380 TOTAL
                     EDM=   .94E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.9444        3.9746       -.46954E-06    .17241E-01
   2  norm          .11102E-09    4.7630        .24120E-06** at limit **
   3  Prefactor     3.5601        3.5252        .74572E-07    .40969E-04
   4  norm          1.0338        1.8811       -.98180E-07    .25807E-03
   5  Prefactor     1.6338        1.8964        .11896E-07   -.11705E-02
   6  Prefactor      .0000        5.5702       -.56457E-06** at limit **
   7  norm          1.4338        2.7558       -.34655E-06    .75694E-03
   8  Prefactor     .73275E-08    9.3417       -.14688E-05** at limit **
   9  Prefactor     1.8929        4.5066       -.12096E-06   -.12924E-02
  10  Prefactor     .88818E-09    6.4447        .63489E-06** at limit **
  11  norm          .54052        .77243       -.46994E-07    .44177E-02
  12  Prefactor     8.4982        9.4227        .13460E-05    .25028E-02
  13  norm          .68279E-08    1.9246       -.32473E-06** at limit **
  14  norm          .86161        .60440       -.55433E-08    .21675E-02
  15  Prefactor     12.417        5.0186        .73612E-07   -.10906E-01
  16  norm           .0000        .93154       -.38916E-07** at limit **
  17  norm          10.801        7.4256       -.15133E-07   -.70388E-03
  18  Prefactor     .13323E-08    9.8897        .65649E-06** at limit **
  19  Prefactor      .0000        26.523       -.20027E-06** at limit **
  20  Prefactor      .0000        1.6603       -.25122E-07** at limit **
  21  Normalizat    1.2947        .22427        .75562E-05    .26778E-04
  22  Prefactor     .89762        .79704E-01   -.30846E-05   -.23433E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.94439
  norm       = 1.11022e-10
  Prefactor  = 3.5601
  norm       = 1.03376
  Prefactor  = 1.63375
  Prefactor  = 0
  norm       = 1.43381
  Prefactor  = 7.32747e-09
  Prefactor  = 1.89294
  Prefactor  = 8.88178e-10
  norm       = 0.540519
  Prefactor  = 8.49824
  norm       = 6.82787e-09
  norm       = 0.861614
  Prefactor  = 12.4173
  norm       = 0
  norm       = 10.8006
  Prefactor  = 1.33227e-09
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.29467
  Prefactor  = 0.897621
 **********
 **   18 **HESSE 
 **********

 FCN=   11307.80     FROM HESSE     STATUS=OK           390 CALLS     1770 TOTAL
                     EDM=   .74E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.9444        18.534        .32151E-03   -1.5645    
   2  norm          .11102E-09    4.7928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.5601        3.5247        .53534E-03   -1.5670    
   4  norm          1.0338        1.9210        .12424E-02   -1.5688    
   5  Prefactor     1.6338        1.9135        .82601E-03   -1.5682    
   6  Prefactor      .0000        5.6173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.4338        2.8038        .89394E-03   -1.5684    
   8  Prefactor     .73275E-08    10.253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.8929        4.5580        .75716E-03   -1.5680    
  10  Prefactor     .88818E-09    6.6611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .54052        .79331        .74798E-03   -1.5693    
  12  Prefactor     8.4982        9.4909        .34304E-03   -1.5650    
  13  norm          .68279E-08    12.187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .86161        37.521        .51510E-03   -1.5689    
  15  Prefactor     12.417        14.604        .28342E-03   -1.5637    
  16  norm           .0000        .93951        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          10.801        7.4229        .30412E-03   -1.5642    
  18  Prefactor     .13323E-08    11.824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        26.598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        1.6662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2947        .19671        .82980E-01   -.83725    
  22  Prefactor     .89762        .68501E-01    .44974E-01   -.96224    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.43745e-07
Minuit parameter uncertainties:
  1  18.5344
  2  5.0035e-05
  3  3.52466
  4  1.92097
  5  1.91348
  6  8.29205e-06
  7  2.80385
  8  0.000548624
  9  4.55801
  10  0.000155129
  11  0.793308
  12  9.49088
  13  0.000576513
  14  11.3717
  15  14.6039
  16  6.49307e-06
  17  7.42293
  18  0.000253399
  19  2.72679e-05
  20  1.19381e-05
  21  0.19682
  22  0.0685073
Done.

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

Extracting fit parameters...

4FGL J2323.8+4210
   Spectrum: LogParabola
458         norm:  8.616e-01  1.137e+01  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:  8.976e-01  6.851e-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.295e+00  1.968e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/649803/likelihoodResults_696816001_697075201_4FGL_J2323.8+4210_daily_bin1765.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) = 11305.8999344
delta logL = 1.89527972054

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11305.8907811
delta logL = 1.90443305745

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4444       1.0000          .0000       .10000E+07
     2 'alpha     '    3.1401       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2244       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90341       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.

 FCN=   11305.89     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      257 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4452        21.050        .65408E-03    .85466E-02
   2  alpha         3.1400        1.7959        .24203        .14184E-03
   3  Normalizat    1.2244        .63574E-01    .84831E-01    .25997E-04
   4  Prefactor     .90341        .21660E-01    .45049E-01    .19768E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.44522
  alpha      = 3.14
  Normalizat = 1.22442
  Prefactor  = 0.903409
 **********
 **   18 **HESSE 
 **********

 FCN=   11305.89     FROM HESSE     STATUS=OK            33 CALLS      290 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4452        7.8300        .95805E-05   -1.5677    
   2  alpha         3.1400        1.3004        .87350E-02    .25888    
   3  Normalizat    1.2244        .22662        .37560E-03   -.85852    
   4  Prefactor     .90341        .79965E-01    .15321E-03   -.96022    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06705e-07
Minuit parameter uncertainties:
  1  7.83002
  2  1.37307
  3  0.226805
  4  0.0799749
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/649803': 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) = 11305.890781
delta logL = 1.90443309347

Extracting fit parameters...

4FGL J2323.8+4210
   Spectrum: LogParabola
458         norm:  2.445e+00  7.830e+00  0.000e+00  1.000e+06 ( 1.000e-13)
459        alpha:  3.140e+00  1.373e+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.034e-01  7.997e-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.224e+00  2.268e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.88
Ra Dec: 350.975 42.183
Photon Index (Free Index): 3.14 +/- 1.37
Photon Flux (Free Index): 8.32e-08 +/- 5.30e-08
Energy Flux (Free Index): 1.72e-05 +/- 1.31e-05

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/649803/cmap_HighResolution_696816001_697075201_4FGL_J2323.8+4210_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.95e-05', comment='SUCCESS', energy_flux2='1.72e-05', dlogl='1.90e+00', photon_flux2='8.32e-08', job_status='DONE', time_completed='2023-02-03 02:06:27.108557', photon_index_error2='1.37', photon_index2='3.14', ts='0.01', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='5.65e-08', energy_flux_error2='1.31e-05', EG='1.29', time_epoch_completed='1675418787.11', return_code='0', job_id='649803', GAL2='0.90', EG2='1.22', return_code2='0', photon_flux_error2='5.30e-08', ts2='3.88', photon_index='1.78' WHERE bin_id='1765' AND source_name='4FGL J2323.8+4210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 02:06:27 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 649803: <4FGL_J2323.8+4210_daily_bin1765> in cluster <slac> Done

Job <4FGL_J2323.8+4210_daily_bin1765> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Feb  3 01:50:27 2023
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:51:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:51:19 2023
Terminated at Fri Feb  3 02:06:27 2023
Results reported at Fri Feb  3 02:06:27 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2323.8+4210_daily_bin1765 350.975 42.1826 696816001 697075201 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 :                                   812.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             349.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   908 sec.
    Turnaround time :                            960 sec.

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

