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


Performing analysis on: 4FGL_J2150.7-2810_daily_bin1005
RA = 327.698, Dec = -28.1728
tmin = 499824001, tmax = 500083201
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='998878', job_status='RUN', time_executed='2021-09-27 19:01:56.110255', time_epoch_executed='1632794516.11' WHERE source_name='4FGL J2150.7-2810' and cadence='daily' and bin_id='1005'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/998878

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/998878/ft1_4FGL_J2150.7-2810_daily_bin1005.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/998878/ft2_4FGL_J2150.7-2810_daily_bin1005.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/998878/ft1_4FGL_J2150.7-2810_daily_bin1005.fits outfile=/scratch/kocevski/998878/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin1005.fits ra=327.698 dec=-28.1728 rad=12.0 tmin=499824001.0 tmax=500083201.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 5.32
user 5.02
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/998878/ft1_filtered_4FGL_J2150.7-2810_daily_bin1005.fits" evtable="EVENTS" scfile=/scratch/kocevski/998878/ft2_4FGL_J2150.7-2810_daily_bin1005.fits sctable="SC_DATA" outfile=/scratch/kocevski/998878/ltcube_499824001_500083201_4FGL_J2150.7-2810_daily_bin1005.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/998878/ft2_4FGL_J2150.7-2810_daily_bin1005.fits
.....................!
real 14.91
user 14.44
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/998878/ft1_filtered_4FGL_J2150.7-2810_daily_bin1005.fits evtable="EVENTS" scfile=/scratch/kocevski/998878/ft2_4FGL_J2150.7-2810_daily_bin1005.fits sctable="SC_DATA" expcube=/scratch/kocevski/998878/ltcube_499824001_500083201_4FGL_J2150.7-2810_daily_bin1005.fits outfile=/scratch/kocevski/998878/expmap_499824001_500083201_4FGL_J2150.7-2810_daily_bin1005.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/998878/ltcube_499824001_500083201_4FGL_J2150.7-2810_daily_bin1005.fits
.....................!
real 191.87
user 186.08
sys 5.35

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/998878/ft1_filtered_4FGL_J2150.7-2810_daily_bin1005.fits scfile=/scratch/kocevski/998878/ft2_4FGL_J2150.7-2810_daily_bin1005.fits outfile=/scratch/kocevski/998878/cmap_499824001_500083201_4FGL_J2150.7-2810_daily_bin1005.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.59
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/998878/ft1_filtered_4FGL_J2150.7-2810_daily_bin1005.fits scfile=/scratch/kocevski/998878/ft2_4FGL_J2150.7-2810_daily_bin1005.fits outfile=/scratch/kocevski/998878/cmap_HighResolution_499824001_500083201_4FGL_J2150.7-2810_daily_bin1005.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.57
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.403       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.5699       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    32.550       1.0000         .10000E-03   10000.    
     8 'norm      '    13.496       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    11.143       1.0000         .10000E-03   10000.    
    12 'norm      '    .35708E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .23216E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    61.227       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    31.068       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .26673       1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.6250       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .69122       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=   7301.848     FROM MIGRAD    STATUS=CONVERGED    443 CALLS     1868 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.403        17.051        .49302E-06    .57581E-05
   2  Prefactor     .10000E-03    2.5514        .21036E-06** at limit **
   3  norm          .10000E-03    3.8478        .35704E-07** at limit **
   4  Prefactor     .10000E-03    1.8473       -.46247E-07** at limit **
   5  Prefactor     2.5697        1.4943        .64540E-07   -.69561E-03
   6  Prefactor     .10000E-03    3.0865        .59575E-07** at limit **
   7  Prefactor     32.549        15.711        .24048E-06    .68047E-05
   8  norm          13.496        8.5490       -.11018E-07    .74618E-05
   9  Prefactor     .10000E-03    12.975       -.12845E-05** at limit **
  10  Prefactor     .10000E-03    23.634       -.94652E-06** at limit **
  11  norm          11.144        7.1441        .67607E-07    .33016E-04
  12  norm          .35357E-01    .23593       -.14488E-07   -.19062E-03
  13  Prefactor     .10000E-03    7.5391        .50711E-06** at limit **
  14  Prefactor     61.217        30.371       -.25229E-05   -.38447E-04
  15  Prefactor     .10000E-03    15.595        .20178E-06** at limit **
  16  norm          31.066        26.596       -.14440E-05   -.30558E-05
  17  Prefactor     .31323        11.102       -.19836E-06    .75508E-04
  18  norm          .10000E-03    2.5026        .39387E-06** at limit **
  19  Normalizat    1.6252        .21892        .12759E-05   -.10479E-03
  20  Prefactor     .69110        .12446       -.71099E-06    .34740E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.4029
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.56968
  Prefactor  = 0.0001
  Prefactor  = 32.5492
  norm       = 13.4956
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.1444
  norm       = 0.0353566
  Prefactor  = 0.0001
  Prefactor  = 61.2174
  Prefactor  = 0.0001
  norm       = 31.0656
  Prefactor  = 0.31323
  norm       = 0.0001
  Normalizat = 1.62518
  Prefactor  = 0.691099
 **********
 **   18 **HESSE 
 **********

 FCN=   7301.848     FROM HESSE     STATUS=OK           293 CALLS     2161 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.403        17.073        .73887E-04   -1.4623    
   2  Prefactor     .10000E-03    2.5900        .13315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    3.9220        .16368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.8528        .11342E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.5697        5.1039        .12731E-02   -1.5387    
   6  Prefactor     .10000E-03    3.0881        .14661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     32.549        15.868        .70234E-04   -1.4566    
   8  norm          13.496        8.5480        .10903E-03   -1.4973    
   9  Prefactor     .10000E-03    13.054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    23.647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.144        7.0261        .12002E-03   -1.5040    
  12  norm          .35357E-01    .50480        .74811E-03   -1.5670    
  13  Prefactor     .10000E-03    40.654        .44359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     61.217        30.372        .51279E-04   -1.4142    
  15  Prefactor     .10000E-03    15.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          31.066        26.579        .71885E-04   -1.4593    
  17  Prefactor     .31323        161.77        .55156E-02   -1.5596    
  18  norm          .10000E-03    2.5192        .13211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.6252        .25041        .27260E-03   -.74319    
  20  Prefactor     .69110        .14378        .23807E-03   -1.0388    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.06427e-08
