/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 9 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 = 7404
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2150.7-2810_daily_bin153
RA = 327.698, Dec = -28.1728
tmin = 278985601, tmax = 279244801
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='994327', job_status='RUN', time_executed='2021-09-27 18:50:06.808675', time_epoch_executed='1632793806.81' WHERE source_name='4FGL J2150.7-2810' and cadence='daily' and bin_id='153'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/994327

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/994327/ft1_4FGL_J2150.7-2810_daily_bin153.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/994327/ft2_4FGL_J2150.7-2810_daily_bin153.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/994327/ft1_4FGL_J2150.7-2810_daily_bin153.fits outfile=/scratch/kocevski/994327/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin153.fits ra=327.698 dec=-28.1728 rad=12.0 tmin=278985601.0 tmax=279244801.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.82
user 3.61
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/994327/ft1_filtered_4FGL_J2150.7-2810_daily_bin153.fits" evtable="EVENTS" scfile=/scratch/kocevski/994327/ft2_4FGL_J2150.7-2810_daily_bin153.fits sctable="SC_DATA" outfile=/scratch/kocevski/994327/ltcube_278985601_279244801_4FGL_J2150.7-2810_daily_bin153.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/994327/ft2_4FGL_J2150.7-2810_daily_bin153.fits
.....................!
real 15.07
user 14.70
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/994327/ft1_filtered_4FGL_J2150.7-2810_daily_bin153.fits evtable="EVENTS" scfile=/scratch/kocevski/994327/ft2_4FGL_J2150.7-2810_daily_bin153.fits sctable="SC_DATA" expcube=/scratch/kocevski/994327/ltcube_278985601_279244801_4FGL_J2150.7-2810_daily_bin153.fits outfile=/scratch/kocevski/994327/expmap_278985601_279244801_4FGL_J2150.7-2810_daily_bin153.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/994327/ltcube_278985601_279244801_4FGL_J2150.7-2810_daily_bin153.fits
.....................!
real 191.86
user 187.13
sys 4.15

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/994327/ft1_filtered_4FGL_J2150.7-2810_daily_bin153.fits scfile=/scratch/kocevski/994327/ft2_4FGL_J2150.7-2810_daily_bin153.fits outfile=/scratch/kocevski/994327/cmap_278985601_279244801_4FGL_J2150.7-2810_daily_bin153.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.55
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/994327/ft1_filtered_4FGL_J2150.7-2810_daily_bin153.fits scfile=/scratch/kocevski/994327/ft2_4FGL_J2150.7-2810_daily_bin153.fits outfile=/scratch/kocevski/994327/cmap_HighResolution_278985601_279244801_4FGL_J2150.7-2810_daily_bin153.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/994327/ft1_filtered_4FGL_J2150.7-2810_daily_bin153.fits evtable="EVENTS" scfile=/scratch/kocevski/994327/ft2_4FGL_J2150.7-2810_daily_bin153.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/994327/Model_4FGL_J2150.7-2810_daily_bin153.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/994327/ft1_filtered_4FGL_J2150.7-2810_daily_bin153.fits.....................!
real 58.45
user 56.98
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.4222       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .70250       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.758       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    68.875       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    14.933       1.0000         .10000E-03   10000.    
    12 'norm      '    .78013       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    41.890       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    15.272       1.0000         .10000E-03   10000.    
    17 'Prefactor '    28.240       1.0000         .10000E-03   10000.    
    18 'norm      '    .24821       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2310       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0573       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=   6805.171     FROM MIGRAD    STATUS=CONVERGED    399 CALLS     2032 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.6999       -.28964E-05** at limit **
   2  Prefactor     .10000E-03    2.4316       -.49291E-07** at limit **
   3  norm          .10000E-03    2.6611       -.41746E-07** at limit **
   4  Prefactor     5.4229        6.2338       -.82938E-07   -.12674E-03
   5  Prefactor     .77376        8.1713       -.23777E-05    .67240E-03
   6  Prefactor     12.760        16.807        .37139E-05   -.32539E-04
   7  Prefactor     .10000E-03    12.180       -.30697E-05** at limit **
   8  norm          68.872        15.748       -.27524E-05    .28616E-03
   9  Prefactor     .10000E-03    6.8544        .46284E-06** at limit **
  10  Prefactor     .10000E-03    26.167       -.57959E-06** at limit **
  11  norm          14.936        6.3488       -.15079E-06   -.18334E-02
  12  norm          .78017        .37549        .27634E-07    .78711E-04
  13  Prefactor     .10000E-03    3.3615       -.13147E-06** at limit **
  14  Prefactor     41.900        26.766        .11356E-04    .15677E-05
  15  Prefactor     .10000E-03    6.9667        .28850E-05** at limit **
  16  norm          15.276        24.217        .68563E-05    .51250E-04
  17  Prefactor     28.246        21.861        .71504E-05    .72680E-04
  18  norm          .24206        2.8793       -.22904E-05   -.20665E-03
  19  Normalizat    1.2304        .23228       -.41686E-05    .35582E-03
  20  Prefactor     1.0577        .14568        .10027E-05    .96874E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.4229
  Prefactor  = 0.773764
  Prefactor  = 12.7597
  Prefactor  = 0.0001
  norm       = 68.8716
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.9363
  norm       = 0.780175
  Prefactor  = 0.0001
  Prefactor  = 41.9003
  Prefactor  = 0.0001
  norm       = 15.2762
  Prefactor  = 28.2465
  norm       = 0.242056
  Normalizat = 1.23037
  Prefactor  = 1.05765
 **********
 **   18 **HESSE 
 **********

 FCN=   6805.171     FROM HESSE     STATUS=OK           293 CALLS     2325 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.7069        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.4393        .12561E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.6633        .13142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.4229        6.2295        .17257E-03   -1.5242    
   5  Prefactor     .77376        28.139        .43298E-02   -1.5532    
   6  Prefactor     12.760        16.803        .11215E-03   -1.4993    
   7  Prefactor     .10000E-03    12.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          68.872        15.675        .24183E-03   -1.4046    
   9  Prefactor     .10000E-03    6.8575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    26.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.936        6.3904        .51823E-03   -1.4935    
  12  norm          .78017        .37574        .33184E-04   -1.5531    
  13  Prefactor     .10000E-03    3.3662        .14771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     41.900        26.775        .61937E-04   -1.4412    
  15  Prefactor     .10000E-03    7.0140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          15.276        24.245        .10249E-03   -1.4926    
  17  Prefactor     28.246        21.919        .75389E-04   -1.4645    
  18  norm          .24206        8.6330        .27043E-02   -1.5610    
  19  Normalizat    1.2304        .26699        .31959E-03   -.85669    
  20  Prefactor     1.0577        .16798        .22746E-03   -.90832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.59107e-08
