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


Performing analysis on: 4FGL_J1200.7+2008_daily_bin1489
RA = 180.187, Dec = 20.1354
tmin = 625276801, tmax = 625536001
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='264027', job_status='RUN', time_executed='2021-09-04 20:53:57.853337', time_epoch_executed='1630814037.85' WHERE source_name='4FGL J1200.7+2008' and cadence='daily' and bin_id='1489'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/264027

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/264027/ft1_4FGL_J1200.7+2008_daily_bin1489.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/264027/ft2_4FGL_J1200.7+2008_daily_bin1489.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/264027/ft1_4FGL_J1200.7+2008_daily_bin1489.fits outfile=/scratch/kocevski/264027/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin1489.fits ra=180.187 dec=20.1354 rad=12.0 tmin=625276801.0 tmax=625536001.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.56
user 3.33
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/264027/ft2_4FGL_J1200.7+2008_daily_bin1489.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/264027/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin1489.fits evtable="EVENTS" outfile="/scratch/kocevski/264027/ft1_filtered_4FGL_J1200.7+2008_daily_bin1489.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.51
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/264027/ft1_filtered_4FGL_J1200.7+2008_daily_bin1489.fits" evtable="EVENTS" scfile=/scratch/kocevski/264027/ft2_4FGL_J1200.7+2008_daily_bin1489.fits sctable="SC_DATA" outfile=/scratch/kocevski/264027/ltcube_625276801_625536001_4FGL_J1200.7+2008_daily_bin1489.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/264027/ft2_4FGL_J1200.7+2008_daily_bin1489.fits
.....................!
real 12.38
user 11.99
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/264027/ft1_filtered_4FGL_J1200.7+2008_daily_bin1489.fits evtable="EVENTS" scfile=/scratch/kocevski/264027/ft2_4FGL_J1200.7+2008_daily_bin1489.fits sctable="SC_DATA" expcube=/scratch/kocevski/264027/ltcube_625276801_625536001_4FGL_J1200.7+2008_daily_bin1489.fits outfile=/scratch/kocevski/264027/expmap_625276801_625536001_4FGL_J1200.7+2008_daily_bin1489.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/264027/ltcube_625276801_625536001_4FGL_J1200.7+2008_daily_bin1489.fits
.....................!
real 190.27
user 185.64
sys 4.14

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/264027/ft1_filtered_4FGL_J1200.7+2008_daily_bin1489.fits scfile=/scratch/kocevski/264027/ft2_4FGL_J1200.7+2008_daily_bin1489.fits outfile=/scratch/kocevski/264027/cmap_625276801_625536001_4FGL_J1200.7+2008_daily_bin1489.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/264027/ft1_filtered_4FGL_J1200.7+2008_daily_bin1489.fits scfile=/scratch/kocevski/264027/ft2_4FGL_J1200.7+2008_daily_bin1489.fits outfile=/scratch/kocevski/264027/cmap_HighResolution_625276801_625536001_4FGL_J1200.7+2008_daily_bin1489.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.56
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/264027/ft1_filtered_4FGL_J1200.7+2008_daily_bin1489.fits evtable="EVENTS" scfile=/scratch/kocevski/264027/ft2_4FGL_J1200.7+2008_daily_bin1489.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/264027/Model_4FGL_J1200.7+2008_daily_bin1489.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/264027/ft1_filtered_4FGL_J1200.7+2008_daily_bin1489.fits.....................!
real 53.11
user 51.73
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/264027/ft1_filtered_4FGL_J1200.7+2008_daily_bin1489.fits', '/scratch/kocevski/264027/ft2_4FGL_J1200.7+2008_daily_bin1489.fits', expMap='/scratch/kocevski/264027/expmap_625276801_625536001_4FGL_J1200.7+2008_daily_bin1489.fits', expCube='/scratch/kocevski/264027/ltcube_625276801_625536001_4FGL_J1200.7+2008_daily_bin1489.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/264027/Model_4FGL_J1200.7+2008_daily_bin1489.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/264027/ft1_filtered_4FGL_J1200.7+2008_daily_bin1489.fits
Spacecraft file(s): /scratch/kocevski/264027/ft2_4FGL_J1200.7+2008_daily_bin1489.fits
Exposure map: /scratch/kocevski/264027/expmap_625276801_625536001_4FGL_J1200.7+2008_daily_bin1489.fits
Exposure cube: /scratch/kocevski/264027/ltcube_625276801_625536001_4FGL_J1200.7+2008_daily_bin1489.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/264027/Model_4FGL_J1200.7+2008_daily_bin1489.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) = 5394.28009251

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.243       1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.650       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10399E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.9646       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.1883       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6320       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.8741       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.281       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.118       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11356E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .81427E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.5365       1.0000         .10000E-03   10000.    
    16 'norm      '    2.6404       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.108       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.1975       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.3770       1.0000         .10000E-03   10000.    
    20 'norm      '    .36682       1.0000         .10000E-03   10000.    
    21 'norm      '    .14586E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    18.038       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .25874       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1392       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .89607       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5394.268     FROM MIGRAD    STATUS=CONVERGED   1155 CALLS     3672 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.242        7.3177        .12519E-03    .75171E-04
   2  norm          .10000E-03    4.2666        .14797E-02** at limit **
   3  Prefactor     14.647        12.057        .10464E-03   -.17165E-04
   4  Prefactor     .10000E-03    62.689        .18142E-02** at limit **
   5  Prefactor     9.9642        14.418        .12694E-03    .17106E-04
   6  Prefactor     .10000E-03    10.336        .18142E-02** at limit **
   7  Prefactor     1.1857        12.491        .41818E-03    .47032E-05
   8  Prefactor     1.6312        1.9611        .10783E-03    .95938E-05
   9  Prefactor     .10000E-03    3.9705        .14276E-02** at limit **
  10  norm          1.8736        1.2453        .63965E-04    .97754E-05
  11  Prefactor     15.287        17.952        .10246E-03    .37615E-04
  12  Prefactor     11.122        5.1699        .10659E-03    .44041E-03
  13  Prefactor     .10000E-03    70.481        .18142E-02** at limit **
  14  Prefactor     .36408E-03    5.8271        .27115E-01** at limit **
  15  Prefactor     3.5472        4.1155        .13793E-03    .65624E-03
  16  norm          2.6403        2.4430        .10450E-03    .79418E-05
  17  Prefactor     10.108        3.5290        .76925E-04    .27932E-04
  18  Prefactor     1.1970        1.6468        .10881E-03    .10344E-04
  19  Prefactor     1.3775        6.4751        .17739E-02   -.58798E-03
  20  norm          .36683        .24288        .28273E-04    .78651E-03
  21  norm          .10000E-03    34.696        .22085E-02** at limit **
  22  Prefactor     18.052        12.707        .94302E-04    .14744E-03
  23  Prefactor     .10000E-03    4.9730        .15966E-02** at limit **
  24  Prefactor     .17878        21.259        .10341        .22103E-03
  25  Normalizat    1.1393        .22471        .24227E-03    .39712E-03
  26  Prefactor     .89614        .22167        .27967E-03    .23419E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2421
  norm       = 0.0001
  Prefactor  = 14.6473
  Prefactor  = 0.0001
  Prefactor  = 9.9642
  Prefactor  = 0.0001
  Prefactor  = 1.1857
  Prefactor  = 1.63117
  Prefactor  = 0.0001
  norm       = 1.87363
  Prefactor  = 15.2867
  Prefactor  = 11.1222
  Prefactor  = 0.0001
  Prefactor  = 0.000364079
  Prefactor  = 3.54719
  norm       = 2.64032
  Prefactor  = 10.1076
  Prefactor  = 1.19703
  Prefactor  = 1.37753
  norm       = 0.366834
  norm       = 0.0001
  Prefactor  = 18.0516
  Prefactor  = 0.0001
  Prefactor  = 0.178779
  Normalizat = 1.13931
  Prefactor  = 0.896143
 **********
 **   18 **HESSE 
 **********

 FCN=   5394.268     FROM HESSE     STATUS=OK           452 CALLS     4124 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.242        7.3175        .25039E-04   -1.5068    
   2  norm          .10000E-03    4.2669        .29593E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.647        12.056        .41858E-05   -1.4942    
   4  Prefactor     .10000E-03    62.705        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.9642        14.418        .50776E-05   -1.5077    
   6  Prefactor     .10000E-03    10.337        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.1857        12.483        .16727E-04   -1.5490    
   8  Prefactor     1.6312        1.9608        .43134E-05   -1.5453    
   9  Prefactor     .10000E-03    3.9707        .28552E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.8736        1.2452        .25586E-05   -1.5434    
  11  Prefactor     15.287        17.951        .40983E-05   -1.4926    
  12  Prefactor     11.122        5.1661        .42634E-05   -1.5041    
  13  Prefactor     .10000E-03    70.482        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .36408E-03    3.4379        .36689E-01   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.5472        4.0792        .55173E-05   -1.5331    
  16  norm          2.6403        2.4430        .41800E-05   -1.5383    
  17  Prefactor     10.108        3.5290        .30770E-05   -1.5072    
  18  Prefactor     1.1970        1.6466        .43522E-05   -1.5489    
  19  Prefactor     1.3775        6.4389        .70957E-04   -1.5473    
  20  norm          .36683        .24278        .11309E-05   -1.5587    
  21  norm          .10000E-03    35.718        .88341E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     18.052        12.707        .18860E-04   -1.4858    
  23  Prefactor     .10000E-03    4.9736        .31933E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .17878        21.306        .10322       -1.5623    
  25  Normalizat    1.1393        .22485        .48455E-04   -.88499    
  26  Prefactor     .89614        .22179        .11187E-04   -.96276    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50973e-09
