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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1740
RA = 351.19, Dec = 8.0282
tmin = 690336001, tmax = 690595201
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='836078', job_status='RUN', time_executed='2022-11-20 00:50:26.482932', time_epoch_executed='1668934226.48' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/836078

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/836078/ft1_4FGL_J2324.7+0801_daily_bin1740.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/836078/ft2_4FGL_J2324.7+0801_daily_bin1740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/836078/ft1_4FGL_J2324.7+0801_daily_bin1740.fits outfile=/scratch/kocevski/836078/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1740.fits ra=351.19 dec=8.0282 rad=12.0 tmin=690336001.0 tmax=690595201.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.00
user 2.79
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/836078/ft2_4FGL_J2324.7+0801_daily_bin1740.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/836078/ft2_4FGL_J2324.7+0801_daily_bin1740.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/836078/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1740.fits evtable="EVENTS" outfile="/scratch/kocevski/836078/ft1_filtered_4FGL_J2324.7+0801_daily_bin1740.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.34
sys 0.16

Number of photons that the gtmktime cut: 1004

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/836078/ft1_filtered_4FGL_J2324.7+0801_daily_bin1740.fits" evtable="EVENTS" scfile=/scratch/kocevski/836078/ft2_4FGL_J2324.7+0801_daily_bin1740.fits sctable="SC_DATA" outfile=/scratch/kocevski/836078/ltcube_690336001_690595201_4FGL_J2324.7+0801_daily_bin1740.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/836078/ft2_4FGL_J2324.7+0801_daily_bin1740.fits
.....................!
real 13.50
user 13.09
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/836078/ft1_filtered_4FGL_J2324.7+0801_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/836078/ft2_4FGL_J2324.7+0801_daily_bin1740.fits sctable="SC_DATA" expcube=/scratch/kocevski/836078/ltcube_690336001_690595201_4FGL_J2324.7+0801_daily_bin1740.fits outfile=/scratch/kocevski/836078/expmap_690336001_690595201_4FGL_J2324.7+0801_daily_bin1740.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/836078/ltcube_690336001_690595201_4FGL_J2324.7+0801_daily_bin1740.fits
.....................!
real 192.88
user 185.98
sys 5.18

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

