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


Performing analysis on: 4FGL_J2130.4-4241_daily_bin1711
RA = 322.601, Dec = -42.6904
tmin = 682819201, tmax = 683078401
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='233163', job_status='RUN', time_executed='2022-09-16 23:16:49.120431', time_epoch_executed='1663395409.12' WHERE source_name='4FGL J2130.4-4241' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/233163

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/233163/ft1_4FGL_J2130.4-4241_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/233163/ft2_4FGL_J2130.4-4241_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/233163/ft1_4FGL_J2130.4-4241_daily_bin1711.fits outfile=/scratch/kocevski/233163/ft1_filteredMKT_4FGL_J2130.4-4241_daily_bin1711.fits ra=322.601 dec=-42.6904 rad=12.0 tmin=682819201.0 tmax=683078401.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.58
user 4.33
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/233163/ft2_4FGL_J2130.4-4241_daily_bin1711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/233163/ft2_4FGL_J2130.4-4241_daily_bin1711.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/233163/ft1_filteredMKT_4FGL_J2130.4-4241_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/233163/ft1_filtered_4FGL_J2130.4-4241_daily_bin1711.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.32
sys 0.17

Number of photons that the gtmktime cut: 457

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/233163/ft1_filtered_4FGL_J2130.4-4241_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/233163/ft2_4FGL_J2130.4-4241_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/233163/ltcube_682819201_683078401_4FGL_J2130.4-4241_daily_bin1711.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/233163/ft2_4FGL_J2130.4-4241_daily_bin1711.fits
.....................!
real 14.15
user 13.68
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/233163/ft1_filtered_4FGL_J2130.4-4241_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/233163/ft2_4FGL_J2130.4-4241_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/233163/ltcube_682819201_683078401_4FGL_J2130.4-4241_daily_bin1711.fits outfile=/scratch/kocevski/233163/expmap_682819201_683078401_4FGL_J2130.4-4241_daily_bin1711.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/233163/ltcube_682819201_683078401_4FGL_J2130.4-4241_daily_bin1711.fits
.....................!
real 191.31
user 185.80
sys 5.04

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

Setting source of interest to:
4FGL J2130.4-4241 @ 322.601 -42.6904

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/233163/ft1_filtered_4FGL_J2130.4-4241_daily_bin1711.fits scfile=/scratch/kocevski/233163/ft2_4FGL_J2130.4-4241_daily_bin1711.fits outfile=/scratch/kocevski/233163/cmap_682819201_683078401_4FGL_J2130.4-4241_daily_bin1711.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=322.601 yref=-42.6904 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/233163/ft1_filtered_4FGL_J2130.4-4241_daily_bin1711.fits scfile=/scratch/kocevski/233163/ft2_4FGL_J2130.4-4241_daily_bin1711.fits outfile=/scratch/kocevski/233163/cmap_HighResolution_682819201_683078401_4FGL_J2130.4-4241_daily_bin1711.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=322.601 yref=-42.6904 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/233163/ft1_filtered_4FGL_J2130.4-4241_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/233163/ft2_4FGL_J2130.4-4241_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/233163/Model_4FGL_J2130.4-4241_daily_bin1711.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/233163/ft1_filtered_4FGL_J2130.4-4241_daily_bin1711.fits.....................!
real 43.99
user 42.66
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/233163/ft1_filtered_4FGL_J2130.4-4241_daily_bin1711.fits', '/scratch/kocevski/233163/ft2_4FGL_J2130.4-4241_daily_bin1711.fits', expMap='/scratch/kocevski/233163/expmap_682819201_683078401_4FGL_J2130.4-4241_daily_bin1711.fits', expCube='/scratch/kocevski/233163/ltcube_682819201_683078401_4FGL_J2130.4-4241_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/233163/Model_4FGL_J2130.4-4241_daily_bin1711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2130.4-4241'

4FGL J2130.4-4241
   Spectrum: PowerLaw
