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


Performing analysis on: 4FGL_J2150.7-2810_daily_bin1675
RA = 327.698, Dec = -28.1728
tmin = 673488001, tmax = 673747201
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='884097', job_status='RUN', time_executed='2022-05-09 01:28:10.623750', time_epoch_executed='1652084890.62' WHERE source_name='4FGL J2150.7-2810' and cadence='daily' and bin_id='1675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/884097

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/884097/ft1_4FGL_J2150.7-2810_daily_bin1675.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/884097/ft2_4FGL_J2150.7-2810_daily_bin1675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/884097/ft1_4FGL_J2150.7-2810_daily_bin1675.fits outfile=/scratch/kocevski/884097/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin1675.fits ra=327.698 dec=-28.1728 rad=12.0 tmin=673488001.0 tmax=673747201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.57
user 2.36
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/884097/ft2_4FGL_J2150.7-2810_daily_bin1675.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/884097/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin1675.fits evtable="EVENTS" outfile="/scratch/kocevski/884097/ft1_filtered_4FGL_J2150.7-2810_daily_bin1675.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.34
sys 0.15

Number of photons that the gtmktime cut: 613

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/884097/ft1_filtered_4FGL_J2150.7-2810_daily_bin1675.fits" evtable="EVENTS" scfile=/scratch/kocevski/884097/ft2_4FGL_J2150.7-2810_daily_bin1675.fits sctable="SC_DATA" outfile=/scratch/kocevski/884097/ltcube_673488001_673747201_4FGL_J2150.7-2810_daily_bin1675.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/884097/ft2_4FGL_J2150.7-2810_daily_bin1675.fits
.....................!
real 15.51
user 14.35
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/884097/ft1_filtered_4FGL_J2150.7-2810_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/884097/ft2_4FGL_J2150.7-2810_daily_bin1675.fits sctable="SC_DATA" expcube=/scratch/kocevski/884097/ltcube_673488001_673747201_4FGL_J2150.7-2810_daily_bin1675.fits outfile=/scratch/kocevski/884097/expmap_673488001_673747201_4FGL_J2150.7-2810_daily_bin1675.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/884097/ltcube_673488001_673747201_4FGL_J2150.7-2810_daily_bin1675.fits
.....................!
real 194.08
user 188.29
sys 5.28

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/884097/ft1_filtered_4FGL_J2150.7-2810_daily_bin1675.fits scfile=/scratch/kocevski/884097/ft2_4FGL_J2150.7-2810_daily_bin1675.fits outfile=/scratch/kocevski/884097/cmap_673488001_673747201_4FGL_J2150.7-2810_daily_bin1675.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/884097/ft1_filtered_4FGL_J2150.7-2810_daily_bin1675.fits scfile=/scratch/kocevski/884097/ft2_4FGL_J2150.7-2810_daily_bin1675.fits outfile=/scratch/kocevski/884097/cmap_HighResolution_673488001_673747201_4FGL_J2150.7-2810_daily_bin1675.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/884097/ft1_filtered_4FGL_J2150.7-2810_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/884097/ft2_4FGL_J2150.7-2810_daily_bin1675.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/884097/Model_4FGL_J2150.7-2810_daily_bin1675.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/884097/ft1_filtered_4FGL_J2150.7-2810_daily_bin1675.fits.....................!
real 57.45
user 55.99
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/884097/ft1_filtered_4FGL_J2150.7-2810_daily_bin1675.fits', '/scratch/kocevski/884097/ft2_4FGL_J2150.7-2810_daily_bin1675.fits', expMap='/scratch/kocevski/884097/expmap_673488001_673747201_4FGL_J2150.7-2810_daily_bin1675.fits', expCube='/scratch/kocevski/884097/ltcube_673488001_673747201_4FGL_J2150.7-2810_daily_bin1675.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/884097/Model_4FGL_J2150.7-2810_daily_bin1675.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/884097/ft1_filtered_4FGL_J2150.7-2810_daily_bin1675.fits
Spacecraft file(s): /scratch/kocevski/884097/ft2_4FGL_J2150.7-2810_daily_bin1675.fits
Exposure map: /scratch/kocevski/884097/expmap_673488001_673747201_4FGL_J2150.7-2810_daily_bin1675.fits
Exposure cube: /scratch/kocevski/884097/ltcube_673488001_673747201_4FGL_J2150.7-2810_daily_bin1675.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/884097/Model_4FGL_J2150.7-2810_daily_bin1675.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) = 6715.21917143

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.546       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.2069       1.0000         .10000E-03   10000.    
     3 'norm      '    3.1470       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.1439       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10351E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.321       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .14528E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .91372       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    8.8114       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .62204       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1215       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0710       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=   6715.108     FROM MIGRAD    STATUS=CONVERGED    416 CALLS     1764 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.546        20.317       -.83135E-06   -.63695E-05
   2  Prefactor     9.2073        6.7686        .79536E-07   -.41709E-03
   3  norm          3.1475        3.7392        .39434E-06   -.95524E-03
   4  Prefactor     4.1440        4.2345       -.13864E-07    .17014E-04
   5  Prefactor     .10000E-03    12.964       -.18381E-05** at limit **
   6  Prefactor     17.323        15.365        .56889E-06    .24723E-04
   7  Prefactor     .10000E-03    6.2194       -.31190E-05** at limit **
   8  norm          .10000E-03    3.0905       -.50358E-08** at limit **
   9  Prefactor     .10000E-03    5.9260        .22907E-05** at limit **
  10  Prefactor     .10000E-03    26.390       -.15937E-05** at limit **
  11  norm          .10001E-03    2.0856       -.31887E-06** at limit **
  12  norm          .91377        .34700        .11772E-08    .57366E-03
  13  Prefactor     .10000E-03    3.4862       -.25646E-07** at limit **
  14  Prefactor     .10000E-03    8.6723        .18265E-05** at limit **
  15  Prefactor     .10000E-03    3.9954       -.14044E-06** at limit **
  16  norm          8.8140        23.226        .27849E-05    .51271E-05
  17  Prefactor     .10000E-03    17.092        .43168E-05** at limit **
  18  norm          .62249        2.7134       -.20007E-06   -.31138E-03
  19  Normalizat    1.1217        .19702       -.44896E-06    .10097E-03
  20  Prefactor     1.0709        .13865        .22210E-06    .58311E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.5457
  Prefactor  = 9.20734
  norm       = 3.14753
  Prefactor  = 4.14397
  Prefactor  = 0.0001
  Prefactor  = 17.3228
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100009
  norm       = 0.913774
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.81404
  Prefactor  = 0.0001
  norm       = 0.622491
  Normalizat = 1.12171
  Prefactor  = 1.07093
 **********
 **   18 **HESSE 
 **********

 FCN=   6715.108     FROM HESSE     STATUS=OK           293 CALLS     2057 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.546        20.390        .12337E-03   -1.5058    
   2  Prefactor     9.2073        6.9309        .66042E-03   -1.5101    
   3  norm          3.1475        7.6739        .11425E-02   -1.5353    
   4  Prefactor     4.1440        4.2373        .16585E-03   -1.5301    
   5  Prefactor     .10000E-03    13.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.323        15.364        .96235E-04   -1.4875    
   7  Prefactor     .10000E-03    6.2521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.0988        .14067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.9455        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    26.456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10001E-03    12.926        .22132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .91377        .34480        .28449E-04   -1.5517    
  13  Prefactor     .10000E-03    3.5003        .14942E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.6956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.0201        .15993E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.8140        23.127        .13503E-03   -1.5114    
  17  Prefactor     .10000E-03    17.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .62249        2.6534        .26334E-03   -1.5550    
  19  Normalizat    1.1217        .22772        .28595E-03   -.89058    
  20  Prefactor     1.0709        .16353        .20652E-03   -.90401    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55144e-09
