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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin89
RA = 180.173, Dec = 12.4922
tmin = 262396801, tmax = 262656001
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='247791', job_status='RUN', time_executed='2021-09-04 20:03:32.744225', time_epoch_executed='1630811012.74' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='89'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/247791

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/247791/ft1_4FGL_J1200.6+1229_daily_bin89.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/247791/ft2_4FGL_J1200.6+1229_daily_bin89.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/247791/ft1_4FGL_J1200.6+1229_daily_bin89.fits outfile=/scratch/kocevski/247791/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin89.fits ra=180.173 dec=12.4922 rad=12.0 tmin=262396801.0 tmax=262656001.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.56
user 1.23
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/247791/ft2_4FGL_J1200.6+1229_daily_bin89.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/247791/ft2_4FGL_J1200.6+1229_daily_bin89.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/247791/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin89.fits evtable="EVENTS" outfile="/scratch/kocevski/247791/ft1_filtered_4FGL_J1200.6+1229_daily_bin89.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.61
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/247791/ft1_filtered_4FGL_J1200.6+1229_daily_bin89.fits" evtable="EVENTS" scfile=/scratch/kocevski/247791/ft2_4FGL_J1200.6+1229_daily_bin89.fits sctable="SC_DATA" outfile=/scratch/kocevski/247791/ltcube_262396801_262656001_4FGL_J1200.6+1229_daily_bin89.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/247791/ft2_4FGL_J1200.6+1229_daily_bin89.fits
.....................!
real 14.06
user 13.65
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/247791/ft1_filtered_4FGL_J1200.6+1229_daily_bin89.fits evtable="EVENTS" scfile=/scratch/kocevski/247791/ft2_4FGL_J1200.6+1229_daily_bin89.fits sctable="SC_DATA" expcube=/scratch/kocevski/247791/ltcube_262396801_262656001_4FGL_J1200.6+1229_daily_bin89.fits outfile=/scratch/kocevski/247791/expmap_262396801_262656001_4FGL_J1200.6+1229_daily_bin89.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/247791/ltcube_262396801_262656001_4FGL_J1200.6+1229_daily_bin89.fits
.....................!
real 192.02
user 185.03
sys 5.25

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
Added 193 point sources and 0 extended sources

