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


Performing analysis on: 4FGL_J2150.7-2810_daily_bin1084
RA = 327.698, Dec = -28.1728
tmin = 520300801, tmax = 520560001
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='999953', job_status='RUN', time_executed='2021-09-27 19:06:53.168590', time_epoch_executed='1632794813.17' WHERE source_name='4FGL J2150.7-2810' and cadence='daily' and bin_id='1084'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/999953

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/999953/ft1_4FGL_J2150.7-2810_daily_bin1084.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/999953/ft2_4FGL_J2150.7-2810_daily_bin1084.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/999953/ft1_4FGL_J2150.7-2810_daily_bin1084.fits outfile=/scratch/kocevski/999953/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin1084.fits ra=327.698 dec=-28.1728 rad=12.0 tmin=520300801.0 tmax=520560001.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 6.24
user 5.92
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/999953/ft1_filtered_4FGL_J2150.7-2810_daily_bin1084.fits" evtable="EVENTS" scfile=/scratch/kocevski/999953/ft2_4FGL_J2150.7-2810_daily_bin1084.fits sctable="SC_DATA" outfile=/scratch/kocevski/999953/ltcube_520300801_520560001_4FGL_J2150.7-2810_daily_bin1084.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/999953/ft2_4FGL_J2150.7-2810_daily_bin1084.fits
.....................!
real 17.23
user 16.83
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/999953/ft1_filtered_4FGL_J2150.7-2810_daily_bin1084.fits evtable="EVENTS" scfile=/scratch/kocevski/999953/ft2_4FGL_J2150.7-2810_daily_bin1084.fits sctable="SC_DATA" expcube=/scratch/kocevski/999953/ltcube_520300801_520560001_4FGL_J2150.7-2810_daily_bin1084.fits outfile=/scratch/kocevski/999953/expmap_520300801_520560001_4FGL_J2150.7-2810_daily_bin1084.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/999953/ltcube_520300801_520560001_4FGL_J2150.7-2810_daily_bin1084.fits
.....................!
real 192.41
user 186.91
sys 5.03

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/999953/ft1_filtered_4FGL_J2150.7-2810_daily_bin1084.fits scfile=/scratch/kocevski/999953/ft2_4FGL_J2150.7-2810_daily_bin1084.fits outfile=/scratch/kocevski/999953/cmap_520300801_520560001_4FGL_J2150.7-2810_daily_bin1084.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/999953/ft1_filtered_4FGL_J2150.7-2810_daily_bin1084.fits scfile=/scratch/kocevski/999953/ft2_4FGL_J2150.7-2810_daily_bin1084.fits outfile=/scratch/kocevski/999953/cmap_HighResolution_520300801_520560001_4FGL_J2150.7-2810_daily_bin1084.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/999953/ft1_filtered_4FGL_J2150.7-2810_daily_bin1084.fits evtable="EVENTS" scfile=/scratch/kocevski/999953/ft2_4FGL_J2150.7-2810_daily_bin1084.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/999953/Model_4FGL_J2150.7-2810_daily_bin1084.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/999953/ft1_filtered_4FGL_J2150.7-2810_daily_bin1084.fits.....................!
real 98.76
user 96.54
sys 1.43

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.243       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .53266       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.9870       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.5861       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.3346       1.0000         .10000E-03   10000.    
     8 'norm      '    .54884       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.3187       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.4428       1.0000         .10000E-03   10000.    
    12 'norm      '    1.6831       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.1352       1.0000         .10000E-03   10000.    
    16 'norm      '    3.5822       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .26316       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0882       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .89025       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.

 FCN=   12310.27     FROM MIGRAD    STATUS=CONVERGED    415 CALLS     1784 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.242        10.828         .0000        .29799E-03
   2  Prefactor     .52847        1.7390         .0000        .84246E-03
   3  norm          .10000E-03    1.1070         .0000    ** at limit **
   4  Prefactor     2.9869        2.2884         .0000       -.19449E-03
   5  Prefactor     3.5857        5.2201         .0000        .15501E-01
   6  Prefactor     .10000E-03    3.5355         .0000    ** at limit **
   7  Prefactor     2.3342        5.4869         .0000        .17238E-01
   8  norm          .54829        1.7219         .0000        .18553E-02
   9  Prefactor     3.3149        8.7445         .0000        .45232E-02
  10  Prefactor     .10000E-03    18.920         .0000    ** at limit **
  11  norm          6.4414        4.2048         .0000        .16570E-01
  12  norm          1.6831        .36380         .0000        .39673E-04
  13  Prefactor     .10000E-03    8.3029         .0000    ** at limit **
  14  Prefactor     .10000E-03    3.7748         .0000    ** at limit **
  15  Prefactor     5.1346        5.2989         .0000        .36610E-02
  16  norm          3.5766        11.082         .0000        .56816E-03
  17  Prefactor     .10000E-03    10.394         .0000    ** at limit **
  18  norm          .26247        3.0410         .0000        .45581E-02
  19  Normalizat    1.0883        .13581         .0000        .17854E-04
  20  Prefactor     .89022        .87509E-01     .0000        .48109E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2424
  Prefactor  = 0.528474
  norm       = 0.0001
  Prefactor  = 2.98691
  Prefactor  = 3.58568
  Prefactor  = 0.0001
  Prefactor  = 2.33416
  norm       = 0.548289
  Prefactor  = 3.31487
  Prefactor  = 0.0001
  norm       = 6.44138
  norm       = 1.6831
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.13465
  norm       = 3.57661
  Prefactor  = 0.0001
  norm       = 0.262467
  Normalizat = 1.08827
  Prefactor  = 0.89022
 **********
 **   18 **HESSE 
 **********

 FCN=   12310.27     FROM HESSE     STATUS=OK           303 CALLS     2087 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.242        10.828        .12520E-03   -1.5068    
   2  Prefactor     .52847        5.9467        .24967E-02   -1.5563    
   3  norm          .10000E-03    1.1080        .11401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.9869        2.2909        .14311E-03   -1.5362    
   5  Prefactor     3.5857        5.1788        .10670E-02   -1.5329    
   6  Prefactor     .10000E-03    3.5920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.3342        5.4446        .13419E-02   -1.5402    
   8  norm          .54829        2.0182        .24852E-02   -1.5560    
   9  Prefactor     3.3149        8.7101        .11110E-02   -1.5344    
  10  Prefactor     .10000E-03    18.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.4414        4.2246        .79059E-03   -1.5200    
  12  norm          1.6831        .36569        .28152E-04   -1.5448    
  13  Prefactor     .10000E-03    8.5259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.7795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.1346        5.3132        .88707E-03   -1.5255    
  16  norm          3.5766        11.035        .21352E-03   -1.5330    
  17  Prefactor     .10000E-03    10.462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .26247        3.1230        .37383E-03   -1.5606    
  19  Normalizat    1.0883        .15878        .27263E-03   -.90129    
  20  Prefactor     .89022        .10289        .19794E-03   -.96484    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.06505e-08
