/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 69 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 = 7424
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2150.7-2810_daily_bin172
RA = 327.698, Dec = -28.1728
tmin = 283910401, tmax = 284169601
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='994359', job_status='RUN', time_executed='2021-09-27 18:51:14.228006', time_epoch_executed='1632793874.23' WHERE source_name='4FGL J2150.7-2810' and cadence='daily' and bin_id='172'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/994359

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/994359/ft1_4FGL_J2150.7-2810_daily_bin172.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/994359/ft2_4FGL_J2150.7-2810_daily_bin172.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/994359/ft1_4FGL_J2150.7-2810_daily_bin172.fits outfile=/scratch/kocevski/994359/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin172.fits ra=327.698 dec=-28.1728 rad=12.0 tmin=283910401.0 tmax=284169601.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.59
user 3.34
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/994359/ft1_filtered_4FGL_J2150.7-2810_daily_bin172.fits" evtable="EVENTS" scfile=/scratch/kocevski/994359/ft2_4FGL_J2150.7-2810_daily_bin172.fits sctable="SC_DATA" outfile=/scratch/kocevski/994359/ltcube_283910401_284169601_4FGL_J2150.7-2810_daily_bin172.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/994359/ft2_4FGL_J2150.7-2810_daily_bin172.fits
.....................!
real 13.86
user 13.51
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/994359/ft1_filtered_4FGL_J2150.7-2810_daily_bin172.fits evtable="EVENTS" scfile=/scratch/kocevski/994359/ft2_4FGL_J2150.7-2810_daily_bin172.fits sctable="SC_DATA" expcube=/scratch/kocevski/994359/ltcube_283910401_284169601_4FGL_J2150.7-2810_daily_bin172.fits outfile=/scratch/kocevski/994359/expmap_283910401_284169601_4FGL_J2150.7-2810_daily_bin172.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/994359/ltcube_283910401_284169601_4FGL_J2150.7-2810_daily_bin172.fits
.....................!
real 192.76
user 188.08
sys 4.18

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/994359/ft1_filtered_4FGL_J2150.7-2810_daily_bin172.fits scfile=/scratch/kocevski/994359/ft2_4FGL_J2150.7-2810_daily_bin172.fits outfile=/scratch/kocevski/994359/cmap_283910401_284169601_4FGL_J2150.7-2810_daily_bin172.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.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/994359/ft1_filtered_4FGL_J2150.7-2810_daily_bin172.fits scfile=/scratch/kocevski/994359/ft2_4FGL_J2150.7-2810_daily_bin172.fits outfile=/scratch/kocevski/994359/cmap_HighResolution_283910401_284169601_4FGL_J2150.7-2810_daily_bin172.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/994359/ft1_filtered_4FGL_J2150.7-2810_daily_bin172.fits evtable="EVENTS" scfile=/scratch/kocevski/994359/ft2_4FGL_J2150.7-2810_daily_bin172.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/994359/Model_4FGL_J2150.7-2810_daily_bin172.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/994359/ft1_filtered_4FGL_J2150.7-2810_daily_bin172.fits....................!
real 49.69
user 48.34
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.517       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.6788       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.8382       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10065E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    9.3885       1.0000         .10000E-03   10000.    
    12 'norm      '    .72014       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.9423       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3599       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .98590       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=   5383.850     FROM MIGRAD    STATUS=CONVERGED    403 CALLS     2014 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.512        30.844       -.30499E-05   -.33867E-07
   2  Prefactor     1.6774        7.8383       -.15437E-05   -.52744E-03
   3  norm          .10000E-03    3.4622       -.13661E-06** at limit **
   4  Prefactor     .10000E-03    9.8718        .42070E-05** at limit **
   5  Prefactor     .10000E-03    8.7930       -.64998E-06** at limit **
   6  Prefactor     2.8273        31.324        .20091E-05   -.69559E-04
   7  Prefactor     .10000E-03    21.094       -.70135E-05** at limit **
   8  norm          .10000E-03    13.710        .46035E-05** at limit **
   9  Prefactor     .10000E-03    18.757       -.18503E-05** at limit **
  10  Prefactor     .10000E-03    83.408       -.26168E-05** at limit **
  11  norm          9.3834        6.7175       -.13565E-06   -.20522E-03
  12  norm          .72011        .38552       -.24317E-07    .65310E-04
  13  Prefactor     .10000E-03    13.634        .37981E-05** at limit **
  14  Prefactor     .10000E-03    11.631       -.73833E-05** at limit **
  15  Prefactor     7.9417        10.201       -.19853E-06   -.90355E-04
  16  norm          .10000E-03    5.7723       -.41775E-08** at limit **
  17  Prefactor     .10000E-03    25.560        .76249E-05** at limit **
  18  norm          .10000E-03    1.2053       -.33302E-06** at limit **
  19  Normalizat    1.3599        .23731       -.20312E-05   -.43447E-04
  20  Prefactor     .98594        .15550        .73861E-06   -.19256E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.5122
  Prefactor  = 1.67737
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.82728
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.38337
  norm       = 0.72011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.94168
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.35991
  Prefactor  = 0.985942
 **********
 **   18 **HESSE 
 **********

 FCN=   5383.850     FROM HESSE     STATUS=OK           285 CALLS     2299 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.512        30.711        .64582E-04   -1.4466    
   2  Prefactor     1.6774        8.2751        .32516E-03   -1.5449    
   3  norm          .10000E-03    3.4636        .13334E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.9758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.8769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.8273        31.088        .24137E-03   -1.5372    
   7  Prefactor     .10000E-03    21.406        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    13.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    18.765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    83.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.3834        6.7292        .13079E-03   -1.5095    
  12  norm          .72011        .38608        .31545E-04   -1.5538    
  13  Prefactor     .10000E-03    13.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.9417        10.241        .14227E-03   -1.5144    
  16  norm          .10000E-03    5.7724        .17218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    25.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.2059        .78662E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.3599        .27744        .28850E-03   -.81795    
  20  Prefactor     .98594        .18212        .22116E-03   -.93200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04498e-09
