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


Performing analysis on: 4FGL_J1211.0-3800_daily_bin835
RA = 182.762, Dec = -38.0156
tmin = 455760001, tmax = 456019201
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='388034', job_status='RUN', time_executed='2021-09-05 02:58:30.939819', time_epoch_executed='1630835910.94' WHERE source_name='4FGL J1211.0-3800' and cadence='daily' and bin_id='835'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/388034

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/388034/ft1_4FGL_J1211.0-3800_daily_bin835.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/388034/ft2_4FGL_J1211.0-3800_daily_bin835.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/388034/ft1_4FGL_J1211.0-3800_daily_bin835.fits outfile=/scratch/kocevski/388034/ft1_filteredMKT_4FGL_J1211.0-3800_daily_bin835.fits ra=182.762 dec=-38.0156 rad=12.0 tmin=455760001.0 tmax=456019201.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.50
user 3.12
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/388034/ft2_4FGL_J1211.0-3800_daily_bin835.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/388034/ft2_4FGL_J1211.0-3800_daily_bin835.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/388034/ft1_filteredMKT_4FGL_J1211.0-3800_daily_bin835.fits evtable="EVENTS" outfile="/scratch/kocevski/388034/ft1_filtered_4FGL_J1211.0-3800_daily_bin835.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.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/388034/ft1_filtered_4FGL_J1211.0-3800_daily_bin835.fits" evtable="EVENTS" scfile=/scratch/kocevski/388034/ft2_4FGL_J1211.0-3800_daily_bin835.fits sctable="SC_DATA" outfile=/scratch/kocevski/388034/ltcube_455760001_456019201_4FGL_J1211.0-3800_daily_bin835.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/388034/ft2_4FGL_J1211.0-3800_daily_bin835.fits
.....................!
real 12.07
user 11.63
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/388034/ft1_filtered_4FGL_J1211.0-3800_daily_bin835.fits evtable="EVENTS" scfile=/scratch/kocevski/388034/ft2_4FGL_J1211.0-3800_daily_bin835.fits sctable="SC_DATA" expcube=/scratch/kocevski/388034/ltcube_455760001_456019201_4FGL_J1211.0-3800_daily_bin835.fits outfile=/scratch/kocevski/388034/expmap_455760001_456019201_4FGL_J1211.0-3800_daily_bin835.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/388034/ltcube_455760001_456019201_4FGL_J1211.0-3800_daily_bin835.fits
.....................!
real 190.47
user 185.81
sys 4.07

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
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CenALobes.fits is the correct path to the extended template.
Added 198 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1211.0-3800 @ 182.762 -38.0156

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/388034/ft1_filtered_4FGL_J1211.0-3800_daily_bin835.fits scfile=/scratch/kocevski/388034/ft2_4FGL_J1211.0-3800_daily_bin835.fits outfile=/scratch/kocevski/388034/cmap_455760001_456019201_4FGL_J1211.0-3800_daily_bin835.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=182.762 yref=-38.0156 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/388034/ft1_filtered_4FGL_J1211.0-3800_daily_bin835.fits scfile=/scratch/kocevski/388034/ft2_4FGL_J1211.0-3800_daily_bin835.fits outfile=/scratch/kocevski/388034/cmap_HighResolution_455760001_456019201_4FGL_J1211.0-3800_daily_bin835.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=182.762 yref=-38.0156 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/388034/ft1_filtered_4FGL_J1211.0-3800_daily_bin835.fits evtable="EVENTS" scfile=/scratch/kocevski/388034/ft2_4FGL_J1211.0-3800_daily_bin835.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/388034/Model_4FGL_J1211.0-3800_daily_bin835.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 CenA Lobes
adding source EG_v02
adding source G296.5+10.0
adding source GAL_V02
Working on...
/scratch/kocevski/388034/ft1_filtered_4FGL_J1211.0-3800_daily_bin835.fits.....................!
real 135.33
user 133.82
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/388034/ft1_filtered_4FGL_J1211.0-3800_daily_bin835.fits', '/scratch/kocevski/388034/ft2_4FGL_J1211.0-3800_daily_bin835.fits', expMap='/scratch/kocevski/388034/expmap_455760001_456019201_4FGL_J1211.0-3800_daily_bin835.fits', expCube='/scratch/kocevski/388034/ltcube_455760001_456019201_4FGL_J1211.0-3800_daily_bin835.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/388034/Model_4FGL_J1211.0-3800_daily_bin835.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1211.0-3800'