Minuit parameter uncertainties:
  1  17.0757
  2  3.14185e-06
  3  1.38065e-07
  4  9.25927e-07
  5  5.10474
  6  6.2846e-07
  7  15.8703
  8  8.54873
  9  8.9946e-07
  10  1.99638e-06
  11  7.02667
  12  0.266819
  13  0.00012539
  14  30.3793
  15  1.71843e-05
  16  26.5893
  17  14.2733
  18  2.41595e-06
  19  0.250608
  20  0.143859
Done.

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

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  8.995e-07  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:  6.911e-01  1.439e-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.625e+00  2.506e-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.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/998878/likelihoodResults_499824001_500083201_4FGL_J2150.7-2810_daily_bin1005.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) = 7301.84846838
delta logL = -0.000364955434634

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7301.848105
delta logL = -1.58180409926e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13029E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1295       1.0000          .0000       10.000    
     3 'Normalizat'    1.6249       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69124       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=   7301.848     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      207 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.3207        .90712E-02** at limit **
   2  Index         2.1047        5.9322        .50000        .14083E-04
   3  Normalizat    1.6252        .30167E-02    .61641E-01    .36210E-04
   4  Prefactor     .69110        .18169E-02    .42285E-01    .55282E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.10473
  Normalizat = 1.62518
  Prefactor  = 0.691098
 **********
 **   18 **HESSE 
 **********

 FCN=   7301.848     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      238 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    50.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1047        5.7928        .50000       -.61757    
   3  Normalizat    1.6252        .10268E-01    .27260E-03   -.74319    
   4  Prefactor     .69110        .61844E-02    .23807E-03   -1.0388    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.14522e-07
Minuit parameter uncertainties:
  1  0.000620453
  2  104.464
  3  0.010268
  4  0.0061844
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/998878': 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) = 7301.84810322
delta logL = 1.9966137188e-07

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  6.205e-04  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.105e+00  1.045e+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:  6.911e-01  6.184e-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.625e+00  1.027e-02  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/998878/cmap_HighResolution_499824001_500083201_4FGL_J2150.7-2810_daily_bin1005.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.76e-03', job_status='DONE', photon_flux_upper_limit='6.27e-08', time_completed='2021-09-27 19:12:21.939354', job_id='998878', GAL2='0.69', fit_tolerance='1e-08', EG2='1.63', EG='1.63', time_epoch_completed='1632795141.94', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='2.00e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1005' AND source_name='4FGL J2150.7-2810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:12:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 998878: <4FGL_J2150.7-2810_daily_bin1005> in cluster <slac> Done

Job <4FGL_J2150.7-2810_daily_bin1005> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Mon Sep 27 19:01:10 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 19:01:35 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:01:35 2021
Terminated at Mon Sep 27 19:12:22 2021
Results reported at Mon Sep 27 19:12:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2150.7-2810_daily_bin1005 327.698 -28.1728 499824001 500083201 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 :                                   607.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   647 sec.
    Turnaround time :                            672 sec.

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

