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


Performing analysis on: 4FGL_J2150.7-2810_daily_bin464
RA = 327.698, Dec = -28.1728
tmin = 359596801, tmax = 359856001
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='995807', job_status='RUN', time_executed='2021-09-27 18:56:20.385845', time_epoch_executed='1632794180.39' WHERE source_name='4FGL J2150.7-2810' and cadence='daily' and bin_id='464'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/995807

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/995807/ft1_4FGL_J2150.7-2810_daily_bin464.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/995807/ft2_4FGL_J2150.7-2810_daily_bin464.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/995807/ft1_4FGL_J2150.7-2810_daily_bin464.fits outfile=/scratch/kocevski/995807/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin464.fits ra=327.698 dec=-28.1728 rad=12.0 tmin=359596801.0 tmax=359856001.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 3.83
user 3.58
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/995807/ft2_4FGL_J2150.7-2810_daily_bin464.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/995807/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin464.fits evtable="EVENTS" outfile="/scratch/kocevski/995807/ft1_filtered_4FGL_J2150.7-2810_daily_bin464.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/995807/ft1_filtered_4FGL_J2150.7-2810_daily_bin464.fits" evtable="EVENTS" scfile=/scratch/kocevski/995807/ft2_4FGL_J2150.7-2810_daily_bin464.fits sctable="SC_DATA" outfile=/scratch/kocevski/995807/ltcube_359596801_359856001_4FGL_J2150.7-2810_daily_bin464.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/995807/ft2_4FGL_J2150.7-2810_daily_bin464.fits
.....................!
real 16.19
user 15.81
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/995807/ft1_filtered_4FGL_J2150.7-2810_daily_bin464.fits evtable="EVENTS" scfile=/scratch/kocevski/995807/ft2_4FGL_J2150.7-2810_daily_bin464.fits sctable="SC_DATA" expcube=/scratch/kocevski/995807/ltcube_359596801_359856001_4FGL_J2150.7-2810_daily_bin464.fits outfile=/scratch/kocevski/995807/expmap_359596801_359856001_4FGL_J2150.7-2810_daily_bin464.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/995807/ltcube_359596801_359856001_4FGL_J2150.7-2810_daily_bin464.fits
.....................!
real 193.50
user 188.11
sys 4.86

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/995807/ft1_filtered_4FGL_J2150.7-2810_daily_bin464.fits scfile=/scratch/kocevski/995807/ft2_4FGL_J2150.7-2810_daily_bin464.fits outfile=/scratch/kocevski/995807/cmap_359596801_359856001_4FGL_J2150.7-2810_daily_bin464.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.57
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/995807/ft1_filtered_4FGL_J2150.7-2810_daily_bin464.fits scfile=/scratch/kocevski/995807/ft2_4FGL_J2150.7-2810_daily_bin464.fits outfile=/scratch/kocevski/995807/cmap_HighResolution_359596801_359856001_4FGL_J2150.7-2810_daily_bin464.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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/995807/ft1_filtered_4FGL_J2150.7-2810_daily_bin464.fits evtable="EVENTS" scfile=/scratch/kocevski/995807/ft2_4FGL_J2150.7-2810_daily_bin464.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/995807/Model_4FGL_J2150.7-2810_daily_bin464.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/995807/ft1_filtered_4FGL_J2150.7-2810_daily_bin464.fits.....................!
real 63.95
user 62.57
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    2.7389       1.0000         .10000E-03   10000.    
     3 'norm      '    4.7770       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.3265       1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.440       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.2484       1.0000         .10000E-03   10000.    
     8 'norm      '    .13923E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .34363       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .63484       1.0000         .10000E-03   10000.    
    12 'norm      '    1.3277       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .75138       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.727       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.2083       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.1927       1.0000         .10000E-03   10000.    
    18 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0151       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96033       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=   7966.079     FROM MIGRAD    STATUS=CONVERGED    415 CALLS     1791 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.8675         .0000    ** at limit **
   2  Prefactor     2.7390        3.6228         .0000        .15203E-02
   3  norm          4.7770        4.7772         .0000       -.19655E-03
   4  Prefactor     .10000E-03    4.3635         .0000    ** at limit **
   5  Prefactor     1.3274        7.5588         .0000        .26742E-01
   6  Prefactor     21.441        13.200         .0000       -.22710E-02
   7  Prefactor     1.2480        6.7400         .0000        .29638E-01
   8  norm          .10001E-03    4.6453         .0000    ** at limit **
   9  Prefactor     .29289        7.1916         .0000        .49023E-03
  10  Prefactor     .10001E-03    21.692         .0000    ** at limit **
  11  norm          .63751        2.9100         .0000        .20499E-02
  12  norm          1.3278        .36808         .0000        .34507E-02
  13  Prefactor     .75129        7.1676         .0000        .18266E-02
  14  Prefactor     12.727        10.930         .0000       -.56959E-04
  15  Prefactor     7.2081        6.4769         .0000        .49269E-03
  16  norm          .10000E-03    4.1113         .0000    ** at limit **
  17  Prefactor     2.1906        11.509         .0000        .63938E-02
  18  norm          .10000E-03    2.1194         .0000    ** at limit **
  19  Normalizat    1.0151        .17259         .0000        .13814E-03
  20  Prefactor     .96036        .11501         .0000       -.22508E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 2.73895
  norm       = 4.77704
  Prefactor  = 0.0001
  Prefactor  = 1.32744
  Prefactor  = 21.4411
  Prefactor  = 1.24803
  norm       = 0.00010001
  Prefactor  = 0.292888
  Prefactor  = 0.000100011
  norm       = 0.637507
  norm       = 1.32777
  Prefactor  = 0.751289
  Prefactor  = 12.7267
  Prefactor  = 7.20814
  norm       = 0.0001
  Prefactor  = 2.19058
  norm       = 0.0001
  Normalizat = 1.01506
  Prefactor  = 0.960355
 **********
 **   18 **HESSE 
 **********

 FCN=   7966.079     FROM HESSE     STATUS=OK           307 CALLS     2098 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.8817        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.7390        3.6133        .18921E-03   -1.5377    
   3  norm          4.7770        4.7804        .18408E-03   -1.5271    
   4  Prefactor     .10000E-03    4.4206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.3274        7.3933        .19080E-02   -1.5478    
   6  Prefactor     21.441        13.163        .86504E-04   -1.4782    
   7  Prefactor     1.2480        6.5377        .20024E-02   -1.5485    
   8  norm          .10001E-03    5.0796        .57259E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .29289        61.237        .45328E-02   -1.5600    
  10  Prefactor     .10001E-03    21.714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .63751        5.2468        .25872E-02   -1.5548    
  12  norm          1.3278        .36524        .25888E-04   -1.5478    
  13  Prefactor     .75129        7.3826        .46055E-03   -1.5535    
  14  Prefactor     12.727        10.935        .11228E-03   -1.4994    
  15  Prefactor     7.2081        6.4971        .14940E-03   -1.5171    
  16  norm          .10000E-03    4.1121        .17675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.1906        11.559        .13896E-02   -1.5412    
  18  norm          .10000E-03    2.1843        .25362E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0151        .19714        .27236E-03   -.92528    
  20  Prefactor     .96036        .13333        .19906E-03   -.94063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31563e-08
