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


Performing analysis on: 4FGL_J2150.7-2810_daily_bin465
RA = 327.698, Dec = -28.1728
tmin = 359856001, tmax = 360115201
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='995809', job_status='RUN', time_executed='2021-09-27 18:54:58.085530', time_epoch_executed='1632794098.09' WHERE source_name='4FGL J2150.7-2810' and cadence='daily' and bin_id='465'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/995809

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/995809/ft1_4FGL_J2150.7-2810_daily_bin465.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/995809/ft2_4FGL_J2150.7-2810_daily_bin465.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/995809/ft1_4FGL_J2150.7-2810_daily_bin465.fits outfile=/scratch/kocevski/995809/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin465.fits ra=327.698 dec=-28.1728 rad=12.0 tmin=359856001.0 tmax=360115201.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.31
user 3.07
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/995809/ft1_filtered_4FGL_J2150.7-2810_daily_bin465.fits" evtable="EVENTS" scfile=/scratch/kocevski/995809/ft2_4FGL_J2150.7-2810_daily_bin465.fits sctable="SC_DATA" outfile=/scratch/kocevski/995809/ltcube_359856001_360115201_4FGL_J2150.7-2810_daily_bin465.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/995809/ft2_4FGL_J2150.7-2810_daily_bin465.fits
.....................!
real 15.86
user 15.43
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/995809/ft1_filtered_4FGL_J2150.7-2810_daily_bin465.fits evtable="EVENTS" scfile=/scratch/kocevski/995809/ft2_4FGL_J2150.7-2810_daily_bin465.fits sctable="SC_DATA" expcube=/scratch/kocevski/995809/ltcube_359856001_360115201_4FGL_J2150.7-2810_daily_bin465.fits outfile=/scratch/kocevski/995809/expmap_359856001_360115201_4FGL_J2150.7-2810_daily_bin465.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/995809/ltcube_359856001_360115201_4FGL_J2150.7-2810_daily_bin465.fits
.....................!
real 194.77
user 188.21
sys 5.68

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/995809/ft1_filtered_4FGL_J2150.7-2810_daily_bin465.fits scfile=/scratch/kocevski/995809/ft2_4FGL_J2150.7-2810_daily_bin465.fits outfile=/scratch/kocevski/995809/cmap_359856001_360115201_4FGL_J2150.7-2810_daily_bin465.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.58
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/995809/ft1_filtered_4FGL_J2150.7-2810_daily_bin465.fits scfile=/scratch/kocevski/995809/ft2_4FGL_J2150.7-2810_daily_bin465.fits outfile=/scratch/kocevski/995809/cmap_HighResolution_359856001_360115201_4FGL_J2150.7-2810_daily_bin465.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=327.698 yref=-28.1728 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/995809/ft1_filtered_4FGL_J2150.7-2810_daily_bin465.fits evtable="EVENTS" scfile=/scratch/kocevski/995809/ft2_4FGL_J2150.7-2810_daily_bin465.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/995809/Model_4FGL_J2150.7-2810_daily_bin465.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/995809/ft1_filtered_4FGL_J2150.7-2810_daily_bin465.fits.....................!
real 64.52
user 62.55
sys 1.36

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4303       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.1857       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.5290       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.599       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.9376       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .48937E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.527       1.0000         .10000E-03   10000.    
    11 'norm      '    2.1441       1.0000         .10000E-03   10000.    
    12 'norm      '    .22649       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .52294       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.2349       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.2370       1.0000         .10000E-03   10000.    
    16 'norm      '    11.945       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.3725       1.0000         .10000E-03   10000.    
    18 'norm      '    .10284E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .73417       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1196       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8176.968     FROM MIGRAD    STATUS=CONVERGED     83 CALLS     1778 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4279        1.1476        .16722E-05   -.33451E-03
   2  Prefactor     3.1856        4.5962        .83159E-05    .11860E-02
   3  norm          .10000E-03    1.8326       -.95215E-06** at limit **
   4  Prefactor     4.5299        4.1353        .22167E-06   -.65289E-04
   5  Prefactor     .10000E-03    6.6133        .39794E-06** at limit **
   6  Prefactor     12.611        8.1110        .72777E-05    .12882E-02
   7  Prefactor     .10000E-03    5.5150        .38571E-05** at limit **
   8  norm          6.9408        1.8763        .24134E-05    .28393E-02
   9  Prefactor     .10020E-03    202.28       -.97308E-05** at limit **
  10  Prefactor     26.510        7.4222        .72961E-05   -.14680E-01
  11  norm          2.1477        3.2200       -.14450E-05    .99096E-04
  12  norm          .22645        .16375       -.11970E-06   -.30588E-03
  13  Prefactor     .52370        1.0873       -.42533E-05   -.32231E-03
  14  Prefactor     1.2236        33.484        .42597E-04    .12694E-02
  15  Prefactor     7.2387        1.6447        .23512E-05    .41691E-03
  16  norm          11.944        1.3723       -.10468E-05   -.56215E-03
  17  Prefactor     3.3732        3.4515        .79537E-05    .32569E-02
  18  norm          .10000E-03    7.2921        .28506E-05** at limit **
  19  Normalizat    .73416        .18233       -.14440E-04    .80969E-04
  20  Prefactor     1.1196        .12888        .25961E-05    .18623E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.42791
  Prefactor  = 3.18563
  norm       = 0.0001
  Prefactor  = 4.5299
  Prefactor  = 0.000100001
  Prefactor  = 12.611
  Prefactor  = 0.0001
  norm       = 6.94077
  Prefactor  = 0.000100201
  Prefactor  = 26.5099
  norm       = 2.14775
  norm       = 0.226451
  Prefactor  = 0.523703
  Prefactor  = 1.22362
  Prefactor  = 7.23867
  norm       = 11.9442
  Prefactor  = 3.37316
  norm       = 0.000100001
  Normalizat = 0.73416
  Prefactor  = 1.1196
 **********
 **   18 **HESSE 
 **********

 FCN=   8176.968     FROM HESSE     STATUS=OK           363 CALLS     2141 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4279        40.368        .90306E-02   -1.5469    
   2  Prefactor     3.1856        4.6458        .56759E-02   -1.5351    
   3  norm          .10000E-03    1.8328        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.5299        4.1455        .47293E-02   -1.5282    
   5  Prefactor     .10000E-03    6.4101        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.611        9.0723        .28213E-02   -1.4998    
   7  Prefactor     .10000E-03    5.3065        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.9408        6.5503        .38079E-02   -1.5181    
   9  Prefactor     .10020E-03    23.103        .10691       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     26.510        53.793        .19445E-02   -1.4678    
  11  norm          2.1477        3.4125        .70363E-02   -1.5415    
  12  norm          .22645        .15922        .67018E-02   -1.5613    
  13  Prefactor     .52370        4.6414        .60052E-01   -1.5563    
  14  Prefactor     1.2236        36.224        .10104E-01   -1.5487    
  15  Prefactor     7.2387        7.2318        .37276E-02   -1.5170    
  16  norm          11.944        11.584        .28977E-02   -1.5017    
  17  Prefactor     3.3732        7.5506        .55086E-02   -1.5341    
  18  norm          .10000E-03    1.3535        .56473E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .73416        .16664        .67698E-01   -1.0256    
  20  Prefactor     1.1196        .11338        .36886E-01   -.88842    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47545e-06
