/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 25 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 = 7369
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2150.7-2810_daily_bin867
RA = 327.698, Dec = -28.1728
tmin = 464054401, tmax = 464313601
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='998658', job_status='RUN', time_executed='2021-09-27 19:01:53.650461', time_epoch_executed='1632794513.65' WHERE source_name='4FGL J2150.7-2810' and cadence='daily' and bin_id='867'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/998658

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/998658/ft1_4FGL_J2150.7-2810_daily_bin867.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/998658/ft2_4FGL_J2150.7-2810_daily_bin867.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/998658/ft1_4FGL_J2150.7-2810_daily_bin867.fits outfile=/scratch/kocevski/998658/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin867.fits ra=327.698 dec=-28.1728 rad=12.0 tmin=464054401.0 tmax=464313601.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.42
user 3.16
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/998658/ft1_filtered_4FGL_J2150.7-2810_daily_bin867.fits" evtable="EVENTS" scfile=/scratch/kocevski/998658/ft2_4FGL_J2150.7-2810_daily_bin867.fits sctable="SC_DATA" outfile=/scratch/kocevski/998658/ltcube_464054401_464313601_4FGL_J2150.7-2810_daily_bin867.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/998658/ft2_4FGL_J2150.7-2810_daily_bin867.fits
.....................!
real 14.03
user 13.64
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/998658/ft1_filtered_4FGL_J2150.7-2810_daily_bin867.fits evtable="EVENTS" scfile=/scratch/kocevski/998658/ft2_4FGL_J2150.7-2810_daily_bin867.fits sctable="SC_DATA" expcube=/scratch/kocevski/998658/ltcube_464054401_464313601_4FGL_J2150.7-2810_daily_bin867.fits outfile=/scratch/kocevski/998658/expmap_464054401_464313601_4FGL_J2150.7-2810_daily_bin867.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/998658/ltcube_464054401_464313601_4FGL_J2150.7-2810_daily_bin867.fits
.....................!
real 192.30
user 186.66
sys 5.11

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/998658/ft1_filtered_4FGL_J2150.7-2810_daily_bin867.fits scfile=/scratch/kocevski/998658/ft2_4FGL_J2150.7-2810_daily_bin867.fits outfile=/scratch/kocevski/998658/cmap_464054401_464313601_4FGL_J2150.7-2810_daily_bin867.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/998658/ft1_filtered_4FGL_J2150.7-2810_daily_bin867.fits scfile=/scratch/kocevski/998658/ft2_4FGL_J2150.7-2810_daily_bin867.fits outfile=/scratch/kocevski/998658/cmap_HighResolution_464054401_464313601_4FGL_J2150.7-2810_daily_bin867.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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/998658/ft1_filtered_4FGL_J2150.7-2810_daily_bin867.fits evtable="EVENTS" scfile=/scratch/kocevski/998658/ft2_4FGL_J2150.7-2810_daily_bin867.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/998658/Model_4FGL_J2150.7-2810_daily_bin867.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/998658/ft1_filtered_4FGL_J2150.7-2810_daily_bin867.fits.....................!
real 44.59
user 43.25
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.580       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.4686       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    57.654       1.0000         .10000E-03   10000.    
    11 'norm      '    14.282       1.0000         .10000E-03   10000.    
    12 'norm      '    1.5876       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.294       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.3561       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2415       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .77106       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=   4670.556     FROM MIGRAD    STATUS=CONVERGED    413 CALLS     2055 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    42.296       -.28091E-07** at limit **
   2  Prefactor     .10000E-03    4.5638        .31574E-08** at limit **
   3  norm          .10000E-03    3.0282        .66469E-07** at limit **
   4  Prefactor     .10000E-03    9.0223       -.16388E-06** at limit **
   5  Prefactor     14.578        13.091        .12901E-06   -.31290E-04
   6  Prefactor     5.4704        18.942        .53447E-05   -.20690E-03
   7  Prefactor     .10000E-03    9.3791        .16626E-06** at limit **
   8  norm          .10000E-03    3.0769        .68746E-07** at limit **
   9  Prefactor     .10000E-03    18.272       -.29686E-06** at limit **
  10  Prefactor     57.637        114.70       -.52548E-05   -.96737E-04
  11  norm          14.282        9.3448        .36232E-06   -.86070E-04
  12  norm          1.5877        .56187       -.65092E-09   -.25229E-03
  13  Prefactor     .10000E-03    4.3889       -.18617E-08** at limit **
  14  Prefactor     23.291        23.835       -.27038E-06   -.11896E-03
  15  Prefactor     .10000E-03    3.9389        .57265E-07** at limit **
  16  norm          3.3683        42.599        .44534E-05    .11489E-03
  17  Prefactor     .10000E-03    13.322        .83676E-07** at limit **
  18  norm          .10000E-03    1.6717       -.10832E-07** at limit **
  19  Normalizat    1.2417        .23632       -.14318E-06   -.13175E-03
  20  Prefactor     .77093        .14499       -.44233E-06   -.13419E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.5776
  Prefactor  = 5.4704
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 57.6371
  norm       = 14.282
  norm       = 1.58765
  Prefactor  = 0.0001
  Prefactor  = 23.2913
  Prefactor  = 0.0001
  norm       = 3.36825
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.24171
  Prefactor  = 0.770927
 **********
 **   18 **HESSE 
 **********

 FCN=   4670.556     FROM HESSE     STATUS=OK           285 CALLS     2340 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    42.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.6122        .14257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    3.0313        .11620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.4131        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.578        13.133        .10490E-03   -1.4944    
   6  Prefactor     5.4704        19.621        .85911E-03   -1.5240    
   7  Prefactor     .10000E-03    9.5091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.0819        .11710E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    18.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     57.637        116.46        .52835E-04   -1.4188    
  11  norm          14.282        9.4092        .10598E-03   -1.4952    
  12  norm          1.5877        .56272        .28446E-04   -1.5456    
  13  Prefactor     .10000E-03    4.3976        .13988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.291        23.992        .82993E-04   -1.4742    
  15  Prefactor     .10000E-03    3.9502        .13248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.3683        47.426        .22091E-03   -1.5341    
  17  Prefactor     .10000E-03    13.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.6825        .86450E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2417        .27831        .27161E-03   -.85323    
  20  Prefactor     .77093        .16919        .21776E-03   -1.0081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.53649e-10