Minuit parameter uncertainties:
  1  30.7239
  2  7.45273
  3  5.59732e-07
  4  1.00214e-05
  5  2.57915e-05
  6  18.7624
  7  0.00012825
  8  4.05565e-06
  9  1.58936e-05
  10  8.1278e-05
  11  6.72974
  12  0.386084
  13  9.70013e-06
  14  1.03124e-05
  15  10.243
  16  6.79305e-07
  17  1.57456e-05
  18  3.45507e-07
  19  0.277747
  20  0.182237
Done.

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

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  1.589e-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.859e-01  1.822e-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.360e+00  2.777e-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: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/994359/likelihoodResults_283910401_284169601_4FGL_J2150.7-2810_daily_bin172.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) = 5383.85069407
delta logL = -0.00025386796915

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5383.85044012
delta logL = 7.79955371399e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2758       1.0000          .0000       10.000    
     3 'Normalizat'    1.3599       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98594       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=   5383.850     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      347 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    56.875        .90712E-02** at limit **
   2  Index         2.2859        5.5130        .50000       -.50278E-05
   3  Normalizat    1.3599        .10608E-01    .65221E-01    .98247E-05
   4  Prefactor     .98594        .71010E-02    .46091E-01    .80479E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.28589
  Normalizat = 1.35991
  Prefactor  = 0.985944
 **********
 **   18 **HESSE 
 **********

 FCN=   5383.850     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      380 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    420.30        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2859        8.4702        .50000       -.57379    
   3  Normalizat    1.3599        .29516E-01    .28850E-03   -.81795    
   4  Prefactor     .98594        .19768E-01    .22116E-03   -.93200    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.97722e-10
Minuit parameter uncertainties:
  1  3.13331e-05
  2  19.7461
  3  0.0295168
  4  0.0197682
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/994359': 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) = 5383.85044011
delta logL = 9.00972736417e-08

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  3.133e-05  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.286e+00  1.975e+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.859e-01  1.977e-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.360e+00  2.952e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/994359/cmap_HighResolution_283910401_284169601_4FGL_J2150.7-2810_daily_bin172.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.83e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2021-09-27 19:00:14.257343', job_id='994359', GAL2='0.99', fit_tolerance='1e-08', EG2='1.36', EG='1.36', time_epoch_completed='1632794414.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='9.01e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='172' AND source_name='4FGL J2150.7-2810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:00:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 994359: <4FGL_J2150.7-2810_daily_bin172> in cluster <slac> Done

Job <4FGL_J2150.7-2810_daily_bin172> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Sep 27 18:45:34 2021
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 18:49:56 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 27 18:49:56 2021
Terminated at Mon Sep 27 19:00:15 2021
Results reported at Mon Sep 27 19:00:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2150.7-2810_daily_bin172 327.698 -28.1728 283910401 284169601 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 :                                   537.21 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             280.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   619 sec.
    Turnaround time :                            881 sec.

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

