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


Performing analysis on: 4FGL_J1200.7+2008_daily_bin1434
RA = 180.187, Dec = 20.1354
tmin = 611020801, tmax = 611280001
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='263908', job_status='RUN', time_executed='2021-09-04 20:52:44.864747', time_epoch_executed='1630813964.86' WHERE source_name='4FGL J1200.7+2008' and cadence='daily' and bin_id='1434'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/263908

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/263908/ft1_4FGL_J1200.7+2008_daily_bin1434.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/263908/ft2_4FGL_J1200.7+2008_daily_bin1434.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/263908/ft1_4FGL_J1200.7+2008_daily_bin1434.fits outfile=/scratch/kocevski/263908/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin1434.fits ra=180.187 dec=20.1354 rad=12.0 tmin=611020801.0 tmax=611280001.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.59
user 3.27
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/263908/ft2_4FGL_J1200.7+2008_daily_bin1434.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/263908/ft2_4FGL_J1200.7+2008_daily_bin1434.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/263908/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin1434.fits evtable="EVENTS" outfile="/scratch/kocevski/263908/ft1_filtered_4FGL_J1200.7+2008_daily_bin1434.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/263908/ft1_filtered_4FGL_J1200.7+2008_daily_bin1434.fits" evtable="EVENTS" scfile=/scratch/kocevski/263908/ft2_4FGL_J1200.7+2008_daily_bin1434.fits sctable="SC_DATA" outfile=/scratch/kocevski/263908/ltcube_611020801_611280001_4FGL_J1200.7+2008_daily_bin1434.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/263908/ft2_4FGL_J1200.7+2008_daily_bin1434.fits
.....................!
real 12.37
user 12.01
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/263908/ft1_filtered_4FGL_J1200.7+2008_daily_bin1434.fits evtable="EVENTS" scfile=/scratch/kocevski/263908/ft2_4FGL_J1200.7+2008_daily_bin1434.fits sctable="SC_DATA" expcube=/scratch/kocevski/263908/ltcube_611020801_611280001_4FGL_J1200.7+2008_daily_bin1434.fits outfile=/scratch/kocevski/263908/expmap_611020801_611280001_4FGL_J1200.7+2008_daily_bin1434.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/263908/ltcube_611020801_611280001_4FGL_J1200.7+2008_daily_bin1434.fits
.....................!
real 191.38
user 186.01
sys 4.71

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

