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


Performing analysis on: 4FGL_J1211.6-2735_daily_bin694
RA = 182.901, Dec = -27.5877
tmin = 419212801, tmax = 419472001
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='397781', job_status='RUN', time_executed='2021-09-05 03:25:18.841193', time_epoch_executed='1630837518.84' WHERE source_name='4FGL J1211.6-2735' and cadence='daily' and bin_id='694'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/397781

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/397781/ft1_4FGL_J1211.6-2735_daily_bin694.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/397781/ft2_4FGL_J1211.6-2735_daily_bin694.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/397781/ft1_4FGL_J1211.6-2735_daily_bin694.fits outfile=/scratch/kocevski/397781/ft1_filteredMKT_4FGL_J1211.6-2735_daily_bin694.fits ra=182.901 dec=-27.5877 rad=12.0 tmin=419212801.0 tmax=419472001.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 5.51
user 5.18
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/397781/ft2_4FGL_J1211.6-2735_daily_bin694.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/397781/ft1_filteredMKT_4FGL_J1211.6-2735_daily_bin694.fits evtable="EVENTS" outfile="/scratch/kocevski/397781/ft1_filtered_4FGL_J1211.6-2735_daily_bin694.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/397781/ft1_filtered_4FGL_J1211.6-2735_daily_bin694.fits" evtable="EVENTS" scfile=/scratch/kocevski/397781/ft2_4FGL_J1211.6-2735_daily_bin694.fits sctable="SC_DATA" outfile=/scratch/kocevski/397781/ltcube_419212801_419472001_4FGL_J1211.6-2735_daily_bin694.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/397781/ft2_4FGL_J1211.6-2735_daily_bin694.fits
.....................!
real 12.19
user 11.85
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/397781/ft1_filtered_4FGL_J1211.6-2735_daily_bin694.fits evtable="EVENTS" scfile=/scratch/kocevski/397781/ft2_4FGL_J1211.6-2735_daily_bin694.fits sctable="SC_DATA" expcube=/scratch/kocevski/397781/ltcube_419212801_419472001_4FGL_J1211.6-2735_daily_bin694.fits outfile=/scratch/kocevski/397781/expmap_419212801_419472001_4FGL_J1211.6-2735_daily_bin694.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/397781/ltcube_419212801_419472001_4FGL_J1211.6-2735_daily_bin694.fits
.....................!
real 193.46
user 188.30
sys 4.75

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/397781/ft1_filtered_4FGL_J1211.6-2735_daily_bin694.fits scfile=/scratch/kocevski/397781/ft2_4FGL_J1211.6-2735_daily_bin694.fits outfile=/scratch/kocevski/397781/cmap_419212801_419472001_4FGL_J1211.6-2735_daily_bin694.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.56
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/397781/ft1_filtered_4FGL_J1211.6-2735_daily_bin694.fits scfile=/scratch/kocevski/397781/ft2_4FGL_J1211.6-2735_daily_bin694.fits outfile=/scratch/kocevski/397781/cmap_HighResolution_419212801_419472001_4FGL_J1211.6-2735_daily_bin694.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.60
user 0.37
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/397781/ft1_filtered_4FGL_J1211.6-2735_daily_bin694.fits evtable="EVENTS" scfile=/scratch/kocevski/397781/ft2_4FGL_J1211.6-2735_daily_bin694.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/397781/Model_4FGL_J1211.6-2735_daily_bin694.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/397781/ft1_filtered_4FGL_J1211.6-2735_daily_bin694.fits.....................!
real 97.85
user 96.16
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    16.279       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.4091       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.0048       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.088       1.0000         .10000E-03   10000.    
     9 'norm      '    6.6257       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.0509       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.1889       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    11.597       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .49156E-02   1.0000         .10000E-03   10000.    
    22 'norm      '    4.3930       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1525       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87839       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.

 FCN=   5696.188     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2339 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    52.375        .41722E-05** at limit **
   2  Prefactor     .10000E-03    5.5610        .30915E-07** at limit **
   3  Prefactor     .10000E-03    19.142        .11130E-05** at limit **
   4  norm          16.277        11.456        .96203E-08   -.25471E-04
   5  Prefactor     4.4103        8.1976        .29428E-05    .90509E-03
   6  Prefactor     2.0028        71.029       -.14281E-05    .13700E-04
   7  norm          .10000E-03    22.659       -.15535E-05** at limit **
   8  Prefactor     11.084        20.195       -.38003E-07    .55154E-04
   9  norm          6.6271        6.6548        .90970E-07    .13527E-03
  10  Prefactor     9.0520        8.9379       -.15530E-06    .12210E-04
  11  Prefactor     .10001E-03    61.411       -.86399E-05** at limit **
  12  Prefactor     .10000E-03    7.4509       -.24623E-07** at limit **
  13  Prefactor     .10000E-03    53.806        .21475E-05** at limit **
  14  Prefactor     .10000E-03    11.277        .28548E-07** at limit **
  15  Prefactor     .10000E-03    25.659       -.74284E-07** at limit **
  16  Prefactor     .10000E-03    16.461       -.54953E-06** at limit **
  17  Prefactor     .10000E-03    19.720        .41077E-06** at limit **
  18  norm          2.1889        1.2717        .22465E-07    .77277E-03
  19  Prefactor     .10000E-03    54.715        .11762E-05** at limit **
  20  norm          11.609        12.804        .18448E-06    .85053E-03
  21  Prefactor     .12113E-03    18.429       -.45123E-05** at limit **
  22  norm          4.3932        6.4730        .22869E-06    .82509E-04
  23  Normalizat    1.1524        .28450       -.19495E-05    .15586E-03
  24  Prefactor     .87841        .12132        .48987E-06    .22170E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.2772
  Prefactor  = 4.41031
  Prefactor  = 2.00279
  norm       = 0.0001
  Prefactor  = 11.0835
  norm       = 6.62713
  Prefactor  = 9.05199
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.18894
  Prefactor  = 0.0001
  norm       = 11.609
  Prefactor  = 0.00012113
  norm       = 4.39323
  Normalizat = 1.15243
  Prefactor  = 0.878405
 **********
 **   18 **HESSE 
 **********

 FCN=   5696.188     FROM HESSE     STATUS=OK           403 CALLS     2742 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    52.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.5651        .17383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    19.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          16.277        11.458        .99267E-04   -1.4901    
   5  Prefactor     4.4103        8.2706        .95897E-03   -1.5288    
   6  Prefactor     2.0028        71.362        .29245E-03   -1.5425    
   7  norm          .10000E-03    22.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.084        20.156        .12031E-03   -1.5042    
   9  norm          6.6271        6.6411        .15590E-03   -1.5193    
  10  Prefactor     9.0520        8.9393        .13322E-03   -1.5106    
  11  Prefactor     .10001E-03    61.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.4784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    53.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    25.672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    19.950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.1889        1.2655        .60990E-04   -1.5412    
  19  Prefactor     .10000E-03    54.738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          11.609        12.972        .11763E-03   -1.5026    
  21  Prefactor     .12113E-03    12.922        .54395E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.3932        6.4685        .19215E-03   -1.5289    
  23  Normalizat    1.1524        .34024        .35500E-03   -.88086    
  24  Prefactor     .87841        .14662        .17807E-03   -.96900    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.7173e-09
