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


Performing analysis on: 4FGL_J2150.7-2810_daily_bin1630
RA = 327.698, Dec = -28.1728
tmin = 661824001, tmax = 662083201
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='498836', job_status='RUN', time_executed='2021-12-25 00:59:15.849656', time_epoch_executed='1640422755.85' WHERE source_name='4FGL J2150.7-2810' and cadence='daily' and bin_id='1630'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/498836

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/498836/ft1_4FGL_J2150.7-2810_daily_bin1630.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/498836/ft2_4FGL_J2150.7-2810_daily_bin1630.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/498836/ft1_4FGL_J2150.7-2810_daily_bin1630.fits outfile=/scratch/kocevski/498836/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin1630.fits ra=327.698 dec=-28.1728 rad=12.0 tmin=661824001.0 tmax=662083201.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.98
user 5.68
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/498836/ft2_4FGL_J2150.7-2810_daily_bin1630.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/498836/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin1630.fits evtable="EVENTS" outfile="/scratch/kocevski/498836/ft1_filtered_4FGL_J2150.7-2810_daily_bin1630.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.59
user 0.43
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/498836/ft1_filtered_4FGL_J2150.7-2810_daily_bin1630.fits" evtable="EVENTS" scfile=/scratch/kocevski/498836/ft2_4FGL_J2150.7-2810_daily_bin1630.fits sctable="SC_DATA" outfile=/scratch/kocevski/498836/ltcube_661824001_662083201_4FGL_J2150.7-2810_daily_bin1630.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/498836/ft2_4FGL_J2150.7-2810_daily_bin1630.fits
.....................!
real 17.65
user 17.17
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/498836/ft1_filtered_4FGL_J2150.7-2810_daily_bin1630.fits evtable="EVENTS" scfile=/scratch/kocevski/498836/ft2_4FGL_J2150.7-2810_daily_bin1630.fits sctable="SC_DATA" expcube=/scratch/kocevski/498836/ltcube_661824001_662083201_4FGL_J2150.7-2810_daily_bin1630.fits outfile=/scratch/kocevski/498836/expmap_661824001_662083201_4FGL_J2150.7-2810_daily_bin1630.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/498836/ltcube_661824001_662083201_4FGL_J2150.7-2810_daily_bin1630.fits
.....................!
real 244.94
user 238.44
sys 5.18

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/498836/ft1_filtered_4FGL_J2150.7-2810_daily_bin1630.fits scfile=/scratch/kocevski/498836/ft2_4FGL_J2150.7-2810_daily_bin1630.fits outfile=/scratch/kocevski/498836/cmap_661824001_662083201_4FGL_J2150.7-2810_daily_bin1630.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.67
user 0.48
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/498836/ft1_filtered_4FGL_J2150.7-2810_daily_bin1630.fits scfile=/scratch/kocevski/498836/ft2_4FGL_J2150.7-2810_daily_bin1630.fits outfile=/scratch/kocevski/498836/cmap_HighResolution_661824001_662083201_4FGL_J2150.7-2810_daily_bin1630.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.66
user 0.49
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5292       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .65286       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.8880       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.6749       1.0000         .10000E-03   10000.    
     8 'norm      '    5.0781       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    8.9110       1.0000         .10000E-03   10000.    
    12 'norm      '    1.4620       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.3698       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.9457       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .87618       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .91464       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=   7629.388     FROM MIGRAD    STATUS=CONVERGED    417 CALLS     1752 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5296        11.399       -.42656E-08    .92287E-05
   2  Prefactor     .65975        3.3773       -.11169E-07    .25385E-03
   3  norm          .10000E-03    2.1711       -.84809E-10** at limit **
   4  Prefactor     .10000E-03    3.3148       -.53183E-09** at limit **
   5  Prefactor     4.8878        7.0883        .13408E-07   -.29061E-03
   6  Prefactor     .10000E-03    11.386       -.20799E-09** at limit **
   7  Prefactor     1.6762        2.7785       -.19132E-06   -.66319E-04
   8  norm          5.0780        4.8889       -.11881E-07   -.50902E-03
   9  Prefactor     .10001E-03    6.8435        .87353E-08** at limit **
  10  Prefactor     .10000E-03    52.839       -.82375E-09** at limit **
  11  norm          8.9103        4.2052       -.55112E-08   -.32499E-03
  12  norm          1.4620        .37233        .14415E-09    .27087E-04
  13  Prefactor     .10001E-03    6.5130       -.80254E-08** at limit **
  14  Prefactor     .10000E-03    8.6317       -.13134E-08** at limit **
  15  Prefactor     1.3699        2.7684       -.26388E-08    .64419E-05
  16  norm          .10000E-03    8.6733       -.20245E-08** at limit **
  17  Prefactor     .10000E-03    2.0590       -.10653E-09** at limit **
  18  norm          1.9457        1.8412       -.34894E-09    .39112E-05
  19  Normalizat    .87619        .15476        .18842E-07    .10374E-04
  20  Prefactor     .91463        .10903        .31506E-08    .12395E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.5296
  Prefactor  = 0.659754
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.88782
  Prefactor  = 0.0001
  Prefactor  = 1.67615
  norm       = 5.07801
  Prefactor  = 0.000100012
  Prefactor  = 0.0001
  norm       = 8.91028
  norm       = 1.46201
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 1.36988
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.94566
  Normalizat = 0.876186
  Prefactor  = 0.914634
 **********
 **   18 **HESSE 
 **********

 FCN=   7629.388     FROM HESSE     STATUS=OK           295 CALLS     2047 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5296        11.409        .18917E-03   -1.5282    
   2  Prefactor     .65975        6.8707        .30588E-02   -1.5546    
   3  norm          .10000E-03    2.1725        .12569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.3758        .15527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.8878        7.0059        .90967E-03   -1.5266    
   6  Prefactor     .10000E-03    11.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.6762        9.0316        .16282E-02   -1.5449    
   8  norm          5.0780        4.9565        .89214E-03   -1.5257    
   9  Prefactor     .10001E-03    6.8598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    53.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.9103        4.2550        .56465E-03   -1.5111    
  12  norm          1.4620        .37333        .25204E-04   -1.5466    
  13  Prefactor     .10001E-03    6.6767        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.6684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.3699        2.7250        .20088E-03   -1.5474    
  16  norm          .10000E-03    8.6929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.0596        .12240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.9457        1.8554        .11235E-03   -1.5429    
  19  Normalizat    .87619        .18043        .26712E-03   -.97302    
  20  Prefactor     .91463        .12708        .18818E-03   -.95632    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.63119e-09
