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


Performing analysis on: 4FGL_J2150.7-2810_daily_bin774
RA = 327.698, Dec = -28.1728
tmin = 439948801, tmax = 440208001
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='998503', job_status='RUN', time_executed='2021-09-27 19:00:56.263692', time_epoch_executed='1632794456.26' WHERE source_name='4FGL J2150.7-2810' and cadence='daily' and bin_id='774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/998503

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/998503/ft1_4FGL_J2150.7-2810_daily_bin774.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/998503/ft2_4FGL_J2150.7-2810_daily_bin774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/998503/ft1_4FGL_J2150.7-2810_daily_bin774.fits outfile=/scratch/kocevski/998503/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin774.fits ra=327.698 dec=-28.1728 rad=12.0 tmin=439948801.0 tmax=440208001.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.40
user 3.17
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/998503/ft2_4FGL_J2150.7-2810_daily_bin774.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/998503/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin774.fits evtable="EVENTS" outfile="/scratch/kocevski/998503/ft1_filtered_4FGL_J2150.7-2810_daily_bin774.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.52
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/998503/ft1_filtered_4FGL_J2150.7-2810_daily_bin774.fits" evtable="EVENTS" scfile=/scratch/kocevski/998503/ft2_4FGL_J2150.7-2810_daily_bin774.fits sctable="SC_DATA" outfile=/scratch/kocevski/998503/ltcube_439948801_440208001_4FGL_J2150.7-2810_daily_bin774.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/998503/ft2_4FGL_J2150.7-2810_daily_bin774.fits
.....................!
real 15.04
user 14.66
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/998503/ft1_filtered_4FGL_J2150.7-2810_daily_bin774.fits evtable="EVENTS" scfile=/scratch/kocevski/998503/ft2_4FGL_J2150.7-2810_daily_bin774.fits sctable="SC_DATA" expcube=/scratch/kocevski/998503/ltcube_439948801_440208001_4FGL_J2150.7-2810_daily_bin774.fits outfile=/scratch/kocevski/998503/expmap_439948801_440208001_4FGL_J2150.7-2810_daily_bin774.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/998503/ltcube_439948801_440208001_4FGL_J2150.7-2810_daily_bin774.fits
.....................!
real 192.43
user 186.63
sys 5.28

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/998503/ft1_filtered_4FGL_J2150.7-2810_daily_bin774.fits scfile=/scratch/kocevski/998503/ft2_4FGL_J2150.7-2810_daily_bin774.fits outfile=/scratch/kocevski/998503/cmap_439948801_440208001_4FGL_J2150.7-2810_daily_bin774.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/998503/ft1_filtered_4FGL_J2150.7-2810_daily_bin774.fits scfile=/scratch/kocevski/998503/ft2_4FGL_J2150.7-2810_daily_bin774.fits outfile=/scratch/kocevski/998503/cmap_HighResolution_439948801_440208001_4FGL_J2150.7-2810_daily_bin774.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9355       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.9946       1.0000         .10000E-03   10000.    
     3 'norm      '    8.6956       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.9269       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .96768       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10806E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.540       1.0000         .10000E-03   10000.    
    11 'norm      '    6.0341       1.0000         .10000E-03   10000.    
    12 'norm      '    .52673       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.0460       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1436       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .77385       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=   4967.533     FROM MIGRAD    STATUS=CONVERGED    713 CALLS     2330 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9394        27.813        .18104E-03   -.17960E-04
   2  Prefactor     8.9934        7.2197        .13364E-03    .62951E-05
   3  norm          8.6957        7.5913        .67966E-03    .15031E-03
   4  Prefactor     .10000E-03    1.8545        .93696E-03** at limit **
   5  Prefactor     6.9230        9.0187        .15244E-03   -.17079E-04
   6  Prefactor     .96972        41.091        .47001E-02    .28476E-03
   7  Prefactor     .10000E-03    17.512        .36285E-03** at limit **
   8  norm          .10000E-03    2.5807        .11048E-02** at limit **
   9  Prefactor     .10000E-03    13.592        .18142E-02** at limit **
  10  Prefactor     33.509        41.925        .69192E-04    .74332E-04
  11  norm          6.0326        5.7246        .14524E-03   -.78981E-04
  12  norm          .52689        .36476        .33136E-04    .42063E-03
  13  Prefactor     .10000E-03    17.144        .36285E-03** at limit **
  14  Prefactor     .99361        171.85        .62154E-02    .51958E-04
  15  Prefactor     .10000E-03    4.9005        .15193E-02** at limit **
  16  norm          .10000E-03    36.614        .18142E-02** at limit **
  17  Prefactor     .10000E-03    11.026        .18142E-02** at limit **
  18  norm          .10000E-03    1.7117        .89882E-03** at limit **
  19  Normalizat    1.1437        .24008        .25550E-03    .17996E-03
  20  Prefactor     .77385        .15373        .20299E-03   -.12999E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.9394
  Prefactor  = 8.99339
  norm       = 8.6957
  Prefactor  = 0.0001
  Prefactor  = 6.923
  Prefactor  = 0.969716
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.5095
  norm       = 6.03261
  norm       = 0.52689
  Prefactor  = 0.0001
  Prefactor  = 0.993612
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.14366
  Prefactor  = 0.77385
 **********
 **   18 **HESSE 
 **********

 FCN=   4967.533     FROM HESSE     STATUS=OK           275 CALLS     2605 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9394        27.763        .72415E-05   -1.5263    
   2  Prefactor     8.9934        7.2172        .53457E-05   -1.5108    
   3  norm          8.6957        7.5911        .27186E-04   -1.5118    
   4  Prefactor     .10000E-03    1.8546        .18739E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.9230        9.0082        .60974E-05   -1.5182    
   6  Prefactor     .96972        41.061        .18800E-03   -1.5511    
   7  Prefactor     .10000E-03    17.512        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.5807        .22097E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    13.594        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     33.509        41.883        .13838E-04   -1.4550    
  11  norm          6.0326        5.7224        .58095E-05   -1.5217    
  12  norm          .52689        .36474        .13254E-05   -1.5563    
  13  Prefactor     .10000E-03    17.145        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .99361        169.46        .24862E-03   -1.5509    
  15  Prefactor     .10000E-03    4.9013        .30385E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    36.637        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.027        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.7118        .17976E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1437        .23788        .51101E-04   -.88362    
  20  Prefactor     .77385        .15371        .81198E-05   -1.0070    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32781e-09
