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


Performing analysis on: 4FGL_J2150.7-2810_daily_bin709
RA = 327.698, Dec = -28.1728
tmin = 423100801, tmax = 423360001
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='998391', job_status='RUN', time_executed='2021-09-27 19:04:13.762843', time_epoch_executed='1632794653.76' WHERE source_name='4FGL J2150.7-2810' and cadence='daily' and bin_id='709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/998391

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/998391/ft1_4FGL_J2150.7-2810_daily_bin709.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/998391/ft2_4FGL_J2150.7-2810_daily_bin709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/998391/ft1_4FGL_J2150.7-2810_daily_bin709.fits outfile=/scratch/kocevski/998391/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin709.fits ra=327.698 dec=-28.1728 rad=12.0 tmin=423100801.0 tmax=423360001.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.01
user 4.73
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/998391/ft1_filtered_4FGL_J2150.7-2810_daily_bin709.fits" evtable="EVENTS" scfile=/scratch/kocevski/998391/ft2_4FGL_J2150.7-2810_daily_bin709.fits sctable="SC_DATA" outfile=/scratch/kocevski/998391/ltcube_423100801_423360001_4FGL_J2150.7-2810_daily_bin709.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/998391/ft2_4FGL_J2150.7-2810_daily_bin709.fits
.....................!
real 15.23
user 14.85
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/998391/ft1_filtered_4FGL_J2150.7-2810_daily_bin709.fits evtable="EVENTS" scfile=/scratch/kocevski/998391/ft2_4FGL_J2150.7-2810_daily_bin709.fits sctable="SC_DATA" expcube=/scratch/kocevski/998391/ltcube_423100801_423360001_4FGL_J2150.7-2810_daily_bin709.fits outfile=/scratch/kocevski/998391/expmap_423100801_423360001_4FGL_J2150.7-2810_daily_bin709.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/998391/ltcube_423100801_423360001_4FGL_J2150.7-2810_daily_bin709.fits
.....................!
real 191.83
user 185.98
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/998391/ft1_filtered_4FGL_J2150.7-2810_daily_bin709.fits scfile=/scratch/kocevski/998391/ft2_4FGL_J2150.7-2810_daily_bin709.fits outfile=/scratch/kocevski/998391/cmap_423100801_423360001_4FGL_J2150.7-2810_daily_bin709.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 2.81
user 0.39
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/998391/ft1_filtered_4FGL_J2150.7-2810_daily_bin709.fits scfile=/scratch/kocevski/998391/ft2_4FGL_J2150.7-2810_daily_bin709.fits outfile=/scratch/kocevski/998391/cmap_HighResolution_423100801_423360001_4FGL_J2150.7-2810_daily_bin709.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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/998391/ft1_filtered_4FGL_J2150.7-2810_daily_bin709.fits evtable="EVENTS" scfile=/scratch/kocevski/998391/ft2_4FGL_J2150.7-2810_daily_bin709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/998391/Model_4FGL_J2150.7-2810_daily_bin709.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/998391/ft1_filtered_4FGL_J2150.7-2810_daily_bin709.fits.....................!
real 45.14
user 43.73
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.4151       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .47610       1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.814       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .13566E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.855       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .88246       1.0000         .10000E-03   10000.    
    12 'norm      '    3.0863       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.9204       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.428       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.6048       1.0000         .10000E-03   10000.    
    16 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    25.528       1.0000         .10000E-03   10000.    
    18 'norm      '    6.1803       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.4025       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .75725       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=   4733.923     FROM MIGRAD    STATUS=CONVERGED    414 CALLS     2061 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.5541        .65134E-07** at limit **
   2  Prefactor     8.4139        9.1160        .54385E-07   -.19695E-03
   3  norm          .10000E-03    2.5364       -.47794E-07** at limit **
   4  Prefactor     .49881        13.782       -.43193E-05    .12601E-03
   5  Prefactor     18.821        11.910       -.18227E-06   -.16866E-03
   6  Prefactor     .10000E-03    6.4141        .79997E-07** at limit **
   7  Prefactor     .10000E-03    4.8645       -.47388E-07** at limit **
   8  norm          .10003E-03    23.678       -.95933E-05** at limit **
   9  Prefactor     11.865        19.180        .13508E-05    .45089E-03
  10  Prefactor     .10000E-03    47.687       -.12627E-06** at limit **
  11  norm          .89225        4.9742        .67829E-06    .53505E-04
  12  norm          3.0862        .71462       -.99106E-07   -.30212E-02
  13  Prefactor     7.9209        9.3679       -.58766E-08   -.81895E-04
  14  Prefactor     11.429        23.055        .11155E-05    .14551E-03
  15  Prefactor     3.6067        10.515        .11546E-05    .59239E-04
  16  norm          .10001E-03    23.437        .18262E-05** at limit **
  17  Prefactor     25.530        22.468        .11738E-05    .33969E-03
  18  norm          6.1804        4.1681       -.53595E-06   -.17827E-02
  19  Normalizat    1.4023        .25554       -.20259E-05   -.21500E-03
  20  Prefactor     .75744        .15944        .13694E-06   -.24737E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.41392
  norm       = 0.0001
  Prefactor  = 0.498811
  Prefactor  = 18.8207
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100026
  Prefactor  = 11.8648
  Prefactor  = 0.000100001
  norm       = 0.892252
  norm       = 3.08623
  Prefactor  = 7.92092
  Prefactor  = 11.4288
  Prefactor  = 3.60668
  norm       = 0.000100008
  Prefactor  = 25.5303
  norm       = 6.18044
  Normalizat = 1.40229
  Prefactor  = 0.757439
 **********
 **   18 **HESSE 
 **********

 FCN=   4733.923     FROM HESSE     STATUS=OK           291 CALLS     2352 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.5632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.4139        9.1369        .13819E-03   -1.5128    
   3  norm          .10000E-03    2.5369        .10703E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .49881        43.563        .40478E-02   -1.5567    
   5  Prefactor     18.821        11.918        .92339E-04   -1.4840    
   6  Prefactor     .10000E-03    6.4204        .17020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.8741        .14818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10003E-03    27.595        .37736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.865        19.895        .11634E-03   -1.5019    
  10  Prefactor     .10000E-03    47.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .89225        8.8254        .27233E-02   -1.5519    
  12  norm          3.0862        .72371        .25759E-04   -1.5357    
  13  Prefactor     7.9209        9.3783        .14247E-03   -1.5145    
  14  Prefactor     11.429        23.208        .11851E-03   -1.5032    
  15  Prefactor     3.6067        10.796        .21282E-03   -1.5328    
  16  norm          .10001E-03    24.145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     25.530        22.958        .79285E-04   -1.4697    
  18  norm          6.1804        4.3356        .11631E-03   -1.5211    
  19  Normalizat    1.4023        .30432        .26988E-03   -.80562    
  20  Prefactor     .75744        .18696        .23738E-03   -1.0132    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.74937e-09