Minuit parameter uncertainties:
  1  0.000237253
  2  3.61357
  3  4.78079
  4  8.97507e-05
  5  6.26648
  6  13.1653
  7  5.71362
  8  0.000461217
  9  8.47746
  10  0.000968891
  11  3.65796
  12  0.365245
  13  4.71062
  14  10.9362
  15  6.49773
  16  2.98363e-05
  17  10.0666
  18  3.85167e-07
  19  0.197284
  20  0.13338
Done.

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

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  2.929e-01  8.477e+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:  9.604e-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:  1.015e+00  1.973e-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: 5.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/995807/likelihoodResults_359596801_359856001_4FGL_J2150.7-2810_daily_bin464.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) = 7966.07832569
delta logL = 0.000318561847052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7966.07799727
delta logL = 0.000646980117381

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29822       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3189       1.0000          .0000       10.000    
     3 'Normalizat'    1.0149       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96038       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=   7966.078     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      233 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31848        3.0289        .10417       -.11404E-03
   2  Index         2.3137        .19698        .50000       -.11513E-03
   3  Normalizat    1.0149        .34590E-02    .44240E-01   -.58243E-04
   4  Prefactor     .96035        .24786E-02    .45770E-01   -.13330E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.318481
  Index      = 2.31366
  Normalizat = 1.01486
  Prefactor  = 0.960349
 **********
 **   18 **HESSE 
 **********

 FCN=   7966.078     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31848        87.452        .36833E-02   -1.5595    
   2  Index         2.3137        5.8582        .49443E-02   -.56720    
   3  Normalizat    1.0149        .18306        .27238E-03   -.92534    
   4  Prefactor     .96035        .13114        .19905E-03   -.94063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34698e-08
Minuit parameter uncertainties:
  1  10.5689
  2  6.31465
  3  0.183174
  4  0.13118
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/995807': 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) = 7966.07799281
delta logL = 0.000651442462186

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  3.185e-01  1.057e+01  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.314e+00  6.315e+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:  9.603e-01  1.312e-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.015e+00  1.832e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/995807/cmap_HighResolution_359596801_359856001_4FGL_J2150.7-2810_daily_bin464.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.91e-03', job_status='DONE', photon_flux_upper_limit='5.15e-08', time_completed='2021-09-27 19:07:03.313846', job_id='995807', GAL2='0.96', fit_tolerance='1e-08', EG2='1.01', EG='1.02', time_epoch_completed='1632794823.31', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='6.51e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='464' AND source_name='4FGL J2150.7-2810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:07:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 995807: <4FGL_J2150.7-2810_daily_bin464> in cluster <slac> Done

Job <4FGL_J2150.7-2810_daily_bin464> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Mon Sep 27 18:50:41 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 18:52:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 27 18:52:27 2021
Terminated at Mon Sep 27 19:07:04 2021
Results reported at Mon Sep 27 19:07:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2150.7-2810_daily_bin464 327.698 -28.1728 359596801 359856001 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 :                                   637.61 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             233.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   876 sec.
    Turnaround time :                            983 sec.

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

