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


Performing analysis on: 4FGL_J2150.7-2810_daily_bin449
RA = 327.698, Dec = -28.1728
tmin = 355708801, tmax = 355968001
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='995783', job_status='RUN', time_executed='2021-09-27 18:55:03.254274', time_epoch_executed='1632794103.25' WHERE source_name='4FGL J2150.7-2810' and cadence='daily' and bin_id='449'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/995783

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/995783/ft1_4FGL_J2150.7-2810_daily_bin449.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/995783/ft2_4FGL_J2150.7-2810_daily_bin449.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/995783/ft1_4FGL_J2150.7-2810_daily_bin449.fits outfile=/scratch/kocevski/995783/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin449.fits ra=327.698 dec=-28.1728 rad=12.0 tmin=355708801.0 tmax=355968001.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 4.92
user 4.65
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/995783/ft1_filtered_4FGL_J2150.7-2810_daily_bin449.fits" evtable="EVENTS" scfile=/scratch/kocevski/995783/ft2_4FGL_J2150.7-2810_daily_bin449.fits sctable="SC_DATA" outfile=/scratch/kocevski/995783/ltcube_355708801_355968001_4FGL_J2150.7-2810_daily_bin449.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/995783/ft2_4FGL_J2150.7-2810_daily_bin449.fits
.....................!
real 14.40
user 14.02
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/995783/ft1_filtered_4FGL_J2150.7-2810_daily_bin449.fits evtable="EVENTS" scfile=/scratch/kocevski/995783/ft2_4FGL_J2150.7-2810_daily_bin449.fits sctable="SC_DATA" expcube=/scratch/kocevski/995783/ltcube_355708801_355968001_4FGL_J2150.7-2810_daily_bin449.fits outfile=/scratch/kocevski/995783/expmap_355708801_355968001_4FGL_J2150.7-2810_daily_bin449.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/995783/ltcube_355708801_355968001_4FGL_J2150.7-2810_daily_bin449.fits
.....................!
real 191.03
user 185.55
sys 5.06

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/995783/ft1_filtered_4FGL_J2150.7-2810_daily_bin449.fits scfile=/scratch/kocevski/995783/ft2_4FGL_J2150.7-2810_daily_bin449.fits outfile=/scratch/kocevski/995783/cmap_355708801_355968001_4FGL_J2150.7-2810_daily_bin449.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/995783/ft1_filtered_4FGL_J2150.7-2810_daily_bin449.fits scfile=/scratch/kocevski/995783/ft2_4FGL_J2150.7-2810_daily_bin449.fits outfile=/scratch/kocevski/995783/cmap_HighResolution_355708801_355968001_4FGL_J2150.7-2810_daily_bin449.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/995783/ft1_filtered_4FGL_J2150.7-2810_daily_bin449.fits evtable="EVENTS" scfile=/scratch/kocevski/995783/ft2_4FGL_J2150.7-2810_daily_bin449.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/995783/Model_4FGL_J2150.7-2810_daily_bin449.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/995783/ft1_filtered_4FGL_J2150.7-2810_daily_bin449.fits.....................!
real 65.32
user 63.89
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.353       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.8276       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1395       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .22053E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.8713       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .14378E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    22.506       1.0000         .10000E-03   10000.    
    11 'norm      '    4.2231       1.0000         .10000E-03   10000.    
    12 'norm      '    1.2676       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.963       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    8.1791       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.7814       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .75232       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0810       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=   8328.572     FROM MIGRAD    STATUS=CONVERGED    402 CALLS     2010 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.352        11.529        .84881E-07   -.17909E-04
   2  Prefactor     .10000E-03    3.0541       -.66153E-07** at limit **
   3  norm          5.8276        6.0289        .20516E-05   -.97586E-04
   4  Prefactor     5.1394        4.4250        .10015E-05   -.81021E-04
   5  Prefactor     .10000E-03    3.5813        .13609E-06** at limit **
   6  Prefactor     .10000E-03    4.3714       -.33916E-06** at limit **
   7  Prefactor     .10000E-03    2.6896        .18380E-06** at limit **
   8  norm          4.8718        4.9756        .10462E-06   -.21382E-04
   9  Prefactor     .10000E-03    13.245       -.33607E-05** at limit **
  10  Prefactor     22.471        38.802       -.38912E-05   -.16554E-03
  11  norm          4.2241        3.3418        .15148E-06    .39812E-04
  12  norm          1.2677        .35837        .47996E-08    .24335E-03
  13  Prefactor     .10000E-03    2.1976       -.80692E-07** at limit **
  14  Prefactor     19.963        18.285       -.47184E-08   -.10564E-04
  15  Prefactor     .10000E-03    2.5673        .39401E-08** at limit **
  16  norm          8.1784        14.581       -.15708E-06   -.16464E-04
  17  Prefactor     .10000E-03    3.4140        .13504E-06** at limit **
  18  norm          1.7811        3.2903        .53016E-06   -.35036E-04
  19  Normalizat    .75237        .15775        .75161E-06   -.51201E-04
  20  Prefactor     1.0810        .11006       -.76531E-06    .84776E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.3515
  Prefactor  = 0.0001
  norm       = 5.8276
  Prefactor  = 5.13936
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.87176
  Prefactor  = 0.0001
  Prefactor  = 22.4706
  norm       = 4.22413
  norm       = 1.26766
  Prefactor  = 0.0001
  Prefactor  = 19.9625
  Prefactor  = 0.0001
  norm       = 8.17836
  Prefactor  = 0.0001
  norm       = 1.78114
  Normalizat = 0.752371
  Prefactor  = 1.08099
 **********
 **   18 **HESSE 
 **********

 FCN=   8328.572     FROM HESSE     STATUS=OK           293 CALLS     2303 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.352        11.548        .11890E-03   -1.5034    
   2  Prefactor     .10000E-03    3.1099        .15572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.8276        6.0842        .83183E-03   -1.5225    
   4  Prefactor     5.1394        4.4429        .86666E-03   -1.5255    
   5  Prefactor     .10000E-03    18.889        .33191E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.3853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.6995        .14617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.8718        4.9634        .18225E-03   -1.5266    
   9  Prefactor     .10000E-03    13.064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     22.471        40.035        .84433E-04   -1.4760    
  11  norm          4.2241        3.3444        .13426E-03   -1.5297    
  12  norm          1.2677        .35856        .27311E-04   -1.5483    
  13  Prefactor     .10000E-03    2.2027        .13209E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.963        18.372        .89643E-04   -1.4814    
  15  Prefactor     .10000E-03    2.5870        .14279E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.1784        14.545        .14019E-03   -1.5136    
  17  Prefactor     .10000E-03    3.4219        .16468E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.7811        3.2725        .21522E-03   -1.5441    
  19  Normalizat    .75237        .17874        .29947E-03   -1.0186    
  20  Prefactor     1.0810        .12537        .18422E-03   -.90076    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87299e-10
