/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 152 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 = 7364
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2131.0-2746_daily_bin1481
RA = 322.753, Dec = -27.7727
tmin = 623203201, tmax = 623462401
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='545096', job_status='RUN', time_executed='2021-09-26 16:37:55.990017', time_epoch_executed='1632699475.99' WHERE source_name='4FGL J2131.0-2746' and cadence='daily' and bin_id='1481'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/545096

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/545096/ft1_4FGL_J2131.0-2746_daily_bin1481.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/545096/ft2_4FGL_J2131.0-2746_daily_bin1481.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/545096/ft1_4FGL_J2131.0-2746_daily_bin1481.fits outfile=/scratch/kocevski/545096/ft1_filteredMKT_4FGL_J2131.0-2746_daily_bin1481.fits ra=322.753 dec=-27.7727 rad=12.0 tmin=623203201.0 tmax=623462401.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.91
user 2.68
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/545096/ft2_4FGL_J2131.0-2746_daily_bin1481.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/545096/ft2_4FGL_J2131.0-2746_daily_bin1481.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/545096/ft1_filteredMKT_4FGL_J2131.0-2746_daily_bin1481.fits evtable="EVENTS" outfile="/scratch/kocevski/545096/ft1_filtered_4FGL_J2131.0-2746_daily_bin1481.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/545096/ft1_filtered_4FGL_J2131.0-2746_daily_bin1481.fits" evtable="EVENTS" scfile=/scratch/kocevski/545096/ft2_4FGL_J2131.0-2746_daily_bin1481.fits sctable="SC_DATA" outfile=/scratch/kocevski/545096/ltcube_623203201_623462401_4FGL_J2131.0-2746_daily_bin1481.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/545096/ft2_4FGL_J2131.0-2746_daily_bin1481.fits
.....................!
real 13.80
user 13.38
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/545096/ft1_filtered_4FGL_J2131.0-2746_daily_bin1481.fits evtable="EVENTS" scfile=/scratch/kocevski/545096/ft2_4FGL_J2131.0-2746_daily_bin1481.fits sctable="SC_DATA" expcube=/scratch/kocevski/545096/ltcube_623203201_623462401_4FGL_J2131.0-2746_daily_bin1481.fits outfile=/scratch/kocevski/545096/expmap_623203201_623462401_4FGL_J2131.0-2746_daily_bin1481.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/545096/ltcube_623203201_623462401_4FGL_J2131.0-2746_daily_bin1481.fits
.....................!
real 190.79
user 185.37
sys 4.98

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

Setting source of interest to:
4FGL J2131.0-2746 @ 322.753 -27.7727

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/545096/ft1_filtered_4FGL_J2131.0-2746_daily_bin1481.fits scfile=/scratch/kocevski/545096/ft2_4FGL_J2131.0-2746_daily_bin1481.fits outfile=/scratch/kocevski/545096/cmap_623203201_623462401_4FGL_J2131.0-2746_daily_bin1481.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.753 yref=-27.7727 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/545096/ft1_filtered_4FGL_J2131.0-2746_daily_bin1481.fits scfile=/scratch/kocevski/545096/ft2_4FGL_J2131.0-2746_daily_bin1481.fits outfile=/scratch/kocevski/545096/cmap_HighResolution_623203201_623462401_4FGL_J2131.0-2746_daily_bin1481.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.753 yref=-27.7727 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.58
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/545096/ft1_filtered_4FGL_J2131.0-2746_daily_bin1481.fits evtable="EVENTS" scfile=/scratch/kocevski/545096/ft2_4FGL_J2131.0-2746_daily_bin1481.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/545096/Model_4FGL_J2131.0-2746_daily_bin1481.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/545096/ft1_filtered_4FGL_J2131.0-2746_daily_bin1481.fits.....................!
real 65.04
user 63.53
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/545096/ft1_filtered_4FGL_J2131.0-2746_daily_bin1481.fits', '/scratch/kocevski/545096/ft2_4FGL_J2131.0-2746_daily_bin1481.fits', expMap='/scratch/kocevski/545096/expmap_623203201_623462401_4FGL_J2131.0-2746_daily_bin1481.fits', expCube='/scratch/kocevski/545096/ltcube_623203201_623462401_4FGL_J2131.0-2746_daily_bin1481.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/545096/Model_4FGL_J2131.0-2746_daily_bin1481.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2131.0-2746'

4FGL J2131.0-2746
   Spectrum: LogParabola
