/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 135 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 = 7393
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1211.0-3800_daily_bin75
RA = 182.762, Dec = -38.0156
tmin = 258768001, tmax = 259027201
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='382994', job_status='RUN', time_executed='2021-09-05 02:43:20.554966', time_epoch_executed='1630835000.55' WHERE source_name='4FGL J1211.0-3800' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/382994

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/382994/ft1_4FGL_J1211.0-3800_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/382994/ft2_4FGL_J1211.0-3800_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/382994/ft1_4FGL_J1211.0-3800_daily_bin75.fits outfile=/scratch/kocevski/382994/ft1_filteredMKT_4FGL_J1211.0-3800_daily_bin75.fits ra=182.762 dec=-38.0156 rad=12.0 tmin=258768001.0 tmax=259027201.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 1.15
user 0.96
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/382994/ft2_4FGL_J1211.0-3800_daily_bin75.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/382994/ft1_filteredMKT_4FGL_J1211.0-3800_daily_bin75.fits evtable="EVENTS" outfile="/scratch/kocevski/382994/ft1_filtered_4FGL_J1211.0-3800_daily_bin75.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/382994/ft1_filtered_4FGL_J1211.0-3800_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/382994/ft2_4FGL_J1211.0-3800_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/382994/ltcube_258768001_259027201_4FGL_J1211.0-3800_daily_bin75.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/382994/ft2_4FGL_J1211.0-3800_daily_bin75.fits
.....................!
real 8.90
user 8.52
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/382994/ft1_filtered_4FGL_J1211.0-3800_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/382994/ft2_4FGL_J1211.0-3800_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/382994/ltcube_258768001_259027201_4FGL_J1211.0-3800_daily_bin75.fits outfile=/scratch/kocevski/382994/expmap_258768001_259027201_4FGL_J1211.0-3800_daily_bin75.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/382994/ltcube_258768001_259027201_4FGL_J1211.0-3800_daily_bin75.fits
.....................!
real 192.60
user 186.53
sys 5.64

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/382994/ft1_filtered_4FGL_J1211.0-3800_daily_bin75.fits scfile=/scratch/kocevski/382994/ft2_4FGL_J1211.0-3800_daily_bin75.fits outfile=/scratch/kocevski/382994/cmap_258768001_259027201_4FGL_J1211.0-3800_daily_bin75.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/382994/ft1_filtered_4FGL_J1211.0-3800_daily_bin75.fits scfile=/scratch/kocevski/382994/ft2_4FGL_J1211.0-3800_daily_bin75.fits outfile=/scratch/kocevski/382994/cmap_HighResolution_258768001_259027201_4FGL_J1211.0-3800_daily_bin75.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.55
user 0.36
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/382994/ft1_filtered_4FGL_J1211.0-3800_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/382994/ft2_4FGL_J1211.0-3800_daily_bin75.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/382994/Model_4FGL_J1211.0-3800_daily_bin75.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/382994/ft1_filtered_4FGL_J1211.0-3800_daily_bin75.fits.....................!
real 117.69
user 116.03
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/382994/ft1_filtered_4FGL_J1211.0-3800_daily_bin75.fits', '/scratch/kocevski/382994/ft2_4FGL_J1211.0-3800_daily_bin75.fits', expMap='/scratch/kocevski/382994/expmap_258768001_259027201_4FGL_J1211.0-3800_daily_bin75.fits', expCube='/scratch/kocevski/382994/ltcube_258768001_259027201_4FGL_J1211.0-3800_daily_bin75.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/382994/Model_4FGL_J1211.0-3800_daily_bin75.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/382994/ft1_filtered_4FGL_J1211.0-3800_daily_bin75.fits
Spacecraft file(s): /scratch/kocevski/382994/ft2_4FGL_J1211.0-3800_daily_bin75.fits
Exposure map: /scratch/kocevski/382994/expmap_258768001_259027201_4FGL_J1211.0-3800_daily_bin75.fits
Exposure cube: /scratch/kocevski/382994/ltcube_258768001_259027201_4FGL_J1211.0-3800_daily_bin75.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/382994/Model_4FGL_J1211.0-3800_daily_bin75.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) = 6339.89493628

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.218       1.0000         .10000E-03   10000.    
     2 'norm      '    7.8772       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10261E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.3772       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .14928E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.5456       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.6390       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10995E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.327       1.0000         .10000E-03   10000.    
    17 'norm      '    9.2656       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.9188       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.4023       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96424       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=   6339.821     FROM MIGRAD    STATUS=CONVERGED    430 CALLS     2081 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.141        47.567        .17809E-06   -.14756E-04
   2  norm          7.8640        38.127        .51173E-06    .29309E-05
   3  Prefactor     .10000E-03    8.6870       -.11308E-06** at limit **
   4  norm          .10000E-03    5.4229       -.77360E-07** at limit **
   5  Prefactor     .10000E-03    30.390       -.97956E-07** at limit **
   6  norm          .10000E-03    9.1703       -.13094E-07** at limit **
   7  Prefactor     3.3794        9.4307       -.41416E-05   -.22689E-03
   8  Prefactor     .10445E-03    13.808        .14427E-05** at limit **
   9  Prefactor     1.6003        324.49        .31820E-04    .97504E-05
  10  Prefactor     .10000E-03    60.796       -.14916E-05** at limit **
  11  Prefactor     7.5764        37.558       -.29841E-05   -.43465E-04
  12  Prefactor     .10004E-03    947.58       -.15592E-04** at limit **
  13  Prefactor     .10000E-03    3.4401        .33107E-05** at limit **
  14  Prefactor     .10000E-03    6.6086        .27321E-06** at limit **
  15  norm          .10000E-03    4.1777       -.43219E-07** at limit **
  16  Prefactor     13.326        9.5680        .75077E-07   -.38192E-05
  17  norm          9.2653        10.410        .38434E-08    .35099E-05
  18  Prefactor     5.9182        6.1138        .29874E-08   -.11428E-05
  19  Normalizat    1.4014        .29384       -.36545E-06   -.13415E-03
  20  Prefactor     .96442        .10858       -.43433E-06   -.19717E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.1408
  norm       = 7.86405
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.37938
  Prefactor  = 0.000104448
  Prefactor  = 1.60026
  Prefactor  = 0.0001
  Prefactor  = 7.57639
  Prefactor  = 0.000100042
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.3262
  norm       = 9.26527
  Prefactor  = 5.91823
  Normalizat = 1.40143
  Prefactor  = 0.964417
 **********
 **   18 **HESSE 
 **********

 FCN=   6339.821     FROM HESSE     STATUS=OK           299 CALLS     2380 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.141        47.577        .67529E-04   -1.4522    
   2  norm          7.8640        38.180        .14287E-03   -1.5147    
   3  Prefactor     .10000E-03    8.7179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    5.4837        .18103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    30.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    9.1826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.3794        9.0928        .22018E-03   -1.5340    
   8  Prefactor     .10445E-03    15.416        .83377E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.6003        308.21        .34277E-03   -1.5455    
  10  Prefactor     .10000E-03    61.618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5764        37.497        .14509E-03   -1.5157    
  12  Prefactor     .10004E-03    952.48        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.3000        .27857E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.6362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    4.3649        .31784E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.326        9.5694        .10972E-03   -1.4978    
  17  norm          9.2653        10.411        .13166E-03   -1.5099    
  18  Prefactor     5.9182        6.1157        .16506E-03   -1.5221    
  19  Normalizat    1.4014        .35579        .37877E-03   -.80587    
  20  Prefactor     .96442        .13197        .16666E-03   -.93925    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.42468e-10