Setting source of interest to:
4FGL J2324.7+0801 @ 351.19 8.0282

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/836078/ft1_filtered_4FGL_J2324.7+0801_daily_bin1740.fits scfile=/scratch/kocevski/836078/ft2_4FGL_J2324.7+0801_daily_bin1740.fits outfile=/scratch/kocevski/836078/cmap_690336001_690595201_4FGL_J2324.7+0801_daily_bin1740.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=351.19 yref=8.0282 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/836078/ft1_filtered_4FGL_J2324.7+0801_daily_bin1740.fits scfile=/scratch/kocevski/836078/ft2_4FGL_J2324.7+0801_daily_bin1740.fits outfile=/scratch/kocevski/836078/cmap_HighResolution_690336001_690595201_4FGL_J2324.7+0801_daily_bin1740.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=351.19 yref=8.0282 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/836078/ft1_filtered_4FGL_J2324.7+0801_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/836078/ft2_4FGL_J2324.7+0801_daily_bin1740.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/836078/Model_4FGL_J2324.7+0801_daily_bin1740.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/836078/ft1_filtered_4FGL_J2324.7+0801_daily_bin1740.fits.....................!
real 109.54
user 107.64
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/836078/ft1_filtered_4FGL_J2324.7+0801_daily_bin1740.fits', '/scratch/kocevski/836078/ft2_4FGL_J2324.7+0801_daily_bin1740.fits', expMap='/scratch/kocevski/836078/expmap_690336001_690595201_4FGL_J2324.7+0801_daily_bin1740.fits', expCube='/scratch/kocevski/836078/ltcube_690336001_690595201_4FGL_J2324.7+0801_daily_bin1740.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/836078/Model_4FGL_J2324.7+0801_daily_bin1740.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.7+0801'

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  3.182e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/836078/ft1_filtered_4FGL_J2324.7+0801_daily_bin1740.fits
Spacecraft file(s): /scratch/kocevski/836078/ft2_4FGL_J2324.7+0801_daily_bin1740.fits
Exposure map: /scratch/kocevski/836078/expmap_690336001_690595201_4FGL_J2324.7+0801_daily_bin1740.fits
Exposure cube: /scratch/kocevski/836078/ltcube_690336001_690595201_4FGL_J2324.7+0801_daily_bin1740.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/836078/Model_4FGL_J2324.7+0801_daily_bin1740.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) = 10706.2380716

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2168       1.0000         .10000E-03   10000.    
     2 'norm      '    .11032E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .72031E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.0292       1.0000          .0000       .10000E+07
     5 'Prefactor '    9.7051       1.0000          .0000       .10000E+07
     6 'Prefactor '    6.5949       1.0000          .0000       .10000E+07
     7 'norm      '    .10713E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.7565       1.0000          .0000       .10000E+07
     9 'Prefactor '    .50686E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .11921E-02   1.0000          .0000       .10000E+07
    11 'norm      '    14.802       1.0000          .0000       .10000E+07
    12 'Prefactor '    .19760E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .59435E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .84637E-04   1.0000          .0000       .10000E+07
    15 'norm      '    29.314       1.0000          .0000       .10000E+07
    16 'Prefactor '    .50332E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    41.426       1.0000          .0000       .10000E+07
    18 'Prefactor '    .19298E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .88818E-07   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2195       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86643       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10706.07     FROM MIGRAD    STATUS=CONVERGED    300 CALLS     1503 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2172        .23706       -.41790E-08   -.18453E-02
   2  norm           .0000        3.8191        .59185E-07** at limit **
   3  Prefactor     .48556E-06    21.070        .69617E-06** at limit **
   4  Prefactor     1.0092        3.8932        .12860E-06    .56773E-03
   5  Prefactor     9.7044        9.7126       -.24171E-06   -.87741E-01
   6  Prefactor     6.6185        7.1131        .78732E-07    .10435E-02
   7  norm          .11798E-03    212.91       -.19348E-05** at limit **
   8  Prefactor     2.8240        5.7605        .43955E-07   -.14495E-03
   9  Prefactor     .36970E-07    6.1063       -.16522E-06** at limit **
  10  Prefactor     .10587E-05    16.161       -.67436E-07** at limit **
  11  norm          14.826        7.5247        .22526E-07   -.27870E-02
  12  Prefactor      .0000        1.9465       -.23820E-08** at limit **
  13  Prefactor     .33790E-06    52.507       -.10778E-05** at limit **
  14  norm          .16709E-07    11.811        .21174E-06** at limit **
  15  norm          29.082        1.4934        .50220E-08    .21901E-02
  16  Prefactor      .0000        1.8534       -.35638E-07** at limit **
  17  Prefactor     42.491        10.261       -.58766E-07    .73927E-01
  18  Prefactor     .17264E-06    16.616       -.29153E-06** at limit **
  19  Prefactor     .43576E-07    6.0833        .15238E-06** at limit **
  20  Normalizat    1.2186        .18952       -.49325E-06   -.39070E-03
  21  Prefactor     .86647        .11786       -.22610E-05   -.55825E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.21723
  norm       = 0
  Prefactor  = 4.85556e-07
  Prefactor  = 1.00917
  Prefactor  = 9.70444
  Prefactor  = 6.61845
  norm       = 0.000117982
  Prefactor  = 2.82402
  Prefactor  = 3.69704e-08
  Prefactor  = 1.05871e-06
  norm       = 14.8263
  Prefactor  = 0
  Prefactor  = 3.37896e-07
  norm       = 1.67089e-08
  norm       = 29.082
  Prefactor  = 0
  Prefactor  = 42.491
  Prefactor  = 1.7264e-07
  Prefactor  = 4.35763e-08
  Normalizat = 1.21857
  Prefactor  = 0.86647
 **********
 **   18 **HESSE 
 **********

 FCN=   10706.07     FROM HESSE     STATUS=OK           363 CALLS     1866 TOTAL
                     EDM=   .48E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2172        .24017        .36218E-02   -1.5410    
   2  norm           .0000        3.8272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .48556E-06    27.584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0092        3.9593        .12535E-02   -1.5688    
   5  Prefactor     9.7044        12.973        .32143E-03   -1.5646    
   6  Prefactor     6.6185        7.1670        .39053E-03   -1.5657    
   7  norm          .11798E-03    .22746        .25896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.8240        5.7956        .61285E-03   -1.5674    
   9  Prefactor     .36970E-07    6.2391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10587E-05    23.497        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.826        7.5330        .26007E-03   -1.5631    
  12  Prefactor      .0000        1.9384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .33790E-06    53.051        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .16709E-07    11.940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          29.082        18.330        .18473E-03   -1.5600    
  16  Prefactor      .0000        1.8406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     42.491        30.457        .15538E-03   -1.5578    
  18  Prefactor     .17264E-06    17.409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .43576E-07    6.2243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2186        .16610        .68081E-01   -.86031    
  21  Prefactor     .86647        .10168        .44576E-01   -.97323    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.75756e-07
