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


Performing analysis on: 4FGL_J2150.7-2810_daily_bin374
RA = 327.698, Dec = -28.1728
tmin = 336268801, tmax = 336528001
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='995662', job_status='RUN', time_executed='2021-09-27 18:55:40.657445', time_epoch_executed='1632794140.66' WHERE source_name='4FGL J2150.7-2810' and cadence='daily' and bin_id='374'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/995662

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

Retrieving the FT1 file...

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

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

Retrieving 53 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/995662/ft1_4FGL_J2150.7-2810_daily_bin374.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/995662/ft2_4FGL_J2150.7-2810_daily_bin374.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/995662/ft1_4FGL_J2150.7-2810_daily_bin374.fits outfile=/scratch/kocevski/995662/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin374.fits ra=327.698 dec=-28.1728 rad=12.0 tmin=336268801.0 tmax=336528001.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 7.06
user 6.74
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/995662/ft2_4FGL_J2150.7-2810_daily_bin374.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/995662/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin374.fits evtable="EVENTS" outfile="/scratch/kocevski/995662/ft1_filtered_4FGL_J2150.7-2810_daily_bin374.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/995662/ft1_filtered_4FGL_J2150.7-2810_daily_bin374.fits" evtable="EVENTS" scfile=/scratch/kocevski/995662/ft2_4FGL_J2150.7-2810_daily_bin374.fits sctable="SC_DATA" outfile=/scratch/kocevski/995662/ltcube_336268801_336528001_4FGL_J2150.7-2810_daily_bin374.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/995662/ft2_4FGL_J2150.7-2810_daily_bin374.fits
.....................!
real 13.14
user 12.76
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/995662/ft1_filtered_4FGL_J2150.7-2810_daily_bin374.fits evtable="EVENTS" scfile=/scratch/kocevski/995662/ft2_4FGL_J2150.7-2810_daily_bin374.fits sctable="SC_DATA" expcube=/scratch/kocevski/995662/ltcube_336268801_336528001_4FGL_J2150.7-2810_daily_bin374.fits outfile=/scratch/kocevski/995662/expmap_336268801_336528001_4FGL_J2150.7-2810_daily_bin374.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/995662/ltcube_336268801_336528001_4FGL_J2150.7-2810_daily_bin374.fits
.....................!
real 192.71
user 187.10
sys 5.10

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/995662/ft1_filtered_4FGL_J2150.7-2810_daily_bin374.fits scfile=/scratch/kocevski/995662/ft2_4FGL_J2150.7-2810_daily_bin374.fits outfile=/scratch/kocevski/995662/cmap_336268801_336528001_4FGL_J2150.7-2810_daily_bin374.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/995662/ft1_filtered_4FGL_J2150.7-2810_daily_bin374.fits scfile=/scratch/kocevski/995662/ft2_4FGL_J2150.7-2810_daily_bin374.fits outfile=/scratch/kocevski/995662/cmap_HighResolution_336268801_336528001_4FGL_J2150.7-2810_daily_bin374.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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/995662/ft1_filtered_4FGL_J2150.7-2810_daily_bin374.fits evtable="EVENTS" scfile=/scratch/kocevski/995662/ft2_4FGL_J2150.7-2810_daily_bin374.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/995662/Model_4FGL_J2150.7-2810_daily_bin374.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/995662/ft1_filtered_4FGL_J2150.7-2810_daily_bin374.fits.....................!
real 49.82
user 48.52
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7896       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.3527       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    18.920       1.0000         .10000E-03   10000.    
    12 'norm      '    .96341       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.7919       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.732       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .99888       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .87031       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=   5792.893     FROM MIGRAD    STATUS=CONVERGED    399 CALLS     1708 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7845        18.567       -.74302E-05    .19482E-04
   2  Prefactor     .10000E-03    2.5402       -.90308E-06** at limit **
   3  norm          3.3528        6.4962       -.42471E-06   -.25449E-03
   4  Prefactor     .10000E-03    3.9201       -.28318E-06** at limit **
   5  Prefactor     .10000E-03    2.0063       -.16233E-05** at limit **
   6  Prefactor     .10000E-03    11.142        .50284E-06** at limit **
   7  Prefactor     .10000E-03    2.1207        .80019E-06** at limit **
   8  norm          .10000E-03    1.8570       -.14151E-06** at limit **
   9  Prefactor     .10000E-03    32.207        .36274E-05** at limit **
  10  Prefactor     .10000E-03    33.149       -.38897E-05** at limit **
  11  norm          18.923        5.9397       -.88999E-07   -.76587E-04
  12  norm          .96343        .38407       -.38095E-08    .67354E-04
  13  Prefactor     9.7928        7.9559       -.40678E-06   -.79202E-03
  14  Prefactor     13.727        19.172       -.45586E-05    .95587E-04
  15  Prefactor     .10000E-03    2.6775        .75980E-06** at limit **
  16  norm          .10000E-03    9.9136       -.57771E-06** at limit **
  17  Prefactor     .10000E-03    4.9766        .21358E-06** at limit **
  18  norm          .10000E-03    1.9464        .10589E-05** at limit **
  19  Normalizat    .99892        .18708        .96467E-06    .33947E-05
  20  Prefactor     .87033        .12783        .49849E-06    .25380E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.78452
  Prefactor  = 0.0001
  norm       = 3.35276
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.9233
  norm       = 0.963426
  Prefactor  = 9.7928
  Prefactor  = 13.7268
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.998919
  Prefactor  = 0.870329
 **********
 **   18 **HESSE 
 **********

 FCN=   5792.893     FROM HESSE     STATUS=OK           287 CALLS     1995 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7845        18.735        .18383E-03   -1.5270    
   2  Prefactor     .10000E-03    2.5543        .11831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.3528        6.5304        .22102E-03   -1.5342    
   4  Prefactor     .10000E-03    3.9518        .14717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.0021        .10499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.1200        .10813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.8597        .10129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    32.543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    33.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          18.923        5.9412        .92080E-04   -1.4838    
  12  norm          .96343        .38442        .28099E-04   -1.5512    
  13  Prefactor     9.7928        8.1307        .64030E-03   -1.5082    
  14  Prefactor     13.727        19.004        .10809E-03   -1.4967    
  15  Prefactor     .10000E-03    2.6849        .12147E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    9.9214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.9859        .16582E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.9545        .10341E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .99892        .21627        .26961E-03   -.93067    
  20  Prefactor     .87033        .14807        .19767E-03   -.97186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.02043e-10