4FGL J1211.0-3800
   Spectrum: PowerLaw
315    Prefactor:  1.782e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
316        Index:  2.282e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
317        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/388034/ft1_filtered_4FGL_J1211.0-3800_daily_bin835.fits
Spacecraft file(s): /scratch/kocevski/388034/ft2_4FGL_J1211.0-3800_daily_bin835.fits
Exposure map: /scratch/kocevski/388034/expmap_455760001_456019201_4FGL_J1211.0-3800_daily_bin835.fits
Exposure cube: /scratch/kocevski/388034/ltcube_455760001_456019201_4FGL_J1211.0-3800_daily_bin835.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/388034/Model_4FGL_J1211.0-3800_daily_bin835.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) = 7610.99867074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.6057       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.0697       1.0000         .10000E-03   10000.    
     6 'norm      '    26.964       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.3160       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.927       1.0000         .10000E-03   10000.    
     9 'Prefactor '    74.648       1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.762       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.4777       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.8428       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .16081E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.191       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.1676       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .29308E-02   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.4489       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .86298       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7610.988     FROM MIGRAD    STATUS=CONVERGED    398 CALLS     2034 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.901       -.36864E-06** at limit **
   2  norm          .10000E-03    11.477        .54112E-08** at limit **
   3  Prefactor     .10000E-03    14.835        .57535E-07** at limit **
   4  norm          3.6061        4.2636       -.15044E-06   -.31290E-03
   5  Prefactor     3.0693        23.103        .79887E-06   -.58392E-05
   6  norm          26.964        25.139        .15889E-07   -.11651E-05
   7  Prefactor     6.3164        9.5478        .53918E-05    .18990E-03
   8  Prefactor     10.926        15.688        .13521E-06   -.21023E-04
   9  Prefactor     74.646        56.915       -.45577E-05   -.79607E-04
  10  Prefactor     18.750        36.083       -.39026E-06   -.15678E-03
  11  Prefactor     7.4892        24.156       -.53848E-06    .15064E-05
  12  Prefactor     4.7666        677.44       -.17496E-04   -.54282E-04
  13  Prefactor     .10000E-03    2.4295        .17534E-05** at limit **
  14  Prefactor     .10000E-03    2.4805       -.27511E-07** at limit **
  15  norm          10.191        7.7562        .11078E-05    .75334E-04
  16  Prefactor     .10000E-03    6.1113        .88647E-07** at limit **
  17  norm          6.1647        10.355        .10193E-06   -.12293E-03
  18  Prefactor     .10078E-03    6.0326        .27090E-05** at limit **
  19  Normalizat    1.4489        .26717       -.79835E-06   -.13116E-03
  20  Prefactor     .86300        .95476E-01   -.14407E-07   -.42829E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.6061
  Prefactor  = 3.06932
  norm       = 26.9644
  Prefactor  = 6.31636
  Prefactor  = 10.9257
  Prefactor  = 74.6458
  Prefactor  = 18.7495
  Prefactor  = 7.4892
  Prefactor  = 4.76658
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.1913
  Prefactor  = 0.0001
  norm       = 6.1647
  Prefactor  = 0.000100776
  Normalizat = 1.44885
  Prefactor  = 0.863002
 **********
 **   18 **HESSE 
 **********

 FCN=   7610.988     FROM HESSE     STATUS=OK           289 CALLS     2323 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    38.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    11.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.6061        4.2588        .18925E-03   -1.5328    
   5  Prefactor     3.0693        23.031        .23152E-03   -1.5358    
   6  norm          26.964        25.143        .77148E-04   -1.4669    
   7  Prefactor     6.3164        9.5836        .79859E-03   -1.5205    
   8  Prefactor     10.926        15.729        .12120E-03   -1.5047    
   9  Prefactor     74.646        57.010        .46472E-04   -1.3978    
  10  Prefactor     18.750        36.145        .92466E-04   -1.4842    
  11  Prefactor     7.4892        23.782        .14666E-03   -1.5161    
  12  Prefactor     4.7666        700.14        .18280E-03   -1.5271    
  13  Prefactor     .10000E-03    2.4571        .26147E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.4838        .13418E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.191        7.7556        .62757E-03   -1.5069    
  16  Prefactor     .10000E-03    6.1501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.1647        10.308        .16165E-03   -1.5211    
  18  Prefactor     .10078E-03    40.053        .37227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.4489        .32037        .37063E-03   -.79226    
  20  Prefactor     .86300        .11469        .16952E-03   -.97446    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90987e-08
