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


Performing analysis on: 4FGL_J2146.5-1344_daily_bin1462
RA = 326.645, Dec = -13.7347
tmin = 618278401, tmax = 618537601
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='912177', job_status='RUN', time_executed='2021-09-27 14:02:42.428774', time_epoch_executed='1632776562.43' WHERE source_name='4FGL J2146.5-1344' and cadence='daily' and bin_id='1462'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/912177

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/912177/ft1_4FGL_J2146.5-1344_daily_bin1462.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/912177/ft2_4FGL_J2146.5-1344_daily_bin1462.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/912177/ft1_4FGL_J2146.5-1344_daily_bin1462.fits outfile=/scratch/kocevski/912177/ft1_filteredMKT_4FGL_J2146.5-1344_daily_bin1462.fits ra=326.645 dec=-13.7347 rad=12.0 tmin=618278401.0 tmax=618537601.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.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/912177/ft2_4FGL_J2146.5-1344_daily_bin1462.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/912177/ft1_filteredMKT_4FGL_J2146.5-1344_daily_bin1462.fits evtable="EVENTS" outfile="/scratch/kocevski/912177/ft1_filtered_4FGL_J2146.5-1344_daily_bin1462.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.55
user 0.36
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/912177/ft1_filtered_4FGL_J2146.5-1344_daily_bin1462.fits" evtable="EVENTS" scfile=/scratch/kocevski/912177/ft2_4FGL_J2146.5-1344_daily_bin1462.fits sctable="SC_DATA" outfile=/scratch/kocevski/912177/ltcube_618278401_618537601_4FGL_J2146.5-1344_daily_bin1462.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/912177/ft2_4FGL_J2146.5-1344_daily_bin1462.fits
.....................!
real 13.51
user 13.14
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/912177/ft1_filtered_4FGL_J2146.5-1344_daily_bin1462.fits evtable="EVENTS" scfile=/scratch/kocevski/912177/ft2_4FGL_J2146.5-1344_daily_bin1462.fits sctable="SC_DATA" expcube=/scratch/kocevski/912177/ltcube_618278401_618537601_4FGL_J2146.5-1344_daily_bin1462.fits outfile=/scratch/kocevski/912177/expmap_618278401_618537601_4FGL_J2146.5-1344_daily_bin1462.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/912177/ltcube_618278401_618537601_4FGL_J2146.5-1344_daily_bin1462.fits
.....................!
real 190.52
user 185.46
sys 4.50

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/912177/ft1_filtered_4FGL_J2146.5-1344_daily_bin1462.fits scfile=/scratch/kocevski/912177/ft2_4FGL_J2146.5-1344_daily_bin1462.fits outfile=/scratch/kocevski/912177/cmap_618278401_618537601_4FGL_J2146.5-1344_daily_bin1462.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/912177/ft1_filtered_4FGL_J2146.5-1344_daily_bin1462.fits scfile=/scratch/kocevski/912177/ft2_4FGL_J2146.5-1344_daily_bin1462.fits outfile=/scratch/kocevski/912177/cmap_HighResolution_618278401_618537601_4FGL_J2146.5-1344_daily_bin1462.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/912177/ft1_filtered_4FGL_J2146.5-1344_daily_bin1462.fits evtable="EVENTS" scfile=/scratch/kocevski/912177/ft2_4FGL_J2146.5-1344_daily_bin1462.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/912177/Model_4FGL_J2146.5-1344_daily_bin1462.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/912177/ft1_filtered_4FGL_J2146.5-1344_daily_bin1462.fits.....................!
real 55.45
user 53.99
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/912177/ft1_filtered_4FGL_J2146.5-1344_daily_bin1462.fits', '/scratch/kocevski/912177/ft2_4FGL_J2146.5-1344_daily_bin1462.fits', expMap='/scratch/kocevski/912177/expmap_618278401_618537601_4FGL_J2146.5-1344_daily_bin1462.fits', expCube='/scratch/kocevski/912177/ltcube_618278401_618537601_4FGL_J2146.5-1344_daily_bin1462.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/912177/Model_4FGL_J2146.5-1344_daily_bin1462.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/912177/ft1_filtered_4FGL_J2146.5-1344_daily_bin1462.fits
Spacecraft file(s): /scratch/kocevski/912177/ft2_4FGL_J2146.5-1344_daily_bin1462.fits
Exposure map: /scratch/kocevski/912177/expmap_618278401_618537601_4FGL_J2146.5-1344_daily_bin1462.fits
Exposure cube: /scratch/kocevski/912177/ltcube_618278401_618537601_4FGL_J2146.5-1344_daily_bin1462.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/912177/Model_4FGL_J2146.5-1344_daily_bin1462.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) = 5328.34740229

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.164       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.9555       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .21677E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .19302       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.2119       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.8514       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.1558       1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.816       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.2644       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .78887       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=   5328.264     FROM MIGRAD    STATUS=CONVERGED    332 CALLS     1405 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.162        24.591        .62134E-06   -.18899E-04
   2  Prefactor     2.9558        10.974       -.22026E-05    .11679E-03
   3  Prefactor     .10000E-03    17.077        .90055E-08** at limit **
   4  Prefactor     .10000E-03    4.8250       -.12463E-05** at limit **
   5  Prefactor     .20727        59.949        .25766E-04   -.93578E-04
   6  Prefactor     .10000E-03    15.985       -.52842E-07** at limit **
   7  Prefactor     .10000E-03    12.339       -.19403E-06** at limit **
   8  norm          1.2128        9.7884       -.40257E-06    .24672E-04
   9  Prefactor     4.8508        6.4487       -.96011E-06    .42579E-04
  10  Prefactor     .10000E-03    6.5744       -.31018E-06** at limit **
  11  Prefactor     .10000E-03    4.5763       -.25158E-07** at limit **
  12  Prefactor     3.1736        20.886        .34407E-05    .12043E-03
  13  Prefactor     17.740        187.32       -.38808E-05    .36094E-04
  14  Prefactor     .10000E-03    30.384        .14718E-06** at limit **
  15  norm          .10000E-03    3.3250        .21015E-05** at limit **
  16  Normalizat    1.2645        .23551       -.12775E-05   -.25587E-03
  17  Prefactor     .78881        .13326       -.15899E-07   -.39892E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.1625
  Prefactor  = 2.95582
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.207271
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.21276
  Prefactor  = 4.85075
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.17361
  Prefactor  = 17.7402
  Prefactor  = 0.0001
  norm       = 0.000100005
  Normalizat = 1.26446
  Prefactor  = 0.788807
 **********
 **   18 **HESSE 
 **********

 FCN=   5328.264     FROM HESSE     STATUS=OK           221 CALLS     1626 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.162        24.493        .37745E-03   -1.4646    
   2  Prefactor     2.9558        10.999        .11811E-02   -1.5364    
   3  Prefactor     .10000E-03    17.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.115        .30399E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .20727        59.543        .37089E-02   -1.5617    
   6  Prefactor     .10000E-03    15.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2128        9.8906        .41081E-03   -1.5488    
   9  Prefactor     4.8508        6.4395        .91317E-03   -1.5267    
  10  Prefactor     .10000E-03    6.5845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.5911        .15250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.1736        21.542        .22816E-03   -1.5352    
  13  Prefactor     17.740        188.28        .94888E-04   -1.4865    
  14  Prefactor     .10000E-03    30.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.5456        .13336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2645        .28693        .27103E-03   -.84634    
  17  Prefactor     .78881        .16252        .19851E-03   -1.0014    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.66243e-08