Minuit parameter uncertainties:
  1  7.31816
  2  4.79742e-06
  3  12.0582
  4  0.000242159
  5  14.4233
  6  1.52652e-05
  7  7.69622
  8  1.96091
  9  4.49071e-06
  10  1.24523
  11  17.9577
  12  5.16634
  13  3.65771e-05
  14  0.0602654
  15  4.07955
  16  2.4431
  17  3.52909
  18  1.6467
  19  5.95726
  20  0.242778
  21  8.4289e-05
  22  12.7086
  23  2.72562e-06
  24  3.90369
  25  0.225041
  26  0.222018
Done.

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

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  1.112e+01  5.166e+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:  8.961e-01  2.220e-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.139e+00  2.250e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.67
Ra Dec: 180.187 20.135
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 1.08e-07 +/- 5.03e-08
Energy Flux (Fixed Index): 3.08e-05 +/- 1.43e-05

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): 0
logL (Free Index) = 5394.26127982
delta logL = 0.0065660133414

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5394.25434334
delta logL = 0.0135024896008

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5394.254     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      229 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.336        7.1724        .10215E-03   -.23668E-02
   2  Index         2.6000        .51897        .49197E-02   -.51278E-03
   3  Normalizat    1.1336        .21565        .24279E-03    .26765E-03
   4  Prefactor     .90093        .22214        .27903E-03    .41245E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.3362
  Index      = 2.60002
  Normalizat = 1.13361
  Prefactor  = 0.900933
 **********
 **   18 **HESSE 
 **********

 FCN=   5394.254     FROM HESSE     STATUS=OK            23 CALLS      252 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.336        6.8403        .20430E-04   -1.5065    
   2  Index         2.6000        .49473        .19679E-03   -.50065    
   3  Normalizat    1.1336        .21559        .48557E-04   -.88680    
   4  Prefactor     .90093        .22205        .55805E-04   -.96108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15707e-09
