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


Performing analysis on: 4FGL_J2324.6+3115_weekly_bin741
RA = 351.17, Dec = 31.2573
tmin = 687139201, tmax = 687744001
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='396730', job_status='RUN', time_executed='2022-10-18 01:43:00.216737', time_epoch_executed='1666082580.22' WHERE source_name='4FGL J2324.6+3115' and cadence='weekly' and bin_id='741'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/396730

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/396730/ft1_4FGL_J2324.6+3115_weekly_bin741.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/396730/ft2_4FGL_J2324.6+3115_weekly_bin741.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/396730/ft1_4FGL_J2324.6+3115_weekly_bin741.fits outfile=/scratch/kocevski/396730/ft1_filteredMKT_4FGL_J2324.6+3115_weekly_bin741.fits ra=351.17 dec=31.2573 rad=12.0 tmin=687139201.0 tmax=687744001.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 6.64
user 6.37
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/396730/ft2_4FGL_J2324.6+3115_weekly_bin741.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/396730/ft2_4FGL_J2324.6+3115_weekly_bin741.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/396730/ft1_filteredMKT_4FGL_J2324.6+3115_weekly_bin741.fits evtable="EVENTS" outfile="/scratch/kocevski/396730/ft1_filtered_4FGL_J2324.6+3115_weekly_bin741.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.53
user 0.37
sys 0.16

Number of photons that the gtmktime cut: 536

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/396730/ft1_filtered_4FGL_J2324.6+3115_weekly_bin741.fits" evtable="EVENTS" scfile=/scratch/kocevski/396730/ft2_4FGL_J2324.6+3115_weekly_bin741.fits sctable="SC_DATA" outfile=/scratch/kocevski/396730/ltcube_687139201_687744001_4FGL_J2324.6+3115_weekly_bin741.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/396730/ft2_4FGL_J2324.6+3115_weekly_bin741.fits
.....................!
real 27.30
user 26.90
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/396730/ft1_filtered_4FGL_J2324.6+3115_weekly_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/396730/ft2_4FGL_J2324.6+3115_weekly_bin741.fits sctable="SC_DATA" expcube=/scratch/kocevski/396730/ltcube_687139201_687744001_4FGL_J2324.6+3115_weekly_bin741.fits outfile=/scratch/kocevski/396730/expmap_687139201_687744001_4FGL_J2324.6+3115_weekly_bin741.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/396730/ltcube_687139201_687744001_4FGL_J2324.6+3115_weekly_bin741.fits
.....................!
real 190.81
user 185.39
sys 5.09

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

