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


Performing analysis on: 4FGL_J2324.7-4041_daily_bin1723
RA = 351.182, Dec = -40.6834
tmin = 685929601, tmax = 686188801
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='449385', job_status='RUN', time_executed='2022-09-30 00:58:14.465627', time_epoch_executed='1664524694.47' WHERE source_name='4FGL J2324.7-4041' and cadence='daily' and bin_id='1723'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/449385

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/449385/ft1_4FGL_J2324.7-4041_daily_bin1723.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/449385/ft2_4FGL_J2324.7-4041_daily_bin1723.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/449385/ft1_4FGL_J2324.7-4041_daily_bin1723.fits outfile=/scratch/kocevski/449385/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin1723.fits ra=351.182 dec=-40.6834 rad=12.0 tmin=685929601.0 tmax=686188801.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.63
user 3.36
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/449385/ft2_4FGL_J2324.7-4041_daily_bin1723.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/449385/ft2_4FGL_J2324.7-4041_daily_bin1723.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/449385/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin1723.fits evtable="EVENTS" outfile="/scratch/kocevski/449385/ft1_filtered_4FGL_J2324.7-4041_daily_bin1723.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.31
sys 0.18

Number of photons that the gtmktime cut: 507

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/449385/ft1_filtered_4FGL_J2324.7-4041_daily_bin1723.fits" evtable="EVENTS" scfile=/scratch/kocevski/449385/ft2_4FGL_J2324.7-4041_daily_bin1723.fits sctable="SC_DATA" outfile=/scratch/kocevski/449385/ltcube_685929601_686188801_4FGL_J2324.7-4041_daily_bin1723.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/449385/ft2_4FGL_J2324.7-4041_daily_bin1723.fits
.....................!
real 13.27
user 12.82
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/449385/ft1_filtered_4FGL_J2324.7-4041_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/449385/ft2_4FGL_J2324.7-4041_daily_bin1723.fits sctable="SC_DATA" expcube=/scratch/kocevski/449385/ltcube_685929601_686188801_4FGL_J2324.7-4041_daily_bin1723.fits outfile=/scratch/kocevski/449385/expmap_685929601_686188801_4FGL_J2324.7-4041_daily_bin1723.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/449385/ltcube_685929601_686188801_4FGL_J2324.7-4041_daily_bin1723.fits
.....................!
real 192.73
user 186.08
sys 5.60

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

