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


Performing analysis on: 4FGL_J2150.7-2810_daily_bin322
RA = 327.698, Dec = -28.1728
tmin = 322790401, tmax = 323049601
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='995577', job_status='RUN', time_executed='2021-09-27 18:54:39.617511', time_epoch_executed='1632794079.62' WHERE source_name='4FGL J2150.7-2810' and cadence='daily' and bin_id='322'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/995577

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/995577/ft1_4FGL_J2150.7-2810_daily_bin322.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/995577/ft2_4FGL_J2150.7-2810_daily_bin322.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/995577/ft1_4FGL_J2150.7-2810_daily_bin322.fits outfile=/scratch/kocevski/995577/ft1_filteredMKT_4FGL_J2150.7-2810_daily_bin322.fits ra=327.698 dec=-28.1728 rad=12.0 tmin=322790401.0 tmax=323049601.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 12.20
user 11.76
sys 0.38

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/995577/ft1_filtered_4FGL_J2150.7-2810_daily_bin322.fits" evtable="EVENTS" scfile=/scratch/kocevski/995577/ft2_4FGL_J2150.7-2810_daily_bin322.fits sctable="SC_DATA" outfile=/scratch/kocevski/995577/ltcube_322790401_323049601_4FGL_J2150.7-2810_daily_bin322.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/995577/ft2_4FGL_J2150.7-2810_daily_bin322.fits
.....................!
real 13.65
user 13.00
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/995577/ft1_filtered_4FGL_J2150.7-2810_daily_bin322.fits evtable="EVENTS" scfile=/scratch/kocevski/995577/ft2_4FGL_J2150.7-2810_daily_bin322.fits sctable="SC_DATA" expcube=/scratch/kocevski/995577/ltcube_322790401_323049601_4FGL_J2150.7-2810_daily_bin322.fits outfile=/scratch/kocevski/995577/expmap_322790401_323049601_4FGL_J2150.7-2810_daily_bin322.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/995577/ltcube_322790401_323049601_4FGL_J2150.7-2810_daily_bin322.fits
.....................!
real 193.38
user 187.59
sys 4.58

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/995577/ft1_filtered_4FGL_J2150.7-2810_daily_bin322.fits scfile=/scratch/kocevski/995577/ft2_4FGL_J2150.7-2810_daily_bin322.fits outfile=/scratch/kocevski/995577/cmap_322790401_323049601_4FGL_J2150.7-2810_daily_bin322.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.54
user 0.40
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3431       1.0000         .10000E-03   10000.    
     3 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .19474E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10124E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.292       1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.040       1.0000         .10000E-03   10000.    
    11 'norm      '    7.4153       1.0000         .10000E-03   10000.    
    12 'norm      '    1.5707       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.9338       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.453       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.259       1.0000         .10000E-03   10000.    
    16 'norm      '    .10074E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.103       1.0000         .10000E-03   10000.    
    18 'norm      '    .47408       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .36913       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.4907       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=   7439.728     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     2038 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.9505        .63497E-07** at limit **
   2  Prefactor     3.3365        6.6345        .18147E-05    .30543E-04
   3  norm          .10000E-03    2.6215       -.32141E-07** at limit **
   4  Prefactor     .10000E-03    2.4130        .25487E-06** at limit **
   5  Prefactor     .10000E-03    7.2208        .46176E-06** at limit **
   6  Prefactor     .10000E-03    9.6315       -.17701E-05** at limit **
   7  Prefactor     .10000E-03    65.351        .32980E-05** at limit **
   8  norm          .10000E-03    3.3639        .10656E-06** at limit **
   9  Prefactor     20.316        30.885       -.15079E-05    .62256E-04
  10  Prefactor     30.854        103.61        .84562E-05   -.33880E-04
  11  norm          7.4091        7.9485        .58273E-06    .13302E-03
  12  norm          1.5707        .51782       -.37836E-07    .98069E-03
  13  Prefactor     4.9313        6.7560        .48958E-06    .56348E-04
  14  Prefactor     12.443        20.371        .19857E-05    .18781E-04
  15  Prefactor     13.240        24.075        .27658E-05   -.78306E-05
  16  norm          .10000E-03    10.067        .64439E-07** at limit **
  17  Prefactor     20.092        19.578        .10559E-05   -.47784E-04
  18  norm          .46856        3.2586        .11135E-05   -.46792E-03
  19  Normalizat    .37002        .25497       -.17348E-04   -.73434E-04
  20  Prefactor     1.4902        .16480        .46972E-05   -.66848E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.33646
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 20.3165
  Prefactor  = 30.8545
  norm       = 7.40913
  norm       = 1.57068
  Prefactor  = 4.93128
  Prefactor  = 12.4425
  Prefactor  = 13.2395
  norm       = 0.0001
  Prefactor  = 20.0918
  norm       = 0.468556
  Normalizat = 0.370019
  Prefactor  = 1.49021
 **********
 **   18 **HESSE 
 **********

 FCN=   7439.728     FROM HESSE     STATUS=OK           293 CALLS     2331 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.9584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.3365        6.6808        .22136E-03   -1.5343    
   3  norm          .10000E-03    2.6246        .13639E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.4308        .13086E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.2506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.6019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    67.508        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.3692        .15449E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.316        30.605        .88914E-04   -1.4806    
  10  Prefactor     30.854        102.36        .71917E-04   -1.4596    
  11  norm          7.4091        7.9342        .14728E-03   -1.5164    
  12  norm          1.5707        .51983        .32633E-04   -1.5457    
  13  Prefactor     4.9313        6.7451        .18107E-03   -1.5264    
  14  Prefactor     12.443        20.381        .11351E-03   -1.5002    
  15  Prefactor     13.240        24.086        .11000E-03   -1.4980    
  16  norm          .10000E-03    10.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.092        19.384        .89331E-04   -1.4811    
  18  norm          .46856        6.8472        .28992E-02   -1.5571    
  19  Normalizat    .37002        .25674        .49929E-03   -1.1888    
  20  Prefactor     1.4902        .16646        .18060E-03   -.77814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.38079e-10