Minuit parameter uncertainties:
  1  47.628
  2  34.6908
  3  1.12408e-05
  4  9.76399e-06
  5  4.51005e-05
  6  4.75624e-06
  7  9.09656
  8  0.0165656
  9  44.6507
  10  3.48392e-05
  11  33.7437
  12  0.0129298
  13  9.54422e-05
  14  3.93784e-06
  15  6.46519e-06
  16  9.57052
  17  10.413
  18  6.11639
  19  0.356424
  20  0.132016
Done.

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

Extracting fit parameters...

4FGL J1211.0-3800
   Spectrum: PowerLaw
315    Prefactor:  1.044e-04  1.657e-02  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:  9.644e-01  1.320e-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.401e+00  3.564e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 182.762 -38.016
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/382994/likelihoodResults_258768001_259027201_4FGL_J1211.0-3800_daily_bin75.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) = 6339.82131188
delta logL = -1.12665929919e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6339.82131187
delta logL = -1.1258932318e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96356E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2824       1.0000          .0000       10.000    
     3 'Normalizat'    1.4014       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96442       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=   6339.820     FROM MIGRAD    STATUS=CONVERGED    133 CALLS      307 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94562        533.72        .90713E-02    .10304E-03
   2  Index         2.0086        2.3356        .50000        .47037E-05
   3  Normalizat    1.4015        .20021E-01    .85549E-01    .13324E-04
   4  Prefactor     .96383        .75147E-02    .45821E-01   -.85461E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.945615
  Index      = 2.0086
  Normalizat = 1.40151
  Prefactor  = 0.963829
 **********
 **   18 **HESSE 
 **********

 FCN=   6339.820     FROM HESSE     STATUS=OK            31 CALLS      338 TOTAL
                     EDM=   .88E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94562        94.902        .36285E-03   -1.5513    
   2  Index         2.0086        2.8325        .18338E-01   -.64135    
   3  Normalizat    1.4015        .34626        .37877E-03   -.80585    
   4  Prefactor     .96383        .13089        .16671E-03   -.93945    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.84025e-13
Minuit parameter uncertainties:
  1  18.9763
  2  3.14592
  3  0.346844
  4  0.130931
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/382994': 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) = 6339.81985931
delta logL = 0.00144130115314

Extracting fit parameters...

4FGL J1211.0-3800
   Spectrum: PowerLaw
315    Prefactor:  9.456e-01  1.898e+01  1.000e-04  1.000e+04 ( 1.000e-13)
316        Index:  2.009e+00  3.146e+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:  9.638e-01  1.309e-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.402e+00  3.468e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 182.762 -38.016

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/382994/cmap_HighResolution_258768001_259027201_4FGL_J1211.0-3800_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.25e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-09-05 02:55:11.318761', job_id='382994', GAL2='0.96', fit_tolerance='1e-08', EG2='1.40', EG='1.40', time_epoch_completed='1630835711.32', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.44e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='75' AND source_name='4FGL J1211.0-3800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 02:55:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 382994: <4FGL_J1211.0-3800_daily_bin75> in cluster <slac> Done

Job <4FGL_J1211.0-3800_daily_bin75> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep  5 02:40:55 2021
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 02:40:56 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:40:56 2021
Terminated at Sun Sep  5 02:55:12 2021
Results reported at Sun Sep  5 02:55:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1211.0-3800_daily_bin75 182.762 -38.0156 258768001 259027201 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 :                                   710.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             339.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   855 sec.
    Turnaround time :                            857 sec.

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

