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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin740
RA = 180.173, Dec = 12.4922
tmin = 431136001, tmax = 431395201
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='252197', job_status='RUN', time_executed='2021-09-04 20:16:18.266275', time_epoch_executed='1630811778.27' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/252197

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/252197/ft1_4FGL_J1200.6+1229_daily_bin740.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/252197/ft2_4FGL_J1200.6+1229_daily_bin740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/252197/ft1_4FGL_J1200.6+1229_daily_bin740.fits outfile=/scratch/kocevski/252197/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin740.fits ra=180.173 dec=12.4922 rad=12.0 tmin=431136001.0 tmax=431395201.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.55
user 5.29
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/252197/ft1_filtered_4FGL_J1200.6+1229_daily_bin740.fits evtable="EVENTS" scfile=/scratch/kocevski/252197/ft2_4FGL_J1200.6+1229_daily_bin740.fits sctable="SC_DATA" expcube=/scratch/kocevski/252197/ltcube_431136001_431395201_4FGL_J1200.6+1229_daily_bin740.fits outfile=/scratch/kocevski/252197/expmap_431136001_431395201_4FGL_J1200.6+1229_daily_bin740.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/252197/ltcube_431136001_431395201_4FGL_J1200.6+1229_daily_bin740.fits
.....................!
real 191.20
user 186.06
sys 4.73

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/252197/ft1_filtered_4FGL_J1200.6+1229_daily_bin740.fits scfile=/scratch/kocevski/252197/ft2_4FGL_J1200.6+1229_daily_bin740.fits outfile=/scratch/kocevski/252197/cmap_431136001_431395201_4FGL_J1200.6+1229_daily_bin740.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/252197/ft1_filtered_4FGL_J1200.6+1229_daily_bin740.fits scfile=/scratch/kocevski/252197/ft2_4FGL_J1200.6+1229_daily_bin740.fits outfile=/scratch/kocevski/252197/cmap_HighResolution_431136001_431395201_4FGL_J1200.6+1229_daily_bin740.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/252197/ft1_filtered_4FGL_J1200.6+1229_daily_bin740.fits evtable="EVENTS" scfile=/scratch/kocevski/252197/ft2_4FGL_J1200.6+1229_daily_bin740.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/252197/Model_4FGL_J1200.6+1229_daily_bin740.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/252197/ft1_filtered_4FGL_J1200.6+1229_daily_bin740.fits.....................!
real 51.50
user 49.99
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/252197/ft1_filtered_4FGL_J1200.6+1229_daily_bin740.fits', '/scratch/kocevski/252197/ft2_4FGL_J1200.6+1229_daily_bin740.fits', expMap='/scratch/kocevski/252197/expmap_431136001_431395201_4FGL_J1200.6+1229_daily_bin740.fits', expCube='/scratch/kocevski/252197/ltcube_431136001_431395201_4FGL_J1200.6+1229_daily_bin740.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/252197/Model_4FGL_J1200.6+1229_daily_bin740.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/252197/ft1_filtered_4FGL_J1200.6+1229_daily_bin740.fits
Spacecraft file(s): /scratch/kocevski/252197/ft2_4FGL_J1200.6+1229_daily_bin740.fits
Exposure map: /scratch/kocevski/252197/expmap_431136001_431395201_4FGL_J1200.6+1229_daily_bin740.fits
Exposure cube: /scratch/kocevski/252197/ltcube_431136001_431395201_4FGL_J1200.6+1229_daily_bin740.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/252197/Model_4FGL_J1200.6+1229_daily_bin740.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) = 5112.16652052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .88087       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    81.791       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.3326       1.0000         .10000E-03   10000.    
     5 'Prefactor '    82.910       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.9342       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    41.548       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.9222       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11528E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.0995       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.3863       1.0000         .10000E-03   10000.    
    18 'norm      '    124.34       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.795       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3778       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .69664       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=   5112.151     FROM MIGRAD    STATUS=CONVERGED    519 CALLS     2558 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .95179        12.311       -.29202E-06    .43597E-04
   2  Prefactor     .10000E-03    5.4730       -.32796E-07** at limit **
   3  Prefactor     81.808        55.221       -.35462E-06    .69099E-05
   4  Prefactor     8.3319        11.295       -.20922E-08    .12980E-05
   5  Prefactor     83.045        121.90       -.97212E-05   -.68977E-05
   6  Prefactor     .10000E-03    5.7693        .13274E-06** at limit **
   7  Prefactor     6.9336        8.2037       -.11671E-06   -.23804E-05
   8  Prefactor     .10000E-03    7.7544        .73872E-07** at limit **
   9  Prefactor     .10000E-03    3.6036        .11873E-08** at limit **
  10  Prefactor     .10000E-03    39.364        .80219E-06** at limit **
  11  Prefactor     41.529        45.554        .15617E-05   -.83051E-05
  12  Prefactor     1.9332        4.9508       -.44668E-06   -.16797E-03
  13  Prefactor     .10000E-03    4.0373        .15471E-06** at limit **
  14  Prefactor     .10000E-03    76.565        .36230E-05** at limit **
  15  norm          4.1060        6.4113        .17449E-05   -.22964E-04
  16  Prefactor     .10000E-03    11.022        .56830E-07** at limit **
  17  norm          2.3863        .54195        .11792E-07   -.17845E-03
  18  norm          124.36        89.077       -.35167E-05   -.13191E-04
  19  Prefactor     .10000E-03    59.801       -.25023E-05** at limit **
  20  Prefactor     11.794        8.9243       -.63506E-07   -.45489E-05
  21  Prefactor     .10000E-03    7.5901       -.14836E-06** at limit **
  22  Normalizat    1.3777        .23926       -.18016E-05    .72463E-06
  23  Prefactor     .69668        .19973        .24980E-05   -.51853E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.951787
  Prefactor  = 0.0001
  Prefactor  = 81.8076
  Prefactor  = 8.33195
  Prefactor  = 83.0445
  Prefactor  = 0.0001
  Prefactor  = 6.93361
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.5294
  Prefactor  = 1.93322
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.10598
  Prefactor  = 0.0001
  norm       = 2.38625
  norm       = 124.358
  Prefactor  = 0.0001
  Prefactor  = 11.7944
  Prefactor  = 0.0001
  Normalizat = 1.37773
  Prefactor  = 0.696681
 **********
 **   18 **HESSE 
 **********

 FCN=   5112.151     FROM HESSE     STATUS=OK           370 CALLS     2928 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .95179        40.088        .46072E-02   -1.5513    
   2  Prefactor     .10000E-03    5.4825        .16336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     81.808        55.020        .44412E-04   -1.3897    
   4  Prefactor     8.3319        11.286        .13888E-03   -1.5131    
   5  Prefactor     83.045        122.07        .22057E-03   -1.3883    
   6  Prefactor     .10000E-03    5.8041        .16772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.9336        8.1961        .15235E-03   -1.5181    
   8  Prefactor     .10000E-03    7.7640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.6386        .13226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    39.378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     41.529        45.578        .62190E-04   -1.4418    
  12  Prefactor     1.9332        4.4414        .20971E-03   -1.5430    
  13  Prefactor     .10000E-03    6.1981        .24480E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    77.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.1060        6.4582        .84370E-03   -1.5303    
  16  Prefactor     .10000E-03    11.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.3863        .54313        .23813E-04   -1.5399    
  18  norm          124.36        89.440        .36097E-04   -1.3473    
  19  Prefactor     .10000E-03    59.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.794        8.9247        .11664E-03   -1.5021    
  21  Prefactor     .10000E-03    7.5922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3777        .27620        .25463E-03   -.81275    
  23  Prefactor     .69668        .22878        .30762E-03   -1.0366    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.49386e-10