Minuit parameter uncertainties:
  1  23.4373
  2  7.21794
  3  7.5919
  4  9.32518e-07
  5  9.00996
  6  12.6288
  7  2.17192e-05
  8  5.90141e-07
  9  0.000136948
  10  41.92
  11  5.72289
  12  0.364737
  13  6.19573e-05
  14  26.0257
  15  2.83684e-06
  16  0.000257233
  17  1.25127e-05
  18  2.44988e-07
  19  0.238108
  20  0.15379
Done.

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

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  1.369e-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:  7.738e-01  1.538e-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.144e+00  2.381e-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: 6.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/998503/likelihoodResults_439948801_440208001_4FGL_J2150.7-2810_daily_bin774.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) = 4967.53306994
delta logL = -0.000350507374606

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4967.53272364
delta logL = -4.21049389843e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16238E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1185       1.0000          .0000       10.000    
     3 'Normalizat'    1.1432       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77415       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=   4967.533     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      209 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.9737        .90712E-02** at limit **
   2  Index         2.0853        5.9929        .50000        .17415E-04
   3  Normalizat    1.1437        .30338E-02    .57776E-01    .21622E-04
   4  Prefactor     .77385        .20326E-02    .43380E-01    .49163E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.08529
  Normalizat = 1.14366
  Prefactor  = 0.773853
 **********
 **   18 **HESSE 
 **********

 FCN=   4967.533     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      242 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    48.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0853        7.7054        .50000       -.62234    
   3  Normalizat    1.1437        .94624E-02    .25550E-03   -.88362    
   4  Prefactor     .77385        .63416E-02    .20300E-03   -1.0070    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.5155e-07
Minuit parameter uncertainties:
  1  0.000242402
  2  88.9358
  3  0.00946239
  4  0.00634163
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/998503': 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) = 4967.53271908
delta logL = 3.48466528521e-07

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  2.424e-04  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.085e+00  8.894e+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.739e-01  6.342e-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:  1.144e+00  9.462e-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/998503/cmap_HighResolution_439948801_440208001_4FGL_J2150.7-2810_daily_bin774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.14e-03', job_status='DONE', photon_flux_upper_limit='6.77e-08', time_completed='2021-09-27 19:09:51.809485', job_id='998503', GAL2='0.77', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1632794991.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='3.48e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='774' AND source_name='4FGL J2150.7-2810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:09:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 998503: <4FGL_J2150.7-2810_daily_bin774> in cluster <slac> Done

Job <4FGL_J2150.7-2810_daily_bin774> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Mon Sep 27 19:00:33 2021
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 19:00:42 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:00:42 2021
Terminated at Mon Sep 27 19:09:52 2021
Results reported at Mon Sep 27 19:09:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2150.7-2810_daily_bin774 327.698 -28.1728 439948801 440208001 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 :                                   535.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             352.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   550 sec.
    Turnaround time :                            559 sec.

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

