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


Performing analysis on: 4FGL_J2150.7-2810_daily_bin1164
RA = 327.698, Dec = -28.1728
tmin = 541036801, tmax = 541296001
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='77', job_status='RUN', time_executed='2021-09-27 19:07:07.560021', time_epoch_executed='1632794827.56' WHERE source_name='4FGL J2150.7-2810' and cadence='daily' and bin_id='1164'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/77

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/77/ft1_4FGL_J2150.7-2810_daily_bin1164.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/77/ft2_4FGL_J2150.7-2810_daily_bin1164.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/77/ft1_4FGL_J2150.7-2810_daily_bin1164.fits outfile=/scratch/kocevski/77/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin1164.fits ra=327.698 dec=-28.1728 rad=12.0 tmin=541036801.0 tmax=541296001.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.69
user 3.45
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/77/ft1_filtered_4FGL_J2150.7-2810_daily_bin1164.fits" evtable="EVENTS" scfile=/scratch/kocevski/77/ft2_4FGL_J2150.7-2810_daily_bin1164.fits sctable="SC_DATA" outfile=/scratch/kocevski/77/ltcube_541036801_541296001_4FGL_J2150.7-2810_daily_bin1164.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/77/ft2_4FGL_J2150.7-2810_daily_bin1164.fits
.....................!
real 14.81
user 14.36
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/77/ft1_filtered_4FGL_J2150.7-2810_daily_bin1164.fits evtable="EVENTS" scfile=/scratch/kocevski/77/ft2_4FGL_J2150.7-2810_daily_bin1164.fits sctable="SC_DATA" expcube=/scratch/kocevski/77/ltcube_541036801_541296001_4FGL_J2150.7-2810_daily_bin1164.fits outfile=/scratch/kocevski/77/expmap_541036801_541296001_4FGL_J2150.7-2810_daily_bin1164.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/77/ltcube_541036801_541296001_4FGL_J2150.7-2810_daily_bin1164.fits
.....................!
real 193.16
user 187.43
sys 5.33

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/77/ft1_filtered_4FGL_J2150.7-2810_daily_bin1164.fits scfile=/scratch/kocevski/77/ft2_4FGL_J2150.7-2810_daily_bin1164.fits outfile=/scratch/kocevski/77/cmap_541036801_541296001_4FGL_J2150.7-2810_daily_bin1164.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.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/77/ft1_filtered_4FGL_J2150.7-2810_daily_bin1164.fits scfile=/scratch/kocevski/77/ft2_4FGL_J2150.7-2810_daily_bin1164.fits outfile=/scratch/kocevski/77/cmap_HighResolution_541036801_541296001_4FGL_J2150.7-2810_daily_bin1164.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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/77/ft1_filtered_4FGL_J2150.7-2810_daily_bin1164.fits evtable="EVENTS" scfile=/scratch/kocevski/77/ft2_4FGL_J2150.7-2810_daily_bin1164.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/77/Model_4FGL_J2150.7-2810_daily_bin1164.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/77/ft1_filtered_4FGL_J2150.7-2810_daily_bin1164.fits.....................!
real 52.19
user 50.77
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.603       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .37761       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.190       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.102       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    13.425       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11953E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.9820       1.0000         .10000E-03   10000.    
    12 'norm      '    1.0140       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.1254       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    11.453       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .32623E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1854       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1227       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=   5502.691     FROM MIGRAD    STATUS=CONVERGED    420 CALLS     1794 TOTAL
                     EDM=   .42E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.556        23.354        .11433E-05   -.45437E-06
   2  Prefactor     .10000E-03    4.3020       -.13008E-06** at limit **
   3  norm          .37466        5.5053        .38308E-06   -.10841E-03
   4  Prefactor     .10000E-03    9.7984        .62347E-06** at limit **
   5  Prefactor     19.184        12.541       -.24594E-06    .79680E-05
   6  Prefactor     12.097        13.043       -.10830E-06    .61919E-05
   7  Prefactor     .10000E-03    3.3808        .26311E-07** at limit **
   8  norm          13.423        9.6565       -.21776E-06    .38620E-05
   9  Prefactor     .10000E-03    11.513       -.47968E-06** at limit **
  10  Prefactor     .10000E-03    105.04        .48814E-05** at limit **
  11  norm          3.9734        6.5579        .33035E-05    .25407E-04
  12  norm          1.0140        .44685       -.11636E-06    .95263E-04
  13  Prefactor     3.0698        17.655       -.63735E-05   -.75770E-05
  14  Prefactor     .10000E-03    24.756        .17388E-05** at limit **
  15  Prefactor     .10000E-03    4.9091       -.79910E-07** at limit **
  16  norm          11.456        25.183        .71587E-06    .37512E-04
  17  Prefactor     .10000E-03    8.9234       -.35300E-06** at limit **
  18  norm          .10000E-03    3.1612       -.46582E-06** at limit **
  19  Normalizat    1.1861        .25259       -.19910E-05    .61523E-04
  20  Prefactor     1.1225        .16328        .13265E-05    .36569E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.5556
  Prefactor  = 0.0001
  norm       = 0.374665
  Prefactor  = 0.0001
  Prefactor  = 19.1837
  Prefactor  = 12.0972
  Prefactor  = 0.0001
  norm       = 13.4228
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.97341
  norm       = 1.01397
  Prefactor  = 3.06976
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.4557
  Prefactor  = 0.0001
  norm       = 0.000100002
  Normalizat = 1.18605
  Prefactor  = 1.12247
 **********
 **   18 **HESSE 
 **********

 FCN=   5502.691     FROM HESSE     STATUS=OK           297 CALLS     2091 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.556        23.384        .12304E-03   -1.5058    
   2  Prefactor     .10000E-03    4.3360        .15025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .37466        17.457        .33776E-02   -1.5586    
   4  Prefactor     .10000E-03    9.9161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     19.184        12.552        .91431E-04   -1.4832    
   6  Prefactor     12.097        13.044        .11515E-03   -1.5012    
   7  Prefactor     .10000E-03    3.3819        .13320E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          13.423        9.6556        .10932E-03   -1.4975    
   9  Prefactor     .10000E-03    11.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    105.53        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.9734        6.5728        .10106E-02   -1.5309    
  12  norm          1.0140        .44955        .30642E-04   -1.5507    
  13  Prefactor     3.0698        17.714        .22933E-03   -1.5358    
  14  Prefactor     .10000E-03    24.978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.9188        .16051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          11.456        24.782        .11838E-03   -1.5031    
  17  Prefactor     .10000E-03    8.9436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    13.229        .25046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1861        .28964        .31415E-03   -.87035    
  20  Prefactor     1.1225        .18913        .21478E-03   -.88752    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.76174e-08
