aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


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


Performing analysis on: 4FGL_J2150.7-2810_daily_bin1685
RA = 327.698, Dec = -28.1728
tmin = 676080001, tmax = 676339201
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='383662', job_status='RUN', time_executed='2022-06-08 01:10:03.375703', time_epoch_executed='1654675803.38' WHERE source_name='4FGL J2150.7-2810' and cadence='daily' and bin_id='1685'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/383662

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/383662/ft1_4FGL_J2150.7-2810_daily_bin1685.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/383662/ft2_4FGL_J2150.7-2810_daily_bin1685.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/383662/ft1_4FGL_J2150.7-2810_daily_bin1685.fits outfile=/scratch/kocevski/383662/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin1685.fits ra=327.698 dec=-28.1728 rad=12.0 tmin=676080001.0 tmax=676339201.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.60
user 3.37
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/383662/ft2_4FGL_J2150.7-2810_daily_bin1685.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/383662/ft2_4FGL_J2150.7-2810_daily_bin1685.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/383662/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin1685.fits evtable="EVENTS" outfile="/scratch/kocevski/383662/ft1_filtered_4FGL_J2150.7-2810_daily_bin1685.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 666

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/383662/ft1_filtered_4FGL_J2150.7-2810_daily_bin1685.fits" evtable="EVENTS" scfile=/scratch/kocevski/383662/ft2_4FGL_J2150.7-2810_daily_bin1685.fits sctable="SC_DATA" outfile=/scratch/kocevski/383662/ltcube_676080001_676339201_4FGL_J2150.7-2810_daily_bin1685.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/383662/ft2_4FGL_J2150.7-2810_daily_bin1685.fits
.....................!
real 13.81
user 13.40
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/383662/ft1_filtered_4FGL_J2150.7-2810_daily_bin1685.fits evtable="EVENTS" scfile=/scratch/kocevski/383662/ft2_4FGL_J2150.7-2810_daily_bin1685.fits sctable="SC_DATA" expcube=/scratch/kocevski/383662/ltcube_676080001_676339201_4FGL_J2150.7-2810_daily_bin1685.fits outfile=/scratch/kocevski/383662/expmap_676080001_676339201_4FGL_J2150.7-2810_daily_bin1685.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/383662/ltcube_676080001_676339201_4FGL_J2150.7-2810_daily_bin1685.fits
.....................!
real 191.50
user 185.87
sys 4.90

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 J2150.7-2810 @ 327.698 -28.1728

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/383662/ft1_filtered_4FGL_J2150.7-2810_daily_bin1685.fits scfile=/scratch/kocevski/383662/ft2_4FGL_J2150.7-2810_daily_bin1685.fits outfile=/scratch/kocevski/383662/cmap_676080001_676339201_4FGL_J2150.7-2810_daily_bin1685.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=327.698 yref=-28.1728 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/383662/ft1_filtered_4FGL_J2150.7-2810_daily_bin1685.fits scfile=/scratch/kocevski/383662/ft2_4FGL_J2150.7-2810_daily_bin1685.fits outfile=/scratch/kocevski/383662/cmap_HighResolution_676080001_676339201_4FGL_J2150.7-2810_daily_bin1685.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=327.698 yref=-28.1728 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/383662/ft1_filtered_4FGL_J2150.7-2810_daily_bin1685.fits evtable="EVENTS" scfile=/scratch/kocevski/383662/ft2_4FGL_J2150.7-2810_daily_bin1685.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/383662/Model_4FGL_J2150.7-2810_daily_bin1685.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/383662/ft1_filtered_4FGL_J2150.7-2810_daily_bin1685.fits.....................!
real 59.61
user 57.88
sys 1.40

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/383662/ft1_filtered_4FGL_J2150.7-2810_daily_bin1685.fits', '/scratch/kocevski/383662/ft2_4FGL_J2150.7-2810_daily_bin1685.fits', expMap='/scratch/kocevski/383662/expmap_676080001_676339201_4FGL_J2150.7-2810_daily_bin1685.fits', expCube='/scratch/kocevski/383662/ltcube_676080001_676339201_4FGL_J2150.7-2810_daily_bin1685.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/383662/Model_4FGL_J2150.7-2810_daily_bin1685.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2150.7-2810'

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.009e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.158e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  3.319e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/383662/ft1_filtered_4FGL_J2150.7-2810_daily_bin1685.fits
Spacecraft file(s): /scratch/kocevski/383662/ft2_4FGL_J2150.7-2810_daily_bin1685.fits
Exposure map: /scratch/kocevski/383662/expmap_676080001_676339201_4FGL_J2150.7-2810_daily_bin1685.fits
Exposure cube: /scratch/kocevski/383662/ltcube_676080001_676339201_4FGL_J2150.7-2810_daily_bin1685.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/383662/Model_4FGL_J2150.7-2810_daily_bin1685.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) = 7302.06631231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17035E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .81109       1.0000         .10000E-03   10000.    
     3 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.4063       1.0000         .10000E-03   10000.    
     8 'norm      '    1.0861       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .27753E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.5212       1.0000         .10000E-03   10000.    
    11 'norm      '    2.6627       1.0000         .10000E-03   10000.    
    12 'norm      '    .64176       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10290E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.093       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.6043       1.0000         .10000E-03   10000.    
    16 'norm      '    5.4224       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11309E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .40716       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0266       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .91624       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7302.016     FROM MIGRAD    STATUS=CONVERGED    438 CALLS     1788 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.7103       -.19835E-06** at limit **
   2  Prefactor     .80724        4.2937       -.10192E-06   -.87210E-04
   3  norm          .10000E-03    1.7786       -.95771E-07** at limit **
   4  Prefactor     .10000E-03    1.6659       -.57597E-07** at limit **
   5  Prefactor     .10000E-03    4.0582       -.67670E-07** at limit **
   6  Prefactor     .10000E-03    2.7058       -.31411E-07** at limit **
   7  Prefactor     1.4102        5.0428       -.18771E-05   -.57049E-04
   8  norm          1.0843        1.2621        .21990E-06   -.99926E-03
   9  Prefactor     .10000E-03    14.940        .16899E-05** at limit **
  10  Prefactor     2.3382        194.92       -.99671E-05   -.39928E-05
  11  norm          2.6577        3.0743        .11235E-06    .65511E-04
  12  norm          .64179        .27468        .92644E-08    .36535E-03
  13  Prefactor     .10000E-03    3.2014        .10178E-06** at limit **
  14  Prefactor     13.101        12.336       -.10879E-04   -.13485E-05
  15  Prefactor     5.5982        6.7156        .64446E-06    .69553E-05
  16  norm          5.4179        11.831        .49876E-05    .28757E-04
  17  Prefactor     .10000E-03    22.593       -.10347E-05** at limit **
  18  norm          .40794        1.3525       -.24075E-06   -.17980E-03
  19  Normalizat    1.0269        .16832        .13336E-05    .35692E-04
  20  Prefactor     .91601        .11718        .14267E-06    .10230E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.807242
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.41017
  norm       = 1.08431
  Prefactor  = 0.0001
  Prefactor  = 2.3382
  norm       = 2.65775
  norm       = 0.641787
  Prefactor  = 0.0001
  Prefactor  = 13.1008
  Prefactor  = 5.59823
  norm       = 5.41788
  Prefactor  = 0.0001
  norm       = 0.407943
  Normalizat = 1.02692
  Prefactor  = 0.916015
 **********
 **   18 **HESSE 
 **********

 FCN=   7302.016     FROM HESSE     STATUS=OK           299 CALLS     2087 TOTAL
                     EDM=   .59E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.7306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .80724        8.9664        .33629E-02   -1.5528    
   3  norm          .10000E-03    1.7790        .11130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.6698        .10771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.1012        .16805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.7076        .13727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.4102        5.0040        .35303E-03   -1.5470    
   8  norm          1.0843        9.8239        .23021E-02   -1.5500    
   9  Prefactor     .10000E-03    14.996        .21422E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.3382        190.64        .25728E-03   -1.5402    
  11  norm          2.6577        3.0407        .14729E-03   -1.5382    
  12  norm          .64179        .27365        .27885E-04   -1.5548    
  13  Prefactor     .10000E-03    3.2164        .14930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.101        12.330        .11070E-03   -1.4984    
  15  Prefactor     5.5982        6.7508        .16970E-03   -1.5235    
  16  norm          5.4179        11.782        .17257E-03   -1.5242    
  17  Prefactor     .10000E-03    23.187        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .40794        1.4536        .17464E-02   -1.5580    
  19  Normalizat    1.0269        .19607        .25638E-03   -.92134    
  20  Prefactor     .91601        .13741        .19630E-03   -.95584    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.88549e-08
