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


Performing analysis on: 4FGL_J2150.7-2810_daily_bin1556
RA = 327.698, Dec = -28.1728
tmin = 642643201, tmax = 642902401
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='692', job_status='RUN', time_executed='2021-09-27 19:11:50.229420', time_epoch_executed='1632795110.23' WHERE source_name='4FGL J2150.7-2810' and cadence='daily' and bin_id='1556'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/692

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/692/ft1_4FGL_J2150.7-2810_daily_bin1556.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/692/ft2_4FGL_J2150.7-2810_daily_bin1556.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/692/ft1_4FGL_J2150.7-2810_daily_bin1556.fits outfile=/scratch/kocevski/692/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin1556.fits ra=327.698 dec=-28.1728 rad=12.0 tmin=642643201.0 tmax=642902401.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.55
user 3.32
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/692/ft1_filtered_4FGL_J2150.7-2810_daily_bin1556.fits evtable="EVENTS" scfile=/scratch/kocevski/692/ft2_4FGL_J2150.7-2810_daily_bin1556.fits sctable="SC_DATA" expcube=/scratch/kocevski/692/ltcube_642643201_642902401_4FGL_J2150.7-2810_daily_bin1556.fits outfile=/scratch/kocevski/692/expmap_642643201_642902401_4FGL_J2150.7-2810_daily_bin1556.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/692/ltcube_642643201_642902401_4FGL_J2150.7-2810_daily_bin1556.fits
.....................!
real 191.79
user 186.42
sys 4.88

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/692/ft1_filtered_4FGL_J2150.7-2810_daily_bin1556.fits scfile=/scratch/kocevski/692/ft2_4FGL_J2150.7-2810_daily_bin1556.fits outfile=/scratch/kocevski/692/cmap_642643201_642902401_4FGL_J2150.7-2810_daily_bin1556.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/692/ft1_filtered_4FGL_J2150.7-2810_daily_bin1556.fits scfile=/scratch/kocevski/692/ft2_4FGL_J2150.7-2810_daily_bin1556.fits outfile=/scratch/kocevski/692/cmap_HighResolution_642643201_642902401_4FGL_J2150.7-2810_daily_bin1556.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/692/ft1_filtered_4FGL_J2150.7-2810_daily_bin1556.fits evtable="EVENTS" scfile=/scratch/kocevski/692/ft2_4FGL_J2150.7-2810_daily_bin1556.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/692/Model_4FGL_J2150.7-2810_daily_bin1556.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/692/ft1_filtered_4FGL_J2150.7-2810_daily_bin1556.fits.....................!
real 51.88
user 50.58
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.7369       1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.0670       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    18.281       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.354       1.0000         .10000E-03   10000.    
    11 'norm      '    9.8206       1.0000         .10000E-03   10000.    
    12 'norm      '    .84924E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.7730       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.026       1.0000         .10000E-03   10000.    
    18 'norm      '    .10350E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .86176       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1045       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=   6162.490     FROM MIGRAD    STATUS=CONVERGED    415 CALLS     1809 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.248       -.15749E-07** at limit **
   2  Prefactor     4.7372        7.5041        .29232E-06   -.45067E-04
   3  norm          .10000E-03    5.3107        .27055E-06** at limit **
   4  Prefactor     .10000E-03    4.1071        .23965E-06** at limit **
   5  Prefactor     .10000E-03    7.2802        .10180E-06** at limit **
   6  Prefactor     3.0674        10.975        .12805E-04   -.27642E-03
   7  Prefactor     .10000E-03    2.6241        .27772E-07** at limit **
   8  norm          18.281        8.5656       -.25975E-10    .32281E-05
   9  Prefactor     .10001E-03    37.835       -.74018E-05** at limit **
  10  Prefactor     18.290        52.435       -.15445E-04   -.37835E-03
  11  norm          9.8222        5.3051        .38546E-06    .12252E-03
  12  norm          .84724E-01    .23449        .61280E-07    .47021E-03
  13  Prefactor     .10000E-03    17.851       -.11877E-05** at limit **
  14  Prefactor     .10000E-03    5.3026       -.29486E-06** at limit **
  15  Prefactor     7.7721        8.3868       -.74541E-07   -.95208E-05
  16  norm          .10000E-03    8.2842        .23040E-06** at limit **
  17  Prefactor     14.024        16.293       -.27187E-06   -.18821E-04
  18  norm          .10000E-03    2.1149        .14290E-06** at limit **
  19  Normalizat    .86194        .20555        .25277E-05   -.12784E-03
  20  Prefactor     1.1044        .13838       -.18593E-05    .13899E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.73724
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 3.06742
  Prefactor  = 0.0001
  norm       = 18.2814
  Prefactor  = 0.000100006
  Prefactor  = 18.2896
  norm       = 9.82218
  norm       = 0.084724
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.77213
  norm       = 0.0001
  Prefactor  = 14.0243
  norm       = 0.0001
  Normalizat = 0.86194
  Prefactor  = 1.10438
 **********
 **   18 **HESSE 
 **********

 FCN=   6162.490     FROM HESSE     STATUS=OK           295 CALLS     2104 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.7372        7.5008        .18488E-03   -1.5273    
   3  norm          .10000E-03    5.3749        .17671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.9441        .30766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.4153        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.0674        11.187        .11581E-02   -1.5358    
   7  Prefactor     .10000E-03    2.6277        .12419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          18.281        8.5641        .93675E-04   -1.4853    
   9  Prefactor     .10001E-03    37.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.290        55.345        .93487E-04   -1.4852    
  11  norm          9.8222        5.2179        .11742E-03   -1.5081    
  12  norm          .84724E-01    .21032        .58213E-03   -1.5650    
  13  Prefactor     .10000E-03    18.586        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.3109        .17657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.7721        8.4304        .14383E-03   -1.5150    
  16  norm          .10000E-03    8.2933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.024        16.253        .10695E-03   -1.4959    
  18  norm          .10000E-03    3.9094        .22036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .86194        .23591        .30647E-03   -.97811    
  20  Prefactor     1.1044        .15959        .19351E-03   -.89327    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05205e-09
