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


Performing analysis on: 4FGL_J2146.5-1344_daily_bin1471
RA = 326.645, Dec = -13.7347
tmin = 620611201, tmax = 620870401
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='912192', job_status='RUN', time_executed='2021-09-27 14:02:27.795809', time_epoch_executed='1632776547.8' WHERE source_name='4FGL J2146.5-1344' and cadence='daily' and bin_id='1471'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/912192

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/912192/ft1_4FGL_J2146.5-1344_daily_bin1471.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/912192/ft2_4FGL_J2146.5-1344_daily_bin1471.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/912192/ft1_4FGL_J2146.5-1344_daily_bin1471.fits outfile=/scratch/kocevski/912192/ft1_filteredMKT_4FGL_J2146.5-1344_daily_bin1471.fits ra=326.645 dec=-13.7347 rad=12.0 tmin=620611201.0 tmax=620870401.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.76
user 3.52
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/912192/ft2_4FGL_J2146.5-1344_daily_bin1471.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/912192/ft2_4FGL_J2146.5-1344_daily_bin1471.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/912192/ft1_filteredMKT_4FGL_J2146.5-1344_daily_bin1471.fits evtable="EVENTS" outfile="/scratch/kocevski/912192/ft1_filtered_4FGL_J2146.5-1344_daily_bin1471.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.52
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/912192/ft1_filtered_4FGL_J2146.5-1344_daily_bin1471.fits" evtable="EVENTS" scfile=/scratch/kocevski/912192/ft2_4FGL_J2146.5-1344_daily_bin1471.fits sctable="SC_DATA" outfile=/scratch/kocevski/912192/ltcube_620611201_620870401_4FGL_J2146.5-1344_daily_bin1471.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/912192/ft2_4FGL_J2146.5-1344_daily_bin1471.fits
.....................!
real 16.33
user 15.95
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/912192/ft1_filtered_4FGL_J2146.5-1344_daily_bin1471.fits evtable="EVENTS" scfile=/scratch/kocevski/912192/ft2_4FGL_J2146.5-1344_daily_bin1471.fits sctable="SC_DATA" expcube=/scratch/kocevski/912192/ltcube_620611201_620870401_4FGL_J2146.5-1344_daily_bin1471.fits outfile=/scratch/kocevski/912192/expmap_620611201_620870401_4FGL_J2146.5-1344_daily_bin1471.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/912192/ltcube_620611201_620870401_4FGL_J2146.5-1344_daily_bin1471.fits
.....................!
real 192.35
user 186.93
sys 4.85

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 J2146.5-1344 @ 326.645 -13.7347

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/912192/ft1_filtered_4FGL_J2146.5-1344_daily_bin1471.fits scfile=/scratch/kocevski/912192/ft2_4FGL_J2146.5-1344_daily_bin1471.fits outfile=/scratch/kocevski/912192/cmap_620611201_620870401_4FGL_J2146.5-1344_daily_bin1471.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=326.645 yref=-13.7347 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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/912192/ft1_filtered_4FGL_J2146.5-1344_daily_bin1471.fits scfile=/scratch/kocevski/912192/ft2_4FGL_J2146.5-1344_daily_bin1471.fits outfile=/scratch/kocevski/912192/cmap_HighResolution_620611201_620870401_4FGL_J2146.5-1344_daily_bin1471.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=326.645 yref=-13.7347 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/912192/ft1_filtered_4FGL_J2146.5-1344_daily_bin1471.fits evtable="EVENTS" scfile=/scratch/kocevski/912192/ft2_4FGL_J2146.5-1344_daily_bin1471.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/912192/Model_4FGL_J2146.5-1344_daily_bin1471.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/912192/ft1_filtered_4FGL_J2146.5-1344_daily_bin1471.fits......................!
real 36.74
user 35.35
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/912192/ft1_filtered_4FGL_J2146.5-1344_daily_bin1471.fits', '/scratch/kocevski/912192/ft2_4FGL_J2146.5-1344_daily_bin1471.fits', expMap='/scratch/kocevski/912192/expmap_620611201_620870401_4FGL_J2146.5-1344_daily_bin1471.fits', expCube='/scratch/kocevski/912192/ltcube_620611201_620870401_4FGL_J2146.5-1344_daily_bin1471.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/912192/Model_4FGL_J2146.5-1344_daily_bin1471.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2146.5-1344'