Minuit parameter uncertainties:
  1  5.65963e-05
  2  7.26239e-06
  3  8.4291e-06
  4  3.31934e-06
  5  13.1352
  6  19.6443
  7  3.33962e-05
  8  7.60555e-06
  9  4.30218e-05
  10  116.926
  11  9.4102
  12  0.562725
  13  1.22757e-05
  14  24.0016
  15  8.46774e-06
  16  25.3019
  17  9.74553e-06
  18  1.15253e-05
  19  0.278641
  20  0.169305
Done.

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

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  4.302e-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:  7.709e-01  1.693e-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.242e+00  2.786e-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.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.08e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/998658/likelihoodResults_464054401_464313601_4FGL_J2150.7-2810_daily_bin867.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) = 4670.55593946
delta logL = -0.000260700654508

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4669.37188578
delta logL = 1.18379298661

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4670.556     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      481 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.990       -.63123E-04** at limit **
   2  Index         1.7457        .57602       -.71660E-05   -.90168E-07
   3  Normalizat    1.2417        .25562       -.48548E-04   -.60338E-03
   4  Prefactor     .77093        .16610        .58705E-05   -.61919E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.74567
  Normalizat = 1.24171
  Prefactor  = 0.770928
 **********
 **   18 **HESSE 
 **********

 FCN=   4670.556     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      518 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    599.66        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7457        5.3905        .50000       -.70872    
   3  Normalizat    1.2417        .37860E-01    .61415E-01   -.85323    
   4  Prefactor     .77093        .24659E-01    .44065E-01   -1.0081    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.8574e-10
Minuit parameter uncertainties:
  1  0.000455103
  2  23.1247
  3  0.0378605
  4  0.0246594
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/998658': 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) = 4670.55567904
delta logL = -2.76099854091e-07

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  4.551e-04  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  1.746e+00  2.312e+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:  7.709e-01  2.466e-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.242e+00  3.786e-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/998658/cmap_HighResolution_464054401_464313601_4FGL_J2150.7-2810_daily_bin867.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.08e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2021-09-27 19:10:40.082340', job_id='998658', GAL2='0.77', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1632795040.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='-2.76e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='867' AND source_name='4FGL J2150.7-2810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:10:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0303>
Subject: Job 998658: <4FGL_J2150.7-2810_daily_bin867> in cluster <slac> Done

Job <4FGL_J2150.7-2810_daily_bin867> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Mon Sep 27 19:00:50 2021
Job was executed on host(s) <bullet0303>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 19:01:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 27 19:01:03 2021
Terminated at Mon Sep 27 19:10:40 2021
Results reported at Mon Sep 27 19:10:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2150.7-2810_daily_bin867 327.698 -28.1728 464054401 464313601 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 :                                   513.13 sec.
    Max Memory :                                 1014 MB
    Average Memory :                             347.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   577 sec.
    Turnaround time :                            590 sec.

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

