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


Performing analysis on: 4FGL_J1211.6-2735_daily_bin381
RA = 182.901, Dec = -27.5877
tmin = 338083201, tmax = 338342401
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='395490', job_status='RUN', time_executed='2021-09-05 03:15:57.448188', time_epoch_executed='1630836957.45' WHERE source_name='4FGL J1211.6-2735' and cadence='daily' and bin_id='381'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/395490

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/395490/ft1_4FGL_J1211.6-2735_daily_bin381.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/395490/ft2_4FGL_J1211.6-2735_daily_bin381.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/395490/ft1_4FGL_J1211.6-2735_daily_bin381.fits outfile=/scratch/kocevski/395490/ft1_filteredMKT_4FGL_J1211.6-2735_daily_bin381.fits ra=182.901 dec=-27.5877 rad=12.0 tmin=338083201.0 tmax=338342401.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 6.66
user 6.38
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/395490/ft1_filtered_4FGL_J1211.6-2735_daily_bin381.fits" evtable="EVENTS" scfile=/scratch/kocevski/395490/ft2_4FGL_J1211.6-2735_daily_bin381.fits sctable="SC_DATA" outfile=/scratch/kocevski/395490/ltcube_338083201_338342401_4FGL_J1211.6-2735_daily_bin381.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/395490/ft2_4FGL_J1211.6-2735_daily_bin381.fits
.....................!
real 11.75
user 11.37
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/395490/ft1_filtered_4FGL_J1211.6-2735_daily_bin381.fits evtable="EVENTS" scfile=/scratch/kocevski/395490/ft2_4FGL_J1211.6-2735_daily_bin381.fits sctable="SC_DATA" expcube=/scratch/kocevski/395490/ltcube_338083201_338342401_4FGL_J1211.6-2735_daily_bin381.fits outfile=/scratch/kocevski/395490/expmap_338083201_338342401_4FGL_J1211.6-2735_daily_bin381.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/395490/ltcube_338083201_338342401_4FGL_J1211.6-2735_daily_bin381.fits
.....................!
real 191.66
user 185.71
sys 5.52

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/395490/ft1_filtered_4FGL_J1211.6-2735_daily_bin381.fits scfile=/scratch/kocevski/395490/ft2_4FGL_J1211.6-2735_daily_bin381.fits outfile=/scratch/kocevski/395490/cmap_338083201_338342401_4FGL_J1211.6-2735_daily_bin381.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/395490/ft1_filtered_4FGL_J1211.6-2735_daily_bin381.fits scfile=/scratch/kocevski/395490/ft2_4FGL_J1211.6-2735_daily_bin381.fits outfile=/scratch/kocevski/395490/cmap_HighResolution_338083201_338342401_4FGL_J1211.6-2735_daily_bin381.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.56
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/395490/ft1_filtered_4FGL_J1211.6-2735_daily_bin381.fits evtable="EVENTS" scfile=/scratch/kocevski/395490/ft2_4FGL_J1211.6-2735_daily_bin381.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/395490/Model_4FGL_J1211.6-2735_daily_bin381.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/395490/ft1_filtered_4FGL_J1211.6-2735_daily_bin381.fits.....................!
real 143.03
user 140.89
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/395490/ft1_filtered_4FGL_J1211.6-2735_daily_bin381.fits', '/scratch/kocevski/395490/ft2_4FGL_J1211.6-2735_daily_bin381.fits', expMap='/scratch/kocevski/395490/expmap_338083201_338342401_4FGL_J1211.6-2735_daily_bin381.fits', expCube='/scratch/kocevski/395490/ltcube_338083201_338342401_4FGL_J1211.6-2735_daily_bin381.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/395490/Model_4FGL_J1211.6-2735_daily_bin381.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/395490/ft1_filtered_4FGL_J1211.6-2735_daily_bin381.fits
Spacecraft file(s): /scratch/kocevski/395490/ft2_4FGL_J1211.6-2735_daily_bin381.fits
Exposure map: /scratch/kocevski/395490/expmap_338083201_338342401_4FGL_J1211.6-2735_daily_bin381.fits
Exposure cube: /scratch/kocevski/395490/ltcube_338083201_338342401_4FGL_J1211.6-2735_daily_bin381.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/395490/Model_4FGL_J1211.6-2735_daily_bin381.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) = 8027.40405295

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .73874       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    16.094       1.0000         .10000E-03   10000.    
     8 'Prefactor '    50.717       1.0000         .10000E-03   10000.    
     9 'norm      '    .12506E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12679E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.0156       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    33.402       1.0000         .10000E-03   10000.    
    16 'Prefactor '    34.532       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    7.7650       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.0980       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.7159       1.0000         .10000E-03   10000.    
    22 'norm      '    5.1785       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2733       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95830       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8027.401     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     2344 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    5.2702        .96907E-05** at limit **
   2  Prefactor     .81417        8.7030       -.13976E-05    .66974E-03
   3  Prefactor     .10000E-03    8.6402       -.10168E-05** at limit **
   4  norm          .10000E-03    4.4639       -.13420E-05** at limit **
   5  Prefactor     .10000E-03    2.5451        .10840E-06** at limit **
   6  Prefactor     .10000E-03    9.3385        .21598E-05** at limit **
   7  norm          16.096        1.3941       -.32977E-06   -.84085E-03
   8  Prefactor     50.671        18.902        .89054E-05   -.50393E-03
   9  norm          .10001E-03    18.984        .20862E-04** at limit **
  10  Prefactor     .10000E-03    6.9159       -.88774E-05** at limit **
  11  Prefactor     .10006E-03    336.46       -.40086E-04** at limit **
  12  Prefactor     7.0166        1.0692        .35558E-06    .10099E-03
  13  Prefactor     .10000E-03    16.582       -.27085E-04** at limit **
  14  Prefactor     .10000E-03    4.8011       -.26577E-05** at limit **
  15  Prefactor     33.392        2.4298        .99896E-06   -.79924E-03
  16  Prefactor     34.540        2.6680       -.12238E-05    .10066E-02
  17  Prefactor     .10000E-03    7.4937        .78588E-05** at limit **
  18  norm          7.7653        1.6229        .26432E-06    .59963E-03
  19  Prefactor     .10002E-03    28.780       -.11982E-04** at limit **
  20  norm          3.0978        1.9434        .31526E-07   -.17073E-04
  21  Prefactor     1.7163        3.6946        .25267E-06    .37405E-04
  22  norm          5.1791        5.0066       -.10602E-05    .44157E-05
  23  Normalizat    1.2730        .29238       -.84741E-05    .21006E-04
  24  Prefactor     .95834        .13481        .16628E-05    .20425E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Prefactor  = 0.814175
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.0955
  Prefactor  = 50.6706
  norm       = 0.000100007
  Prefactor  = 0.000100004
  Prefactor  = 0.00010006
  Prefactor  = 7.01661
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 33.3915
  Prefactor  = 34.5404
  Prefactor  = 0.000100003
  norm       = 7.76529
  Prefactor  = 0.000100023
  norm       = 3.09775
  Prefactor  = 1.71626
  norm       = 5.17913
  Normalizat = 1.27304
  Prefactor  = 0.958339
 **********
 **   18 **HESSE 
 **********

 FCN=   8027.401     FROM HESSE     STATUS=OK           457 CALLS     2801 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    12.286        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .81417        7.0258        .12210       -1.5528    
   3  Prefactor     .10000E-03    8.5657        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.4394        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.5102        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.3413        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          16.096        16.382        .24959E-02   -1.4905    
   8  Prefactor     50.671        22.568        .14078E-02   -1.4283    
   9  norm          .10001E-03    5.4554        .60751E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.8963        .49765E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10006E-03    332.37        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.0166        9.3267        .37865E-02   -1.5178    
  13  Prefactor     .10000E-03    17.054        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.516        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     33.392        33.056        .17334E-02   -1.4552    
  16  Prefactor     34.540        28.447        .17048E-02   -1.4532    
  17  Prefactor     .10000E-03    12.485        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.7653        1.6253        .35975E-02   -1.5151    
  19  Prefactor     .10002E-03    30.827        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.0978        6.7558        .57600E-02   -1.5356    
  21  Prefactor     1.7163        4.9889        .80199E-02   -1.5446    
  22  norm          5.1791        5.0141        .44164E-02   -1.5253    
  23  Normalizat    1.2730        .24669        .80787E-01   -.84375    
  24  Prefactor     .95834        .11196        .45744E-01   -.94131    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06512e-07