Minuit parameter uncertainties:
  1  20.4034
  2  6.93152
  3  7.67632
  4  4.23765
  5  1.89229e-05
  6  15.3673
  7  1.3758e-05
  8  1.53739e-06
  9  1.67888e-05
  10  2.48265e-05
  11  0.00066399
  12  0.344801
  13  5.65831e-07
  14  1.35533e-05
  15  7.23067e-07
  16  23.1503
  17  2.27118e-05
  18  2.57039
  19  0.227917
  20  0.163602
Done.

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

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  1.679e-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:  1.071e+00  1.636e-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.122e+00  2.279e-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: 4.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/884097/likelihoodResults_673488001_673747201_4FGL_J2150.7-2810_daily_bin1675.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) = 6715.10860272
delta logL = -0.000797955397502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6715.10780485
delta logL = -7.98427208792e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1220       1.0000          .0000       10.000    
     3 'Normalizat'    1.1219       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0708       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6715.108     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      238 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10194E-03    34.726        .18142E-02** at limit **
   2  Index         2.0578        5.1422        .50000        .39935E-04
   3  Normalizat    1.1217        .11364E-01    .28595E-03   -.26968E-03
   4  Prefactor     1.0709        .80864E-02    .20652E-03   -.29190E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101936
  Index      = 2.05784
  Normalizat = 1.12171
  Prefactor  = 1.07094
 **********
 **   18 **HESSE 
 **********

 FCN=   6715.108     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10194E-03    166.45        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0578        5.7440        .50000       -.62912    
   3  Normalizat    1.1217        .25467E-01    .57190E-04   -.89058    
   4  Prefactor     1.0709        .18119E-01    .41304E-04   -.90401    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.72812e-08
Minuit parameter uncertainties:
  1  0.0359982
  2  278.063
  3  0.025467
  4  0.0181193
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/884097': 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) = 6715.10780383
delta logL = 9.40598511079e-07

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.019e-04  3.600e-02  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.058e+00  2.781e+02  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:  1.071e+00  1.812e-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.122e+00  2.547e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/884097/cmap_HighResolution_673488001_673747201_4FGL_J2150.7-2810_daily_bin1675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.79e-03', job_status='DONE', photon_flux_upper_limit='4.99e-08', time_completed='2022-05-09 01:37:39.776427', job_id='884097', GAL2='1.07', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1652085459.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='9.41e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1675' AND source_name='4FGL J2150.7-2810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May  9 01:37:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 884097: <4FGL_J2150.7-2810_daily_bin1675> in cluster <slac> Done

Job <4FGL_J2150.7-2810_daily_bin1675> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon May  9 01:25:22 2022
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May  9 01:25:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May  9 01:25:43 2022
Terminated at Mon May  9 01:37:40 2022
Results reported at Mon May  9 01:37:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2150.7-2810_daily_bin1675 327.698 -28.1728 673488001 673747201 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 :                                   570.32 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             276.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            738 sec.

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