Minuit parameter uncertainties:
  1  1.52459e-05
  2  7.50231
  3  2.95054e-05
  4  0.000217388
  5  2.65244e-05
  6  11.1942
  7  9.57782e-07
  8  8.56466
  9  0.000988379
  10  55.5008
  11  5.21813
  12  0.210323
  13  5.30176e-05
  14  2.68737e-05
  15  8.43173
  16  2.44022e-05
  17  16.2582
  18  2.58544e-05
  19  0.236194
  20  0.159655
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  1.104e+00  1.597e-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.619e-01  2.362e-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: 8.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/692/likelihoodResults_642643201_642902401_4FGL_J2150.7-2810_daily_bin1556.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) = 6162.49050086
delta logL = -0.000126007745166

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6162.49050085
delta logL = -0.000125998472868

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96354E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1577       1.0000          .0000       10.000    
     3 'Normalizat'    .86194       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1044       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=   6162.490     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      202 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    41.304        .90713E-02** at limit **
   2  Index         2.1866        6.0871        .24954       -.66274E-05
   3  Normalizat    .86194        .18999        .69265E-01    .17645E-04
   4  Prefactor     1.1044        .13488        .37423E-01   -.15082E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.18663
  Normalizat = 0.861944
  Prefactor  = 1.10438
 **********
 **   18 **HESSE 
 **********

 FCN=   6162.490     FROM HESSE     STATUS=OK            25 CALLS      227 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    38.593        .18143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1866        6.0924        .99816E-02   -.59762    
   3  Normalizat    .86194        .21777        .30646E-03   -.97811    
   4  Prefactor     1.1044        .15489        .19351E-03   -.89327    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.04531e-11
Minuit parameter uncertainties:
  1  0.000382076
  2  4.13643
  3  0.217987
  4  0.154949
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/692': 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) = 6162.49037481
delta logL = 4.57221176475e-08

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.000e-04  3.821e-04  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.187e+00  4.136e+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:  1.104e+00  1.549e-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.619e-01  2.180e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/692/cmap_HighResolution_642643201_642902401_4FGL_J2150.7-2810_daily_bin1556.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.43e-03', job_status='DONE', photon_flux_upper_limit='8.47e-08', time_completed='2021-09-27 19:21:00.940214', job_id='692', GAL2='1.10', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1632795660.94', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='4.57e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1556' AND source_name='4FGL J2150.7-2810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:21:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0297>
Subject: Job 692: <4FGL_J2150.7-2810_daily_bin1556> in cluster <slac> Done

Job <4FGL_J2150.7-2810_daily_bin1556> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Sep 27 19:06:24 2021
Job was executed on host(s) <bullet0297>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 19:10:40 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:10:40 2021
Terminated at Mon Sep 27 19:21:01 2021
Results reported at Mon Sep 27 19:21:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2150.7-2810_daily_bin1556 327.698 -28.1728 642643201 642902401 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 :                                   547.50 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             272.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   621 sec.
    Turnaround time :                            877 sec.

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

