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


Performing analysis on: 4FGL_J1211.6-2735_daily_bin1304
RA = 182.901, Dec = -27.5877
tmin = 577324801, tmax = 577584001
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='401786', job_status='RUN', time_executed='2021-09-05 03:37:35.521318', time_epoch_executed='1630838255.52' WHERE source_name='4FGL J1211.6-2735' and cadence='daily' and bin_id='1304'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/401786

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/401786/ft1_4FGL_J1211.6-2735_daily_bin1304.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/401786/ft2_4FGL_J1211.6-2735_daily_bin1304.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/401786/ft1_4FGL_J1211.6-2735_daily_bin1304.fits outfile=/scratch/kocevski/401786/ft1_filteredMKT_4FGL_J1211.6-2735_daily_bin1304.fits ra=182.901 dec=-27.5877 rad=12.0 tmin=577324801.0 tmax=577584001.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.00
user 2.76
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/401786/ft2_4FGL_J1211.6-2735_daily_bin1304.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/401786/ft2_4FGL_J1211.6-2735_daily_bin1304.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/401786/ft1_filteredMKT_4FGL_J1211.6-2735_daily_bin1304.fits evtable="EVENTS" outfile="/scratch/kocevski/401786/ft1_filtered_4FGL_J1211.6-2735_daily_bin1304.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.53
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/401786/ft1_filtered_4FGL_J1211.6-2735_daily_bin1304.fits" evtable="EVENTS" scfile=/scratch/kocevski/401786/ft2_4FGL_J1211.6-2735_daily_bin1304.fits sctable="SC_DATA" outfile=/scratch/kocevski/401786/ltcube_577324801_577584001_4FGL_J1211.6-2735_daily_bin1304.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/401786/ft2_4FGL_J1211.6-2735_daily_bin1304.fits
.....................!
real 12.70
user 12.21
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/401786/ft1_filtered_4FGL_J1211.6-2735_daily_bin1304.fits evtable="EVENTS" scfile=/scratch/kocevski/401786/ft2_4FGL_J1211.6-2735_daily_bin1304.fits sctable="SC_DATA" expcube=/scratch/kocevski/401786/ltcube_577324801_577584001_4FGL_J1211.6-2735_daily_bin1304.fits outfile=/scratch/kocevski/401786/expmap_577324801_577584001_4FGL_J1211.6-2735_daily_bin1304.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/401786/ltcube_577324801_577584001_4FGL_J1211.6-2735_daily_bin1304.fits
.....................!
real 192.11
user 186.34
sys 5.41

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 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 183 point sources and 1 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.6-2735 @ 182.901 -27.5877

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/401786/ft1_filtered_4FGL_J1211.6-2735_daily_bin1304.fits scfile=/scratch/kocevski/401786/ft2_4FGL_J1211.6-2735_daily_bin1304.fits outfile=/scratch/kocevski/401786/cmap_577324801_577584001_4FGL_J1211.6-2735_daily_bin1304.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.901 yref=-27.5877 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.58
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/401786/ft1_filtered_4FGL_J1211.6-2735_daily_bin1304.fits scfile=/scratch/kocevski/401786/ft2_4FGL_J1211.6-2735_daily_bin1304.fits outfile=/scratch/kocevski/401786/cmap_HighResolution_577324801_577584001_4FGL_J1211.6-2735_daily_bin1304.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.901 yref=-27.5877 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.57
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/401786/ft1_filtered_4FGL_J1211.6-2735_daily_bin1304.fits evtable="EVENTS" scfile=/scratch/kocevski/401786/ft2_4FGL_J1211.6-2735_daily_bin1304.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/401786/Model_4FGL_J1211.6-2735_daily_bin1304.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 GAL_V02
Working on...
/scratch/kocevski/401786/ft1_filtered_4FGL_J1211.6-2735_daily_bin1304.fits......................!
real 25.35
user 24.04
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/401786/ft1_filtered_4FGL_J1211.6-2735_daily_bin1304.fits', '/scratch/kocevski/401786/ft2_4FGL_J1211.6-2735_daily_bin1304.fits', expMap='/scratch/kocevski/401786/expmap_577324801_577584001_4FGL_J1211.6-2735_daily_bin1304.fits', expCube='/scratch/kocevski/401786/ltcube_577324801_577584001_4FGL_J1211.6-2735_daily_bin1304.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/401786/Model_4FGL_J1211.6-2735_daily_bin1304.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1211.6-2735'

4FGL J1211.6-2735
   Spectrum: PowerLaw
