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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1778
RA = 351.19, Dec = 8.0282
tmin = 700185601, tmax = 700444801
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='983681', job_status='RUN', time_executed='2023-03-14 02:29:13.563832', time_epoch_executed='1678786153.56' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/983681

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/983681/ft1_4FGL_J2324.7+0801_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/983681/ft2_4FGL_J2324.7+0801_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/983681/ft1_4FGL_J2324.7+0801_daily_bin1778.fits outfile=/scratch/kocevski/983681/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1778.fits ra=351.19 dec=8.0282 rad=12.0 tmin=700185601.0 tmax=700444801.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.97
user 3.75
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/983681/ft2_4FGL_J2324.7+0801_daily_bin1778.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/983681/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1778.fits evtable="EVENTS" outfile="/scratch/kocevski/983681/ft1_filtered_4FGL_J2324.7+0801_daily_bin1778.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.49
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 554

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/983681/ft1_filtered_4FGL_J2324.7+0801_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/983681/ft2_4FGL_J2324.7+0801_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/983681/ltcube_700185601_700444801_4FGL_J2324.7+0801_daily_bin1778.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/983681/ft2_4FGL_J2324.7+0801_daily_bin1778.fits
.....................!
real 11.92
user 11.55
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/983681/ft1_filtered_4FGL_J2324.7+0801_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/983681/ft2_4FGL_J2324.7+0801_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/983681/ltcube_700185601_700444801_4FGL_J2324.7+0801_daily_bin1778.fits outfile=/scratch/kocevski/983681/expmap_700185601_700444801_4FGL_J2324.7+0801_daily_bin1778.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/983681/ltcube_700185601_700444801_4FGL_J2324.7+0801_daily_bin1778.fits
.....................!
real 189.77
user 184.99
sys 4.42

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/983681/ft1_filtered_4FGL_J2324.7+0801_daily_bin1778.fits scfile=/scratch/kocevski/983681/ft2_4FGL_J2324.7+0801_daily_bin1778.fits outfile=/scratch/kocevski/983681/cmap_700185601_700444801_4FGL_J2324.7+0801_daily_bin1778.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.57
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/983681/ft1_filtered_4FGL_J2324.7+0801_daily_bin1778.fits scfile=/scratch/kocevski/983681/ft2_4FGL_J2324.7+0801_daily_bin1778.fits outfile=/scratch/kocevski/983681/cmap_HighResolution_700185601_700444801_4FGL_J2324.7+0801_daily_bin1778.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/983681/ft1_filtered_4FGL_J2324.7+0801_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/983681/ft2_4FGL_J2324.7+0801_daily_bin1778.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/983681/Model_4FGL_J2324.7+0801_daily_bin1778.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/983681/ft1_filtered_4FGL_J2324.7+0801_daily_bin1778.fits.....................!
real 68.12
user 66.68
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/983681/ft1_filtered_4FGL_J2324.7+0801_daily_bin1778.fits', '/scratch/kocevski/983681/ft2_4FGL_J2324.7+0801_daily_bin1778.fits', expMap='/scratch/kocevski/983681/expmap_700185601_700444801_4FGL_J2324.7+0801_daily_bin1778.fits', expCube='/scratch/kocevski/983681/ltcube_700185601_700444801_4FGL_J2324.7+0801_daily_bin1778.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/983681/Model_4FGL_J2324.7+0801_daily_bin1778.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/983681/ft1_filtered_4FGL_J2324.7+0801_daily_bin1778.fits
Spacecraft file(s): /scratch/kocevski/983681/ft2_4FGL_J2324.7+0801_daily_bin1778.fits
Exposure map: /scratch/kocevski/983681/expmap_700185601_700444801_4FGL_J2324.7+0801_daily_bin1778.fits
Exposure cube: /scratch/kocevski/983681/ltcube_700185601_700444801_4FGL_J2324.7+0801_daily_bin1778.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/983681/Model_4FGL_J2324.7+0801_daily_bin1778.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) = 6174.20487933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13157       1.0000         .10000E-03   10000.    
     2 'norm      '    .36777E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    28.395       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.8663       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.293       1.0000          .0000       .10000E+07
     6 'Prefactor '    .21437E-05   1.0000          .0000       .10000E+07
     7 'norm      '    3.7550       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.3958       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20613E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .26462E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .33914E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.9694       1.0000          .0000       .10000E+07
    13 'Prefactor '    .37094E-03   1.0000          .0000       .10000E+07
    14 'norm      '    16.151       1.0000          .0000       .10000E+07
    15 'norm      '    .80491E-08   1.0000          .0000       .10000E+07
    16 'Prefactor '    14.174       1.0000          .0000       .10000E+07
    17 'Prefactor '    .62241E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .11027       1.0000          .0000       .10000E+07
    19 'Prefactor '    .83377E-04   1.0000          .0000       .10000E+07
    20 'Normalizat'    .61417       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1764       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=   6174.194     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1657 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13155        .11367        .44367E-06   -.12896E-02
   2  norm           .0000        5.1473       -.25946E-06** at limit **
   3  Prefactor     28.245        1.8165       -.27384E-07   -.61795E-02
   4  Prefactor     2.8360        6.0238       -.12140E-05    .12866E-02
   5  Prefactor     23.294        1.6529        .64483E-07   -.42869E-02
   6  Prefactor      .0000        3.8199        .30416E-06** at limit **
   7  norm          3.7545        1.5796       -.12981E-06    .16111E-02
   8  Prefactor     1.3024        22.981       -.26739E-05    .87746E-04
   9  Prefactor      .0000        6.7475       -.21513E-06** at limit **
  10  Prefactor     .19429E-08    15.534        .10941E-05** at limit **
  11  norm          .38525E-07    25.629       -.17730E-05** at limit **
  12  Prefactor     3.9881        5.9773        .34342E-06   -.10021E-02
  13  Prefactor     .77965E-06    100.16        .27845E-06** at limit **
  14  norm          16.126        1.3428        .69394E-07    .71782E-01
  15  norm          .55511E-10    14.307       -.16216E-05** at limit **
  16  Prefactor     14.161        6.7607        .48847E-06   -.20301E-02
  17  Prefactor     .85615E-06    60.649       -.20762E-05** at limit **
  18  Prefactor     .25132E-03    18.562       -.17911E-05** at limit **
  19  Prefactor     .22204E-09    5.4827        .19985E-05** at limit **
  20  Normalizat    .61472        .23317       -.23692E-05   -.17532E-03
  21  Prefactor     1.1765        .15068        .14355E-04   -.39364E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.131545
  norm       = 0
  Prefactor  = 28.2448
  Prefactor  = 2.83598
  Prefactor  = 23.2942
  Prefactor  = 0
  norm       = 3.75454
  Prefactor  = 1.3024
  Prefactor  = 0
  Prefactor  = 1.94289e-09
  norm       = 3.85247e-08
  Prefactor  = 3.9881
  Prefactor  = 7.79654e-07
  norm       = 16.1255
  norm       = 5.55112e-11
  Prefactor  = 14.1613
  Prefactor  = 8.56148e-07
  Prefactor  = 0.000251317
  Prefactor  = 2.22045e-10
  Normalizat = 0.614717
  Prefactor  = 1.17647
 **********
 **   18 **HESSE 
 **********

 FCN=   6174.194     FROM HESSE     STATUS=OK           361 CALLS     2018 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13155        .12051        .53575E-02   -1.5635    
   2  norm           .0000        5.1325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     28.245        35.070        .18770E-03   -1.5602    
   4  Prefactor     2.8360        6.0712        .60017E-03   -1.5674    
   5  Prefactor     23.294        18.420        .20725E-03   -1.5611    
   6  Prefactor      .0000        3.8085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.7545        1.5854        .52078E-03   -1.5669    
   8  Prefactor     1.3024        22.854        .91871E-03   -1.5685    
   9  Prefactor      .0000        6.7545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19429E-08    15.635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .38525E-07    25.368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.9881        6.0298        .50602E-03   -1.5668    
  13  Prefactor     .77965E-06    101.12        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.126        13.748        .24895E-03   -1.5628    
  15  norm          .55511E-10    14.373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.161        6.7778        .26579E-03   -1.5633    
  17  Prefactor     .85615E-06    62.209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .25132E-03    21.258        .13661E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .22204E-09    5.4706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .61472        .21923        .83632E-01   -1.0736    
  21  Prefactor     1.1765        .13573        .35214E-01   -.87058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62657e-07