Setting source of interest to:
4FGL J2324.6+3115 @ 351.17 31.2573

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/396730/ft1_filtered_4FGL_J2324.6+3115_weekly_bin741.fits scfile=/scratch/kocevski/396730/ft2_4FGL_J2324.6+3115_weekly_bin741.fits outfile=/scratch/kocevski/396730/cmap_687139201_687744001_4FGL_J2324.6+3115_weekly_bin741.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.17 yref=31.2573 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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/396730/ft1_filtered_4FGL_J2324.6+3115_weekly_bin741.fits scfile=/scratch/kocevski/396730/ft2_4FGL_J2324.6+3115_weekly_bin741.fits outfile=/scratch/kocevski/396730/cmap_HighResolution_687139201_687744001_4FGL_J2324.6+3115_weekly_bin741.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.17 yref=31.2573 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.57
user 0.42
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/396730/ft1_filtered_4FGL_J2324.6+3115_weekly_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/396730/ft2_4FGL_J2324.6+3115_weekly_bin741.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/396730/Model_4FGL_J2324.6+3115_weekly_bin741.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/396730/ft1_filtered_4FGL_J2324.6+3115_weekly_bin741.fits.....................!
real 70.33
user 68.97
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/396730/ft1_filtered_4FGL_J2324.6+3115_weekly_bin741.fits', '/scratch/kocevski/396730/ft2_4FGL_J2324.6+3115_weekly_bin741.fits', expMap='/scratch/kocevski/396730/expmap_687139201_687744001_4FGL_J2324.6+3115_weekly_bin741.fits', expCube='/scratch/kocevski/396730/ltcube_687139201_687744001_4FGL_J2324.6+3115_weekly_bin741.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/396730/Model_4FGL_J2324.6+3115_weekly_bin741.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.6+3115'

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.967e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
451        Index:  2.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/396730/ft1_filtered_4FGL_J2324.6+3115_weekly_bin741.fits
Spacecraft file(s): /scratch/kocevski/396730/ft2_4FGL_J2324.6+3115_weekly_bin741.fits
Exposure map: /scratch/kocevski/396730/expmap_687139201_687744001_4FGL_J2324.6+3115_weekly_bin741.fits
Exposure cube: /scratch/kocevski/396730/ltcube_687139201_687744001_4FGL_J2324.6+3115_weekly_bin741.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/396730/Model_4FGL_J2324.6+3115_weekly_bin741.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) = 5796.13420491

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.033       1.0000          .0000       .10000E+07
     2 'Prefactor '    .14694E-02   1.0000          .0000       .10000E+07
     3 'norm      '    2.2555       1.0000          .0000       .10000E+07
     4 'Prefactor '    .18181E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .18557E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .15985E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .37526E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    61.099       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.9584       1.0000          .0000       .10000E+07
    10 'Prefactor '    90.558       1.0000          .0000       .10000E+07
    11 'norm      '    1.7580       1.0000          .0000       .10000E+07
    12 'norm      '    .68834E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    .24308E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .25818E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    48.584       1.0000          .0000       .10000E+07
    16 'Prefactor '    .84413E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .36652E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1449       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .82127       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5795.641     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1465 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.515        6.2443        .30663E-07   -.36147E-01
   2  Prefactor     .77716E-08    25.672       -.12786E-06** at limit **
   3  norm          2.2584        1.1399       -.71458E-09   -.86219E-03
   4  Prefactor      .0000        4.6632        .15888E-06** at limit **
   5  Prefactor      .0000        2.3627       -.97136E-07** at limit **
   6  Prefactor     .77716E-09    10.478        .42349E-07** at limit **
   7  norm           .0000        1.2524        .47786E-07** at limit **
   8  Prefactor     60.741        7.5727        .21194E-07    .81083E-01
   9  Prefactor     6.5550        14.748        .94031E-07    .36321E-01
  10  Prefactor     92.947        26.173       -.92612E-07   -.15447    
  11  norm          1.7244        5.0162        .15192E-07    .73142E-05
  12  norm          .16653E-09    5.6223       -.14851E-06** at limit **
  13  Prefactor     .22371E-07    44.109       -.28440E-06** at limit **
  14  norm           .0000        1.2772       -.58614E-07** at limit **
  15  Prefactor     52.862        45.550       -.24703E-06    .74127E-01
  16  Prefactor     .52069E-07    66.037       -.48830E-07** at limit **
  17  Prefactor     .11102E-09    7.8026        .26473E-06** at limit **
  18  Normalizat    1.1409        .29637       -.37829E-05   -.94507E-04
  19  Prefactor     .82229        .13743        .70085E-06   -.13244E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.5148
  Prefactor  = 7.77156e-09
  norm       = 2.25837
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 7.77156e-10
  norm       = 0
  Prefactor  = 60.7411
  Prefactor  = 6.55503
  Prefactor  = 92.9468
  norm       = 1.72438
  norm       = 1.66533e-10
  Prefactor  = 2.2371e-08
  norm       = 0
  Prefactor  = 52.8625
  Prefactor  = 5.20695e-08
  Prefactor  = 1.11022e-10
  Normalizat = 1.14086
  Prefactor  = 0.822291
 **********
 **   18 **HESSE 
 **********

 FCN=   5795.641     FROM HESSE     STATUS=OK           300 CALLS     1765 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.515        22.577        .30137E-03   -1.5643    
   2  Prefactor     .77716E-08    25.727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.2584        1.1409        .68380E-03   -1.5678    
   4  Prefactor      .0000        4.6684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.3739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .77716E-09    10.496        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.2337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     60.741        37.007        .12794E-03   -1.5552    
   9  Prefactor     6.5550        15.365        .38008E-03   -1.5657    
  10  Prefactor     92.947        50.854        .10509E-03   -1.5515    
  11  norm          1.7244        5.0223        .79009E-03   -1.5682    
  12  norm          .16653E-09    5.6373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .22371E-07    43.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.2820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     52.862        51.875        .14348E-03   -1.5563    
  16  Prefactor     .52069E-07    65.659        .14368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11102E-09    7.7980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1409        .25227        .74118E-01   -.88451    
  19  Prefactor     .82229        .11478        .43993E-01   -.98912    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3847e-06