279    Prefactor:  3.697e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
280        Index:  2.438e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  9.156e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/233163/ft1_filtered_4FGL_J2130.4-4241_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/233163/ft2_4FGL_J2130.4-4241_daily_bin1711.fits
Exposure map: /scratch/kocevski/233163/expmap_682819201_683078401_4FGL_J2130.4-4241_daily_bin1711.fits
Exposure cube: /scratch/kocevski/233163/ltcube_682819201_683078401_4FGL_J2130.4-4241_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/233163/Model_4FGL_J2130.4-4241_daily_bin1711.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) = 5091.9119951

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13340E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.2912       1.0000          .0000       .10000E+07
     3 'Prefactor '    .72437E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .17764E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    28.922       1.0000          .0000       .10000E+07
     6 'Prefactor '    6.5441       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15527E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    30.106       1.0000          .0000       .10000E+07
     9 'Prefactor '    12.055       1.0000          .0000       .10000E+07
    10 'norm      '    .41959E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.6194       1.0000          .0000       .10000E+07
    12 'Prefactor '    .17259E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .39846E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    22.067       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11725E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .13669       1.0000          .0000       .10000E+07
    17 'Prefactor '    .72034E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .42872E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1431       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .98876       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5091.863     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     1564 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        9.4295        .10659E-07** at limit **
   2  Prefactor     12.006        168.91        .11092E-05    .86303E-03
   3  Prefactor     .31086E-08    58.199       -.12918E-05** at limit **
   4  norm           .0000        5.8227        .23553E-06** at limit **
   5  Prefactor     29.027        11.486        .12856E-07   -.64282E-01
   6  Prefactor     6.5593        9.2095       -.99770E-07   -.48796E-03
   7  Prefactor     .17459E-05    122.90       -.52786E-06** at limit **
   8  Prefactor     30.980        7.9584        .45240E-07   -.28369E-01
   9  Prefactor     11.949        6.8575        .88844E-07   -.13318E-05
  10  norm           .0000        2.1313        .55871E-07** at limit **
  11  Prefactor     8.6885        10.972        .26415E-07   -.68259E-03
  12  Prefactor      .0000        4.9791        .83880E-07** at limit **
  13  norm           .0000        2.5925       -.17337E-06** at limit **
  14  Prefactor     24.712        44.647        .11377E-06   -.10328E-01
  15  Prefactor      .0000        5.8303       -.52244E-07** at limit **
  16  Prefactor      .0000        39.724        .25547E-06** at limit **
  17  Prefactor      .0000        2.1001       -.19479E-06** at limit **
  18  Prefactor      .0000        18.788       -.16305E-06** at limit **
  19  Normalizat    1.1393        .27669       -.32053E-05   -.47587E-05
  20  Prefactor     .98872        .16368        .10826E-05   -.43155E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 12.0062
  Prefactor  = 3.10862e-09
  norm       = 0
  Prefactor  = 29.0271
  Prefactor  = 6.5593
  Prefactor  = 1.74594e-06
  Prefactor  = 30.9804
  Prefactor  = 11.9492
  norm       = 0
  Prefactor  = 8.68846
  Prefactor  = 0
  norm       = 0
  Prefactor  = 24.7124
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.13933
  Prefactor  = 0.988723
 **********
 **   18 **HESSE 
 **********

 FCN=   5091.863     FROM HESSE     STATUS=OK           333 CALLS     1897 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        9.4241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.006        166.47        .37122E-03   -1.5639    
   3  Prefactor     .31086E-08    57.954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.1281        .26959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     29.027        40.586        .18598E-03   -1.5600    
   6  Prefactor     6.5593        9.2266        .39206E-03   -1.5657    
   7  Prefactor     .17459E-05    127.94        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     30.980        46.744        .18228E-03   -1.5597    
   9  Prefactor     11.949        6.9188        .28827E-03   -1.5639    
  10  norm           .0000        2.1370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.6885        10.947        .34119E-03   -1.5649    
  12  Prefactor      .0000        4.9909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        2.5934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     24.712        46.100        .21294E-03   -1.5609    
  15  Prefactor      .0000        5.8201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        39.699        .13033E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        2.0968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        18.798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1393        .23983        .68485E-01   -.88499    
  20  Prefactor     .98872        .14135        .46126E-01   -.93106    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37199e-07