Minuit parameter uncertainties:
  1  8.97054e-06
  2  4.66433e-06
  3  1.01737e-07
  4  6.23021
  5  9.3364
  6  16.8091
  7  0.000146766
  8  15.6764
  9  5.36335e-06
  10  2.82425e-05
  11  6.39068
  12  0.375737
  13  1.68337e-05
  14  26.7829
  15  2.58134e-05
  16  24.261
  17  21.9255
  18  2.89099
  19  0.267289
  20  0.168068
Done.

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

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  5.363e-06  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.058e+00  1.681e-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.230e+00  2.673e-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.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/994327/likelihoodResults_278985601_279244801_4FGL_J2150.7-2810_daily_bin153.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) = 6805.17142811
delta logL = -0.000690063411639

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6805.17073793
delta logL = 1.23057361634e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10351E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1214       1.0000          .0000       10.000    
     3 'Normalizat'    1.2304       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0576       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=   6805.171     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      239 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10087E-03    28.382        .18142E-02** at limit **
   2  Index         2.0722        5.9594        .50000        .36885E-04
   3  Normalizat    1.2304        .11113E-01    .31960E-03   -.20233E-03
   4  Prefactor     1.0577        .74441E-02    .22746E-03   -.10106E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100871
  Index      = 2.07217
  Normalizat = 1.23037
  Prefactor  = 1.05766
 **********
 **   18 **HESSE 
 **********

 FCN=   6805.171     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      268 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10087E-03    130.31        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0722        5.0760        .50000       -.62558    
   3  Normalizat    1.2304        .24185E-01    .12784E-04   -.85670    
   4  Prefactor     1.0577        .16201E-01    .45493E-04   -.90831    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.12914e-08
Minuit parameter uncertainties:
  1  0.0213554
  2  160.307
  3  0.0241852
  4  0.016201
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/994327': 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) = 6805.17073725
delta logL = 7.98017936177e-07

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.009e-04  2.136e-02  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.072e+00  1.603e+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.058e+00  1.620e-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:  1.230e+00  2.419e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/994327/cmap_HighResolution_278985601_279244801_4FGL_J2150.7-2810_daily_bin153.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-03', job_status='DONE', photon_flux_upper_limit='5.92e-08', time_completed='2021-09-27 19:00:04.130200', job_id='994327', GAL2='1.06', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1632794404.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='7.98e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='153' AND source_name='4FGL J2150.7-2810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:00:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 994327: <4FGL_J2150.7-2810_daily_bin153> in cluster <slac> Done

Job <4FGL_J2150.7-2810_daily_bin153> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Sep 27 18:45:32 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 18:49:49 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:49:49 2021
Terminated at Mon Sep 27 19:00:05 2021
Results reported at Mon Sep 27 19:00:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2150.7-2810_daily_bin153 327.698 -28.1728 278985601 279244801 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 :                                   594.53 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             326.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   615 sec.
    Turnaround time :                            873 sec.

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

