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


Performing analysis on: 4FGL_J2150.7-2810_daily_bin1332
RA = 327.698, Dec = -28.1728
tmin = 584582401, tmax = 584841601
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='350', job_status='RUN', time_executed='2021-09-27 19:08:34.256204', time_epoch_executed='1632794914.26' WHERE source_name='4FGL J2150.7-2810' and cadence='daily' and bin_id='1332'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/350

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/350/ft1_4FGL_J2150.7-2810_daily_bin1332.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/350/ft2_4FGL_J2150.7-2810_daily_bin1332.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/350/ft1_4FGL_J2150.7-2810_daily_bin1332.fits outfile=/scratch/kocevski/350/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin1332.fits ra=327.698 dec=-28.1728 rad=12.0 tmin=584582401.0 tmax=584841601.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 2.97
user 2.74
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/350/ft1_filtered_4FGL_J2150.7-2810_daily_bin1332.fits" evtable="EVENTS" scfile=/scratch/kocevski/350/ft2_4FGL_J2150.7-2810_daily_bin1332.fits sctable="SC_DATA" outfile=/scratch/kocevski/350/ltcube_584582401_584841601_4FGL_J2150.7-2810_daily_bin1332.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/350/ft2_4FGL_J2150.7-2810_daily_bin1332.fits
.....................!
real 20.56
user 20.13
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/350/ft1_filtered_4FGL_J2150.7-2810_daily_bin1332.fits evtable="EVENTS" scfile=/scratch/kocevski/350/ft2_4FGL_J2150.7-2810_daily_bin1332.fits sctable="SC_DATA" expcube=/scratch/kocevski/350/ltcube_584582401_584841601_4FGL_J2150.7-2810_daily_bin1332.fits outfile=/scratch/kocevski/350/expmap_584582401_584841601_4FGL_J2150.7-2810_daily_bin1332.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/350/ltcube_584582401_584841601_4FGL_J2150.7-2810_daily_bin1332.fits
.....................!
real 195.29
user 189.37
sys 5.39

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/350/ft1_filtered_4FGL_J2150.7-2810_daily_bin1332.fits scfile=/scratch/kocevski/350/ft2_4FGL_J2150.7-2810_daily_bin1332.fits outfile=/scratch/kocevski/350/cmap_584582401_584841601_4FGL_J2150.7-2810_daily_bin1332.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.62
user 0.45
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/350/ft1_filtered_4FGL_J2150.7-2810_daily_bin1332.fits scfile=/scratch/kocevski/350/ft2_4FGL_J2150.7-2810_daily_bin1332.fits outfile=/scratch/kocevski/350/cmap_HighResolution_584582401_584841601_4FGL_J2150.7-2810_daily_bin1332.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.60
user 0.43
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/350/ft1_filtered_4FGL_J2150.7-2810_daily_bin1332.fits evtable="EVENTS" scfile=/scratch/kocevski/350/ft2_4FGL_J2150.7-2810_daily_bin1332.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/350/Model_4FGL_J2150.7-2810_daily_bin1332.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/350/ft1_filtered_4FGL_J2150.7-2810_daily_bin1332.fits....................!
real 23.72
user 22.19
sys 1.47

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10866E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    167.03       1.0000         .10000E-03   10000.    
     3 'norm      '    20.851       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.1667       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10748E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    29.737       1.0000         .10000E-03   10000.    
    12 'norm      '    .21413       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.9887       1.0000         .10000E-03   10000.    
    18 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .69133       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0335       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=   1456.011     FROM MIGRAD    STATUS=CONVERGED    404 CALLS     2017 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    313.54       -.26390E-03** at limit **
   2  Prefactor     167.01        91.303       -.13026E-04    .24414E-04
   3  norm          20.849        24.447        .10516E-05   -.23555E-05
   4  Prefactor     9.1411        24.078        .21686E-04   -.24960E-04
   5  Prefactor     .10000E-03    16.391        .10067E-04** at limit **
   6  Prefactor     .10000E-03    14.909       -.26231E-06** at limit **
   7  Prefactor     .10000E-03    27.825        .67383E-05** at limit **
   8  norm          .10000E-03    14.602       -.48506E-05** at limit **
   9  Prefactor     .10000E-03    28.833        .39541E-05** at limit **
  10  Prefactor     .10000E-03    213.52        .13721E-03** at limit **
  11  norm          29.715        19.249        .68824E-05   -.12631E-03
  12  norm          .21398        .64235       -.99132E-06   -.26247E-02
  13  Prefactor     .10000E-03    13.715        .46005E-05** at limit **
  14  Prefactor     .10000E-03    13.946       -.41391E-05** at limit **
  15  Prefactor     .10000E-03    18.951       -.98360E-05** at limit **
  16  norm          .10000E-03    39.667       -.11933E-04** at limit **
  17  Prefactor     4.9941        25.527       -.62994E-05   -.27286E-04
  18  norm          .10000E-03    5.4661        .27714E-06** at limit **
  19  Normalizat    .69075        .36966        .26182E-06   -.98893E-05
  20  Prefactor     1.0339        .29649       -.37037E-05    .72317E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 167.011
  norm       = 20.8487
  Prefactor  = 9.14113
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 29.7154
  norm       = 0.213984
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.99412
  norm       = 0.0001
  Normalizat = 0.690748
  Prefactor  = 1.03392
 **********
 **   18 **HESSE 
 **********

 FCN=   1456.011     FROM HESSE     STATUS=OK           285 CALLS     2302 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    313.34        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     167.01        91.299        .15606E-03   -1.3116    
   3  norm          20.849        24.454        .87716E-04   -1.4794    
   4  Prefactor     9.1411        24.211        .13237E-03   -1.5103    
   5  Prefactor     .10000E-03    16.390        .15092E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.911        .14394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    27.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    14.617        .14246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    28.837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    212.94        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          29.715        18.859        .73471E-04   -1.4617    
  12  norm          .21398        .57701        .47977E-03   -1.5615    
  13  Prefactor     .10000E-03    13.749        .13802E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.952        .13920E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    19.035        .16217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    39.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.9941        25.514        .18005E-03   -1.5261    
  18  norm          .10000E-03    5.6414        .17395E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .69075        .42937        .30511E-03   -1.0426    
  20  Prefactor     1.0339        .34679        .20568E-03   -.91607    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18842e-09