Minuit parameter uncertainties:
  1  0.000684099
  2  1.90072e-06
  3  0.00010376
  4  11.4594
  5  8.27278
  6  23.9404
  7  0.000163148
  8  20.1688
  9  6.64185
  10  8.9406
  11  0.00150538
  12  1.57149e-06
  13  0.000352401
  14  4.84779e-06
  15  3.663e-06
  16  4.81953e-05
  17  5.02574e-05
  18  1.26548
  19  0.000247334
  20  12.9751
  21  0.0330549
  22  6.46958
  23  0.340895
  24  0.146691
Done.

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

Extracting fit parameters...

4FGL J1211.6-2735
   Spectrum: PowerLaw
289    Prefactor:  1.000e-04  3.524e-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:  8.784e-01  1.467e-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.152e+00  3.409e-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: 1.55e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.21e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/397781/likelihoodResults_419212801_419472001_4FGL_J1211.6-2735_daily_bin694.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) = 5696.18773859
delta logL = -8.81703645064e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5696.18765092
delta logL = -4.99088855577e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10285E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9720       1.0000          .0000       10.000    
     3 'Normalizat'    1.1524       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87841       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=   5696.188     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      279 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10503E-03    13.291        .18142E-01** at limit **
   2  Index         2.8527        5.4333        .50000        .66016E-05
   3  Normalizat    1.1524        .39076E-02    .35500E-03   -.79678E-04
   4  Prefactor     .87841        .17478E-02    .17807E-03   -.14244E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000105029
  Index      = 2.85274
  Normalizat = 1.15242
  Prefactor  = 0.878406
 **********
 **   18 **HESSE 
 **********

 FCN=   5696.188     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      308 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10503E-03    916.65        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8527        5.8812        .50000       -.44388    
   3  Normalizat    1.1524        .33231E-01    .14200E-04   -.88086    
   4  Prefactor     .87841        .14864E-01    .35615E-04   -.96900    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.0302e-08
Minuit parameter uncertainties:
  1  0.137963
  2  1171.36
  3  0.033232
  4  0.0148641
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/397781': 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) = 5696.18765075
delta logL = -3.28841451847e-07

Extracting fit parameters...

4FGL J1211.6-2735
   Spectrum: PowerLaw
289    Prefactor:  1.050e-04  1.380e-01  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.853e+00  1.171e+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:  8.784e-01  1.486e-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:  1.152e+00  3.323e-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/397781/cmap_HighResolution_419212801_419472001_4FGL_J1211.6-2735_daily_bin694.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.21e-02', job_status='DONE', photon_flux_upper_limit='1.55e-07', time_completed='2021-09-05 03:36:51.426704', job_id='397781', GAL2='0.88', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1630838211.43', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='-3.29e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='694' AND source_name='4FGL J1211.6-2735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 03:36:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 397781: <4FGL_J1211.6-2735_daily_bin694> in cluster <slac> Done

Job <4FGL_J1211.6-2735_daily_bin694> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep  5 03:21:51 2021
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 03:21:52 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:21:52 2021
Terminated at Sun Sep  5 03:36:52 2021
Results reported at Sun Sep  5 03:36:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1211.6-2735_daily_bin694 182.901 -27.5877 419212801 419472001 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 :                                   691.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             250.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            901 sec.

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

