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


Performing analysis on: 4FGL_J2142.5-2552_daily_bin1743
RA = 325.645, Dec = -25.8777
tmin = 691113601, tmax = 691372801
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='462753', job_status='RUN', time_executed='2022-11-29 01:11:00.616588', time_epoch_executed='1669713060.62' WHERE source_name='4FGL J2142.5-2552' and cadence='daily' and bin_id='1743'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/462753

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/462753/ft1_4FGL_J2142.5-2552_daily_bin1743.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/462753/ft2_4FGL_J2142.5-2552_daily_bin1743.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/462753/ft1_4FGL_J2142.5-2552_daily_bin1743.fits outfile=/scratch/kocevski/462753/ft1_filteredMKT_4FGL_J2142.5-2552_daily_bin1743.fits ra=325.645 dec=-25.8777 rad=12.0 tmin=691113601.0 tmax=691372801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.73
user 2.52
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/462753/ft2_4FGL_J2142.5-2552_daily_bin1743.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/462753/ft1_filteredMKT_4FGL_J2142.5-2552_daily_bin1743.fits evtable="EVENTS" outfile="/scratch/kocevski/462753/ft1_filtered_4FGL_J2142.5-2552_daily_bin1743.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.50
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 759

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/462753/ft1_filtered_4FGL_J2142.5-2552_daily_bin1743.fits" evtable="EVENTS" scfile=/scratch/kocevski/462753/ft2_4FGL_J2142.5-2552_daily_bin1743.fits sctable="SC_DATA" outfile=/scratch/kocevski/462753/ltcube_691113601_691372801_4FGL_J2142.5-2552_daily_bin1743.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/462753/ft2_4FGL_J2142.5-2552_daily_bin1743.fits
.....................!
real 15.11
user 14.67
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/462753/ft1_filtered_4FGL_J2142.5-2552_daily_bin1743.fits evtable="EVENTS" scfile=/scratch/kocevski/462753/ft2_4FGL_J2142.5-2552_daily_bin1743.fits sctable="SC_DATA" expcube=/scratch/kocevski/462753/ltcube_691113601_691372801_4FGL_J2142.5-2552_daily_bin1743.fits outfile=/scratch/kocevski/462753/expmap_691113601_691372801_4FGL_J2142.5-2552_daily_bin1743.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/462753/ltcube_691113601_691372801_4FGL_J2142.5-2552_daily_bin1743.fits
.....................!
real 192.43
user 185.58
sys 6.32

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/462753/ft1_filtered_4FGL_J2142.5-2552_daily_bin1743.fits scfile=/scratch/kocevski/462753/ft2_4FGL_J2142.5-2552_daily_bin1743.fits outfile=/scratch/kocevski/462753/cmap_691113601_691372801_4FGL_J2142.5-2552_daily_bin1743.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.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/462753/ft1_filtered_4FGL_J2142.5-2552_daily_bin1743.fits scfile=/scratch/kocevski/462753/ft2_4FGL_J2142.5-2552_daily_bin1743.fits outfile=/scratch/kocevski/462753/cmap_HighResolution_691113601_691372801_4FGL_J2142.5-2552_daily_bin1743.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/462753/ft1_filtered_4FGL_J2142.5-2552_daily_bin1743.fits evtable="EVENTS" scfile=/scratch/kocevski/462753/ft2_4FGL_J2142.5-2552_daily_bin1743.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/462753/Model_4FGL_J2142.5-2552_daily_bin1743.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/462753/ft1_filtered_4FGL_J2142.5-2552_daily_bin1743.fits.....................!
real 68.58
user 67.01
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/462753/ft1_filtered_4FGL_J2142.5-2552_daily_bin1743.fits', '/scratch/kocevski/462753/ft2_4FGL_J2142.5-2552_daily_bin1743.fits', expMap='/scratch/kocevski/462753/expmap_691113601_691372801_4FGL_J2142.5-2552_daily_bin1743.fits', expCube='/scratch/kocevski/462753/ltcube_691113601_691372801_4FGL_J2142.5-2552_daily_bin1743.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/462753/Model_4FGL_J2142.5-2552_daily_bin1743.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/462753/ft1_filtered_4FGL_J2142.5-2552_daily_bin1743.fits
Spacecraft file(s): /scratch/kocevski/462753/ft2_4FGL_J2142.5-2552_daily_bin1743.fits
Exposure map: /scratch/kocevski/462753/expmap_691113601_691372801_4FGL_J2142.5-2552_daily_bin1743.fits
Exposure cube: /scratch/kocevski/462753/ltcube_691113601_691372801_4FGL_J2142.5-2552_daily_bin1743.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/462753/Model_4FGL_J2142.5-2552_daily_bin1743.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) = 8229.77110673

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11689E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    28.887       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.8217       1.0000          .0000       .10000E+07
     4 'norm      '    .63962       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.1124       1.0000          .0000       .10000E+07
     6 'Prefactor '    14.052       1.0000          .0000       .10000E+07
     7 'Prefactor '    .34345E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .51177E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.4830       1.0000          .0000       .10000E+07
    10 'Prefactor '    .41413E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .56447E-03   1.0000          .0000       .10000E+07
    12 'norm      '    7.0645       1.0000          .0000       .10000E+07
    13 'Prefactor '    .49933E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .25509       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12491E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .46153E-03   1.0000          .0000       .10000E+07
    17 'norm      '    21.048       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0542       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0234       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=   8229.739     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1138 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .39524E-07    6.6777       -.81118E-07** at limit **
   2  Prefactor     29.690        2.2086        .13817E-07   -.71429E-01
   3  Prefactor     6.7456        6.3006        .14088E-06    .18526E-02
   4  norm          .64756        .76856        .52777E-07    .13447E-01
   5  Prefactor     3.1243        5.8174        .21994E-06   -.12650E-03
   6  Prefactor     14.055        9.2578       -.22842E-06    .44042E-03
   7  Prefactor     .11335E-06    6.7831        .13214E-06** at limit **
   8  norm          .13236        22.337       -.27775E-06** at limit **
   9  Prefactor     5.5346        1.2340        .18386E-07   -.24292E-04
  10  Prefactor     .14392E-05    5.5212       -.20319E-06** at limit **
  11  Prefactor     .53396E-06    10.901       -.86460E-08** at limit **
  12  norm          7.0562        4.3408        .11899E-06    .59163E-02
  13  Prefactor     .12468E-05    5.6505       -.15980E-06** at limit **
  14  norm          .25539        .21252       -.19747E-07    .82196E-02
  15  Prefactor     .24869E-07    6.1171        .78863E-07** at limit **
  16  Prefactor     .55511E-10    3.9934       -.16283E-07** at limit **
  17  norm          21.215        1.0758        .30446E-08   -.14570E-01
  18  Normalizat    1.0538        .20640       -.46134E-06    .75177E-04
  19  Prefactor     1.0228        .13371       -.77655E-06    .14604E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.95239e-08
  Prefactor  = 29.6896
  Prefactor  = 6.74555
  norm       = 0.647565
  Prefactor  = 3.12426
  Prefactor  = 14.0551
  Prefactor  = 1.13354e-07
  norm       = 0.132357
  Prefactor  = 5.53458
  Prefactor  = 1.43924e-06
  Prefactor  = 5.33962e-07
  norm       = 7.05622
  Prefactor  = 1.24678e-06
  norm       = 0.25539
  Prefactor  = 2.4869e-08
  Prefactor  = 5.55112e-11
  norm       = 21.215
  Normalizat = 1.05383
  Prefactor  = 1.02283
 **********
 **   18 **HESSE 
 **********

 FCN=   8229.739     FROM HESSE     STATUS=OK           314 CALLS     1452 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .39524E-07    15.820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     29.690        19.140        .18609E-03   -1.5599    
   3  Prefactor     6.7456        6.3265        .38391E-03   -1.5656    
   4  norm          .64756        10.072        .65752E-03   -1.5692    
   5  Prefactor     3.1243        5.8305        .57449E-03   -1.5673    
   6  Prefactor     14.055        9.3277        .26694E-03   -1.5633    
   7  Prefactor     .11335E-06    7.1305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .13236        2.5507        .75067E-02   -1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.5346        12.076        .42887E-03   -1.5661    
  10  Prefactor     .14392E-05    11.734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .53396E-06    18.604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.0562        4.3455        .37719E-03   -1.5655    
  13  Prefactor     .12468E-05    9.6978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .25539        .19560        .81961E-03   -1.5698    
  15  Prefactor     .24869E-07    6.1870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    4.0055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          21.215        19.256        .21803E-03   -1.5616    
  18  Normalizat    1.0538        .17849        .66584E-01   -.91248    
  19  Prefactor     1.0228        .11502        .41815E-01   -.91972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.48115e-07