Minuit parameter uncertainties:
  1  11.4145
  2  4.25846
  3  1.62657e-07
  4  1.96643e-06
  5  7.00705
  6  6.07351e-05
  7  7.78318
  8  4.95685
  9  0.000569515
  10  0.000135257
  11  4.2551
  12  0.37333
  13  0.000466588
  14  4.49189e-05
  15  2.72526
  16  0.000120101
  17  1.213e-07
  18  1.85547
  19  0.180552
  20  0.127121
Done.

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

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  5.695e-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:  9.146e-01  1.271e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  8.762e-01  1.806e-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: 4.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/498836/likelihoodResults_661824001_662083201_4FGL_J2150.7-2810_daily_bin1630.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) = 7629.38852729
delta logL = -0.000694590987223

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7629.38783271
delta logL = -6.93125912221e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1480       1.0000          .0000       10.000    
     3 'Normalizat'    .87614       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91466       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=   7629.388     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      200 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.328        .90712E-02** at limit **
   2  Index         2.1381        5.0062        .50000        .11945E-04
   3  Normalizat    .87619        .75766E-02    .44596E-01    .33735E-04
   4  Prefactor     .91463        .54747E-02    .45192E-01    .19153E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.1381
  Normalizat = 0.876186
  Prefactor  = 0.914634
 **********
 **   18 **HESSE 
 **********

 FCN=   7629.388     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      233 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    205.66        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1381        6.9128        .50000       -.60941    
   3  Normalizat    .87619        .22239E-01    .26712E-03   -.97302    
   4  Prefactor     .91463        .16072E-01    .18818E-03   -.95632    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.59781e-09
Minuit parameter uncertainties:
  1  3.2528e-05
  2  22.467
  3  0.022239
  4  0.0160723
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/498836': 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) = 7629.38783265
delta logL = 5.81412678002e-08

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  3.253e-05  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.138e+00  2.247e+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:  9.146e-01  1.607e-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:  8.762e-01  2.224e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/498836/cmap_HighResolution_661824001_662083201_4FGL_J2150.7-2810_daily_bin1630.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.50e-03', job_status='DONE', photon_flux_upper_limit='4.60e-08', time_completed='2021-12-25 01:12:07.374653', job_id='498836', GAL2='0.91', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1640423527.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='5.81e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1630' AND source_name='4FGL J2150.7-2810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 25 01:12:07 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0164>
Subject: Job 498836: <4FGL_J2150.7-2810_daily_bin1630> in cluster <slac> Done

Job <4FGL_J2150.7-2810_daily_bin1630> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Dec 25 00:55:39 2021
Job was executed on host(s) <bullet0164>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 25 00:56:54 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 25 00:56:54 2021
Terminated at Sat Dec 25 01:12:09 2021
Results reported at Sat Dec 25 01:12:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2150.7-2810_daily_bin1630 327.698 -28.1728 661824001 662083201 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 :                                   772.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            990 sec.

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