Minuit parameter uncertainties:
  1  0.240166
  2  9.99124e-06
  3  0.00731956
  4  3.95932
  5  12.9728
  6  7.16697
  7  0.0103608
  8  5.79562
  9  0.000960571
  10  0.00997518
  11  7.53296
  12  3.48726e-06
  13  0.00846811
  14  0.000893105
  15  18.3302
  16  9.368e-06
  17  30.4569
  18  0.0034672
  19  0.00104147
  20  0.166174
  21  0.101706
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  2.824e+00  5.796e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  8.665e-01  1.017e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.219e+00  1.662e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.34
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 6.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/836078/likelihoodResults_690336001_690595201_4FGL_J2324.7+0801_daily_bin1740.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) = 10706.0734671
delta logL = 0.00138657622119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10706.0731528
delta logL = 0.00170088535197

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10706.07     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      211 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9858        242.53        .58748E-03    .35895E-02
   2  Index         2.1684        5.9291        .24896        .69023E-04
   3  Normalizat    1.2192        .48585E-01    .68068E-01    .19851E-04
   4  Prefactor     .86628        .27506E-01    .44578E-01    .90242E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.98578
  Index      = 2.16841
  Normalizat = 1.21915
  Prefactor  = 0.86628
 **********
 **   18 **HESSE 
 **********

 FCN=   10706.07     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9858        6.8121        .23499E-04   -1.5673    
   2  Index         2.1684        1.0483        .14795E-01   -.60203    
   3  Normalizat    1.2192        .18703        .30114E-03   -.86013    
   4  Prefactor     .86628        .11760        .21910E-03   -.97330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17283e-09
Minuit parameter uncertainties:
  1  6.81213
  2  1.05993
  3  0.187131
  4  0.117635
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/836078': 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) = 10706.0731453
delta logL = 0.00170838963459

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  2.986e+00  6.812e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.168e+00  1.060e+00  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  8.663e-01  1.176e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.219e+00  1.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.34
Ra Dec: 351.190 8.028

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/836078/cmap_HighResolution_690336001_690595201_4FGL_J2324.7+0801_daily_bin1740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.22e-03', job_status='DONE', photon_flux_upper_limit='6.84e-08', time_completed='2022-11-20 01:02:24.957728', job_id='836078', GAL2='0.87', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1668934944.96', return_code2='0', ts='0.34', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.71e-03', ts2='0.34', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1740' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 20 01:02:24 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 836078: <4FGL_J2324.7+0801_daily_bin1740> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:45:46 2022
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:49:56 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:49:56 2022
Terminated at Sun Nov 20 01:02:25 2022
Results reported at Sun Nov 20 01:02:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1740 351.19 8.0282 690336001 690595201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.7+0801 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   716.12 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             350.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            999 sec.

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