Minuit parameter uncertainties:
  1  0.00158156
  2  19.1401
  3  6.32651
  4  5.10782
  5  5.83055
  6  9.32766
  7  0.00179799
  8  1.16208
  9  12.0758
  10  0.00821903
  11  0.00630367
  12  4.34551
  13  0.00695444
  14  0.195601
  15  0.000784647
  16  3.4065e-05
  17  19.256
  18  0.178593
  19  0.115048
Done.

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

Extracting fit parameters...

4FGL J2142.5-2552
   Spectrum: PowerLaw
263    Prefactor:  1.134e-07  1.798e-03  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:  1.023e+00  1.150e-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.054e+00  1.786e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 325.645 -25.878
Photon Flux Upper Limit: 4.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/462753/likelihoodResults_691113601_691372801_4FGL_J2142.5-2552_daily_bin1743.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) = 8229.80982594
delta logL = -0.0712320415369

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8229.73859394
delta logL = -4.5449269237e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .85154E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0409       1.0000          .0000       10.000    
     3 'Normalizat'    1.0538       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0228       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.

 FCN=   8229.739     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      232 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32196E-08    .20460        .42118E-03** at limit **
   2  Index         2.2308        8.7087        .40473        .73033E-09
   3  Normalizat    1.0538        .77534E-03    .66584E-01   -.40072E-04
   4  Prefactor     1.0228        .51287E-03    .41868E-01   -.36810E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.21965e-09
  Index      = 2.23077
  Normalizat = 1.05383
  Prefactor  = 1.02283
 **********
 **   18 **HESSE 
 **********

 FCN=   8229.739     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      263 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32196E-08    .57857        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2308        5.6300        .50000       -.58698    
   3  Normalizat    1.0538        .12996E-02    .29455E-03   -.91248    
   4  Prefactor     1.0228        .86061E-03    .19649E-03   -.91972    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.11308e-11