Minuit parameter uncertainties:
  1  0.120511
  2  1.79843e-05
  3  35.0703
  4  6.07126
  5  18.4198
  6  8.60097e-06
  7  1.58544
  8  10.9114
  9  1.61664e-05
  10  0.000347925
  11  0.00197682
  12  6.02977
  13  0.0177589
  14  13.7483
  15  6.81245e-05
  16  6.77776
  17  0.0145959
  18  0.146186
  19  7.02537e-05
  20  0.219544
  21  0.135767
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.302e+00  1.091e+01  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:  1.176e+00  1.358e-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:  6.147e-01  2.195e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 1.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/983681/likelihoodResults_700185601_700444801_4FGL_J2324.7+0801_daily_bin1778.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) = 6173.64443924
delta logL = 0.54959813454

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6173.49660949
delta logL = 0.697427892461

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .71756E-01   1.0000          .0000       .10000E+07
     2 'Index     '    4.6918       1.0000          .0000       10.000    
     3 'Normalizat'    .53194       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2074       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=   6173.497     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      259 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .71316E-01    1.0593        .41971E-03** at limit **
   2  Index         4.6942        2.4082        .92324E-01    .79851E-04
   3  Normalizat    .53191        .46266E-01    .89507E-01   -.13554E-04
   4  Prefactor     1.2074        .30497E-01    .34459E-01   -.54849E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0713159
  Index      = 4.69422
  Normalizat = 0.531911
  Prefactor  = 1.20738
 **********
 **   18 **HESSE 
 **********

 FCN=   6173.497     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      294 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .71316E-01    2.8732        .19187E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6942        7.0829        .46928E-02   -.61193E-01
   3  Normalizat    .53191        .17261        .39657E-03   -1.1096    
   4  Prefactor     1.2074        .11185        .17901E-03   -.86104    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.46284e-10