289    Prefactor:  5.517e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.573e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  8.728e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/401786/ft1_filtered_4FGL_J1211.6-2735_daily_bin1304.fits
Spacecraft file(s): /scratch/kocevski/401786/ft2_4FGL_J1211.6-2735_daily_bin1304.fits
Exposure map: /scratch/kocevski/401786/expmap_577324801_577584001_4FGL_J1211.6-2735_daily_bin1304.fits
Exposure cube: /scratch/kocevski/401786/ltcube_577324801_577584001_4FGL_J1211.6-2735_daily_bin1304.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/401786/Model_4FGL_J1211.6-2735_daily_bin1304.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 784.507081704

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 781.506020917

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .67114E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .19351E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .16144E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    31.583       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .19790E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5509       1.0000         .10000E-03   10000.    
     7 'norm      '    .10260       1.0000         .10000E-03   10000.    
     8 'Prefactor '    58.181       1.0000         .10000E-03   10000.    
     9 'norm      '    .65203E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.008       1.0000         .10000E-03   10000.    
    11 'Prefactor '    196.73       1.0000         .10000E-03   10000.    
    12 'Prefactor '    53.070       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.7182       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .93253E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .18787E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .35292       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .81605E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .10134E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.7262       1.0000         .10000E-03   10000.    
    20 'norm      '    4.7776       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.1691       1.0000         .10000E-03   10000.    
    22 'norm      '    1.6295       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .24904       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0478       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   781.4967     FROM MIGRAD    STATUS=CONVERGED    315 CALLS      766 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    47.718        .93835E-02** at limit **
   2  Prefactor     .10000E-03    12.969        .90712E-02** at limit **
   3  Prefactor     .10005E-03    108.93        .91035E-02** at limit **
   4  norm          31.743        28.886        .17824E-02    .78261E-02
   5  Prefactor     .10834E-03    28.238        .84461E-01** at limit **
   6  Prefactor     .27852E-01    322.19        .12108       -.45733E-01
   7  norm          .10000E-03    52.930        .95236E-02** at limit **
   8  Prefactor     61.906        61.648        .13149E-02    .42862E-03
   9  norm          .10000E-03    32.277        .93440E-02** at limit **
  10  Prefactor     18.463        26.403        .22967E-02    .27240E-02
  11  Prefactor     186.92        201.80        .72008E-03   -.33173E-04
  12  Prefactor     54.521        83.845        .13764E-02    .14098E-01
  13  Prefactor     .75160E-03    718.69        .52355E-02** at limit **
  14  Prefactor     .10000E-03    62.246        .91018E-02** at limit **
  15  Prefactor     .10060E-03    114.93        .91166E-02** at limit **
  16  Prefactor     .10020E-03    288.54        .10655E-01** at limit **
  17  Prefactor     .10404E-03    157.78        .94232E-02** at limit **
  18  norm          .10000E-03    26.149        .90712E-02** at limit **
  19  Prefactor     6.6879        9531.4        .33923E-02    .78183E-02
  20  norm          4.7776        1.0056         .0000         .0000    
  21  Prefactor     1.1691        1.1478         .0000         .0000    
  22  norm          .30010E-01    .17150       -.13537E-03   -.16147E-02
  23  Normalizat    .24465        .53145        .18402E-04    .54822E-05
  24  Prefactor     1.0502        1.1949        .10287E-04    .18787E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100047
  norm       = 31.7429
  Prefactor  = 0.000108344
  Prefactor  = 0.0278523
  norm       = 0.0001
  Prefactor  = 61.9064
  norm       = 0.0001
  Prefactor  = 18.4633
  Prefactor  = 186.918
  Prefactor  = 54.5209
  Prefactor  = 0.000751602
  Prefactor  = 0.0001
  Prefactor  = 0.000100597
  Prefactor  = 0.000100196
  Prefactor  = 0.000104036
  norm       = 0.0001
  Prefactor  = 6.68793
  norm       = 4.77765
  Prefactor  = 1.1691
  norm       = 0.0300102
  Normalizat = 0.244653
  Prefactor  = 1.05016
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   781.4967     FROM HESSE     STATUS=FAILED        49 CALLS      815 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    47.718        .93835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.969        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10005E-03    108.93        .91035E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          31.743        28.886        .17824E-02   -1.4581    
   5  Prefactor     .10834E-03    28.238        .84461E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27852E-01    322.19        .12108       -1.5741    
   7  norm          .10000E-03    52.930        .95236E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     61.906        61.648        .13149E-02   -1.4133    
   9  norm          .10000E-03    32.277        .93440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.463        26.403        .22967E-02   -1.4848    
  11  Prefactor     186.92        201.80        .72008E-03   -1.2965    
  12  Prefactor     54.521        83.845        .13764E-02   -1.4230    
  13  Prefactor     .75160E-03    718.69        .52355E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    62.246        .91018E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10060E-03    114.93        .91166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10020E-03    288.54        .10655E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10404E-03    157.78        .94232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    26.149        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.6879        9531.4        .33923E-02   -1.5191    
  20  norm          533.77        528.94         .0000       -1.5271    
  21  Prefactor     1.1691        1.1478         .0000       -1.5492    
  22  norm          .30010E-01    .17150       -.13537E-03   -1.5743    
  23  Normalizat    .24465        .53145        .18402E-04   -1.2631    
  24  Prefactor     1.0502        1.1949        .10287E-04   -.91076    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.2232e-09