Minuit parameter uncertainties:
  1  2.02633e-05
  2  9.13838
  3  7.60361e-06
  4  9.32912
  5  11.9198
  6  1.72471e-05
  7  7.09431e-06
  8  0.00168785
  9  19.9061
  10  0.000419394
  11  5.61306
  12  0.723711
  13  9.38003
  14  23.226
  15  10.8018
  16  0.000896689
  17  22.9662
  18  4.3358
  19  0.304711
  20  0.187116
Done.

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

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.186e+01  1.991e+01  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:  7.574e-01  1.871e-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.402e+00  3.047e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.50
Ra Dec: 327.698 -28.173
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.37e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/998391/likelihoodResults_423100801_423360001_4FGL_J2150.7-2810_daily_bin709.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) = 4733.92171252
delta logL = 0.00124631480594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4733.92040514
delta logL = 0.00255368560192

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.320       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0870       1.0000          .0000       10.000    
     3 'Normalizat'    1.4034       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75700       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=   4733.920     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      277 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.347        33.670        .10975E-03    .46613E-05
   2  Index         2.0872        1.0811        .89636E-02    .15325E-04
   3  Normalizat    1.4035        .26919        .26978E-03   -.35987E-04
   4  Prefactor     .75697        .18063        .23744E-03    .44385E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.347
  Index      = 2.08723
  Normalizat = 1.40355
  Prefactor  = 0.756966
 **********
 **   18 **HESSE 
 **********

 FCN=   4733.920     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.347        30.076        .43901E-05   -1.4977    
   2  Index         2.0872        .96786        .35854E-03   -.62187    
   3  Normalizat    1.4035        .26923        .10791E-04   -.80526    
   4  Prefactor     .75697        .18071        .94977E-05   -1.0133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.191e-11
Minuit parameter uncertainties:
  1  30.1101
  2  0.977255
  3  0.2695
  4  0.180854
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/998391': 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) = 4733.92040358
delta logL = 0.00255524654585

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.335e+01  3.011e+01  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.087e+00  9.773e-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:  7.570e-01  1.809e-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.404e+00  2.695e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.50
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/998391/cmap_HighResolution_423100801_423360001_4FGL_J2150.7-2810_daily_bin709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.37e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2021-09-27 19:13:06.953126', job_id='998391', GAL2='0.76', fit_tolerance='1e-08', EG2='1.40', EG='1.40', time_epoch_completed='1632795186.95', return_code2='0', ts='0.50', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.56e-03', ts2='0.50', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='709' AND source_name='4FGL J2150.7-2810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:13:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 998391: <4FGL_J2150.7-2810_daily_bin709> in cluster <slac> Done

Job <4FGL_J2150.7-2810_daily_bin709> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Mon Sep 27 19:00:21 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 19:00:25 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:00:25 2021
Terminated at Mon Sep 27 19:13:07 2021
Results reported at Mon Sep 27 19:13:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2150.7-2810_daily_bin709 327.698 -28.1728 423100801 423360001 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 :                                   526.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             291.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   763 sec.
    Turnaround time :                            766 sec.

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

