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


Performing analysis on: 4FGL_J2131.0-2746_daily_bin1487
RA = 322.753, Dec = -27.7727
tmin = 624758401, tmax = 625017601
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='545105', job_status='RUN', time_executed='2021-09-26 16:35:36.717303', time_epoch_executed='1632699336.72' WHERE source_name='4FGL J2131.0-2746' and cadence='daily' and bin_id='1487'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/545105

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/545105/ft1_4FGL_J2131.0-2746_daily_bin1487.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/545105/ft2_4FGL_J2131.0-2746_daily_bin1487.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/545105/ft1_4FGL_J2131.0-2746_daily_bin1487.fits outfile=/scratch/kocevski/545105/ft1_filteredMKT_4FGL_J2131.0-2746_daily_bin1487.fits ra=322.753 dec=-27.7727 rad=12.0 tmin=624758401.0 tmax=625017601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.52
user 3.28
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/545105/ft1_filtered_4FGL_J2131.0-2746_daily_bin1487.fits" evtable="EVENTS" scfile=/scratch/kocevski/545105/ft2_4FGL_J2131.0-2746_daily_bin1487.fits sctable="SC_DATA" outfile=/scratch/kocevski/545105/ltcube_624758401_625017601_4FGL_J2131.0-2746_daily_bin1487.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/545105/ft2_4FGL_J2131.0-2746_daily_bin1487.fits
.....................!
real 14.49
user 14.11
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/545105/ft1_filtered_4FGL_J2131.0-2746_daily_bin1487.fits evtable="EVENTS" scfile=/scratch/kocevski/545105/ft2_4FGL_J2131.0-2746_daily_bin1487.fits sctable="SC_DATA" expcube=/scratch/kocevski/545105/ltcube_624758401_625017601_4FGL_J2131.0-2746_daily_bin1487.fits outfile=/scratch/kocevski/545105/expmap_624758401_625017601_4FGL_J2131.0-2746_daily_bin1487.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/545105/ltcube_624758401_625017601_4FGL_J2131.0-2746_daily_bin1487.fits
.....................!
real 192.98
user 186.97
sys 5.37

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/545105/ft1_filtered_4FGL_J2131.0-2746_daily_bin1487.fits scfile=/scratch/kocevski/545105/ft2_4FGL_J2131.0-2746_daily_bin1487.fits outfile=/scratch/kocevski/545105/cmap_624758401_625017601_4FGL_J2131.0-2746_daily_bin1487.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/545105/ft1_filtered_4FGL_J2131.0-2746_daily_bin1487.fits scfile=/scratch/kocevski/545105/ft2_4FGL_J2131.0-2746_daily_bin1487.fits outfile=/scratch/kocevski/545105/cmap_HighResolution_624758401_625017601_4FGL_J2131.0-2746_daily_bin1487.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/545105/ft1_filtered_4FGL_J2131.0-2746_daily_bin1487.fits evtable="EVENTS" scfile=/scratch/kocevski/545105/ft2_4FGL_J2131.0-2746_daily_bin1487.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/545105/Model_4FGL_J2131.0-2746_daily_bin1487.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/545105/ft1_filtered_4FGL_J2131.0-2746_daily_bin1487.fits.....................!
real 60.47
user 59.01
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/545105/ft1_filtered_4FGL_J2131.0-2746_daily_bin1487.fits', '/scratch/kocevski/545105/ft2_4FGL_J2131.0-2746_daily_bin1487.fits', expMap='/scratch/kocevski/545105/expmap_624758401_625017601_4FGL_J2131.0-2746_daily_bin1487.fits', expCube='/scratch/kocevski/545105/ltcube_624758401_625017601_4FGL_J2131.0-2746_daily_bin1487.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/545105/Model_4FGL_J2131.0-2746_daily_bin1487.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/545105/ft1_filtered_4FGL_J2131.0-2746_daily_bin1487.fits
Spacecraft file(s): /scratch/kocevski/545105/ft2_4FGL_J2131.0-2746_daily_bin1487.fits
Exposure map: /scratch/kocevski/545105/expmap_624758401_625017601_4FGL_J2131.0-2746_daily_bin1487.fits
Exposure cube: /scratch/kocevski/545105/ltcube_624758401_625017601_4FGL_J2131.0-2746_daily_bin1487.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/545105/Model_4FGL_J2131.0-2746_daily_bin1487.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) = 7043.75128164

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0135       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10383E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.771       1.0000         .10000E-03   10000.    
     5 'Prefactor '    50.419       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .19684       1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.620       1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.127       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.578       1.0000         .10000E-03   10000.    
    12 'norm      '    .86077E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.1275       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.7573       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.7063       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .82017       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2181       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=   7043.749     FROM MIGRAD    STATUS=CONVERGED    429 CALLS     2044 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0136        15.195        .39480E-05    .71738E-04
   2  Prefactor     .10002E-03    99.949       -.53715E-05** at limit **
   3  norm          .10001E-03    34.247       -.44609E-05** at limit **
   4  Prefactor     12.774        20.886       -.48117E-06   -.11206E-03
   5  Prefactor     50.428        31.543        .77350E-06    .11204E-03
   6  Prefactor     .10000E-03    5.5920        .92935E-09** at limit **
   7  norm          .10000E-03    3.8165        .42586E-07** at limit **
   8  Prefactor     .20822        5.4533        .18634E-05   -.52070E-03
   9  Prefactor     23.615        12.219        .14979E-06   -.16900E-03
  10  Prefactor     26.127        16.087        .22759E-06   -.24309E-04
  11  Prefactor     14.580        17.286        .11199E-06   -.24389E-04
  12  norm          .10020E-03    6.7931        .23996E-05** at limit **
  13  Prefactor     .10000E-03    10.114        .59533E-07** at limit **
  14  Prefactor     .10002E-03    60.171        .54894E-05** at limit **
  15  norm          .10000E-03    2.0794        .16123E-06** at limit **
  16  norm          1.1274        .38526        .23409E-07   -.29724E-03
  17  Prefactor     8.7577        9.7548        .27580E-06    .37672E-04
  18  Prefactor     5.7066        18.038        .80412E-06    .26325E-04
  19  Normalizat    .82022        .22661       -.50923E-06   -.39319E-03
  20  Prefactor     1.2179        .13443       -.67057E-06   -.70385E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.01363
  Prefactor  = 0.000100018
  norm       = 0.000100012
  Prefactor  = 12.7742
  Prefactor  = 50.4282
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.208216
  Prefactor  = 23.6147
  Prefactor  = 26.127
  Prefactor  = 14.58
  norm       = 0.000100197
  Prefactor  = 0.0001
  Prefactor  = 0.000100019
  norm       = 0.0001
  norm       = 1.12735
  Prefactor  = 8.75768
  Prefactor  = 5.7066
  Normalizat = 0.820217
  Prefactor  = 1.21793
 **********
 **   18 **HESSE 
 **********

 FCN=   7043.749     FROM HESSE     STATUS=OK           297 CALLS     2341 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0136        17.330        .52125E-02   -1.5507    
   2  Prefactor     .10002E-03    101.65        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10001E-03    35.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.774        20.882        .11209E-03   -1.4993    
   5  Prefactor     50.428        31.647        .56478E-04   -1.4287    
   6  Prefactor     .10000E-03    5.6575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.8285        .16013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .20822        18.491        .31904E-02   -1.5617    
   9  Prefactor     23.615        12.191        .82420E-04   -1.4736    
  10  Prefactor     26.127        16.104        .78373E-04   -1.4685    
  11  Prefactor     14.580        17.266        .10490E-03   -1.4944    
  12  norm          .10020E-03    29.664        .31839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10002E-03    62.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.1064        .11811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.1274        .38538        .29373E-04   -1.5496    
  17  Prefactor     8.7577        9.7497        .13545E-03   -1.5116    
  18  Prefactor     5.7066        18.101        .16815E-03   -1.5230    
  19  Normalizat    .82022        .25570        .36570E-03   -.99323    
  20  Prefactor     1.2179        .15236        .18814E-03   -.85781    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.14853e-09