4FGL J2146.5-1344
   Spectrum: LogParabola
295         norm:  1.885e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  1.495e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.382e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  2.840e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/912192/ft1_filtered_4FGL_J2146.5-1344_daily_bin1471.fits
Spacecraft file(s): /scratch/kocevski/912192/ft2_4FGL_J2146.5-1344_daily_bin1471.fits
Exposure map: /scratch/kocevski/912192/expmap_620611201_620870401_4FGL_J2146.5-1344_daily_bin1471.fits
Exposure cube: /scratch/kocevski/912192/ltcube_620611201_620870401_4FGL_J2146.5-1344_daily_bin1471.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/912192/Model_4FGL_J2146.5-1344_daily_bin1471.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) = 2988.59706762

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.000       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    35.671       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.1458       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.0129       1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    37.921       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    113.84       1.0000         .10000E-03   10000.    
    13 'Prefactor '    412.33       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.1267       1.0000         .10000E-03   10000.    
    15 'norm      '    .21127E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.6123       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .84710       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2988.588     FROM MIGRAD    STATUS=CONVERGED    314 CALLS     1589 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.998        24.261        .43496E-07   -.62172E-06
   2  Prefactor     .10000E-03    6.7100        .32186E-08** at limit **
   3  Prefactor     35.671        49.104       -.30197E-07   -.26845E-05
   4  Prefactor     .10000E-03    4.6533       -.20787E-07** at limit **
   5  Prefactor     2.1460        8.2165       -.92063E-07    .11437E-03
   6  Prefactor     .10000E-03    20.596       -.19193E-06** at limit **
   7  Prefactor     4.0064        21.780        .28507E-06    .79862E-05
   8  norm          .10000E-03    5.4879       -.39881E-08** at limit **
   9  Prefactor     .10000E-03    2.9065        .43893E-09** at limit **
  10  Prefactor     37.922        50.306       -.52680E-06   -.88865E-05
  11  Prefactor     .10000E-03    16.828        .67220E-07** at limit **
  12  Prefactor     113.85        54.132       -.15678E-05    .35215E-04
  13  Prefactor     411.87        253.38        .85216E-05    .70396E-04
  14  Prefactor     8.7109        1509.6        .33853E-04    .42315E-05
  15  norm          .10000E-03    20.734       -.91559E-06** at limit **
  16  Normalizat    1.6122        .46663        .75562E-05   -.60619E-04
  17  Prefactor     .84709        .25382       -.62604E-05    .44780E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.9984
  Prefactor  = 0.0001
  Prefactor  = 35.6711
  Prefactor  = 0.0001
  Prefactor  = 2.14603
  Prefactor  = 0.0001
  Prefactor  = 4.00637
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.9216
  Prefactor  = 0.0001
  Prefactor  = 113.845
  Prefactor  = 411.868
  Prefactor  = 8.71091
  norm       = 0.000100001
  Normalizat = 1.61222
  Prefactor  = 0.847093
 **********
 **   18 **HESSE 
 **********

 FCN=   2988.588     FROM HESSE     STATUS=OK           223 CALLS     1812 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.998        24.272        .97138E-04   -1.4883    
   2  Prefactor     .10000E-03    6.7111        .13831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     35.671        49.106        .67100E-04   -1.4513    
   4  Prefactor     .10000E-03    4.6594        .11517E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.1460        8.4018        .14066E-02   -1.5415    
   6  Prefactor     .10000E-03    20.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.0064        21.761        .20132E-03   -1.5308    
   8  norm          .10000E-03    5.4887        .12508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.9074        .91022E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     37.922        50.270        .65085E-04   -1.4476    
  11  Prefactor     .10000E-03    17.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     113.85        54.144        .18853E-03   -1.3570    
  13  Prefactor     411.87        259.81        .10059E-03   -1.1621    
  14  Prefactor     8.7109        1629.6        .13267E-02   -1.5118    
  15  norm          .10000E-03    21.651        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.6122        .49871        .31015E-03   -.74672    
  17  Prefactor     .84709        .26617        .23486E-03   -.98015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65262e-10
