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


Performing analysis on: 4FGL_J1214.5-2318_daily_bin1764
RA = 183.625, Dec = -23.3113
tmin = 696556801, tmax = 696816001
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='445028', job_status='RUN', time_executed='2023-01-31 00:46:45.282952', time_epoch_executed='1675154805.28' WHERE source_name='4FGL J1214.5-2318' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/445028

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/445028/ft1_4FGL_J1214.5-2318_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/445028/ft2_4FGL_J1214.5-2318_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/445028/ft1_4FGL_J1214.5-2318_daily_bin1764.fits outfile=/scratch/kocevski/445028/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin1764.fits ra=183.625 dec=-23.3113 rad=12.0 tmin=696556801.0 tmax=696816001.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.06
user 2.83
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/445028/ft2_4FGL_J1214.5-2318_daily_bin1764.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/445028/ft2_4FGL_J1214.5-2318_daily_bin1764.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/445028/ft1_filteredMKT_4FGL_J1214.5-2318_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/445028/ft1_filtered_4FGL_J1214.5-2318_daily_bin1764.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.46
user 0.30
sys 0.15

Number of photons that the gtmktime cut: 1067

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/445028/ft1_filtered_4FGL_J1214.5-2318_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/445028/ft2_4FGL_J1214.5-2318_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/445028/ltcube_696556801_696816001_4FGL_J1214.5-2318_daily_bin1764.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/445028/ft2_4FGL_J1214.5-2318_daily_bin1764.fits
.....................!
real 13.12
user 12.76
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/445028/ft1_filtered_4FGL_J1214.5-2318_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/445028/ft2_4FGL_J1214.5-2318_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/445028/ltcube_696556801_696816001_4FGL_J1214.5-2318_daily_bin1764.fits outfile=/scratch/kocevski/445028/expmap_696556801_696816001_4FGL_J1214.5-2318_daily_bin1764.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/445028/ltcube_696556801_696816001_4FGL_J1214.5-2318_daily_bin1764.fits
.....................!
real 161.17
user 156.06
sys 4.82

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