Minuit parameter uncertainties:
  1  11.5505
  2  7.33886e-06
  3  6.08488
  4  4.4432
  5  0.000187155
  6  3.89932e-06
  7  6.94318e-06
  8  4.96379
  9  9.73164e-05
  10  40.0833
  11  3.34451
  12  0.358564
  13  1.52895e-06
  14  18.3768
  15  4.84862e-06
  16  14.5517
  17  5.35081e-06
  18  3.27286
  19  0.178877
  20  0.125405
Done.

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

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  9.732e-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.081e+00  1.254e-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:  7.524e-01  1.789e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/995783/likelihoodResults_355708801_355968001_4FGL_J2150.7-2810_daily_bin449.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) = 8328.57234273
delta logL = -0.000364890704077

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8328.57197795
delta logL = -1.16362571134e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1644       1.0000          .0000       10.000    
     3 'Normalizat'    .75230       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0810       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=   8328.572     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .84058        .90712E-02** at limit **
   2  Index         2.1715        5.5907        .50000       -.48883E-05
   3  Normalizat    .75237        .99925E-03    .67680E-01    .35294E-04
   4  Prefactor     1.0810        .72848E-03    .38356E-01    .55096E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.17147
  Normalizat = 0.752372
  Prefactor  = 1.08099
 **********
 **   18 **HESSE 
 **********

 FCN=   8328.572     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      241 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1715        5.3651        .50000       -.60129    
   3  Normalizat    .75237        .62950E-02    .29946E-03   -1.0186    
   4  Prefactor     1.0810        .45969E-02    .18422E-03   -.90076    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.45469e-08
Minuit parameter uncertainties:
  1  1.71404e-05
  2  156.221
  3  0.00629502
  4  0.00459691
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/995783': 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) = 8328.57197782
delta logL = 1.50812411448e-08

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  1.714e-05  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.171e+00  1.562e+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.081e+00  4.597e-03  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:  7.524e-01  6.295e-03  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/995783/cmap_HighResolution_355708801_355968001_4FGL_J2150.7-2810_daily_bin449.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.38e-03', job_status='DONE', photon_flux_upper_limit='5.77e-08', time_completed='2021-09-27 19:06:02.319755', job_id='995783', GAL2='1.08', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1632794762.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.51e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='449' AND source_name='4FGL J2150.7-2810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:06:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 995783: <4FGL_J2150.7-2810_daily_bin449> in cluster <slac> Done

Job <4FGL_J2150.7-2810_daily_bin449> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Mon Sep 27 18:50:39 2021
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 18:52:22 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:52:22 2021
Terminated at Mon Sep 27 19:06:03 2021
Results reported at Mon Sep 27 19:06:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2150.7-2810_daily_bin449 327.698 -28.1728 355708801 355968001 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 :                                   657.42 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             255.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            924 sec.

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