Minuit parameter uncertainties:
  1  6.84083
  2  0.49579
  3  0.215759
  4  0.222271
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/264027': 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) = 5394.2543433
delta logL = 0.0135025372228

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  1.034e+01  6.841e+00  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.600e+00  4.958e-01  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:  9.009e-01  2.223e-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.134e+00  2.158e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.63
Ra Dec: 180.187 20.135
Photon Index (Free Index): 2.60 +/- 0.50
Photon Flux (Free Index): 1.12e-07 +/- 5.54e-08
Energy Flux (Free Index): 2.94e-05 +/- 1.55e-05

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/264027/cmap_HighResolution_625276801_625536001_4FGL_J1200.7+2008_daily_bin1489.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.08e-07', energy_flux2='2.94e-05', photon_flux_error='5.03e-08', dlogl='1.35e-02', energy_flux='3.08e-05', photon_flux2='1.12e-07', job_status='DONE', time_completed='2021-09-04 21:07:04.079251', photon_index_error2='0.50', photon_index2='2.60', ts='8.67', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='1.14', time_epoch_completed='1630814824.08', return_code='0', job_id='264027', GAL2='0.90', EG2='1.13', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='5.54e-08', ts2='8.63', photon_index='2.52' WHERE bin_id='1489' AND source_name='4FGL J1200.7+2008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 21:07:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 264027: <4FGL_J1200.7+2008_daily_bin1489> in cluster <slac> Done

Job <4FGL_J1200.7+2008_daily_bin1489> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Sep  4 20:50:41 2021
Job was executed on host(s) <bullet0156>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:50:43 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:43 2021
Terminated at Sat Sep  4 21:07:04 2021
Results reported at Sat Sep  4 21:07:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.7+2008_daily_bin1489 180.187 20.1354 625276801 625536001 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 :                                   685.43 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             256.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            983 sec.

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

