/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 76 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_bin1365
RA = 327.698, Dec = -28.1728
tmin = 593136001, tmax = 593395201
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='398', job_status='RUN', time_executed='2021-09-27 19:09:54.067996', time_epoch_executed='1632794994.07' WHERE source_name='4FGL J2150.7-2810' and cadence='daily' and bin_id='1365'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/398

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/398/ft1_4FGL_J2150.7-2810_daily_bin1365.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/398/ft2_4FGL_J2150.7-2810_daily_bin1365.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/398/ft1_4FGL_J2150.7-2810_daily_bin1365.fits outfile=/scratch/kocevski/398/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin1365.fits ra=327.698 dec=-28.1728 rad=12.0 tmin=593136001.0 tmax=593395201.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.23
user 4.95
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/398/ft1_filtered_4FGL_J2150.7-2810_daily_bin1365.fits" evtable="EVENTS" scfile=/scratch/kocevski/398/ft2_4FGL_J2150.7-2810_daily_bin1365.fits sctable="SC_DATA" outfile=/scratch/kocevski/398/ltcube_593136001_593395201_4FGL_J2150.7-2810_daily_bin1365.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/398/ft2_4FGL_J2150.7-2810_daily_bin1365.fits
.....................!
real 15.18
user 14.82
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/398/ft1_filtered_4FGL_J2150.7-2810_daily_bin1365.fits evtable="EVENTS" scfile=/scratch/kocevski/398/ft2_4FGL_J2150.7-2810_daily_bin1365.fits sctable="SC_DATA" expcube=/scratch/kocevski/398/ltcube_593136001_593395201_4FGL_J2150.7-2810_daily_bin1365.fits outfile=/scratch/kocevski/398/expmap_593136001_593395201_4FGL_J2150.7-2810_daily_bin1365.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/398/ltcube_593136001_593395201_4FGL_J2150.7-2810_daily_bin1365.fits
.....................!
real 192.64
user 187.49
sys 4.72

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/398/ft1_filtered_4FGL_J2150.7-2810_daily_bin1365.fits scfile=/scratch/kocevski/398/ft2_4FGL_J2150.7-2810_daily_bin1365.fits outfile=/scratch/kocevski/398/cmap_593136001_593395201_4FGL_J2150.7-2810_daily_bin1365.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.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/398/ft1_filtered_4FGL_J2150.7-2810_daily_bin1365.fits scfile=/scratch/kocevski/398/ft2_4FGL_J2150.7-2810_daily_bin1365.fits outfile=/scratch/kocevski/398/cmap_HighResolution_593136001_593395201_4FGL_J2150.7-2810_daily_bin1365.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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/398/ft1_filtered_4FGL_J2150.7-2810_daily_bin1365.fits evtable="EVENTS" scfile=/scratch/kocevski/398/ft2_4FGL_J2150.7-2810_daily_bin1365.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/398/Model_4FGL_J2150.7-2810_daily_bin1365.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/398/ft1_filtered_4FGL_J2150.7-2810_daily_bin1365.fits.....................!
real 55.72
user 54.41
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.828       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.7153       1.0000         .10000E-03   10000.    
     3 'norm      '    6.8061       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.0219       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.4244       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.309       1.0000         .10000E-03   10000.    
     8 'norm      '    .55249E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.4415       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.1435       1.0000         .10000E-03   10000.    
    12 'norm      '    .89680       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.7774       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .22125E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    11.483       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .88166       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .89471       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=   6617.739     FROM MIGRAD    STATUS=CONVERGED    426 CALLS     2070 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.828        15.934        .24408E-02   -.26440E-03
   2  Prefactor     3.7155        6.1405        .52376E-02   -.90057E-03
   3  norm          6.8062        5.2866        .38449E-02    .55776E-03
   4  Prefactor     6.0217        8.5260        .40905E-02    .37241E-03
   5  Prefactor     .10000E-03    3.4150        .90712E-02** at limit **
   6  Prefactor     4.4236        8.2073        .47863E-02    .29807E-02
   7  Prefactor     11.310        9.4489        .29782E-02   -.53905E-03
   8  norm          .10000E-03    5.6197        .61307E-01** at limit **
   9  Prefactor     1.4324        16.568        .89817E-02    .37991E-03
  10  Prefactor     .10000E-03    44.732        .90712E-02** at limit **
  11  norm          4.1419        3.9229        .49504E-02    .48076E-03
  12  norm          .89682        .33304        .59989E-02    .15138E-03
  13  Prefactor     1.7774        5.7454        .78495E-02    .13698E-02
  14  Prefactor     .10000E-03    5.1780        .90712E-02** at limit **
  15  Prefactor     .10000E-03    4.6763        .56179E-01** at limit **
  16  norm          11.482        11.288        .29556E-02   -.72425E-03
  17  Prefactor     .10000E-03    5.2756        .90712E-02** at limit **
  18  norm          .10000E-03    1.8264        .90712E-02** at limit **
  19  Normalizat    .88183        .16346        .44667E-01    .40000E-04
  20  Prefactor     .89460        .11476        .44938E-01    .82836E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.8284
  Prefactor  = 3.71546
  norm       = 6.80623
  Prefactor  = 6.02173
  Prefactor  = 0.0001
  Prefactor  = 4.42363
  Prefactor  = 11.3103
  norm       = 0.0001
  Prefactor  = 1.43243
  Prefactor  = 0.0001
  norm       = 4.14185
  norm       = 0.896821
  Prefactor  = 1.7774
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.4821
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.881832
  Prefactor  = 0.894601
 **********
 **   18 **HESSE 
 **********

 FCN=   6617.739     FROM HESSE     STATUS=OK           307 CALLS     2377 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.828        15.955        .97633E-04   -1.4887    
   2  Prefactor     3.7155        6.1295        .20950E-03   -1.5322    
   3  norm          6.8062        5.2880        .15379E-03   -1.5186    
   4  Prefactor     6.0217        8.5141        .16362E-03   -1.5217    
   5  Prefactor     .10000E-03    3.4450        .14669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4236        8.1919        .95726E-03   -1.5287    
   7  Prefactor     11.310        9.4496        .11913E-03   -1.5035    
   8  norm          .10000E-03    16.410        .36770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.4324        16.401        .35927E-03   -1.5469    
  10  Prefactor     .10000E-03    44.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.1419        3.9115        .13993E-03   -1.5301    
  12  norm          .89682        .33331        .26531E-04   -1.5519    
  13  Prefactor     1.7774        5.7117        .31398E-03   -1.5441    
  14  Prefactor     .10000E-03    5.1909        .18078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.4709        .50509E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          11.482        11.292        .11822E-03   -1.5030    
  17  Prefactor     .10000E-03    5.2922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.8652        .10731E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .88183        .18696        .26161E-03   -.97101    
  20  Prefactor     .89460        .13220        .18775E-03   -.96330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8158e-09