Setting source of interest to:
4FGL J1200.6+1229 @ 180.173 12.4922

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/247791/ft1_filtered_4FGL_J1200.6+1229_daily_bin89.fits scfile=/scratch/kocevski/247791/ft2_4FGL_J1200.6+1229_daily_bin89.fits outfile=/scratch/kocevski/247791/cmap_262396801_262656001_4FGL_J1200.6+1229_daily_bin89.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=180.173 yref=12.4922 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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/247791/ft1_filtered_4FGL_J1200.6+1229_daily_bin89.fits scfile=/scratch/kocevski/247791/ft2_4FGL_J1200.6+1229_daily_bin89.fits outfile=/scratch/kocevski/247791/cmap_HighResolution_262396801_262656001_4FGL_J1200.6+1229_daily_bin89.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=180.173 yref=12.4922 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/247791/ft1_filtered_4FGL_J1200.6+1229_daily_bin89.fits evtable="EVENTS" scfile=/scratch/kocevski/247791/ft2_4FGL_J1200.6+1229_daily_bin89.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/247791/Model_4FGL_J1200.6+1229_daily_bin89.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 EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/247791/ft1_filtered_4FGL_J1200.6+1229_daily_bin89.fits.....................!
real 64.31
user 62.93
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/247791/ft1_filtered_4FGL_J1200.6+1229_daily_bin89.fits', '/scratch/kocevski/247791/ft2_4FGL_J1200.6+1229_daily_bin89.fits', expMap='/scratch/kocevski/247791/expmap_262396801_262656001_4FGL_J1200.6+1229_daily_bin89.fits', expCube='/scratch/kocevski/247791/ltcube_262396801_262656001_4FGL_J1200.6+1229_daily_bin89.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/247791/Model_4FGL_J1200.6+1229_daily_bin89.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1200.6+1229'

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  3.077e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.387e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.088e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/247791/ft1_filtered_4FGL_J1200.6+1229_daily_bin89.fits
Spacecraft file(s): /scratch/kocevski/247791/ft2_4FGL_J1200.6+1229_daily_bin89.fits
Exposure map: /scratch/kocevski/247791/expmap_262396801_262656001_4FGL_J1200.6+1229_daily_bin89.fits
Exposure cube: /scratch/kocevski/247791/ltcube_262396801_262656001_4FGL_J1200.6+1229_daily_bin89.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/247791/Model_4FGL_J1200.6+1229_daily_bin89.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) = 6796.03930587

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.2878       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.6964       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.6700       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.7738       1.0000         .10000E-03   10000.    
     5 'Prefactor '    55.471       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13357E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .90724E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.0901       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.6356       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.1487       1.0000         .10000E-03   10000.    
    15 'norm      '    11.868       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.2199       1.0000         .10000E-03   10000.    
    17 'norm      '    .66113       1.0000         .10000E-03   10000.    
    18 'norm      '    5.4065       1.0000         .10000E-03   10000.    
    19 'Prefactor '    40.030       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.5205       1.0000         .10000E-03   10000.    
    21 'Prefactor '    29.862       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2605       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .76996       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6796.035     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2631 TOTAL
                     EDM=   .66E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.2878        8.8688        .38659E-07   -.54143E-05
   2  Prefactor     4.6935        8.4810        .24728E-06   -.31273E-06
   3  Prefactor     8.6765        17.763        .84930E-06    .35554E-05
   4  Prefactor     8.7723        8.9956       -.34914E-07   -.88531E-05
   5  Prefactor     55.503        65.508       -.30496E-05   -.36734E-05
   6  Prefactor     .10000E-03    2.9743        .43208E-07** at limit **
   7  Prefactor     .10001E-03    4.5534       -.67927E-06** at limit **
   8  Prefactor     .10001E-03    7.6935       -.59688E-06** at limit **
   9  Prefactor     .10000E-03    1.4878        .17641E-07** at limit **
  10  Prefactor     .10000E-03    30.445       -.20421E-06** at limit **
  11  Prefactor     2.1222        124.50        .10351E-04    .33416E-04
  12  Prefactor     .10000E-03    1.5736        .28460E-06** at limit **
  13  Prefactor     1.6354        2.4032        .13669E-05   -.16575E-03
  14  Prefactor     5.1376        19.383       -.21492E-05   -.11106E-04
  15  norm          11.872        4.9742        .10016E-06   -.38086E-04
  16  Prefactor     8.2127        25.182       -.45334E-06    .10248E-05
  17  norm          .66116        .24242       -.47611E-08   -.16841E-03
  18  norm          5.3435        74.380        .33935E-05    .34126E-05
  19  Prefactor     40.076        64.465       -.52703E-05   -.63994E-05
  20  Prefactor     6.5194        7.2207       -.15175E-06   -.58919E-05
  21  Prefactor     29.876        27.919        .72262E-06    .22888E-05
  22  Normalizat    1.2603        .17954       -.73398E-06    .92046E-04
  23  Prefactor     .77003        .15756        .17466E-06    .30996E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.28776
  Prefactor  = 4.69351
  Prefactor  = 8.67649
  Prefactor  = 8.77226
  Prefactor  = 55.5033
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.12221
  Prefactor  = 0.0001
  Prefactor  = 1.6354
  Prefactor  = 5.13756
  norm       = 11.8721
  Prefactor  = 8.21274
  norm       = 0.661162
  norm       = 5.34347
  Prefactor  = 40.0759
  Prefactor  = 6.5194
  Prefactor  = 29.8765
  Normalizat = 1.26032
  Prefactor  = 0.770025
 **********
 **   18 **HESSE 
 **********

 FCN=   6796.035     FROM HESSE     STATUS=OK           382 CALLS     3013 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.2878        8.8684        .17479E-03   -1.5248    
   2  Prefactor     4.6935        8.4724        .18569E-03   -1.5275    
   3  Prefactor     8.6765        17.749        .13613E-03   -1.5119    
   4  Prefactor     8.7723        8.9930        .13532E-03   -1.5116    
   5  Prefactor     55.503        65.533        .53858E-04   -1.4217    
   6  Prefactor     .10000E-03    2.9861        .13884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    37.413        .32683E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    40.497        .43630E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.5205        .98150E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    30.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.1222        121.59        .28556E-03   -1.5417    
  12  Prefactor     .10000E-03    1.6426        .20194E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.6354        2.4098        .74750E-03   -1.5452    
  14  Prefactor     5.1376        19.352        .17718E-03   -1.5255    
  15  norm          11.872        4.9543        .50405E-03   -1.5019    
  16  Prefactor     8.2127        25.161        .13983E-03   -1.5135    
  17  norm          .66116        .24289        .23741E-04   -1.5545    
  18  norm          5.3435        73.997        .17282E-03   -1.5246    
  19  Prefactor     40.076        64.207        .31677E-03   -1.4441    
  20  Prefactor     6.5194        7.2143        .15716E-03   -1.5197    
  21  Prefactor     29.876        27.939        .73318E-04   -1.4614    
  22  Normalizat    1.2603        .21103        .23986E-03   -.84759    
  23  Prefactor     .77003        .18525        .27448E-03   -1.0084    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05537e-10