Minuit parameter uncertainties:
  1  22.5773
  2  0.000892835
  3  1.14089
  4  1.7034e-05
  5  9.9572e-06
  6  0.000182638
  7  1.10756e-06
  8  37.0069
  9  15.3654
  10  50.8538
  11  5.02236
  12  6.2976e-05
  13  0.00196839
  14  4.63318e-06
  15  51.875
  16  0.0036979
  17  6.48626e-05
  18  0.25254
  19  0.114812
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.237e-08  1.968e-03  0.000e+00  1.000e+06 ( 1.000e-12)
451        Index:  2.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  8.223e-01  1.148e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.141e+00  2.525e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.170 31.257
Photon Flux Upper Limit: 1.40e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.11e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/396730/likelihoodResults_687139201_687744001_4FGL_J2324.6+3115_weekly_bin741.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) = 5795.65347656
delta logL = -0.0122242416974

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5794.31799846
delta logL = 1.32325385055

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5794.318     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      232 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0952        1.3650        .11405E-02   -.24625E-02
   2  Index         .80354        .31946        .18347       -.77855E-04
   3  Normalizat    1.1324        .24112        .74273E-01    .10435E-04
   4  Prefactor     .82323        .11411        .44021E-01   -.17534E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.09516
  Index      = 0.803541
  Normalizat = 1.13245
  Prefactor  = 0.823232
 **********
 **   18 **HESSE 
 **********

 FCN=   5794.318     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0952        2.6675        .86863E-05   -1.5687    
   2  Index         .80354        .63975        .78444E-02   -.99598    
   3  Normalizat    1.1324        .28754        .32870E-03   -.88717    
   4  Prefactor     .82323        .13629        .17844E-03   -.98878    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.57205e-09
Minuit parameter uncertainties:
  1  2.6675
  2  0.645805
  3  0.287941
  4  0.136344
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/396730': 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) = 5794.31799196
delta logL = 1.32326035524

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.095e+00  2.667e+00  0.000e+00  1.000e+06 ( 1.000e-12)
451        Index:  8.035e-01  6.458e-01  0.000e+00  1.000e+01 (-1.000e+00)
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  8.232e-01  1.363e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.132e+00  2.879e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.65
Ra Dec: 351.170 31.257
Photon Index (Free Index): 0.80 +/- 0.65
Photon Flux (Free Index): 5.06e-09 +/- 5.96e-09
Energy Flux (Free Index): 1.12e-04 +/- 1.57e-04

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/396730/cmap_HighResolution_687139201_687744001_4FGL_J2324.6+3115_weekly_bin741.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', comment='SUCCESS', energy_flux2='1.12e-04', dlogl='1.32e+00', photon_flux2='5.06e-09', job_status='DONE', time_completed='2022-10-18 01:52:25.906075', photon_index_error2='0.65', photon_index2='0.80', ts='-0.00', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='1.40e-07', energy_flux_error2='1.57e-04', EG='1.14', time_epoch_completed='1666083145.91', return_code='0', job_id='396730', GAL2='0.82', EG2='1.13', return_code2='0', photon_flux_error2='5.96e-09', ts2='2.65', photon_index='2.88' WHERE bin_id='741' AND source_name='4FGL J2324.6+3115' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 18 01:52:25 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 396730: <4FGL_J2324.6+3115_weekly_bin741> in cluster <slac> Done

Job <4FGL_J2324.6+3115_weekly_bin741> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Oct 18 01:40:28 2022
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 18 01:40:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 18 01:40:29 2022
Terminated at Tue Oct 18 01:52:26 2022
Results reported at Tue Oct 18 01:52:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_weekly_bin741 351.17 31.2573 687139201 687744001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.6+3115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   567.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             296.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            718 sec.

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