Minuit parameter uncertainties:
  1  15.959
  2  6.13053
  3  5.28835
  4  8.51581
  5  3.13186e-06
  6  8.19401
  7  9.45086
  8  0.000123928
  9  9.69693
  10  0.000153578
  11  3.91175
  12  0.333311
  13  5.71347
  14  1.56898e-05
  15  3.67736e-05
  16  11.2945
  17  3.50463e-05
  18  6.02992e-06
  19  0.187095
  20  0.13225
Done.

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

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.432e+00  9.697e+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.946e-01  1.323e-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:  8.818e-01  1.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/398/likelihoodResults_593136001_593395201_4FGL_J2150.7-2810_daily_bin1365.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) = 6617.71465731
delta logL = 0.0241701616178

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6617.70758631
delta logL = 0.0312411621717

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68720       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8151       1.0000          .0000       10.000    
     3 'Normalizat'    .87733       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89584       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=   6617.708     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      229 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .68634        42.918        .12013E-01    .10149E-02
   2  Index         2.8162        1.8735        .22566       -.14206E-04
   3  Normalizat    .87731        .18511E-01    .44611E-01   -.37673E-05
   4  Prefactor     .89585        .13372E-01    .44952E-01   -.12842E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.686336
  Index      = 2.81624
  Normalizat = 0.87731
  Prefactor  = 0.895847
 **********
 **   18 **HESSE 
 **********

 FCN=   6617.708     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      260 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .68634        481.61        .23984E-03   -1.5542    
   2  Index         2.8162        8.5386        .78576E-02   -.45199    
   3  Normalizat    .87731        .19470        .26218E-03   -.97262    
   4  Prefactor     .89585        .13331        .18761E-03   -.96286    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.16418e-10
Minuit parameter uncertainties:
  1  36.6587
  2  20.0928
  3  0.19486
  4  0.133356
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/398': 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) = 6617.70758616
delta logL = 0.0312413173488

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  6.863e-01  3.666e+01  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.816e+00  2.009e+01  0.000e+00  1.000e+01 (-1.000e+00)
273        Scale:  3.319e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  8.958e-01  1.334e-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:  8.773e-01  1.949e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 327.698 -28.173

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/398/cmap_HighResolution_593136001_593395201_4FGL_J2150.7-2810_daily_bin1365.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.19e-03', job_status='DONE', photon_flux_upper_limit='5.52e-08', time_completed='2021-09-27 19:20:28.137396', job_id='398', GAL2='0.90', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1632795628.14', return_code2='102', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.12e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1365' AND source_name='4FGL J2150.7-2810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:20:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 398: <4FGL_J2150.7-2810_daily_bin1365> in cluster <slac> Done

Job <4FGL_J2150.7-2810_daily_bin1365> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Sep 27 19:06:00 2021
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 19:08:28 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:08:28 2021
Terminated at Mon Sep 27 19:20:28 2021
Results reported at Mon Sep 27 19:20:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2150.7-2810_daily_bin1365 327.698 -28.1728 593136001 593395201 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 :                                   601.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             298.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   721 sec.
    Turnaround time :                            868 sec.

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