Minuit parameter uncertainties:
  1  8.87058
  2  8.47459
  3  17.7595
  4  8.9944
  5  65.618
  6  2.30105e-06
  7  0.000877041
  8  0.00116565
  9  3.80804e-07
  10  7.02189e-06
  11  32.1949
  12  2.3679e-06
  13  2.40998
  14  19.3753
  15  4.95446
  16  25.1934
  17  0.242893
  18  39.8288
  19  64.318
  20  7.21523
  21  27.9511
  22  0.211177
  23  0.185396
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  1.166e-03  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.387e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.088e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
616    Prefactor:  7.700e-01  1.854e-01  0.000e+00  1.000e+01 ( 1.000e+00)
617        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
618        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
615   Normalization:  1.260e+00  2.112e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 180.173 12.492
Photon Flux Upper Limit: 6.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/247791/likelihoodResults_262396801_262656001_4FGL_J1200.6+1229_daily_bin89.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) = 6796.03550212
delta logL = -0.000116479103781

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6796.03538571
delta logL = -7.28696250007e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6796.035     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      252 TOTAL
                     EDM=   .90E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.2818        .90712E-01** at limit **
   2  Index         2.4619        3.3826        .50000       -.22722E-05
   3  Normalizat    1.2603        .39759E-02    .54246E-01    .36896E-04
   4  Prefactor     .77003        .36688E-02    .62056E-01    .39835E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.46188
  Normalizat = 1.26031
  Prefactor  = 0.770026
 **********
 **   18 **HESSE 
 **********

 FCN=   6796.035     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      287 TOTAL
                     EDM=   .19E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6255.4        .44764E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4619        5.1663        .50000       -.53242    
   3  Normalizat    1.2603        .39677E-01    .23986E-03   -.84759    
   4  Prefactor     .77003        .36533E-01    .27448E-03   -1.0084    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.88475e-12
Minuit parameter uncertainties:
  1  0.00163732
  2  35.6727
  3  0.0396775
  4  0.0365337
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/247791': 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) = 6796.03538563
delta logL = 1.22799974633e-08

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  1.637e-03  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.462e+00  3.567e+01  0.000e+00  1.000e+01 (-1.000e+00)
301        Scale:  1.088e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
616    Prefactor:  7.700e-01  3.653e-02  0.000e+00  1.000e+01 ( 1.000e+00)
617        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
618        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
615   Normalization:  1.260e+00  3.968e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 180.173 12.492

Creating a high resolution counts map...
INFO: Auto-setting vmin to -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/247791/cmap_HighResolution_262396801_262656001_4FGL_J1200.6+1229_daily_bin89.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.15e-03', job_status='DONE', photon_flux_upper_limit='6.67e-08', time_completed='2021-09-04 20:16:02.371151', job_id='247791', GAL2='0.77', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1630811762.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='1.23e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='89' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:16:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 247791: <4FGL_J1200.6+1229_daily_bin89> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin89> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 20:01:18 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:01:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 20:01:20 2021
Terminated at Sat Sep  4 20:16:03 2021
Results reported at Sat Sep  4 20:16:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin89 180.173 12.4922 262396801 262656001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1200.6+1229 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   747.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             318.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            885 sec.

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