Setting source of interest to:
4FGL J2324.7-4041 @ 351.182 -40.6834

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/449385/ft1_filtered_4FGL_J2324.7-4041_daily_bin1723.fits scfile=/scratch/kocevski/449385/ft2_4FGL_J2324.7-4041_daily_bin1723.fits outfile=/scratch/kocevski/449385/cmap_685929601_686188801_4FGL_J2324.7-4041_daily_bin1723.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.182 yref=-40.6834 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/449385/ft1_filtered_4FGL_J2324.7-4041_daily_bin1723.fits scfile=/scratch/kocevski/449385/ft2_4FGL_J2324.7-4041_daily_bin1723.fits outfile=/scratch/kocevski/449385/cmap_HighResolution_685929601_686188801_4FGL_J2324.7-4041_daily_bin1723.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.182 yref=-40.6834 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/449385/ft1_filtered_4FGL_J2324.7-4041_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/449385/ft2_4FGL_J2324.7-4041_daily_bin1723.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/449385/Model_4FGL_J2324.7-4041_daily_bin1723.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/449385/ft1_filtered_4FGL_J2324.7-4041_daily_bin1723.fits.....................!
real 43.20
user 41.38
sys 1.52

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/449385/ft1_filtered_4FGL_J2324.7-4041_daily_bin1723.fits', '/scratch/kocevski/449385/ft2_4FGL_J2324.7-4041_daily_bin1723.fits', expMap='/scratch/kocevski/449385/expmap_685929601_686188801_4FGL_J2324.7-4041_daily_bin1723.fits', expCube='/scratch/kocevski/449385/ltcube_685929601_686188801_4FGL_J2324.7-4041_daily_bin1723.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/449385/Model_4FGL_J2324.7-4041_daily_bin1723.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.7-4041'

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  1.376e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
419        alpha:  1.623e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  8.462e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  2.868e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/449385/ft1_filtered_4FGL_J2324.7-4041_daily_bin1723.fits
Spacecraft file(s): /scratch/kocevski/449385/ft2_4FGL_J2324.7-4041_daily_bin1723.fits
Exposure map: /scratch/kocevski/449385/expmap_685929601_686188801_4FGL_J2324.7-4041_daily_bin1723.fits
Exposure cube: /scratch/kocevski/449385/ltcube_685929601_686188801_4FGL_J2324.7-4041_daily_bin1723.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/449385/Model_4FGL_J2324.7-4041_daily_bin1723.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) = 5556.39367968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63249E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .43218E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .11543E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .50209E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.4508       1.0000          .0000       .10000E+07
     6 'Prefactor '    .97936E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .16772E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    49.841       1.0000          .0000       .10000E+07
     9 'Prefactor '    .75849E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14236E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .23265E-06   1.0000          .0000       .10000E+07
    12 'norm      '    6.7402       1.0000          .0000       .10000E+07
    13 'norm      '    .68617E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .65846       1.0000          .0000       .10000E+07
    15 'norm      '    14.546       1.0000          .0000       .10000E+07
    16 'Prefactor '    11.080       1.0000          .0000       .10000E+07
    17 'Prefactor '    .44042E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    70.990       1.0000          .0000       .10000E+07
    19 'norm      '    2.7932       1.0000          .0000       .10000E+07
    20 'Prefactor '    .38525E-07   1.0000          .0000       .10000E+07
    21 'norm      '    .35512E-05   1.0000          .0000       .10000E+07
    22 'norm      '    .18874E-08   1.0000          .0000       .10000E+07
    23 'Prefactor '    4.8621       1.0000          .0000       .10000E+07
    24 'Prefactor '    .22016E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    37.361       1.0000          .0000       .10000E+07
    26 'Prefactor '    .24953E-03   1.0000          .0000       .10000E+07
    27 'Prefactor '    3.8726       1.0000          .0000       .10000E+07
    28 'Prefactor '    .50153E-04   1.0000          .0000       .10000E+07
    29 'Normalizat'    .72890       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0182       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5556.366     FROM MIGRAD    STATUS=CONVERGED    245 CALLS     3011 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23981E-07    27.164       -.55219E-06** at limit **
   2  Prefactor     .20117E-06    4.6241        .21328E-08** at limit **
   3  Prefactor      .0000        .83976       -.12215E-06** at limit **
   4  Prefactor     .57343E-06    10.078       -.91590E-09** at limit **
   5  Prefactor     2.4384        5.1193       -.47050E-07   -.50669E-04
   6  Prefactor     .15682E-06    39.017        .26300E-06** at limit **
   7  Prefactor     .61084E-06    6.8971       -.15728E-08** at limit **
   8  Prefactor     49.785        1.2141       -.24039E-08   -.71112E-02
   9  Prefactor     .55511E-09    5.5658        .47145E-07** at limit **
  10  Prefactor     .14623E-05    10.696       -.96138E-07** at limit **
  11  Prefactor     .88818E-09    5.6434        .14091E-06** at limit **
  12  norm          6.7375        7.1128        .12151E-07    .13697E-03
  13  norm           .0000        2.5339        .59337E-07** at limit **
  14  norm          .68585        5.5250       -.55576E-07    .17498E-03
  15  norm          14.630        3.8111        .22461E-07    .11398E-01
  16  Prefactor     11.090        6.1977       -.19572E-07    .78910E-05
  17  Prefactor     .57121E-06    97.617        .33834E-06** at limit **
  18  Prefactor     67.881        33.639        .66972E-07    .17322E-01
  19  norm          2.7708        3.7106        .96531E-07    .78432E-03
  20  Prefactor     .27756E-09    4.0095        .19649E-06** at limit **
  21  norm           .0000        4.8553       -.85332E-07** at limit **
  22  norm           .0000        1.0468        .29305E-07** at limit **
  23  Prefactor     4.8548        3.6334        .84385E-07    .12868E-02
  24  Prefactor     .55511E-10    6.6489        .13509E-06** at limit **
  25  Prefactor     38.452        42.693       -.56631E-07    .11052E-01
  26  Prefactor     .22204E-09    3.8039        .50305E-07** at limit **
  27  Prefactor     3.8599        4.2755       -.25538E-08   -.27361E-04
  28  Prefactor     .78176E-06    15.613       -.15462E-06** at limit **
  29  Normalizat    .73098        .19140       -.28098E-06   -.29138E-04
  30  Prefactor     1.0172        .21303       -.87209E-06   -.32072E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.39808e-08
  Prefactor  = 2.01172e-07
  Prefactor  = 0
  Prefactor  = 5.7343e-07
  Prefactor  = 2.4384
  Prefactor  = 1.56819e-07
  Prefactor  = 6.10845e-07
  Prefactor  = 49.7855
  Prefactor  = 5.55112e-10
  Prefactor  = 1.46227e-06
  Prefactor  = 8.88178e-10
  norm       = 6.73753
  norm       = 0
  norm       = 0.685851
  norm       = 14.63
  Prefactor  = 11.0895
  Prefactor  = 5.7121e-07
  Prefactor  = 67.8806
  norm       = 2.77084
  Prefactor  = 2.77556e-10
  norm       = 0
  norm       = 0
  Prefactor  = 4.8548
  Prefactor  = 5.55112e-11
  Prefactor  = 38.4523
  Prefactor  = 2.22045e-10
  Prefactor  = 3.85992
  Prefactor  = 7.81764e-07
  Normalizat = 0.730984
  Prefactor  = 1.01723
 **********
 **   18 **HESSE 
 **********

 FCN=   5556.366     FROM HESSE     STATUS=OK           652 CALLS     3663 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23981E-07    27.265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .20117E-06    13.647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        .83782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .57343E-06    13.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.4384        5.1574        .65315E-03   -1.5677    
   6  Prefactor     .15682E-06    14.036        .10302E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .61084E-06    14.014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     49.785        15.604        .14166E-03   -1.5567    
   9  Prefactor     .55511E-09    5.5281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .14623E-05    16.730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .88818E-09    5.6463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.7375        7.1221        .38625E-03   -1.5656    
  13  norm           .0000        2.5319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .68585        5.7759        .64146E-03   -1.5691    
  15  norm          14.630        9.6484        .26236E-03   -1.5631    
  16  Prefactor     11.090        6.2605        .30073E-03   -1.5641    
  17  Prefactor     .57121E-06    150.86        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     67.881        55.968        .11869E-03   -1.5543    
  19  norm          2.7708        3.8007        .60851E-03   -1.5675    
  20  Prefactor     .27756E-09    4.0434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        .50176        .28775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        1.0466        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.8548        3.6684        .45596E-03   -1.5664    
  24  Prefactor     .55511E-10    6.6551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     38.452        43.504        .16362E-03   -1.5584    
  26  Prefactor     .22204E-09    3.8545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     3.8599        4.3007        .51253E-03   -1.5669    
  28  Prefactor     .78176E-06    18.824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .73098        .16700        .42675E-01   -1.0268    
  30  Prefactor     1.0172        .18175        .42329E-01   -.92157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.59496e-07