Minuit parameter uncertainties:
  1  0.000258818
  2  4.34382e-06
  3  5.53319e-06
  4  4.25917
  5  16.8242
  6  25.1527
  7  9.58593
  8  15.7351
  9  57.0517
  10  36.1869
  11  23.8116
  12  116.959
  13  2.0992e-05
  14  1.84873e-06
  15  7.7564
  16  2.6745e-06
  17  10.3108
  18  0.0111581
  19  0.320818
  20  0.114725
Done.

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

Extracting fit parameters...

4FGL J1211.0-3800
   Spectrum: PowerLaw
315    Prefactor:  1.093e+01  1.574e+01  1.000e-04  1.000e+04 ( 1.000e-13)
316        Index:  2.282e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
317        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
663    Prefactor:  8.630e-01  1.147e-01  0.000e+00  1.000e+01 ( 1.000e+00)
664        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
665        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
659   Normalization:  1.449e+00  3.208e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.64
Ra Dec: 182.762 -38.016
Photon Flux Upper Limit: 1.48e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.14e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/388034/likelihoodResults_455760001_456019201_4FGL_J1211.0-3800_daily_bin835.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) = 7609.61744458
delta logL = 1.37034479101

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7609.58205074
delta logL = 1.40573862603

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5258       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6672       1.0000          .0000       10.000    
     3 'Normalizat'    1.3128       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89116       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7609.582     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      258 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5224        24.103        .64257E-02    .52539E-03
   2  Index         3.6677        2.2190        .10771        .19626E-03
   3  Normalizat    1.3128        .86590E-01    .87169E-01    .13642E-04
   4  Prefactor     .89117        .30469E-01    .44892E-01   -.26120E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.52243
  Index      = 3.66771
  Normalizat = 1.31282
  Prefactor  = 0.89117
 **********
 **   18 **HESSE 
 **********

 FCN=   7609.582     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      291 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5224        45.311        .80877E-04   -1.5390    
   2  Index         3.6677        3.4782        .39324E-02   -.26972    
   3  Normalizat    1.3128        .32941        .38599E-03   -.83184    
   4  Prefactor     .89117        .11767        .16696E-03   -.96450    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.36911e-07
Minuit parameter uncertainties:
  1  21.4
  2  3.88581
  3  0.329941
  4  0.117708
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/388034': 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) = 7609.58205046
delta logL = 1.40573891012

Extracting fit parameters...

4FGL J1211.0-3800
   Spectrum: PowerLaw
315    Prefactor:  2.522e+00  2.140e+01  1.000e-04  1.000e+04 ( 1.000e-13)
316        Index:  3.668e+00  3.886e+00  0.000e+00  1.000e+01 (-1.000e+00)
317        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
663    Prefactor:  8.912e-01  1.177e-01  0.000e+00  1.000e+01 ( 1.000e+00)
664        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
665        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
659   Normalization:  1.313e+00  3.299e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.67
Ra Dec: 182.762 -38.016
Photon Index (Free Index): 3.67 +/- 3.89
Photon Flux (Free Index): 1.46e-07 +/- 1.02e-07
Energy Flux (Free Index): 2.34e-05 +/- 1.99e-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/388034/cmap_HighResolution_455760001_456019201_4FGL_J1211.0-3800_daily_bin835.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', comment='SUCCESS', energy_flux2='2.34e-05', dlogl='1.41e+00', photon_flux2='1.46e-07', job_status='DONE', time_completed='2021-09-05 03:11:42.534404', photon_index_error2='3.89', photon_index2='3.67', ts='0.64', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='1.48e-07', energy_flux_error2='1.99e-05', EG='1.45', time_epoch_completed='1630836702.53', return_code='0', job_id='388034', GAL2='0.89', EG2='1.31', return_code2='102', photon_flux_error2='1.02e-07', ts2='3.67', photon_index='2.28' WHERE bin_id='835' AND source_name='4FGL J1211.0-3800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 03:11:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 388034: <4FGL_J1211.0-3800_daily_bin835> in cluster <slac> Done

Job <4FGL_J1211.0-3800_daily_bin835> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep  5 02:55:48 2021
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 02:55:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 02:55:50 2021
Terminated at Sun Sep  5 03:11:43 2021
Results reported at Sun Sep  5 03:11:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1211.0-3800_daily_bin835 182.762 -38.0156 455760001 456019201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1211.0-3800 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   789.27 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             327.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   952 sec.
    Turnaround time :                            955 sec.

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