Minuit parameter uncertainties:
  1  23.4045
  2  1.08833e-05
  3  5.11577
  4  2.54606e-05
  5  12.5542
  6  13.0468
  7  6.50694e-07
  8  9.65669
  9  9.72251e-06
  10  0.000115762
  11  6.57399
  12  0.44955
  13  14.7547
  14  0.000127708
  15  4.00646e-06
  16  24.8041
  17  2.39439e-06
  18  0.000300157
  19  0.290029
  20  0.189242
Done.

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

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  9.723e-06  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.122e+00  1.892e-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.186e+00  2.900e-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: 8.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/77/likelihoodResults_541036801_541296001_4FGL_J2150.7-2810_daily_bin1164.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) = 5502.69132769
delta logL = -0.00041284341296

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5502.69091509
delta logL = -2.3514530767e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10717E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1292       1.0000          .0000       10.000    
     3 'Normalizat'    1.1862       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1224       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=   5502.691     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      245 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    462.60        .18142E-01** at limit **
   2  Index         1.4582        6.8277        .10038        .60027E-08
   3  Normalizat    1.1861        .32579E-01    .31415E-03    .19535E-03
   4  Prefactor     1.1225        .21867E-01    .21478E-03    .28973E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.4582
  Normalizat = 1.18605
  Prefactor  = 1.12247
 **********
 **   18 **HESSE 
 **********

 FCN=   5502.691     FROM HESSE     STATUS=OK            23 CALLS      268 TOTAL
                     EDM=   .93E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.422        .30866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4582        5.7255        .40151E-02   -.78717    
   3  Normalizat    1.1861        .27532        .12566E-04   -.87035    
   4  Prefactor     1.1225        .18491        .42955E-04   -.88752    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.27008e-11
Minuit parameter uncertainties:
  1  0.000140424
  2  402.104
  3  0.275655
  4  0.185012
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/77': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5502.69091327
delta logL = 1.5846817405e-06

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  1.404e-04  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  1.458e+00  4.021e+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.122e+00  1.850e-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.186e+00  2.757e-01  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/77/cmap_HighResolution_541036801_541296001_4FGL_J2150.7-2810_daily_bin1164.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.30e-03', job_status='DONE', photon_flux_upper_limit='8.30e-08', time_completed='2021-09-27 19:16:19.480579', job_id='77', GAL2='1.12', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1632795379.48', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.58e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1164' AND source_name='4FGL J2150.7-2810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:16:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 77: <4FGL_J2150.7-2810_daily_bin1164> in cluster <slac> Done

Job <4FGL_J2150.7-2810_daily_bin1164> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Sep 27 19:05:32 2021
Job was executed on host(s) <bullet0155>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 19:06:41 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:06:41 2021
Terminated at Mon Sep 27 19:16:20 2021
Results reported at Mon Sep 27 19:16:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2150.7-2810_daily_bin1164 327.698 -28.1728 541036801 541296001 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 :                                   527.10 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             353.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   578 sec.
    Turnaround time :                            648 sec.

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