Minuit parameter uncertainties:
  1  0.000531463
  2  4.78387
  3  4.7195e-06
  4  1.77073e-05
  5  8.01462e-06
  6  6.46771e-05
  7  16.3869
  8  22.572
  9  0.000404104
  10  0.000211653
  11  0.00897164
  12  9.32867
  13  0.000356069
  14  0.000229885
  15  33.0746
  16  28.4579
  17  0.000358953
  18  1.62535
  19  0.00169174
  20  6.75745
  21  4.99011
  22  5.01452
  23  0.246917
  24  0.111991
Done.

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

Extracting fit parameters...

4FGL J1211.6-2735
   Spectrum: PowerLaw
289    Prefactor:  1.000e-04  3.561e-04  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:  9.583e-01  1.120e-01  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:  1.273e+00  2.469e-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: 9.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/395490/likelihoodResults_338083201_338342401_4FGL_J1211.6-2735_daily_bin381.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) = 8027.40095676
delta logL = -0.000278811536191

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8027.40067819
delta logL = -2.38482243731e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8027.401     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      237 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.046        .18142E-02** at limit **
   2  Index         2.5121        6.1937        .50000       -.37448E-05
   3  Normalizat    1.2730        .28374        .35763E-03   -.68093E-04
   4  Prefactor     .95834        .13350        .18924E-03   -.27188E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.51215
  Normalizat = 1.27304
  Prefactor  = 0.958338
 **********
 **   18 **HESSE 
 **********

 FCN=   8027.401     FROM HESSE     STATUS=OK            29 CALLS      266 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.947        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5121        6.2539        .50000       -.52080    
   3  Normalizat    1.2730        .28400        .14305E-04   -.84375    
   4  Prefactor     .95834        .13362        .37847E-04   -.94131    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.43775e-11