Minuit parameter uncertainties:
  1  6.51593e-05
  2  1.90389e-06
  3  0.00453168
  4  28.8984
  5  0.0307144
  6  6.0131
  7  0.00014205
  8  61.7118
  9  0.000224278
  10  26.4194
  11  202.554
  12  84.0274
  13  1.38559
  14  4.03006e-05
  15  0.0166013
  16  0.0151094
  17  0.0506056
  18  3.51193e-05
  19  665.268
  20  1.00558
  21  1.14786
  22  0.143245
  23  0.543038
  24  1.22745
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 781.49668139

Extracting fit parameters...

4FGL J1211.6-2735
   Spectrum: PowerLaw
289    Prefactor:  7.516e-04  1.386e+00  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.573e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  8.728e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
595    Prefactor:  1.050e+00  1.227e+00  0.000e+00  1.000e+01 ( 1.000e+00)
596        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
597        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  2.447e-01  5.430e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 182.901 -27.588
Photon Flux Upper Limit: 8.49e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.64e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/401786/likelihoodResults_577324801_577584001_4FGL_J1211.6-2735_daily_bin1304.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) = 781.49668139
delta logL = 2.60342858383e-11

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 781.49668139
delta logL = 5.20685716765e-11

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   781.4967     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      203 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    714.64        .10469E-01** at limit **
   2  Index         2.5676        5.9341        .50000        .10398E-05
   3  Normalizat    .24465        .15276E-01    .14079        .93731E-05
   4  Prefactor     1.0502        .78791E-02    .39901E-01   -.60963E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100014
  Index      = 2.56761
  Normalizat = 0.244652
  Prefactor  = 1.05016
 **********
 **   18 **HESSE 
 **********

 FCN=   781.4967     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      236 TOTAL
                     EDM=   .94E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    6645.8        .20939E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5676        8.2482        .50000       -.50805    
   3  Normalizat    .24465        .34514E-01    .62206E-03   -1.2631    
   4  Prefactor     1.0502        .17797E-01    .15834E-03   -.91076    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.43822e-08
Minuit parameter uncertainties:
  1  0.0142704
  2  1250.8
  3  0.0345167
  4  0.0177971
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/401786': 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) = 781.496680948
delta logL = 4.42652208221e-07

Extracting fit parameters...

4FGL J1211.6-2735
   Spectrum: PowerLaw
289    Prefactor:  1.000e-04  1.427e-02  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.568e+00  1.251e+03  0.000e+00  1.000e+01 (-1.000e+00)
291        Scale:  8.728e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
595    Prefactor:  1.050e+00  1.780e-02  0.000e+00  1.000e+01 ( 1.000e+00)
596        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
597        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  2.447e-01  3.452e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 182.901 -27.588

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/401786/cmap_HighResolution_577324801_577584001_4FGL_J1211.6-2735_daily_bin1304.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.64e-02', job_status='DONE', photon_flux_upper_limit='8.49e-07', time_completed='2021-09-05 03:44:27.604098', job_id='401786', GAL2='1.05', fit_tolerance='1e-08', EG2='0.24', EG='0.24', time_epoch_completed='1630838667.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='1.05', dlogl='4.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1304' AND source_name='4FGL J1211.6-2735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 03:44:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 401786: <4FGL_J1211.6-2735_daily_bin1304> in cluster <slac> Done

Job <4FGL_J1211.6-2735_daily_bin1304> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 03:35:18 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 03:35:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 03:35:20 2021
Terminated at Sun Sep  5 03:44:28 2021
Results reported at Sun Sep  5 03:44:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1211.6-2735_daily_bin1304 182.901 -27.5877 577324801 577584001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1211.6-2735 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   343.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   547 sec.
    Turnaround time :                            550 sec.

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