Setting source of interest to:
4FGL J1214.5-2318 @ 183.625 -23.3113

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/445028/ft1_filtered_4FGL_J1214.5-2318_daily_bin1764.fits scfile=/scratch/kocevski/445028/ft2_4FGL_J1214.5-2318_daily_bin1764.fits outfile=/scratch/kocevski/445028/cmap_696556801_696816001_4FGL_J1214.5-2318_daily_bin1764.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=183.625 yref=-23.3113 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.52
user 0.33
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/445028/ft1_filtered_4FGL_J1214.5-2318_daily_bin1764.fits scfile=/scratch/kocevski/445028/ft2_4FGL_J1214.5-2318_daily_bin1764.fits outfile=/scratch/kocevski/445028/cmap_HighResolution_696556801_696816001_4FGL_J1214.5-2318_daily_bin1764.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=183.625 yref=-23.3113 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.51
user 0.34
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/445028/ft1_filtered_4FGL_J1214.5-2318_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/445028/ft2_4FGL_J1214.5-2318_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/445028/Model_4FGL_J1214.5-2318_daily_bin1764.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/445028/ft1_filtered_4FGL_J1214.5-2318_daily_bin1764.fits.....................!
real 73.42
user 71.99
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/445028/ft1_filtered_4FGL_J1214.5-2318_daily_bin1764.fits', '/scratch/kocevski/445028/ft2_4FGL_J1214.5-2318_daily_bin1764.fits', expMap='/scratch/kocevski/445028/expmap_696556801_696816001_4FGL_J1214.5-2318_daily_bin1764.fits', expCube='/scratch/kocevski/445028/ltcube_696556801_696816001_4FGL_J1214.5-2318_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/445028/Model_4FGL_J1214.5-2318_daily_bin1764.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1214.5-2318'

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  3.118e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
301        Index:  2.124e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  2.541e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/445028/ft1_filtered_4FGL_J1214.5-2318_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/445028/ft2_4FGL_J1214.5-2318_daily_bin1764.fits
Exposure map: /scratch/kocevski/445028/expmap_696556801_696816001_4FGL_J1214.5-2318_daily_bin1764.fits
Exposure cube: /scratch/kocevski/445028/ltcube_696556801_696816001_4FGL_J1214.5-2318_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/445028/Model_4FGL_J1214.5-2318_daily_bin1764.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) = 11147.6949567

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53266E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .60006E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1687       1.0000          .0000       .10000E+07
     4 'norm      '    .11652E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.7499       1.0000          .0000       .10000E+07
     6 'norm      '    3.3320       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10667E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .60946E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.7625       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28442E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .16997E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .98442       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.2034       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.1084       1.0000          .0000       .10000E+07
    15 'norm      '    .28766       1.0000          .0000       .10000E+07
    16 'Prefactor '    .34743E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .19834E-04   1.0000          .0000       .10000E+07
    18 'norm      '    1.9720       1.0000          .0000       .10000E+07
    19 'Prefactor '    .20197E-01   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3630       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .92068       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11147.61     FROM MIGRAD    STATUS=CONVERGED    149 CALLS     1359 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66613E-09    5.9374       -.17605E-05** at limit **
   2  norm          .14988E-08    2.4692        .66967E-06** at limit **
   3  Prefactor     1.1640        2.2148       -.16282E-06   -.55652E-03
   4  norm          .77716E-09    14.068        .27945E-05** at limit **
   5  Prefactor     3.7579        2.0174       -.95420E-07   -.13196E-01
   6  norm          3.3293        2.6700        .12073E-06    .21488E-01
   7  Prefactor      .0000        1.9448        .10023E-06** at limit **
   8  Prefactor     .29865E-07    23.305        .10917E-04** at limit **
   9  Prefactor     1.7814        5.5584       -.46941E-05   -.21796E-01
  10  Prefactor     .67341E-06    82.992       -.12674E-04** at limit **
  11  Prefactor     .82157E-08    18.334       -.96543E-05** at limit **
  12  Prefactor     .98461        3.3132       -.18243E-05   -.65711E-02
  13  Prefactor     4.2006        1.7561        .33763E-05   -.71530E-04
  14  Prefactor     7.0006        8.2448       -.31288E-06   -.26943E-02
  15  norm          .28764        .59274       -.26721E-06    .17205E-01
  16  Prefactor     .21927E-07    42.257       -.41771E-05** at limit **
  17  norm          .55511E-10    2.0919       -.53891E-06** at limit **
  18  norm          1.9734        3.9192        .20974E-07   -.36660E-02
  19  Prefactor     .11937E-01    2.1090        .30911E-05** at limit **
  20  Normalizat    1.3631        .20098        .80521E-05   -.33048E-03
  21  Prefactor     .92083        .10368       -.13625E-05   -.37838E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.66134e-10
  norm       = 1.4988e-09
  Prefactor  = 1.16397
  norm       = 7.77156e-10
  Prefactor  = 3.75786
  norm       = 3.32932
  Prefactor  = 0
  Prefactor  = 2.9865e-08
  Prefactor  = 1.78144
  Prefactor  = 6.73406e-07
  Prefactor  = 8.21565e-09
  Prefactor  = 0.984609
  Prefactor  = 4.20062
  Prefactor  = 7.00062
  norm       = 0.28764
  Prefactor  = 2.19269e-08
  norm       = 5.55112e-11
  norm       = 1.97337
  Prefactor  = 0.0119373
  Normalizat = 1.36307
  Prefactor  = 0.920834
 **********
 **   18 **HESSE 
 **********

 FCN=   11147.61     FROM HESSE     STATUS=OK           375 CALLS     1734 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66613E-09    5.9530        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .14988E-08    .48558        .26925E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.1640        2.2842        .10619E-02   -1.5686    
   4  norm          .77716E-09    14.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.7579        12.492        .52114E-03   -1.5669    
   6  norm          3.3293        4.1329        .55426E-03   -1.5671    
   7  Prefactor      .0000        1.9483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .29865E-07    23.456        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.7814        24.649        .78887E-03   -1.5681    
  10  Prefactor     .67341E-06    19.374        .16534E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .82157E-08    18.503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .98461        3.3287        .43213E-03   -1.5688    
  13  Prefactor     4.2006        1.7605        .49140E-02   -1.5298    
  14  Prefactor     7.0006        8.2393        .37601E-03   -1.5655    
  15  norm          .28764        .60909        .10386E-02   -1.5697    
  16  Prefactor     .21927E-07    42.240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .55511E-10    2.0916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.9734        4.5340        .73804E-03   -1.5680    
  19  Prefactor     .11937E-01    1.7569        .94294E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3631        .17045        .67947E-01   -.81703    
  21  Prefactor     .92083        .87364E-01    .45268E-01   -.95417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74948e-06