Minuit parameter uncertainties:
  1  9.9797e-06
  2  89.4161
  3  0.000846211
  4  2.16867e-06
  5  40.5859
  6  9.22666
  7  0.0298916
  8  46.7444
  9  6.9188
  10  4.24723e-07
  11  10.9467
  12  4.226e-06
  13  4.49505e-07
  14  46.1009
  15  4.394e-06
  16  6.08909e-06
  17  1.12174e-06
  18  2.18124e-05
  19  0.240056
  20  0.141405
Done.

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

Extracting fit parameters...

4FGL J2130.4-4241
   Spectrum: PowerLaw
279    Prefactor:  1.746e-06  2.989e-02  0.000e+00  1.000e+06 ( 1.000e-13)
280        Index:  2.438e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  9.156e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
559    Prefactor:  9.887e-01  1.414e-01  0.000e+00  1.000e+01 ( 1.000e+00)
560        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
561        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  1.139e+00  2.401e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 322.601 -42.690
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/233163/likelihoodResults_682819201_683078401_4FGL_J2130.4-4241_daily_bin1711.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) = 5091.86761775
delta logL = -0.00422940784392

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5091.74776503
delta logL = 0.115623312032

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5091.748     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      228 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4099        89.543        .91470E-03    .62384E-02
   2  Index         3.9225        4.0445        .20648        .52682E-04
   3  Normalizat    1.1100        .48314E-01    .69262E-01   -.20619E-04
   4  Prefactor     .99737        .29875E-01    .46233E-01   -.12475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4099
  Index      = 3.92247
  Normalizat = 1.11005
  Prefactor  = 0.997371
 **********
 **   18 **HESSE 
 **********

 FCN=   5091.748     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      261 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4099        350.38        .17917E-04   -1.5684    
   2  Index         3.9225        6.4071        .92403E-02   -.21721    
   3  Normalizat    1.1100        .23353        .30645E-03   -.89430    
   4  Prefactor     .99737        .14335        .19816E-03   -.92817    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.72441e-07
Minuit parameter uncertainties:
  1  44.4548
  2  16.0102
  3  0.23375
  4  0.143404
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/233163': 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) = 5091.74776468
delta logL = 0.115623660646

Extracting fit parameters...

4FGL J2130.4-4241
   Spectrum: PowerLaw
279    Prefactor:  1.410e+00  4.445e+01  0.000e+00  1.000e+06 ( 1.000e-13)
280        Index:  3.922e+00  1.601e+01  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  9.156e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
559    Prefactor:  9.974e-01  1.434e-01  0.000e+00  1.000e+01 ( 1.000e+00)
560        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
561        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  1.110e+00  2.337e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 322.601 -42.690

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/233163/cmap_HighResolution_682819201_683078401_4FGL_J2130.4-4241_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.78e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2022-09-16 23:25:31.591178', job_id='233163', GAL2='1.00', fit_tolerance='1e-08', EG2='1.11', EG='1.14', time_epoch_completed='1663395931.59', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.16e-01', ts2='0.24', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1711' AND source_name='4FGL J2130.4-4241' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:25:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 233163: <4FGL_J2130.4-4241_daily_bin1711> in cluster <slac> Done

Job <4FGL_J2130.4-4241_daily_bin1711> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 23:15:19 2022
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:16:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:16:30 2022
Terminated at Fri Sep 16 23:25:32 2022
Results reported at Fri Sep 16 23:25:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2130.4-4241_daily_bin1711 322.601 -42.6904 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2130.4-4241 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   524.34 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             328.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   541 sec.
    Turnaround time :                            613 sec.

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

