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


Performing analysis on: 4FGL_J2324.7-4041_daily_bin1701
RA = 351.182, Dec = -40.6834
tmin = 680227201, tmax = 680486401
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='192172', job_status='RUN', time_executed='2022-07-26 02:14:54.397097', time_epoch_executed='1658826894.4' WHERE source_name='4FGL J2324.7-4041' and cadence='daily' and bin_id='1701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/192172

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/192172/ft1_4FGL_J2324.7-4041_daily_bin1701.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/192172/ft2_4FGL_J2324.7-4041_daily_bin1701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/192172/ft1_4FGL_J2324.7-4041_daily_bin1701.fits outfile=/scratch/kocevski/192172/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin1701.fits ra=351.182 dec=-40.6834 rad=12.0 tmin=680227201.0 tmax=680486401.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 2.89
user 2.67
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/192172/ft2_4FGL_J2324.7-4041_daily_bin1701.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/192172/ft1_filteredMKT_4FGL_J2324.7-4041_daily_bin1701.fits evtable="EVENTS" outfile="/scratch/kocevski/192172/ft1_filtered_4FGL_J2324.7-4041_daily_bin1701.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.52
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 126

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/192172/ft1_filtered_4FGL_J2324.7-4041_daily_bin1701.fits" evtable="EVENTS" scfile=/scratch/kocevski/192172/ft2_4FGL_J2324.7-4041_daily_bin1701.fits sctable="SC_DATA" outfile=/scratch/kocevski/192172/ltcube_680227201_680486401_4FGL_J2324.7-4041_daily_bin1701.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/192172/ft2_4FGL_J2324.7-4041_daily_bin1701.fits
.....................!
real 14.85
user 14.32
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/192172/ft1_filtered_4FGL_J2324.7-4041_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/192172/ft2_4FGL_J2324.7-4041_daily_bin1701.fits sctable="SC_DATA" expcube=/scratch/kocevski/192172/ltcube_680227201_680486401_4FGL_J2324.7-4041_daily_bin1701.fits outfile=/scratch/kocevski/192172/expmap_680227201_680486401_4FGL_J2324.7-4041_daily_bin1701.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/192172/ltcube_680227201_680486401_4FGL_J2324.7-4041_daily_bin1701.fits
.....................!
real 192.77
user 185.22
sys 6.43

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/192172/ft1_filtered_4FGL_J2324.7-4041_daily_bin1701.fits scfile=/scratch/kocevski/192172/ft2_4FGL_J2324.7-4041_daily_bin1701.fits outfile=/scratch/kocevski/192172/cmap_680227201_680486401_4FGL_J2324.7-4041_daily_bin1701.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.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/192172/ft1_filtered_4FGL_J2324.7-4041_daily_bin1701.fits scfile=/scratch/kocevski/192172/ft2_4FGL_J2324.7-4041_daily_bin1701.fits outfile=/scratch/kocevski/192172/cmap_HighResolution_680227201_680486401_4FGL_J2324.7-4041_daily_bin1701.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.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/192172/ft1_filtered_4FGL_J2324.7-4041_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/192172/ft2_4FGL_J2324.7-4041_daily_bin1701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/192172/Model_4FGL_J2324.7-4041_daily_bin1701.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/192172/ft1_filtered_4FGL_J2324.7-4041_daily_bin1701.fits.....................!
real 21.87
user 20.35
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/192172/ft1_filtered_4FGL_J2324.7-4041_daily_bin1701.fits', '/scratch/kocevski/192172/ft2_4FGL_J2324.7-4041_daily_bin1701.fits', expMap='/scratch/kocevski/192172/expmap_680227201_680486401_4FGL_J2324.7-4041_daily_bin1701.fits', expCube='/scratch/kocevski/192172/ltcube_680227201_680486401_4FGL_J2324.7-4041_daily_bin1701.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/192172/Model_4FGL_J2324.7-4041_daily_bin1701.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  1.000e-04  1.000e+04 ( 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  0.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/192172/ft1_filtered_4FGL_J2324.7-4041_daily_bin1701.fits
Spacecraft file(s): /scratch/kocevski/192172/ft2_4FGL_J2324.7-4041_daily_bin1701.fits
Exposure map: /scratch/kocevski/192172/expmap_680227201_680486401_4FGL_J2324.7-4041_daily_bin1701.fits
Exposure cube: /scratch/kocevski/192172/ltcube_680227201_680486401_4FGL_J2324.7-4041_daily_bin1701.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/192172/Model_4FGL_J2324.7-4041_daily_bin1701.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) = 1516.7092008

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6014       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11705E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13403E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .68326E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10246E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12594E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .37724E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.304       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .18347E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11078E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10187E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10082E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10148E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10202E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    25.603       1.0000         .10000E-03   10000.    
    18 'Prefactor '    32.486       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10786E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    4.6901       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11333E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10055E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10134E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10796E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    4.5873       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .11943E-03   1.0000         .10000E-03   10000.    
    31 'Normalizat'    .73330       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .99356       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=   1510.554     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     4375 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7799        102.93       -.27719E-05   -.98914E-03
   2  Prefactor     .10001E-03    15.467       -.52659E-07** at limit **
   3  Prefactor     .10415E-03    44.328       -.13654E-06** at limit **
   4  Prefactor     .45024E-03    217.61        .49743E-05** at limit **
   5  Prefactor     .14517E-03    14.897        .13011E-05** at limit **
   6  Prefactor    10000.0        190.57       -.43917E-05** at limit **
   7  Prefactor     .10452E-03    35.284       -.75282E-06** at limit **
   8  Prefactor     .10803E-03    54.161       -.52933E-07** at limit **
   9  Prefactor     .21905E-02    445.16        .60592E-05** at limit **
  10  Prefactor     31.299        1.2033        .16635E-07   -.46253E-03
  11  Prefactor     .24319E-03    203.21        .46499E-05** at limit **
  12  Prefactor     .10696E-03    134.06        .22486E-05** at limit **
  13  Prefactor     .10000E-03    45.428        .46383E-08** at limit **
  14  norm          .10000E-03    20.037        .54378E-08** at limit **
  15  norm          .10001E-03    15.484       -.70348E-07** at limit **
  16  norm          .10000E-03    10.763        .14436E-07** at limit **
  17  norm          25.583        1.6437       -.26039E-07   -.38550E-03
  18  Prefactor     32.483        1.0424       -.73256E-08   -.63510E-04
  19  Prefactor     .10002E-03    31.908       -.46178E-06** at limit **
  20  Prefactor     .10140E-03    27.606        .93070E-06** at limit **
  21  norm          4.6892        7.0506       -.13903E-07   -.75793E-05
  22  Prefactor     .10398E-03    49.341       -.82466E-06** at limit **
  23  norm          .10000E-03    1.4774        .48019E-07** at limit **
  24  norm          .10000E-03    3.8844        .48102E-07** at limit **
  25  Prefactor     .10000E-03    2.8848        .20708E-07** at limit **
  26  Prefactor     .10000E-03    19.802       -.16953E-07** at limit **
  27  Prefactor     .10942E-03    59.809        .45955E-06** at limit **
  28  Prefactor     .10000E-03    4.1322        .55134E-07** at limit **
  29  Prefactor     4.5951        8.0285        .13546E-07   -.34923E-04
  30  Prefactor     .10243E-03    46.153        .13566E-05** at limit **
  31  Normalizat    .73317        .35415        .75004E-06   -.72421E-04
  32  Prefactor     .99330        .38797       -.30337E-06   -.45472E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.77994
  Prefactor  = 0.000100011
  Prefactor  = 0.000104149
  Prefactor  = 0.00045024
  Prefactor  = 0.000145172
  Prefactor  = 10000
  Prefactor  = 0.000104515
  Prefactor  = 0.000108032
  Prefactor  = 0.00219051
  Prefactor  = 31.2995
  Prefactor  = 0.000243189
  Prefactor  = 0.000106955
  Prefactor  = 0.000100002
  norm       = 0.000100001
  norm       = 0.00010001
  norm       = 0.0001
  norm       = 25.5829
  Prefactor  = 32.4834
  Prefactor  = 0.000100018
  Prefactor  = 0.0001014
  norm       = 4.68925
  Prefactor  = 0.000103981
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000109424
  Prefactor  = 0.0001
  Prefactor  = 4.59511
  Prefactor  = 0.000102434
  Normalizat = 0.733169
  Prefactor  = 0.9933
 **********
 **   18 **HESSE 
 **********

 FCN=   1510.554     FROM HESSE     STATUS=OK           709 CALLS     5084 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7799        1848.5        .83748E-02   -1.5441    
   2  Prefactor     .10001E-03    15.480        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10415E-03    82.504        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .45024E-03    774.04        .90712E-02   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14517E-03    594.07        .10497E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor    10000.0        1002.7        .90712E-02    1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10452E-03    105.23        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10803E-03    159.78        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .21905E-02    122.67        .12420       -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     31.299        50.600        .17904E-02   -1.4588    
  11  Prefactor     .24319E-03    900.80        .90712E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10696E-03    229.36        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    45.436        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    20.040        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10001E-03    15.500        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    10.750        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          25.583        21.758        .19792E-02   -1.4696    
  18  Prefactor     32.483        28.108        .17576E-02   -1.4567    
  19  Prefactor     .10002E-03    91.656        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10140E-03    68.786        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.6892        7.0794        .46454E-02   -1.5275    
  22  Prefactor     .10398E-03    114.72        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    1.4752        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    3.8699        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    2.8845        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    19.798        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10942E-03    175.24        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    4.1166        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     4.5951        8.0606        .46984E-02   -1.5279    
  30  Prefactor     .10243E-03    65.205        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    .73317        .32511        .42733E-01   -1.0260    
  32  Prefactor     .99330        .34747        .46187E-01   -.92953    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83855e-06