Minuit parameter uncertainties:
  1  0.000123352
  2  5.35388e-05
  3  2.28418
  4  0.000208729
  5  12.4916
  6  4.13292
  7  7.59514e-06
  8  0.00167461
  9  13.2531
  10  0.00722402
  11  0.000779278
  12  3.32867
  13  1.76048
  14  8.23935
  15  0.609092
  16  0.00192513
  17  1.6715e-05
  18  4.53399
  19  0.289639
  20  0.170516
  21  0.0873776
Done.

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

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  6.734e-07  7.224e-03  0.000e+00  1.000e+06 ( 1.000e-14)
301        Index:  2.124e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  2.541e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  9.208e-01  8.738e-02  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  1.363e+00  1.705e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 183.625 -23.311
Photon Flux Upper Limit: 6.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/445028/likelihoodResults_696556801_696816001_4FGL_J1214.5-2318_daily_bin1764.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) = 11147.6200875
delta logL = -0.00516769463502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11147.570264
delta logL = 0.044655834643

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11147.57     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      273 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4933        838.74        .17674E-03    .57366E-03
   2  Index         2.9751        7.9197        .83191E-02    .10173E-04
   3  Normalizat    1.3540        .14787        .30144E-03   -.27155E-05
   4  Prefactor     .92160        .78959E-01    .18323E-03   -.57083E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.49326
  Index      = 2.97514
  Normalizat = 1.35403
  Prefactor  = 0.921599
 **********
 **   18 **HESSE 
 **********

 FCN=   11147.57     FROM HESSE     STATUS=OK            27 CALLS      300 TOTAL
                     EDM=   .85E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4933        14.373        .70694E-05   -1.5684    
   2  Index         2.9751        2.0751        .33276E-03   -.41695    
   3  Normalizat    1.3540        .20172        .12057E-04   -.81968    
   4  Prefactor     .92160        .10287        .73291E-05   -.95390    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.54522e-14
Minuit parameter uncertainties:
  1  9.26562
  2  2.15392
  3  0.201843
  4  0.102887
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/445028': 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) = 11147.5702585
delta logL = 0.0446613377335

Extracting fit parameters...

4FGL J1214.5-2318
   Spectrum: PowerLaw
300    Prefactor:  1.493e+00  9.266e+00  0.000e+00  1.000e+06 ( 1.000e-14)
301        Index:  2.975e+00  2.154e+00  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  2.541e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  9.216e-01  1.029e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  1.354e+00  2.018e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 183.625 -23.311

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/445028/cmap_HighResolution_696556801_696816001_4FGL_J1214.5-2318_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-03', job_status='DONE', photon_flux_upper_limit='6.04e-08', time_completed='2023-01-31 00:57:25.082026', job_id='445028', GAL2='0.92', fit_tolerance='1e-08', EG2='1.35', EG='1.36', time_epoch_completed='1675155445.08', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='4.47e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1764' AND source_name='4FGL J1214.5-2318' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:57:25 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 445028: <4FGL_J1214.5-2318_daily_bin1764> in cluster <slac> Done

Job <4FGL_J1214.5-2318_daily_bin1764> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Jan 31 00:45:17 2023
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:46:12 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:46:12 2023
Terminated at Tue Jan 31 00:57:25 2023
Results reported at Tue Jan 31 00:57:25 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1214.5-2318_daily_bin1764 183.625 -23.3113 696556801 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1214.5-2318 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   641.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             372.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   673 sec.
    Turnaround time :                            728 sec.

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