Minuit parameter uncertainties:
  1  12.3622
  2  1.67548e-06
  3  55.0546
  4  11.2889
  5  122.44
  6  1.72715e-05
  7  8.19744
  8  2.79732e-06
  9  7.39531e-06
  10  1.12806e-05
  11  45.6163
  12  4.44219
  13  7.38206e-05
  14  0.000104
  15  6.4593
  16  1.29997e-06
  17  0.543133
  18  89.5376
  19  1.41269e-05
  20  8.92569
  21  1.16795e-06
  22  0.276495
  23  0.229091
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  2.797e-06  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:  6.967e-01  2.291e-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.378e+00  2.765e-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: 7.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/252197/likelihoodResults_431136001_431395201_4FGL_J1200.6+1229_daily_bin740.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) = 5112.15170202
delta logL = -0.000610702388258

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5112.1510913
delta logL = 1.59643605002e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3789       1.0000          .0000       10.000    
     3 'Normalizat'    1.3777       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69668       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=   5112.151     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      212 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.9766        .90712E-02** at limit **
   2  Index         2.3704        6.1852        .50000        .93309E-05
   3  Normalizat    1.3777        .21468        .57583E-01   -.40129E-05
   4  Prefactor     .69668        .19215        .69512E-01    .22604E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.37042
  Normalizat = 1.37773
  Prefactor  = 0.696682
 **********
 **   18 **HESSE 
 **********

 FCN=   5112.151     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3704        6.0852        .50000       -.55379    
   3  Normalizat    1.3777        .25064        .25464E-03   -.81275    
   4  Prefactor     .69668        .22403        .30762E-03   -1.0366    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27482e-10
Minuit parameter uncertainties:
  1  2.28458e-05
  2  5.53219
  3  0.250864
  4  0.224316
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/252197': 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) = 5112.15109128
delta logL = 3.78313416149e-08

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  2.285e-05  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.370e+00  5.532e+00  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:  6.967e-01  2.243e-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.378e+00  2.509e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/252197/cmap_HighResolution_431136001_431395201_4FGL_J1200.6+1229_daily_bin740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.92e-03', job_status='DONE', photon_flux_upper_limit='7.67e-08', time_completed='2021-09-04 20:27:00.717501', job_id='252197', GAL2='0.70', fit_tolerance='1e-08', EG2='1.38', EG='1.38', time_epoch_completed='1630812420.72', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='3.78e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='740' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:27:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 252197: <4FGL_J1200.6+1229_daily_bin740> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin740> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep  4 20:16:00 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:16:01 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:16:01 2021
Terminated at Sat Sep  4 20:27:01 2021
Results reported at Sat Sep  4 20:27:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin740 180.173 12.4922 431136001 431395201 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 :                                   639.50 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             337.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   659 sec.
    Turnaround time :                            661 sec.

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