Minuit parameter uncertainties:
  1  0.905335
  2  5.21854
  3  0.172787
  4  0.111876
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/983681': 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) = 6173.49660912
delta logL = 0.697428255186

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  7.132e-02  9.053e-01  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  4.694e+00  5.219e+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:  1.207e+00  1.119e-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:  5.319e-01  1.728e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.53
Ra Dec: 351.190 8.028
Photon Index (Free Index): 4.69 +/- 5.22
Photon Flux (Free Index): 7.27e-08 +/- 6.51e-08
Energy Flux (Free Index): 9.94e-06 +/- 9.33e-06

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/983681/cmap_HighResolution_700185601_700444801_4FGL_J2324.7+0801_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.63e-03', comment='SUCCESS', energy_flux2='9.94e-06', dlogl='6.97e-01', photon_flux2='7.27e-08', job_status='DONE', time_completed='2023-03-14 02:38:36.306002', photon_index_error2='5.22', photon_index2='4.69', ts='0.02', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='1.00e-07', energy_flux_error2='9.33e-06', EG='0.61', time_epoch_completed='1678786716.31', return_code='0', job_id='983681', GAL2='1.21', EG2='0.53', return_code2='102', photon_flux_error2='6.51e-08', ts2='1.53', photon_index='2.23' WHERE bin_id='1778' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 02:38:36 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 983681: <4FGL_J2324.7+0801_daily_bin1778> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1778> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Mar 14 02:25:13 2023
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 02:25:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 02:25:14 2023
Terminated at Tue Mar 14 02:38:37 2023
Results reported at Tue Mar 14 02:38:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1778 351.19 8.0282 700185601 700444801 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 :                                   565.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             245.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            804 sec.

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