Minuit parameter uncertainties:
  1  7.00634e-06
  2  6.68234
  3  8.32603e-07
  4  2.35597e-06
  5  6.85311e-06
  6  0.00011004
  7  6.86906e-05
  8  1.95342e-06
  9  30.6286
  10  102.948
  11  7.93529
  12  0.51983
  13  6.74619
  14  20.3919
  15  24.1038
  16  3.99888e-06
  17  19.3903
  18  3.58244
  19  0.257557
  20  0.166525
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  1.490e+00  1.665e-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:  3.700e-01  2.576e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.07
Ra Dec: 327.698 -28.173
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 3.36e-08 +/- 5.06e-08
Energy Flux (Fixed Index): 1.64e-05 +/- 2.47e-05

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

Saving results to:
/scratch/kocevski/995577/likelihoodResults_322790401_323049601_4FGL_J2150.7-2810_daily_bin322.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) = 7439.72741596
delta logL = 0.000803491047918

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7439.72684444
delta logL = 0.00137500875189

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.370       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2034       1.0000          .0000       10.000    
     3 'Normalizat'    .36795       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4905       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7439.727     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      288 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.340        33.992        .91004E-04    .54967E-05
   2  Index         2.2007        .92257        .93965E-02    .32108E-04
   3  Normalizat    .36806        .23782        .50049E-03    .46793E-05
   4  Prefactor     1.4908        .16265        .18056E-03    .14482E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.3396
  Index      = 2.20069
  Normalizat = 0.368057
  Prefactor  = 1.49082
 **********
 **   18 **HESSE 
 **********

 FCN=   7439.727     FROM HESSE     STATUS=OK            25 CALLS      313 TOTAL
                     EDM=   .22E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.340        29.816        .36402E-05   -1.4828    
   2  Index         2.2007        .80888        .37586E-03   -.59422    
   3  Normalizat    .36806        .23668        .20020E-04   -1.1899    
   4  Prefactor     1.4908        .16236        .72224E-05   -.77797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19987e-13
Minuit parameter uncertainties:
  1  29.8387
  2  0.814106
  3  0.237324
  4  0.16242
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/995577': 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) = 7439.72682111
delta logL = 0.00139834386209

Extracting fit parameters...

4FGL J2150.7-2810
   Spectrum: PowerLaw
271    Prefactor:  1.934e+01  2.984e+01  1.000e-04  1.000e+04 ( 1.000e-14)
272        Index:  2.201e+00  8.141e-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:  1.491e+00  1.624e-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:  3.681e-01  2.373e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.09
Ra Dec: 327.698 -28.173
Photon Index (Free Index): 2.20 +/- 0.81
Photon Flux (Free Index): 3.58e-08 +/- 5.95e-08
Energy Flux (Free Index): 1.61e-05 +/- 1.96e-05

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/995577/cmap_HighResolution_322790401_323049601_4FGL_J2150.7-2810_daily_bin322.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.69e-03', comment='SUCCESS', photon_flux='3.36e-08', energy_flux2='1.61e-05', photon_flux_error='5.06e-08', dlogl='1.40e-03', energy_flux='1.64e-05', photon_flux2='3.58e-08', job_status='DONE', time_completed='2021-09-27 19:05:46.317682', photon_index_error2='0.81', photon_index2='2.20', ts='1.07', fit_tolerance='1e-08', GAL='1.49', photon_index_error='0.00', photon_flux_upper_limit='1.28e-07', energy_flux_error2='1.96e-05', EG='0.37', time_epoch_completed='1632794746.32', return_code='0', job_id='995577', GAL2='1.49', EG2='0.37', return_code2='0', energy_flux_error='2.47e-05', photon_flux_error2='5.95e-08', ts2='1.09', photon_index='2.16' WHERE bin_id='322' AND source_name='4FGL J2150.7-2810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 19:05:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 995577: <4FGL_J2150.7-2810_daily_bin322> in cluster <slac> Done

Job <4FGL_J2150.7-2810_daily_bin322> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Mon Sep 27 18:50:20 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 18:51:15 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:51:15 2021
Terminated at Mon Sep 27 19:05:47 2021
Results reported at Mon Sep 27 19:05:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2150.7-2810_daily_bin322 327.698 -28.1728 322790401 323049601 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 :                                   660.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   871 sec.
    Turnaround time :                            927 sec.

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