Setting source of interest to:
4FGL J1200.7+2008 @ 180.187 20.1354

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/263908/ft1_filtered_4FGL_J1200.7+2008_daily_bin1434.fits scfile=/scratch/kocevski/263908/ft2_4FGL_J1200.7+2008_daily_bin1434.fits outfile=/scratch/kocevski/263908/cmap_611020801_611280001_4FGL_J1200.7+2008_daily_bin1434.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.187 yref=20.1354 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/263908/ft1_filtered_4FGL_J1200.7+2008_daily_bin1434.fits scfile=/scratch/kocevski/263908/ft2_4FGL_J1200.7+2008_daily_bin1434.fits outfile=/scratch/kocevski/263908/cmap_HighResolution_611020801_611280001_4FGL_J1200.7+2008_daily_bin1434.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.187 yref=20.1354 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.59
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/263908/ft1_filtered_4FGL_J1200.7+2008_daily_bin1434.fits evtable="EVENTS" scfile=/scratch/kocevski/263908/ft2_4FGL_J1200.7+2008_daily_bin1434.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/263908/Model_4FGL_J1200.7+2008_daily_bin1434.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/263908/ft1_filtered_4FGL_J1200.7+2008_daily_bin1434.fits.....................!
real 57.77
user 56.36
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/263908/ft1_filtered_4FGL_J1200.7+2008_daily_bin1434.fits', '/scratch/kocevski/263908/ft2_4FGL_J1200.7+2008_daily_bin1434.fits', expMap='/scratch/kocevski/263908/expmap_611020801_611280001_4FGL_J1200.7+2008_daily_bin1434.fits', expCube='/scratch/kocevski/263908/ltcube_611020801_611280001_4FGL_J1200.7+2008_daily_bin1434.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/263908/Model_4FGL_J1200.7+2008_daily_bin1434.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1200.7+2008'

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  1.085e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.520e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  7.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/263908/ft1_filtered_4FGL_J1200.7+2008_daily_bin1434.fits
Spacecraft file(s): /scratch/kocevski/263908/ft2_4FGL_J1200.7+2008_daily_bin1434.fits
Exposure map: /scratch/kocevski/263908/expmap_611020801_611280001_4FGL_J1200.7+2008_daily_bin1434.fits
Exposure cube: /scratch/kocevski/263908/ltcube_611020801_611280001_4FGL_J1200.7+2008_daily_bin1434.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/263908/Model_4FGL_J1200.7+2008_daily_bin1434.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) = 6095.22958054

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.412       1.0000         .10000E-03   10000.    
     2 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.9839       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10843E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10491E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.654       1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.644       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10716E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.709       1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .17910       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10306E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .57952       1.0000         .10000E-03   10000.    
    16 'norm      '    6.5895       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.1991       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.0920       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.0653       1.0000         .10000E-03   10000.    
    20 'norm      '    .21672       1.0000         .10000E-03   10000.    
    21 'norm      '    7.8858       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.2188       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0493       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1155       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6095.226     FROM MIGRAD    STATUS=CONVERGED    106 CALLS     2609 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.413        6.5501       -.60858E-05   -.80195E-02
   2  norm          .10000E-03    2.7201       -.57938E-07** at limit **
   3  Prefactor     5.9839        3.0525       -.42779E-05   -.15692E-02
   4  Prefactor     .10073E-03    136.08       -.54738E-04** at limit **
   5  Prefactor     .10102E-03    49.095        .23872E-04** at limit **
   6  Prefactor     15.667        1.5591        .29475E-06    .10093E-02
   7  Prefactor     21.647        3.8879        .24844E-05   -.36287E-02
   8  Prefactor     .10000E-03    1.6411        .32166E-06** at limit **
   9  Prefactor     15.711        1.8216       -.13698E-05    .11794E-02
  10  norm          .10000E-03    .36258       -.99271E-08** at limit **
  11  Prefactor     .10000E-03    7.5635       -.81436E-07** at limit **
  12  Prefactor     .16348        6.5313        .13791E-04   -.76494E-03
  13  Prefactor     .10188E-03    17.632       -.97179E-05** at limit **
  14  Prefactor     .10000E-03    1.5001        .60637E-06** at limit **
  15  Prefactor     .58071        3.1773        .54783E-06   -.53438E-04
  16  norm          6.5895        3.4639       -.45023E-05   -.73080E-03
  17  Prefactor     4.1990        2.8635        .39729E-05    .55114E-03
  18  Prefactor     4.0922        2.5080       -.10626E-05   -.20413E-04
  19  Prefactor     4.0656        2.2990        .45796E-05    .10828E-02
  20  norm          .21675        .17758       -.30885E-06    .13541E-02
  21  norm          7.8864        4.7359        .58506E-05    .91351E-03
  22  Prefactor     5.2183        1.2640        .32317E-06    .17455E-02
  23  Prefactor     .10000E-03    6.3788        .88370E-07** at limit **
  24  Prefactor     .10056E-03    22.852       -.51435E-05** at limit **
  25  Normalizat    1.0490        .21952       -.16563E-05    .10228E-03
  26  Prefactor     1.1158        .22875        .16688E-05    .56274E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.4131
  norm       = 0.0001
  Prefactor  = 5.98386
  Prefactor  = 0.000100734
  Prefactor  = 0.00010102
  Prefactor  = 15.6668
  Prefactor  = 21.6468
  Prefactor  = 0.0001
  Prefactor  = 15.7113
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.163477
  Prefactor  = 0.000101883
  Prefactor  = 0.0001
  Prefactor  = 0.580712
  norm       = 6.58954
  Prefactor  = 4.19899
  Prefactor  = 4.09224
  Prefactor  = 4.0656
  norm       = 0.216753
  norm       = 7.88644
  Prefactor  = 5.21826
  Prefactor  = 0.0001
  Prefactor  = 0.000100559
  Normalizat = 1.04897
  Prefactor  = 1.11584
 **********
 **   18 **HESSE 
 **********

 FCN=   6095.226     FROM HESSE     STATUS=OK           532 CALLS     3141 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.413        9.9809        .24716E-02   -1.4897    
   2  norm          .10000E-03    2.7169        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.9839        13.288        .41037E-02   -1.5219    
   4  Prefactor     .10073E-03    139.50        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10102E-03    8.7558        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.667        22.655        .25308E-02   -1.4916    
   7  Prefactor     21.647        12.365        .21524E-02   -1.4777    
   8  Prefactor     .10000E-03    .98116        .28847E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.711        10.920        .25263E-02   -1.4915    
  10  norm          .10000E-03    .35080        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.5463        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16348        2.3649        .75660E-01   -1.5627    
  13  Prefactor     .10188E-03    36.473        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.4864        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .58071        3.2529        .11591E-01   -1.5556    
  16  norm          6.5895        3.4542        .39082E-02   -1.5195    
  17  Prefactor     4.1990        2.8551        .49166E-02   -1.5298    
  18  Prefactor     4.0922        2.5189        .49824E-02   -1.5303    
  19  Prefactor     4.0656        8.1181        .49993E-02   -1.5305    
  20  norm          .21675        .17357        .64688E-02   -1.5615    
  21  norm          7.8864        5.9144        .35697E-02   -1.5146    
  22  Prefactor     5.2183        7.0924        .43990E-02   -1.5251    
  23  Prefactor     .10000E-03    6.3524        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10056E-03    32.481        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0490        .19701        .58237E-01   -.91407    
  26  Prefactor     1.1158        .19194        .59945E-01   -.88962    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34208e-07
