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


Performing analysis on: 4FGL_J2142.5-2552_daily_bin1751
RA = 325.645, Dec = -25.8777
tmin = 693187201, tmax = 693446401
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='87756', job_status='RUN', time_executed='2022-12-23 01:23:42.890613', time_epoch_executed='1671787422.89' WHERE source_name='4FGL J2142.5-2552' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/87756

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/87756/ft1_4FGL_J2142.5-2552_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/87756/ft2_4FGL_J2142.5-2552_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/87756/ft1_4FGL_J2142.5-2552_daily_bin1751.fits outfile=/scratch/kocevski/87756/ft1_filteredMKT_4FGL_J2142.5-2552_daily_bin1751.fits ra=325.645 dec=-25.8777 rad=12.0 tmin=693187201.0 tmax=693446401.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.64
user 3.40
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/87756/ft2_4FGL_J2142.5-2552_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/87756/ft2_4FGL_J2142.5-2552_daily_bin1751.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/87756/ft1_filteredMKT_4FGL_J2142.5-2552_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/87756/ft1_filtered_4FGL_J2142.5-2552_daily_bin1751.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.34
sys 0.15

Number of photons that the gtmktime cut: 531

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/87756/ft1_filtered_4FGL_J2142.5-2552_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/87756/ft2_4FGL_J2142.5-2552_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/87756/ltcube_693187201_693446401_4FGL_J2142.5-2552_daily_bin1751.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/87756/ft2_4FGL_J2142.5-2552_daily_bin1751.fits
.....................!
real 12.01
user 11.58
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/87756/ft1_filtered_4FGL_J2142.5-2552_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/87756/ft2_4FGL_J2142.5-2552_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/87756/ltcube_693187201_693446401_4FGL_J2142.5-2552_daily_bin1751.fits outfile=/scratch/kocevski/87756/expmap_693187201_693446401_4FGL_J2142.5-2552_daily_bin1751.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/87756/ltcube_693187201_693446401_4FGL_J2142.5-2552_daily_bin1751.fits
.....................!
real 190.54
user 185.51
sys 4.20

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

Setting source of interest to:
4FGL J2142.5-2552 @ 325.645 -25.8777

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/87756/ft1_filtered_4FGL_J2142.5-2552_daily_bin1751.fits scfile=/scratch/kocevski/87756/ft2_4FGL_J2142.5-2552_daily_bin1751.fits outfile=/scratch/kocevski/87756/cmap_693187201_693446401_4FGL_J2142.5-2552_daily_bin1751.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=325.645 yref=-25.8777 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/87756/ft1_filtered_4FGL_J2142.5-2552_daily_bin1751.fits scfile=/scratch/kocevski/87756/ft2_4FGL_J2142.5-2552_daily_bin1751.fits outfile=/scratch/kocevski/87756/cmap_HighResolution_693187201_693446401_4FGL_J2142.5-2552_daily_bin1751.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=325.645 yref=-25.8777 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/87756/ft1_filtered_4FGL_J2142.5-2552_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/87756/ft2_4FGL_J2142.5-2552_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/87756/Model_4FGL_J2142.5-2552_daily_bin1751.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/87756/ft1_filtered_4FGL_J2142.5-2552_daily_bin1751.fits.....................!
real 52.30
user 50.73
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/87756/ft1_filtered_4FGL_J2142.5-2552_daily_bin1751.fits', '/scratch/kocevski/87756/ft2_4FGL_J2142.5-2552_daily_bin1751.fits', expMap='/scratch/kocevski/87756/expmap_693187201_693446401_4FGL_J2142.5-2552_daily_bin1751.fits', expCube='/scratch/kocevski/87756/ltcube_693187201_693446401_4FGL_J2142.5-2552_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/87756/Model_4FGL_J2142.5-2552_daily_bin1751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2142.5-2552'

4FGL J2142.5-2552
   Spectrum: PowerLaw