Minuit parameter uncertainties:
  1  6.65384e-06
  2  5.38143
  3  3.03421e-07
  4  1.32783e-06
  5  7.93799e-07
  6  1.95397e-06
  7  5.00547
  8  6.52866
  9  9.90958e-05
  10  42.3653
  11  3.04093
  12  0.273653
  13  1.91209e-05
  14  12.3321
  15  6.75172
  16  11.787
  17  1.87769e-05
  18  1.45372
  19  0.196206
  20  0.137466
Done.

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

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  9.910e-05  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.158e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
273        Scale:  3.319e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  9.160e-01  1.375e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.027e+00  1.962e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 327.698 -28.173
Photon Flux Upper Limit: 5.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/383662/likelihoodResults_676080001_676339201_4FGL_J2150.7-2810_daily_bin1685.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7302.01615657
delta logL = -0.000317862753946

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7302.01583872
delta logL = -1.22572600958e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1625       1.0000          .0000       10.000    
     3 'Normalizat'    1.0269       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91604       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7302.016     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.837        .90712E-02** at limit **
   2  Index         2.1674        5.9299        .50000       -.30474E-05
   3  Normalizat    1.0269        .54858E-02    .42486E-01    .17725E-04
   4  Prefactor     .91601        .40118E-02    .45209E-01    .12213E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.16742
  Normalizat = 1.02692
  Prefactor  = 0.916014
 **********
 **   18 **HESSE 
 **********

 FCN=   7302.016     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      235 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    580.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1674        5.0230        .50000       -.60227    
   3  Normalizat    1.0269        .27248E-01    .25638E-03   -.92134    
   4  Prefactor     .91601        .19925E-01    .19630E-03   -.95584    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.75613e-10