Minuit parameter uncertainties:
  1  10.8299
  2  3.54561
  3  4.07347e-07
  4  2.29097
  5  5.17944
  6  3.11539e-06
  7  5.44572
  8  2.01845
  9  8.71342
  10  2.7586e-05
  11  4.22481
  12  0.365695
  13  2.02829e-07
  14  3.07346e-06
  15  5.31369
  16  11.0408
  17  6.02885e-06
  18  1.8105
  19  0.158851
  20  0.102915
Done.

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

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  3.315e+00  8.713e+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

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  8.902e-01  1.029e-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.088e+00  1.589e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/999953/likelihoodResults_520300801_520560001_4FGL_J2150.7-2810_daily_bin1084.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): 0
logL (Free Index) = 12310.2553088
delta logL = 0.0103215187464

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12310.2495289
delta logL = 0.0161014858968

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3313       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4258       1.0000          .0000       10.000    
     3 'Normalizat'    1.0858       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89101       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.

 FCN=   12310.25     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      256 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3397        19.403        .13429E-02    .51705E-03
   2  Index         2.4241        2.3192        .91497E-02    .22387E-03
   3  Normalizat    1.0858        .15261        .27289E-03    .37661E-04
   4  Prefactor     .89099        .10100        .19785E-03    .29190E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.33975
  Index      = 2.42407
  Normalizat = 1.08581
  Prefactor  = 0.890994
 **********
 **   18 **HESSE 
 **********

 FCN=   12310.25     FROM HESSE     STATUS=OK            27 CALLS      283 TOTAL
                     EDM=   .76E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3397        8.7866        .26858E-03   -1.5402    
   2  Index         2.4241        1.5621        .18299E-02   -.54122    
   3  Normalizat    1.0858        .15212        .10916E-04   -.90209    
   4  Prefactor     .89099        .10086        .79140E-05   -.96457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.56281e-12
Minuit parameter uncertainties:
  1  8.79141
  2  1.59894
  3  0.152177
  4  0.100879
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/999953': 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) = 12310.2495281
delta logL = 0.0161022177654

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  2.340e+00  8.791e+00  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.424e+00  1.599e+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:  8.910e-01  1.009e-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.086e+00  1.522e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
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/999953/cmap_HighResolution_520300801_520560001_4FGL_J2150.7-2810_daily_bin1084.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.70e-03', job_status='DONE', photon_flux_upper_limit='4.87e-08', time_completed='2021-09-27 19:21:11.925047', job_id='999953', GAL2='0.89', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1632795671.93', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='1.61e-02', ts2='0.22', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1084' AND source_name='4FGL J2150.7-2810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:21:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 999953: <4FGL_J2150.7-2810_daily_bin1084> in cluster <slac> Done

Job <4FGL_J2150.7-2810_daily_bin1084> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Sep 27 19:05:21 2021
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 19:05:56 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:05:56 2021
Terminated at Mon Sep 27 19:21:12 2021
Results reported at Mon Sep 27 19:21:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2150.7-2810_daily_bin1084 327.698 -28.1728 520300801 520560001 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 :                                   832.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             335.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            951 sec.

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