263    Prefactor:  2.690e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.208e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  1.296e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/87756/ft1_filtered_4FGL_J2142.5-2552_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/87756/ft2_4FGL_J2142.5-2552_daily_bin1751.fits
Exposure map: /scratch/kocevski/87756/expmap_693187201_693446401_4FGL_J2142.5-2552_daily_bin1751.fits
Exposure cube: /scratch/kocevski/87756/ltcube_693187201_693446401_4FGL_J2142.5-2552_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/87756/Model_4FGL_J2142.5-2552_daily_bin1751.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) = 5847.89339654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    34.197       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.1363       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.3110       1.0000          .0000       .10000E+07
     4 'norm      '    .14272E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .52791E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .72735E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    17.120       1.0000          .0000       .10000E+07
     8 'norm      '    8.5015       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21891E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18928E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .71137E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .22535E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .17088       1.0000          .0000       .10000E+07
    14 'norm      '    .55795       1.0000          .0000       .10000E+07
    15 'Prefactor '    21.416       1.0000          .0000       .10000E+07
    16 'Prefactor '    .30511E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .72189E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2391       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .70286       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5847.862     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1381 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          34.309        1.1544        .18865E-07    .16878E-01
   2  Prefactor     4.1258        5.6404        .49650E-07   -.65507E-01
   3  Prefactor     1.3224        6.1559       -.12867E-06    .10972E-02
   4  norm          .31641E-08    4.8934        .24961E-06** at limit **
   5  Prefactor     .33307E-09    2.4069       -.16226E-06** at limit **
   6  Prefactor     .45297E-07    2.6295       -.19299E-06** at limit **
   7  Prefactor     17.128        2.0291        .23783E-07    .88740E-02
   8  norm          8.3901        6.2533        .20942E-07   -.25644E-02
   9  Prefactor     .20539E-07    4.7114        .64107E-07** at limit **
  10  Prefactor     .66558E-07    10.749       -.75778E-06** at limit **
  11  Prefactor     .30531E-07    53.457       -.32861E-05** at limit **
  12  norm          .12279E-06    3.2949        .21751E-06** at limit **
  13  Prefactor     .11102E-08    31.087       -.74800E-06** at limit **
  14  norm          .55836        .28178        .60050E-07   -.12958E-01
  15  Prefactor     21.405        1.2124        .53970E-08   -.78819E-02
  16  Prefactor     .27756E-09    4.7544       -.41958E-06** at limit **
  17  norm          .12473E-06    4.3358       -.39539E-07** at limit **
  18  Normalizat    1.2397        .21990        .22981E-05    .66122E-04
  19  Prefactor     .70265        .13954       -.95729E-06    .54803E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 34.3092
  Prefactor  = 4.1258
  Prefactor  = 1.32241
  norm       = 3.16414e-09
  Prefactor  = 3.33067e-10
  Prefactor  = 4.52971e-08
  Prefactor  = 17.1278
  norm       = 8.39012
  Prefactor  = 2.05391e-08
  Prefactor  = 6.65579e-08
  Prefactor  = 3.05311e-08
  norm       = 1.22791e-07
  Prefactor  = 1.11022e-09
  norm       = 0.558361
  Prefactor  = 21.4054
  Prefactor  = 2.77556e-10
  norm       = 1.24734e-07
  Normalizat = 1.23973
  Prefactor  = 0.702655
 **********
 **   18 **HESSE 
 **********

 FCN=   5847.862     FROM HESSE     STATUS=OK           304 CALLS     1685 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          34.309        32.947        .17103E-03   -1.5591    
   2  Prefactor     4.1258        22.010        .49538E-03   -1.5667    
   3  Prefactor     1.3224        6.2277        .96251E-03   -1.5685    
   4  norm          .31641E-08    4.9476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .33307E-09    2.4196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .45297E-07    7.6645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.128        15.313        .24179E-03   -1.5625    
   8  norm          8.3901        6.2592        .34357E-03   -1.5650    
   9  Prefactor     .20539E-07    6.6515        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .66558E-07    10.989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .30531E-07    53.496        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .12279E-06    6.7601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .11102E-08    30.250        .12319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .55836        .28066        .63209E-03   -1.5693    
  15  Prefactor     21.405        10.856        .21615E-03   -1.5615    
  16  Prefactor     .27756E-09    7.9662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .12473E-06    5.2761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2397        .19013        .56044E-01   -.85384    
  19  Prefactor     .70265        .11900        .42439E-01   -1.0342    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.55903e-07