Minuit parameter uncertainties:
  1  7.76908e-05
  2  25.9344
  3  0.027248
  4  0.0199255
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/383662': 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) = 7302.0158387
delta logL = 6.55927578919e-09

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  7.769e-05  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.167e+00  2.593e+01  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  3.319e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  9.160e-01  1.993e-02  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.027e+00  2.725e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 327.698 -28.173

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/383662/cmap_HighResolution_676080001_676339201_4FGL_J2150.7-2810_daily_bin1685.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-03', job_status='DONE', photon_flux_upper_limit='5.93e-08', time_completed='2022-06-08 01:19:52.386079', job_id='383662', GAL2='0.92', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1654676392.39', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='6.56e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1685' AND source_name='4FGL J2150.7-2810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun  8 01:19:52 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 383662: <4FGL_J2150.7-2810_daily_bin1685> in cluster <slac> Done

Job <4FGL_J2150.7-2810_daily_bin1685> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jun  8 01:05:42 2022
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun  8 01:08:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun  8 01:08:26 2022
Terminated at Wed Jun  8 01:19:53 2022
Results reported at Wed Jun  8 01:19:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2150.7-2810_daily_bin1685 327.698 -28.1728 676080001 676339201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2150.7-2810 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   590.27 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             317.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   686 sec.
    Turnaround time :                            851 sec.

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