Minuit parameter uncertainties:
  1  24.5017
  2  11.0068
  3  5.29495e-05
  4  0.000352713
  5  7.03148
  6  5.54341e-05
  7  5.8343e-05
  8  6.92802
  9  6.4404
  10  5.26082e-05
  11  5.85221e-06
  12  16.5449
  13  116.058
  14  8.25531e-05
  15  0.000260524
  16  0.287287
  17  0.162614
Done.

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

Extracting fit parameters...

4FGL J2146.5-1344
   Spectrum: LogParabola
295         norm:  1.213e+00  6.928e+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

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  7.888e-01  1.626e-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.264e+00  2.873e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/912177/likelihoodResults_618278401_618537601_4FGL_J2146.5-1344_daily_bin1462.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) = 5328.24374848
delta logL = 0.0201069773075

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5328.24271945
delta logL = 0.0211360023131

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4548       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8131       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2656       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78714       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=   5328.243     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      245 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4547        7.0816        .33038E-03    .54059E-04
   2  alpha         1.8129        1.4839        .29321E-01    .98860E-05
   3  Normalizat    1.2657        .26554        .27091E-03   -.14688E-04
   4  Prefactor     .78711        .15927        .19869E-03   -.35990E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.45472
  alpha      = 1.81289
  Normalizat = 1.2657
  Prefactor  = 0.787111
 **********
 **   18 **HESSE 
 **********

 FCN=   5328.243     FROM HESSE     STATUS=OK            25 CALLS      270 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4547        6.1887        .13215E-04   -1.5467    
   2  alpha         1.8129        1.4025        .11728E-02   -.27843    
   3  Normalizat    1.2657        .26578        .10837E-04   -.84596    
   4  Prefactor     .78711        .15940        .79476E-05   -1.0021    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71779e-11
Minuit parameter uncertainties:
  1  6.00178
  2  1.4975
  3  0.266067
  4  0.15949
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/912177': 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) = 5328.24271942
delta logL = 0.0211360351841

Extracting fit parameters...

4FGL J2146.5-1344
   Spectrum: LogParabola
295         norm:  1.455e+00  6.002e+00  1.000e-04  1.000e+04 ( 1.000e-13)
296        alpha:  1.813e+00  1.497e+00  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:  7.871e-01  1.595e-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.266e+00  2.661e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/912177/cmap_HighResolution_618278401_618537601_4FGL_J2146.5-1344_daily_bin1462.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-04', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2021-09-27 14:14:12.577371', job_id='912177', GAL2='0.79', fit_tolerance='1e-08', EG2='1.27', EG='1.26', time_epoch_completed='1632777252.58', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='2.11e-02', ts2='0.08', photon_index_error='0.00', photon_index='1.50' WHERE bin_id='1462' AND source_name='4FGL J2146.5-1344' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 14:14:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 912177: <4FGL_J2146.5-1344_daily_bin1462> in cluster <slac> Done

Job <4FGL_J2146.5-1344_daily_bin1462> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Mon Sep 27 14:00:57 2021
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 14:01:30 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:30 2021
Terminated at Mon Sep 27 14:14:13 2021
Results reported at Mon Sep 27 14:14:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2146.5-1344_daily_bin1462 326.645 -13.7347 618278401 618537601 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 :                                   501.39 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             289.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            796 sec.

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