257         norm:  1.458e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
258        alpha:  1.622e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
259         beta:  1.212e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  2.442e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/545096/ft1_filtered_4FGL_J2131.0-2746_daily_bin1481.fits
Spacecraft file(s): /scratch/kocevski/545096/ft2_4FGL_J2131.0-2746_daily_bin1481.fits
Exposure map: /scratch/kocevski/545096/expmap_623203201_623462401_4FGL_J2131.0-2746_daily_bin1481.fits
Exposure cube: /scratch/kocevski/545096/ltcube_623203201_623462401_4FGL_J2131.0-2746_daily_bin1481.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/545096/Model_4FGL_J2131.0-2746_daily_bin1481.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) = 7698.04253656

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    96.191       1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    51.641       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    8.8580       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.0154       1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.857       1.0000         .10000E-03   10000.    
    10 'Prefactor '    41.014       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.9520       1.0000         .10000E-03   10000.    
    12 'norm      '    4.7809       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11136E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    63.849       1.0000         .10000E-03   10000.    
    15 'norm      '    .10908E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.0892       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.6139       1.0000         .10000E-03   10000.    
    18 'Prefactor '    31.521       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .93524       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97597       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7698.042     FROM MIGRAD    STATUS=CONVERGED    406 CALLS     2025 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.0686        .12671E-07** at limit **
   2  Prefactor     96.191        84.887       -.85087E-07    .91712E-05
   3  norm          .10000E-03    8.2654       -.54741E-06** at limit **
   4  Prefactor     .10000E-03    16.741        .27084E-06** at limit **
   5  Prefactor     51.640        23.546       -.97394E-07   -.30318E-04
   6  Prefactor     .10000E-03    6.0043        .11937E-07** at limit **
   7  norm          8.8581        6.5137       -.40520E-06    .11364E-03
   8  Prefactor     4.0155        5.2523       -.50711E-06   -.27350E-03
   9  Prefactor     17.858        10.693       -.79323E-07    .25613E-05
  10  Prefactor     41.016        18.996        .54068E-06   -.20273E-04
  11  Prefactor     4.9505        11.959        .29410E-06    .31332E-05
  12  norm          4.7808        4.7530        .54149E-06    .31380E-03
  13  Prefactor     .10000E-03    42.751       -.42250E-05** at limit **
  14  Prefactor     63.811        61.399       -.72956E-05   -.42295E-03
  15  norm          .10000E-03    1.9611        .42566E-06** at limit **
  16  norm          1.0892        .37807        .72930E-07   -.85721E-03
  17  Prefactor     4.6135        9.2842        .51054E-05   -.31805E-03
  18  Prefactor     31.522        22.538       -.41184E-06   -.17227E-06
  19  Normalizat    .93527        .20870        .22079E-05   -.15814E-03
  20  Prefactor     .97596        .11198       -.89434E-06    .58944E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 96.1908
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 51.6401
  Prefactor  = 0.0001
  norm       = 8.85808
  Prefactor  = 4.01553
  Prefactor  = 17.8579
  Prefactor  = 41.016
  Prefactor  = 4.95047
  norm       = 4.78084
  Prefactor  = 0.000100004
  Prefactor  = 63.8111
  norm       = 0.0001
  norm       = 1.08923
  Prefactor  = 4.61346
  Prefactor  = 31.5224
  Normalizat = 0.93527
  Prefactor  = 0.97596
 **********
 **   18 **HESSE 
 **********

 FCN=   7698.042     FROM HESSE     STATUS=OK           295 CALLS     2320 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.1823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     96.191        84.924        .40982E-04   -1.3743    
   3  norm          .10000E-03    8.2807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     51.640        23.566        .55810E-04   -1.4270    
   6  Prefactor     .10000E-03    6.1630        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.8581        6.5275        .67337E-03   -1.5113    
   8  Prefactor     4.0155        5.2639        .20125E-03   -1.5307    
   9  Prefactor     17.858        10.699        .94780E-04   -1.4863    
  10  Prefactor     41.016        19.098        .62592E-04   -1.4426    
  11  Prefactor     4.9505        11.887        .18073E-03   -1.5263    
  12  norm          4.7808        4.7663        .18400E-03   -1.5271    
  13  Prefactor     .10000E-03    42.690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     63.811        65.436        .50221E-04   -1.4109    
  15  norm          .10000E-03    7.9650        .22820E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0892        .37576        .30164E-04   -1.5499    
  17  Prefactor     4.6135        9.7485        .93691E-03   -1.5278    
  18  Prefactor     31.522        22.621        .71367E-04   -1.4584    
  19  Normalizat    .93527        .23884        .33779E-03   -.95232    
  20  Prefactor     .97596        .12954        .19012E-03   -.93535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56718e-09
