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 50 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2142.5-2552_daily_bin1700
RA = 325.645, Dec = -25.8777
tmin = 679968001, tmax = 680227201
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='83313', job_status='RUN', time_executed='2022-07-23 00:36:40.979562', time_epoch_executed='1658561800.98' WHERE source_name='4FGL J2142.5-2552' and cadence='daily' and bin_id='1700'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/83313

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/83313/ft1_4FGL_J2142.5-2552_daily_bin1700.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/83313/ft2_4FGL_J2142.5-2552_daily_bin1700.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/83313/ft1_4FGL_J2142.5-2552_daily_bin1700.fits outfile=/scratch/kocevski/83313/ft1_filteredMKT_4FGL_J2142.5-2552_daily_bin1700.fits ra=325.645 dec=-25.8777 rad=12.0 tmin=679968001.0 tmax=680227201.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 4.63
user 4.38
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/83313/ft2_4FGL_J2142.5-2552_daily_bin1700.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/83313/ft1_filteredMKT_4FGL_J2142.5-2552_daily_bin1700.fits evtable="EVENTS" outfile="/scratch/kocevski/83313/ft1_filtered_4FGL_J2142.5-2552_daily_bin1700.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.53
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 521

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/83313/ft1_filtered_4FGL_J2142.5-2552_daily_bin1700.fits" evtable="EVENTS" scfile=/scratch/kocevski/83313/ft2_4FGL_J2142.5-2552_daily_bin1700.fits sctable="SC_DATA" outfile=/scratch/kocevski/83313/ltcube_679968001_680227201_4FGL_J2142.5-2552_daily_bin1700.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/83313/ft2_4FGL_J2142.5-2552_daily_bin1700.fits
.....................!
real 12.66
user 12.26
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/83313/ft1_filtered_4FGL_J2142.5-2552_daily_bin1700.fits evtable="EVENTS" scfile=/scratch/kocevski/83313/ft2_4FGL_J2142.5-2552_daily_bin1700.fits sctable="SC_DATA" expcube=/scratch/kocevski/83313/ltcube_679968001_680227201_4FGL_J2142.5-2552_daily_bin1700.fits outfile=/scratch/kocevski/83313/expmap_679968001_680227201_4FGL_J2142.5-2552_daily_bin1700.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/83313/ltcube_679968001_680227201_4FGL_J2142.5-2552_daily_bin1700.fits
.....................!
real 190.30
user 185.68
sys 4.17

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/83313/ft1_filtered_4FGL_J2142.5-2552_daily_bin1700.fits scfile=/scratch/kocevski/83313/ft2_4FGL_J2142.5-2552_daily_bin1700.fits outfile=/scratch/kocevski/83313/cmap_679968001_680227201_4FGL_J2142.5-2552_daily_bin1700.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/83313/ft1_filtered_4FGL_J2142.5-2552_daily_bin1700.fits scfile=/scratch/kocevski/83313/ft2_4FGL_J2142.5-2552_daily_bin1700.fits outfile=/scratch/kocevski/83313/cmap_HighResolution_679968001_680227201_4FGL_J2142.5-2552_daily_bin1700.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.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/83313/ft1_filtered_4FGL_J2142.5-2552_daily_bin1700.fits', '/scratch/kocevski/83313/ft2_4FGL_J2142.5-2552_daily_bin1700.fits', expMap='/scratch/kocevski/83313/expmap_679968001_680227201_4FGL_J2142.5-2552_daily_bin1700.fits', expCube='/scratch/kocevski/83313/ltcube_679968001_680227201_4FGL_J2142.5-2552_daily_bin1700.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/83313/Model_4FGL_J2142.5-2552_daily_bin1700.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  1.000e-04  1.000e+04 ( 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/83313/ft1_filtered_4FGL_J2142.5-2552_daily_bin1700.fits
Spacecraft file(s): /scratch/kocevski/83313/ft2_4FGL_J2142.5-2552_daily_bin1700.fits
Exposure map: /scratch/kocevski/83313/expmap_679968001_680227201_4FGL_J2142.5-2552_daily_bin1700.fits
Exposure cube: /scratch/kocevski/83313/ltcube_679968001_680227201_4FGL_J2142.5-2552_daily_bin1700.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/83313/Model_4FGL_J2142.5-2552_daily_bin1700.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) = 5647.70222065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    84.305       1.0000         .10000E-03   10000.    
     2 'norm      '    3.5843       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.1577       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.0707       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.0785       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.0192       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.0400       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .35012       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .35700       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.863       1.0000         .10000E-03   10000.    
    18 'norm      '    33.595       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .79848       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0412       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5647.692     FROM MIGRAD    STATUS=CONVERGED    396 CALLS     2082 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     84.244        104.04       -.57782E-05   -.12514E-03
   2  norm          3.5742        21.973       -.35287E-06   -.33481E-04
   3  Prefactor     3.1300        34.523       -.42587E-05   -.10057E-03
   4  Prefactor     6.0698        7.4269        .32882E-06    .61984E-05
   5  norm          .10000E-03    2.2014        .45253E-08** at limit **
   6  Prefactor     3.0769        7.5300        .73125E-06   -.83038E-05
   7  Prefactor     7.0179        9.6353        .27130E-05   -.55896E-04
   8  Prefactor     .10000E-03    7.9472       -.23016E-06** at limit **
   9  norm          7.0396        8.8945        .25385E-05   -.44156E-04
  10  Prefactor     .10000E-03    6.7076       -.21438E-06** at limit **
  11  Prefactor     .10000E-03    7.3199        .83182E-06** at limit **
  12  Prefactor     .10000E-03    20.860       -.71847E-06** at limit **
  13  norm          .34159        2.1396       -.22973E-06    .14653E-03
  14  Prefactor     .10000E-03    23.156        .18320E-05** at limit **
  15  norm          .35706        .24526       -.11337E-07    .14007E-03
  16  Prefactor     .10000E-03    5.5136        .25783E-06** at limit **
  17  Prefactor     12.864        12.837        .16787E-06   -.73162E-05
  18  norm          33.593        23.466       -.87304E-07   -.35298E-04
  19  Normalizat    .79853        .20018       -.30123E-05    .89913E-04
  20  Prefactor     1.0412        .13194        .98582E-06   -.12772E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 84.2441
  norm       = 3.57419
  Prefactor  = 3.12998
  Prefactor  = 6.06983
  norm       = 0.0001
  Prefactor  = 3.07691
  Prefactor  = 7.01788
  Prefactor  = 0.0001
  norm       = 7.03959
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.341585
  Prefactor  = 0.0001
  norm       = 0.357064
  Prefactor  = 0.0001
  Prefactor  = 12.8638
  norm       = 33.5926
  Normalizat = 0.798533
  Prefactor  = 1.04124
 **********
 **   18 **HESSE 
 **********

 FCN=   5647.692     FROM HESSE     STATUS=OK           293 CALLS     2375 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     84.244        106.23        .21875E-03   -1.3870    
   2  norm          3.5742        21.893        .21345E-03   -1.5330    
   3  Prefactor     3.1300        35.883        .22809E-03   -1.5354    
   4  Prefactor     6.0698        7.4214        .16295E-03   -1.5215    
   5  norm          .10000E-03    2.2018        .10890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.0769        7.5298        .23117E-03   -1.5357    
   7  Prefactor     7.0179        9.6844        .75710E-03   -1.5178    
   8  Prefactor     .10000E-03    7.9859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.0396        8.9443        .75597E-03   -1.5177    
  10  Prefactor     .10000E-03    6.7505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.3581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    20.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .34159        10.257        .19887E-02   -1.5591    
  14  Prefactor     .10000E-03    23.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .35706        .24242        .29404E-04   -1.5588    
  16  Prefactor     .10000E-03    5.5789        .17233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.864        12.862        .11169E-03   -1.4990    
  18  norm          33.593        23.487        .69135E-04   -1.4548    
  19  Normalizat    .79853        .23100        .29554E-03   -1.0012    
  20  Prefactor     1.0412        .15372        .17890E-03   -.91367    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.52558e-10