Minuit parameter uncertainties:
  1  15.1953
  2  4.64636
  3  5.87372e-06
  4  4.14573
  5  0.000148442
  6  9.07329
  7  9.67514e-06
  8  6.55097
  9  0.00431495
  10  53.8914
  11  3.41283
  12  0.159216
  13  3.11819
  14  13.3237
  15  7.23269
  16  11.5865
  17  7.55269
  18  7.14153e-05
  19  0.166751
  20  0.113408
Done.

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

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.002e-04  4.315e-03  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.120e+00  1.134e-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.342e-01  1.668e-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.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/995809/likelihoodResults_359856001_360115201_4FGL_J2150.7-2810_daily_bin465.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) = 8176.96763425
delta logL = -2.36027835854e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8176.96763425
delta logL = -2.35962688748e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96357E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1577       1.0000          .0000       10.000    
     3 'Normalizat'    .73415       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1196       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8176.951     FROM MIGRAD    STATUS=FAILED       160 CALLS      326 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .68380        847.32        .18143E-02    .18525E-02
   2  Index         2.7832        8.4986        .23825E-01    .11146E-02
   3  Normalizat    .72876        .81814E-01    .30051E-03   -.49558E-05
   4  Prefactor     1.1207        .61716E-01    .18132E-03    .67040E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8176.951     FROM SIMPLEX   STATUS=UNCHANGED    104 CALLS      430 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .68380        847.32        .37771E-03    .18525E-02
   2  Index         2.7832        8.4986        .31547E-02    .11146E-02
   3  Normalizat    .72876        .81814E-01    .84657E-04   -.49558E-05
   4  Prefactor     1.1207        .61716E-01    .17600E-04    .67040E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8176.951     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      464 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .68382        40.083        .36285E-03   -.20804E-04
   2  Index         2.7832        3.7556        .47650E-02    .41492E-04
   3  Normalizat    .72876        .17536        .12021E-04   -.24590E-05
   4  Prefactor     1.1207        .12806        .36263E-04    .70915E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.683816
  Index      = 2.78317
  Normalizat = 0.728764
  Prefactor  = 1.12068
 **********
 **   18 **HESSE 
 **********

 FCN=   8176.951     FROM HESSE     STATUS=OK            25 CALLS      489 TOTAL
                     EDM=   .98E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .68382        15.351        .14514E-04   -1.5543    
   2  Index         2.7832        2.5850        .95300E-03   -.45935    
   3  Normalizat    .72876        .17536        .24041E-05   -1.0277    
   4  Prefactor     1.1207        .12792        .72526E-05   -.88808    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.79814e-12
Minuit parameter uncertainties:
  1  6.48132
  2  2.75532
  3  0.175499
  4  0.127956
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/995809': 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) = 8176.95075883
delta logL = 0.016851818219

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  6.838e-01  6.481e+00  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.783e+00  2.755e+00  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.121e+00  1.280e-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.288e-01  1.755e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/995809/cmap_HighResolution_359856001_360115201_4FGL_J2150.7-2810_daily_bin465.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.96e-03', job_status='DONE', photon_flux_upper_limit='6.54e-08', time_completed='2021-09-27 19:05:56.012915', job_id='995809', GAL2='1.12', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1632794756.01', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.69e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='465' AND source_name='4FGL J2150.7-2810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:05:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 995809: <4FGL_J2150.7-2810_daily_bin465> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2150.7-2810_daily_bin465 327.698 -28.1728 359856001 360115201 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 :                                   656.40 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             281.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            915 sec.

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