Minuit parameter uncertainties:
  1  32.9469
  2  19.0587
  3  5.73956
  4  0.000249279
  5  5.77933e-05
  6  0.00117822
  7  15.313
  8  6.25924
  9  0.000739382
  10  0.00171016
  11  0.00255601
  12  0.00182198
  13  0.000367728
  14  0.280663
  15  10.8561
  16  9.04587e-05
  17  0.00162236
  18  0.190238
  19  0.119046
Done.

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

Extracting fit parameters...

4FGL J2142.5-2552
   Spectrum: PowerLaw
263    Prefactor:  1.713e+01  1.531e+01  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.208e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  1.296e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
515    Prefactor:  7.027e-01  1.190e-01  0.000e+00  1.000e+01 ( 1.000e+00)
516        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
517        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
514   Normalization:  1.240e+00  1.902e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.84
Ra Dec: 325.645 -25.878
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 4.06e-08 +/- 3.63e-08
Energy Flux (Fixed Index): 1.80e-05 +/- 1.61e-05

TS (Fixed Index): 1.84
Ra Dec: 325.645 -25.878
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/87756/likelihoodResults_693187201_693446401_4FGL_J2142.5-2552_daily_bin1751.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5847.5907312
delta logL = 0.271757388497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 5846.43197586
delta logL = 1.43051273214

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64848E-06   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    1.1429       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75832       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5848.777     FROM MIGRAD    STATUS=CONVERGED    169 CALLS      787 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.0004        .42118E-03** at limit **
   2  Index         .95936        .93213       -.31116E-08     .0000    
   3  Normalizat    1.2648        1.1810        .63899E-05    .19712E-04
   4  Prefactor     .70648        1.0722       -.45198E-05    .45205E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.959363
  Normalizat = 1.26484
  Prefactor  = 0.706477
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5848.777     FROM HESSE     STATUS=FAILED         9 CALLS      796 TOTAL
                     EDM=   .23E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.0004        .42118E-03   -26.704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9113        1.7442       -.31116E-08   -50155.    
   3  Normalizat    1.2648        1.1810        .63899E-05   -8.5786    
   4  Prefactor     .70648        1.0722       -.45198E-05    29.307    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.25246e-12
Minuit parameter uncertainties:
  1  1.34157e-05
  2  0.948438
  3  1.20755
  4  1.10623
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/87756': 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): 101
logL (Free Index) = 5848.77691661
delta logL = -0.914428013268

Extracting fit parameters...

4FGL J2142.5-2552
   Spectrum: PowerLaw
263    Prefactor:  0.000e+00  1.342e-05  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  9.594e-01  9.484e-01  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  1.296e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
515    Prefactor:  7.065e-01  1.106e+00  0.000e+00  1.000e+01 ( 1.000e+00)
516        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
517        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
514   Normalization:  1.265e+00  1.208e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.84
Ra Dec: 325.645 -25.878

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/87756/cmap_HighResolution_693187201_693446401_4FGL_J2142.5-2552_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.25e-03', comment='SUCCESS', photon_flux='4.06e-08', fit_tolerance='1e-08', photon_flux_error='3.63e-08', dlogl='-9.14e-01', energy_flux='1.80e-05', job_status='DONE', time_completed='2022-12-23 01:32:45.166915', job_id='87756', GAL2='0.71', ts='1.84', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='1.21e-07', EG='1.24', time_epoch_completed='1671787965.17', return_code='0', EG2='1.26', return_code2='101', energy_flux_error='1.61e-05', ts2='0.00', photon_index='2.21' WHERE bin_id='1751' AND source_name='4FGL J2142.5-2552' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:32:45 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 87756: <4FGL_J2142.5-2552_daily_bin1751> in cluster <slac> Done

Job <4FGL_J2142.5-2552_daily_bin1751> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec 23 01:20:14 2022
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 01:20:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 01:20:16 2022
Terminated at Fri Dec 23 01:32:46 2022
Results reported at Fri Dec 23 01:32:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2142.5-2552_daily_bin1751 325.645 -25.8777 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2142.5-2552 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   543.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            752 sec.

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