Minuit parameter uncertainties:
  1  1.51717e-05
  2  85.0319
  3  5.3312e-05
  4  9.63214e-06
  5  23.5702
  6  1.59814e-05
  7  6.52805
  8  5.26452
  9  10.6998
  10  19.1004
  11  11.8927
  12  4.76671
  13  0.000844383
  14  65.5102
  15  8.60186e-05
  16  0.37576
  17  9.75185
  18  22.6273
  19  0.239116
  20  0.129584
Done.

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

Extracting fit parameters...

4FGL J2131.0-2746
   Spectrum: LogParabola
257         norm:  8.858e+00  6.528e+00  1.000e-04  1.000e+04 ( 1.000e-13)
258        alpha:  1.622e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
259         beta:  1.212e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  2.442e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  9.760e-01  1.296e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  9.353e-01  2.391e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.16
Ra Dec: 322.753 -27.773
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 1.52e-08 +/- 1.12e-08
Energy Flux (Fixed Index): 3.05e-05 +/- 2.25e-05

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) = 7696.77066167
delta logL = 1.27117519086

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7696.56815416
delta logL = 1.47368269342

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3529       1.0000         .10000E-03   10000.    
     2 'alpha     '    .61014       1.0000          .0000       5.0000    
     3 'Normalizat'    .93319       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98143       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7696.568     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      214 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3403        3.8113        .48265E-02   -.17640E-03
   2  alpha         .60931        .45324        .45494       -.12132E-04
   3  Normalizat    .93319        .18976        .76407E-01    .65518E-05
   4  Prefactor     .98145        .10954        .46035E-01   -.32272E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.34032
  alpha      = 0.609315
  Normalizat = 0.933187
  Prefactor  = 0.981454
 **********
 **   18 **HESSE 
 **********

 FCN=   7696.568     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3403        5.7027        .14288E-03   -1.5291    
   2  alpha         .60931        .61349        .21925E-01   -.85760    
   3  Normalizat    .93319        .21872        .33815E-03   -.95304    
   4  Prefactor     .98145        .12651        .18969E-03   -.93350    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16481e-12
Minuit parameter uncertainties:
  1  5.70342
  2  0.628874
  3  0.218931
  4  0.126545
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/545096': 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) = 7696.56815167
delta logL = 1.47368518606

Extracting fit parameters...

4FGL J2131.0-2746
   Spectrum: LogParabola
257         norm:  4.340e+00  5.703e+00  1.000e-04  1.000e+04 ( 1.000e-13)
258        alpha:  6.093e-01  6.289e-01  0.000e+00  5.000e+00 ( 1.000e+00)
259         beta:  1.212e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  2.442e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  9.815e-01  1.265e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  9.332e-01  2.189e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.10
Ra Dec: 322.753 -27.773
Photon Index (Free Index): 0.61 +/- 0.63
Photon Flux (Free Index): 6.21e-09 +/- 5.42e-09
Energy Flux (Free Index): 1.13e-04 +/- 1.15e-04

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/545096/cmap_HighResolution_623203201_623462401_4FGL_J2131.0-2746_daily_bin1481.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.52e-08', energy_flux2='1.13e-04', photon_flux_error='1.12e-08', dlogl='1.47e+00', energy_flux='3.05e-05', photon_flux2='6.21e-09', job_status='DONE', time_completed='2021-09-26 16:47:39.045534', photon_index_error2='0.63', photon_index2='0.61', ts='13.16', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.15e-04', EG='0.94', time_epoch_completed='1632700059.05', return_code='0', job_id='545096', GAL2='0.98', EG2='0.93', return_code2='0', energy_flux_error='2.25e-05', photon_flux_error2='5.42e-09', ts2='16.10', photon_index='1.62' WHERE bin_id='1481' AND source_name='4FGL J2131.0-2746' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 16:47:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 545096: <4FGL_J2131.0-2746_daily_bin1481> in cluster <slac> Done

Job <4FGL_J2131.0-2746_daily_bin1481> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 16:35:12 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 16:35:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 16:35:15 2021
Terminated at Sun Sep 26 16:47:39 2021
Results reported at Sun Sep 26 16:47:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2131.0-2746_daily_bin1481 322.753 -27.7727 623203201 623462401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2131.0-2746 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   571.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   744 sec.
    Turnaround time :                            747 sec.

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