Minuit parameter uncertainties:
  1  24.2865
  2  6.83031e-07
  3  49.1612
  4  1.96171e-06
  5  8.40639
  6  7.09954e-06
  7  18.6845
  8  6.15199e-07
  9  8.76702e-09
  10  50.3257
  11  1.22164e-05
  12  54.1673
  13  260.557
  14  245.403
  15  0.000240246
  16  0.500266
  17  0.266573
Done.

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

Extracting fit parameters...

4FGL J2146.5-1344
   Spectrum: LogParabola
295         norm:  1.000e-04  6.152e-07  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  1.495e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.382e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  2.840e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  8.471e-01  2.666e-01  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  1.612e+00  5.003e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 326.645 -13.735
Photon Flux Upper Limit: 5.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.58e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/912192/likelihoodResults_620611201_620870401_4FGL_J2146.5-1344_daily_bin1471.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) = 2988.58858932
delta logL = -0.000703914206952

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2988.5878854
delta logL = 2.23371898755e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4927       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6122       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84709       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+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=   2988.588     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      238 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1294.4        .12512E-02** at limit **
   2  alpha         1.4047        3.1739        .18585        .23857E-08
   3  Normalizat    1.6122        .38768        .31013E-03   -.21573E-04
   4  Prefactor     .84709        .22329        .23488E-03   -.26767E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.40473
  Normalizat = 1.61222
  Prefactor  = 0.847091
 **********
 **   18 **HESSE 
 **********

 FCN=   2988.588     FROM HESSE     STATUS=OK            23 CALLS      261 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.5162        .25023E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4047        3.2002        .74340E-02   -.45349    
   3  Normalizat    1.6122        .44356        .12405E-04   -.74672    
   4  Prefactor     .84709        .25554        .93950E-05   -.98015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71771e-12
Minuit parameter uncertainties:
  1  1.24858e-06
  2  299.17
  3  0.444653
  4  0.255904
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/912192': 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) = 2988.58788536
delta logL = 4.48139871878e-08

Extracting fit parameters...

4FGL J2146.5-1344
   Spectrum: LogParabola
295         norm:  1.000e-04  1.249e-06  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  1.405e+00  2.992e+02  0.000e+00  5.000e+00 ( 1.000e+00)
297         beta:  1.382e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  2.840e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  8.471e-01  2.559e-01  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  1.612e+00  4.447e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 326.645 -13.735

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/912192/cmap_HighResolution_620611201_620870401_4FGL_J2146.5-1344_daily_bin1471.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.58e-04', job_status='DONE', photon_flux_upper_limit='5.28e-08', time_completed='2021-09-27 14:11:56.884127', job_id='912192', GAL2='0.85', fit_tolerance='1e-08', EG2='1.61', EG='1.61', time_epoch_completed='1632777116.88', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='4.48e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.50' WHERE bin_id='1471' AND source_name='4FGL J2146.5-1344' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 14:11:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 912192: <4FGL_J2146.5-1344_daily_bin1471> in cluster <slac> Done

Job <4FGL_J2146.5-1344_daily_bin1471> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Mon Sep 27 14:00:59 2021
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 14:01:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 27 14:01:35 2021
Terminated at Mon Sep 27 14:11:57 2021
Results reported at Mon Sep 27 14:11:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2146.5-1344_daily_bin1471 326.645 -13.7347 620611201 620870401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2146.5-1344 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   438.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   622 sec.
    Turnaround time :                            658 sec.

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