Minuit parameter uncertainties:
  1  118.595
  2  0.00083301
  3  0.0370527
  4  1.05527
  5  0.330965
  6  0.420272
  7  0.043672
  8  0.071841
  9  1.01489
  10  50.6694
  11  0.729536
  12  0.0801914
  13  0.000671989
  14  0.000297256
  15  0.000797826
  16  4.30248e-06
  17  21.7651
  18  28.1192
  19  0.00255504
  20  0.0196522
  21  7.08068
  22  0.0428215
  23  5.34158e-06
  24  8.66402e-06
  25  3.22116e-06
  26  0.000303558
  27  0.0815158
  28  1.02412e-05
  29  8.06253
  30  0.0252221
  31  0.325971
  32  0.348256
Done.

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

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  1.000e-04  4.302e-06  1.000e-04  1.000e+04 ( 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  0.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:  9.933e-01  3.483e-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.332e-01  3.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.182 -40.683
Photon Flux Upper Limit: 1.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.17e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/192172/likelihoodResults_680227201_680486401_4FGL_J2324.7-4041_daily_bin1701.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1510.55429943
delta logL = -0.000437026882082

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1510.55386238
delta logL = 2.50290668191e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1510.554     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      245 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    38.228        .12516E-01** at limit **
   2  alpha         1.9626        4.0113        .50000        .54445E-06
   3  Normalizat    .73317        .14564E-01    .26279E-03   -.18667E-04
   4  Prefactor     .99330        .16237E-01    .25353E-03   -.12399E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.96263
  Normalizat = 0.733171
  Prefactor  = 0.993299
 **********
 **   18 **HESSE 
 **********

 FCN=   1510.554     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      272 TOTAL
                     EDM=   .81E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    437.38        .12946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9626        3.7267        .50000       -.21664    
   3  Normalizat    .73317        .50969E-01    .10512E-04   -1.0260    
   4  Prefactor     .99330        .56823E-01    .10141E-04   -.92953    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.10625e-08
Minuit parameter uncertainties:
  1  0.000538902
  2  1175.17
  3  0.0509719
  4  0.0568269
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/192172': 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): 102
logL (Free Index) = 1510.55386197
delta logL = 4.35122956333e-07

Extracting fit parameters...

4FGL J2324.7-4041
   Spectrum: LogParabola
418         norm:  1.000e-04  5.389e-04  1.000e-04  1.000e+04 ( 1.000e-13)
419        alpha:  1.963e+00  1.175e+03  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  8.462e-02  0.000e+00  0.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:  9.933e-01  5.683e-02  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.332e-01  5.097e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/192172/cmap_HighResolution_680227201_680486401_4FGL_J2324.7-4041_daily_bin1701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.17e-04', job_status='DONE', photon_flux_upper_limit='1.00e-07', time_completed='2022-07-26 02:22:34.273317', job_id='192172', GAL2='0.99', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1658827354.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='4.35e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1701' AND source_name='4FGL J2324.7-4041' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 26 02:22:34 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 192172: <4FGL_J2324.7-4041_daily_bin1701> in cluster <slac> Done

Job <4FGL_J2324.7-4041_daily_bin1701> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jul 26 02:10:36 2022
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 02:14:11 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 02:14:11 2022
Terminated at Tue Jul 26 02:22:35 2022
Results reported at Tue Jul 26 02:22:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7-4041_daily_bin1701 351.182 -40.6834 680227201 680486401 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 :                                   461.20 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             358.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   506 sec.
    Turnaround time :                            719 sec.

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