Minuit parameter uncertainties:
  1  0.000125034
  2  4.37258
  3  0.284346
  4  0.133667
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/395490': 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) = 8027.40067801
delta logL = -5.35364961252e-08

Extracting fit parameters...

4FGL J1211.6-2735
   Spectrum: PowerLaw
289    Prefactor:  1.000e-04  1.250e-04  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.512e+00  4.373e+00  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:  9.583e-01  1.337e-01  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:  1.273e+00  2.843e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/395490/cmap_HighResolution_338083201_338342401_4FGL_J1211.6-2735_daily_bin381.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.07e-03', job_status='DONE', photon_flux_upper_limit='9.05e-08', time_completed='2021-09-05 03:31:03.191663', job_id='395490', GAL2='0.96', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1630837863.19', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-5.35e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='381' AND source_name='4FGL J1211.6-2735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 03:31:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 395490: <4FGL_J1211.6-2735_daily_bin381> in cluster <slac> Done

Job <4FGL_J1211.6-2735_daily_bin381> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 03:15:43 2021
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 03:15:44 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:15:44 2021
Terminated at Sun Sep  5 03:31:03 2021
Results reported at Sun Sep  5 03:31:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1211.6-2735_daily_bin381 182.901 -27.5877 338083201 338342401 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 :                                   892.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             363.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            920 sec.

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