Minuit parameter uncertainties:
  1  0.00161696
  2  0.00331411
  3  4.31272e-06
  4  0.00550394
  5  5.15742
  6  0.00296707
  7  0.00585163
  8  15.6045
  9  0.000109767
  10  0.00989217
  11  0.000142235
  12  7.12213
  13  6.19527e-06
  14  3.98067
  15  9.6484
  16  6.26051
  17  0.0185657
  18  55.9683
  19  3.80067
  20  6.75251e-05
  21  2.21724e-06
  22  1.27179e-06
  23  3.66843
  24  3.34291e-05
  25  43.5042
  26  5.84731e-05
  27  4.30066
  28  0.00767221
  29  0.167112
  30  0.181865
Done.

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

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  6.859e-01  3.981e+00  0.000e+00  1.000e+06 ( 1.000e-13)
419        alpha:  1.623e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  8.462e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  2.868e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  1.017e+00  1.819e-01  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  7.310e-01  1.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 351.182 -40.683
Photon Flux Upper Limit: 3.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.83e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/449385/likelihoodResults_685929601_686188801_4FGL_J2324.7-4041_daily_bin1723.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) = 5556.29740408
delta logL = 0.0685501291136

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5556.29670136
delta logL = 0.0692528466216

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5556.297     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      204 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .77542        77.280        .54904E-03    .89424E-02
   2  alpha         2.1469        3.3938        .41687        .29228E-04
   3  Normalizat    .73102        .32708E-01    .42703E-01    .12873E-04
   4  Prefactor     1.0144        .35615E-01    .42744E-01    .67425E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.775421
  alpha      = 2.14686
  Normalizat = 0.731021
  Prefactor  = 1.01442
 **********
 **   18 **HESSE 
 **********

 FCN=   5556.297     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .77542        2.7953        .16924E-04   -1.5690    
   2  alpha         2.1469        1.3850        .18970E-01   -.14173    
   3  Normalizat    .73102        .18551        .24061E-03   -1.0268    
   4  Prefactor     1.0144        .21217        .23525E-03   -.92250    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.93165e-09
Minuit parameter uncertainties:
  1  2.79528
  2  1.46991
  3  0.185669
  4  0.212349
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/449385': 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) = 5556.29669983
delta logL = 0.0692543759415

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  7.754e-01  2.795e+00  0.000e+00  1.000e+06 ( 1.000e-13)
419        alpha:  2.147e+00  1.470e+00  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  8.462e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  2.868e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  1.014e+00  2.123e-01  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  7.310e-01  1.857e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
Ra Dec: 351.182 -40.683

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/449385/cmap_HighResolution_685929601_686188801_4FGL_J2324.7-4041_daily_bin1723.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.83e-05', job_status='DONE', photon_flux_upper_limit='3.15e-08', time_completed='2022-09-30 01:10:46.950532', job_id='449385', GAL2='1.01', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1664525446.95', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='6.93e-02', ts2='0.19', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1723' AND source_name='4FGL J2324.7-4041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 30 01:10:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 449385: <4FGL_J2324.7-4041_daily_bin1723> in cluster <slac> Done

Job <4FGL_J2324.7-4041_daily_bin1723> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 30 00:55:13 2022
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 30 00:56:10 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 30 00:56:10 2022
Terminated at Fri Sep 30 01:10:47 2022
Results reported at Fri Sep 30 01:10:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7-4041_daily_bin1723 351.182 -40.6834 685929601 686188801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.7-4041 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   753.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            934 sec.

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