Minuit parameter uncertainties:
  1  18.7582
  2  1.15928e-05
  3  6.53175
  4  1.30289e-06
  5  1.40058e-05
  6  2.21813e-05
  7  8.79071e-06
  8  3.50523e-07
  9  0.000165466
  10  0.000144654
  11  5.94137
  12  0.384424
  13  8.13165
  14  19.0124
  15  1.19968e-05
  16  9.42991e-06
  17  4.10643e-06
  18  1.30064e-05
  19  0.216462
  20  0.148142
Done.

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

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  1.655e-04  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:  8.703e-01  1.481e-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:  9.989e-01  2.165e-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: 7.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/995662/likelihoodResults_336268801_336528001_4FGL_J2150.7-2810_daily_bin374.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) = 5792.89357733
delta logL = -0.000146381517879

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5792.89343088
delta logL = 7.11106622475e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2238       1.0000          .0000       10.000    
     3 'Normalizat'    .99892       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87033       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=   5792.893     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      240 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.0905        .90712E-02** at limit **
   2  Index         2.2436        6.8048        .50000       -.46474E-05
   3  Normalizat    .99892        .16748E-02    .46153E-01    .33415E-04
   4  Prefactor     .87033        .11601E-02    .44626E-01    .29782E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.24365
  Normalizat = 0.998919
  Prefactor  = 0.870329
 **********
 **   18 **HESSE 
 **********

 FCN=   5792.893     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      273 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    45.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2436        6.8073        .50000       -.58389    
   3  Normalizat    .99892        .55334E-02    .26961E-03   -.93067    
   4  Prefactor     .87033        .38335E-02    .19767E-03   -.97186    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.98666e-09
Minuit parameter uncertainties:
  1  0.000187877
  2  37.6006
  3  0.0055334
  4  0.00383345
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/995662': 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) = 5792.89343084
delta logL = 1.04369973997e-07

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  1.879e-04  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.244e+00  3.760e+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:  8.703e-01  3.833e-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:  9.989e-01  5.533e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/995662/cmap_HighResolution_336268801_336528001_4FGL_J2150.7-2810_daily_bin374.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.94e-03', job_status='DONE', photon_flux_upper_limit='7.82e-08', time_completed='2021-09-27 19:04:50.058078', job_id='995662', GAL2='0.87', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1632794690.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.04e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='374' AND source_name='4FGL J2150.7-2810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:04:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 995662: <4FGL_J2150.7-2810_daily_bin374> in cluster <slac> Done

Job <4FGL_J2150.7-2810_daily_bin374> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Mon Sep 27 18:50:27 2021
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 18:51:45 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:51:45 2021
Terminated at Mon Sep 27 19:04:50 2021
Results reported at Mon Sep 27 19:04:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2150.7-2810_daily_bin374 327.698 -28.1728 336268801 336528001 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 :                                   546.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             225.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   785 sec.
    Turnaround time :                            863 sec.

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