Minuit parameter uncertainties:
  1  8.38481
  2  0.002681
  3  0.00128786
  4  20.8935
  5  31.6571
  6  6.82871e-06
  7  4.46914e-06
  8  3.92466
  9  12.1923
  10  16.1062
  11  17.2724
  12  0.004843
  13  4.65313e-06
  14  0.0021863
  15  8.57376e-06
  16  0.385383
  17  9.75151
  18  18.1181
  19  0.256081
  20  0.15241
Done.

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

Extracting fit parameters...

4FGL J2131.0-2746
   Spectrum: LogParabola
257         norm:  1.000e-04  4.469e-06  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:  1.218e+00  1.524e-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:  8.202e-01  2.561e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 322.753 -27.773
Photon Flux Upper Limit: 3.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.09e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/545105/likelihoodResults_624758401_625017601_4FGL_J2131.0-2746_daily_bin1487.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) = 7043.75055663
delta logL = -0.00122630752776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7043.74933033
delta logL = -2.01907823794e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6355       1.0000          .0000       5.0000    
     3 'Normalizat'    .82014       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2180       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7043.749     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      249 TOTAL
                     EDM=   .59E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .73033        .57464E-01** at limit **
   2  alpha         2.1555        2.8048        .50000        .32014E-07
   3  Normalizat    .82022        .27478E-02    .36570E-03   -.48777E-04
   4  Prefactor     1.2179        .16994E-02    .18814E-03   -.43325E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.15548
  Normalizat = 0.820218
  Prefactor  = 1.21793
 **********
 **   18 **HESSE 
 **********

 FCN=   7043.749     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      280 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    89.000        .27657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1555        3.7553        .50000       -.13825    
   3  Normalizat    .82022        .24653E-01    .14628E-04   -.99323    
   4  Prefactor     1.2179        .15247E-01    .75258E-05   -.85781    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.15251e-10
Minuit parameter uncertainties:
  1  0.000153375
  2  603.828
  3  0.0246535
  4  0.0152473
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/545105': 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) = 7043.74932835
delta logL = 1.97487770492e-06

Extracting fit parameters...

4FGL J2131.0-2746
   Spectrum: LogParabola
257         norm:  1.000e-04  1.534e-04  1.000e-04  1.000e+04 ( 1.000e-13)
258        alpha:  2.155e+00  6.038e+02  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:  1.218e+00  1.525e-02  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:  8.202e-01  2.465e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 322.753 -27.773

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/545105/cmap_HighResolution_624758401_625017601_4FGL_J2131.0-2746_daily_bin1487.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.09e-05', job_status='DONE', photon_flux_upper_limit='3.03e-08', time_completed='2021-09-26 16:47:49.695031', job_id='545105', GAL2='1.22', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1632700069.7', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='1.97e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1487' AND source_name='4FGL J2131.0-2746' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 16:47:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0139>
Subject: Job 545105: <4FGL_J2131.0-2746_daily_bin1487> in cluster <slac> Done

Job <4FGL_J2131.0-2746_daily_bin1487> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 16:35:13 2021
Job was executed on host(s) <bullet0139>, 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:50 2021
Results reported at Sun Sep 26 16:47:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2131.0-2746_daily_bin1487 322.753 -27.7727 624758401 625017601 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 :                                   611.57 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            757 sec.

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