Minuit parameter uncertainties:
  1  106.469
  2  17.7013
  3  21.2113
  4  7.42256
  5  1.31416e-07
  6  7.53215
  7  9.68656
  8  1.87102e-05
  9  8.94602
  10  2.01388e-05
  11  6.17225e-05
  12  8.63186e-05
  13  3.74378
  14  0.0001827
  15  0.242425
  16  1.15474e-05
  17  12.8647
  18  23.4932
  19  0.231286
  20  0.153783
Done.

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

Extracting fit parameters...

4FGL J2142.5-2552
   Spectrum: PowerLaw
263    Prefactor:  1.000e-04  1.871e-05  1.000e-04  1.000e+04 ( 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.041e+00  1.538e-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:  7.985e-01  2.313e-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: 6.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/83313/likelihoodResults_679968001_680227201_4FGL_J2142.5-2552_daily_bin1700.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) = 5647.69233589
delta logL = -0.000596693368607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5647.69173937
delta logL = -1.69172380993e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2236       1.0000          .0000       10.000    
     3 'Normalizat'    .79843       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0413       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5647.692     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      239 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    732.08        .18142E-02** at limit **
   2  Index         2.2394        8.1283        .50000       -.17596E-04
   3  Normalizat    .79853        .52484E-01    .29554E-03    .35006E-04
   4  Prefactor     1.0412        .36094E-01    .17890E-03    .41459E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.23944
  Normalizat = 0.798531
  Prefactor  = 1.04124
 **********
 **   18 **HESSE 
 **********

 FCN=   5647.692     FROM HESSE     STATUS=OK            29 CALLS      268 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    67.726        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2394        7.1999        .50000       -.58490    
   3  Normalizat    .79853        .21512        .11821E-04   -1.0012    
   4  Prefactor     1.0412        .14805        .35780E-04   -.91367    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21822e-10
Minuit parameter uncertainties:
  1  0.00082954
  2  12.0511
  3  0.215348
  4  0.148108
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/83313': 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) = 5647.69173908
delta logL = 1.23025529319e-07

Extracting fit parameters...

4FGL J2142.5-2552
   Spectrum: PowerLaw
263    Prefactor:  1.000e-04  8.295e-04  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  2.239e+00  1.205e+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:  1.041e+00  1.481e-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:  7.985e-01  2.153e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/83313/cmap_HighResolution_679968001_680227201_4FGL_J2142.5-2552_daily_bin1700.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.04e-03', job_status='DONE', photon_flux_upper_limit='6.62e-08', time_completed='2022-07-23 00:46:38.197977', job_id='83313', GAL2='1.04', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1658562398.2', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.23e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='1700' AND source_name='4FGL J2142.5-2552' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 23 00:46:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 83313: <4FGL_J2142.5-2552_daily_bin1700> in cluster <slac> Done

Job <4FGL_J2142.5-2552_daily_bin1700> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Jul 23 00:35:38 2022
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 00:35:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 00:35:39 2022
Terminated at Sat Jul 23 00:46:38 2022
Results reported at Sat Jul 23 00:46:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2142.5-2552_daily_bin1700 325.645 -25.8777 679968001 680227201 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 :                                   555.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   659 sec.
    Turnaround time :                            660 sec.

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