Minuit parameter uncertainties:
  1  8.65482e-05
  2  3250.26
  3  0.00129964
  4  0.000860606
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/462753': 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) = 8229.73859389
delta logL = 7.61065166444e-09

Extracting fit parameters...

4FGL J2142.5-2552
   Spectrum: PowerLaw
263    Prefactor:  3.220e-09  8.655e-05  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  2.231e+00  3.250e+03  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:  1.023e+00  8.606e-04  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.054e+00  1.300e-03  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/462753/cmap_HighResolution_691113601_691372801_4FGL_J2142.5-2552_daily_bin1743.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.71e-08', time_completed='2022-11-29 01:20:47.568234', job_id='462753', GAL2='1.02', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1669713647.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='7.61e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='1743' AND source_name='4FGL J2142.5-2552' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov 29 01:20:47 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 462753: <4FGL_J2142.5-2552_daily_bin1743> in cluster <slac> Done

Job <4FGL_J2142.5-2552_daily_bin1743> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Nov 29 01:05:36 2022
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov 29 01:09:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov 29 01:09:16 2022
Terminated at Tue Nov 29 01:20:48 2022
Results reported at Tue Nov 29 01:20:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2142.5-2552_daily_bin1743 325.645 -25.8777 691113601 691372801 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 :                                   589.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             299.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            912 sec.

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