Minuit parameter uncertainties:
  1  0.000350759
  2  91.3768
  3  24.4654
  4  24.2373
  5  1.27856e-05
  6  3.90518e-05
  7  2.29775e-06
  8  5.70826e-05
  9  0.000151963
  10  0.00165139
  11  18.863
  12  0.57702
  13  2.13721e-05
  14  1.83881e-06
  15  9.4698e-07
  16  0.000182378
  17  22.5913
  18  6.75161e-05
  19  0.431482
  20  0.347544
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  1.034e+00  3.475e-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:  6.907e-01  4.315e-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: 2.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.56e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/350/likelihoodResults_584582401_584841601_4FGL_J2150.7-2810_daily_bin1332.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) = 1456.01163877
delta logL = -0.000164584174627

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1456.01147542
delta logL = -1.23603945212e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5320       1.0000          .0000       10.000    
     3 'Normalizat'    .69075       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0339       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1456.011     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      271 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10902E-03    .82449        .15714E-01** at limit **
   2  Index         2.3793        6.7545        .50000        .16030E-04
   3  Normalizat    .69075        .18180E-02    .30511E-03   -.10130E-03
   4  Prefactor     1.0339        .14850E-02    .20568E-03   -.12598E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000109022
  Index      = 2.37929
  Normalizat = 0.69075
  Prefactor  = 1.03391
 **********
 **   18 **HESSE 
 **********

 FCN=   1456.011     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      300 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10902E-03    80.524        .17106E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3793        5.9940        .50000       -.55171    
   3  Normalizat    .69075        .18021E-01    .12204E-04   -1.0426    
   4  Prefactor     1.0339        .14720E-01    .41136E-04   -.91607    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.8359e-08
Minuit parameter uncertainties:
  1  0.053979
  2  380.602
  3  0.0180214
  4  0.0147196
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/350': 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) = 1456.01147503
delta logL = -8.44316218718e-07

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.090e-04  5.398e-02  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.379e+00  3.806e+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:  1.034e+00  1.472e-02  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:  6.907e-01  1.802e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/350/cmap_HighResolution_584582401_584841601_4FGL_J2150.7-2810_daily_bin1332.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.56e-02', job_status='DONE', photon_flux_upper_limit='2.05e-07', time_completed='2021-09-27 19:15:06.123797', job_id='350', GAL2='1.03', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1632795306.12', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='-8.44e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1332' AND source_name='4FGL J2150.7-2810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:15:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 350: <4FGL_J2150.7-2810_daily_bin1332> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2150.7-2810_daily_bin1332 327.698 -28.1728 584582401 584841601 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 :                                   387.59 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             246.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   419 sec.
    Turnaround time :                            552 sec.

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