Minuit parameter uncertainties:
  1  9.98189
  2  5.78672e-07
  3  13.2943
  4  0.0202807
  5  0.00597688
  6  22.6672
  7  12.3666
  8  1.77662e-06
  9  10.9213
  10  5.87638e-07
  11  4.07776e-05
  12  1.24324
  13  0.0165842
  14  1.89277e-06
  15  2.74881
  16  3.45435
  17  2.8552
  18  2.51893
  19  8.12029
  20  0.173574
  21  5.91484
  22  7.09358
  23  1.0463e-05
  24  0.00852473
  25  0.197151
  26  0.192055
Done.

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

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  1.635e-01  1.243e+00  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.520e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  7.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  1.116e+00  1.921e-01  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  1.049e+00  1.972e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 180.187 20.135
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/263908/likelihoodResults_611020801_611280001_4FGL_J1200.7+2008_daily_bin1434.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) = 6094.84721326
delta logL = 0.378858551769

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6094.84698148
delta logL = 0.379090332757

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6094.847     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      246 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24206        4.3797        .99839E-02    .21222E-02
   2  Index         4.4558        3.2973        .14949        .12363E-03
   3  Normalizat    .98799        .34345E-01    .46016E-01    .13639E-04
   4  Prefactor     1.1535        .36564E-01    .59092E-01    .69886E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.242063
  Index      = 4.45576
  Normalizat = 0.987994
  Prefactor  = 1.15351
 **********
 **   18 **HESSE 
 **********

 FCN=   6094.847     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      281 TOTAL
                     EDM=   .96E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24206        16.516        .45377E-03   -1.5610    
   2  Index         4.4558        6.9959        .78640E-02   -.10906    
   3  Normalizat    .98799        .14928        .26436E-03   -.93434    
   4  Prefactor     1.1535        .15738        .26132E-03   -.87774    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.62103e-11
Minuit parameter uncertainties:
  1  3.99924
  2  9.42344
  3  0.149342
  4  0.157448
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/263908': 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) = 6094.84697861
delta logL = 0.379093207265

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  2.421e-01  3.999e+00  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  4.456e+00  9.423e+00  0.000e+00  1.000e+01 (-1.000e+00)
283        Scale:  7.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  1.154e+00  1.574e-01  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  9.880e-01  1.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 180.187 20.135

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/263908/cmap_HighResolution_611020801_611280001_4FGL_J1200.7+2008_daily_bin1434.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.26e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2021-09-04 21:05:59.404265', job_id='263908', GAL2='1.15', fit_tolerance='1e-08', EG2='0.99', EG='1.05', time_epoch_completed='1630814759.4', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='3.79e-01', ts2='0.82', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1434' AND source_name='4FGL J1200.7+2008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 21:05:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0134>
Subject: Job 263908: <4FGL_J1200.7+2008_daily_bin1434> in cluster <slac> Done

Job <4FGL_J1200.7+2008_daily_bin1434> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Sep  4 20:50:35 2021
Job was executed on host(s) <bullet0134>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:50:37 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:50:37 2021
Terminated at Sat Sep  4 21:06:00 2021
Results reported at Sat Sep  4 21:06:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.7+2008_daily_bin1434 180.187 20.1354 611020801 611280001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1200.7+2008 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   749.49 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             258.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   922 sec.
    Turnaround time :                            925 sec.

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

