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


Performing analysis on: 4FGL_J1200.7+2008_daily_bin7
RA = 180.187, Dec = 20.1354
tmin = 241142401, tmax = 241401601
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='255826', job_status='RUN', time_executed='2021-09-04 20:28:23.093459', time_epoch_executed='1630812503.09' WHERE source_name='4FGL J1200.7+2008' and cadence='daily' and bin_id='7'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/255826

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/255826/ft1_4FGL_J1200.7+2008_daily_bin7.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/255826/ft2_4FGL_J1200.7+2008_daily_bin7.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/255826/ft1_4FGL_J1200.7+2008_daily_bin7.fits outfile=/scratch/kocevski/255826/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin7.fits ra=180.187 dec=20.1354 rad=12.0 tmin=241142401.0 tmax=241401601.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.48
user 1.30
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/255826/ft2_4FGL_J1200.7+2008_daily_bin7.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/255826/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin7.fits evtable="EVENTS" outfile="/scratch/kocevski/255826/ft1_filtered_4FGL_J1200.7+2008_daily_bin7.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/255826/ft1_filtered_4FGL_J1200.7+2008_daily_bin7.fits" evtable="EVENTS" scfile=/scratch/kocevski/255826/ft2_4FGL_J1200.7+2008_daily_bin7.fits sctable="SC_DATA" outfile=/scratch/kocevski/255826/ltcube_241142401_241401601_4FGL_J1200.7+2008_daily_bin7.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/255826/ft2_4FGL_J1200.7+2008_daily_bin7.fits
.....................!
real 12.61
user 12.23
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/255826/ft1_filtered_4FGL_J1200.7+2008_daily_bin7.fits evtable="EVENTS" scfile=/scratch/kocevski/255826/ft2_4FGL_J1200.7+2008_daily_bin7.fits sctable="SC_DATA" expcube=/scratch/kocevski/255826/ltcube_241142401_241401601_4FGL_J1200.7+2008_daily_bin7.fits outfile=/scratch/kocevski/255826/expmap_241142401_241401601_4FGL_J1200.7+2008_daily_bin7.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/255826/ltcube_241142401_241401601_4FGL_J1200.7+2008_daily_bin7.fits
.....................!
real 191.06
user 185.71
sys 4.72

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/255826/ft1_filtered_4FGL_J1200.7+2008_daily_bin7.fits scfile=/scratch/kocevski/255826/ft2_4FGL_J1200.7+2008_daily_bin7.fits outfile=/scratch/kocevski/255826/cmap_241142401_241401601_4FGL_J1200.7+2008_daily_bin7.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/255826/ft1_filtered_4FGL_J1200.7+2008_daily_bin7.fits scfile=/scratch/kocevski/255826/ft2_4FGL_J1200.7+2008_daily_bin7.fits outfile=/scratch/kocevski/255826/cmap_HighResolution_241142401_241401601_4FGL_J1200.7+2008_daily_bin7.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.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/255826/ft1_filtered_4FGL_J1200.7+2008_daily_bin7.fits evtable="EVENTS" scfile=/scratch/kocevski/255826/ft2_4FGL_J1200.7+2008_daily_bin7.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/255826/Model_4FGL_J1200.7+2008_daily_bin7.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/255826/ft1_filtered_4FGL_J1200.7+2008_daily_bin7.fits.....................!
real 65.98
user 64.55
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9373       1.0000         .10000E-03   10000.    
     2 'norm      '    3.5088       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.664       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.0401       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    68.809       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.2020       1.0000         .10000E-03   10000.    
    16 'norm      '    2.1954       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.599       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.1950       1.0000         .10000E-03   10000.    
    20 'norm      '    .18473E-01   1.0000         .10000E-03   10000.    
    21 'norm      '    5.8852       1.0000         .10000E-03   10000.    
    22 'Prefactor '    14.357       1.0000         .10000E-03   10000.    
    23 'Prefactor '    10.191       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10221E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.4775       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .62006       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.

 FCN=   7514.267     FROM MIGRAD    STATUS=CONVERGED    604 CALLS     3078 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9374        4.8306       -.14876E-06   -.29010E-03
   2  norm          3.5073        10.104        .25641E-05   -.18625E-03
   3  Prefactor     .10000E-03    9.4501       -.77861E-06** at limit **
   4  Prefactor     .10000E-03    19.381       -.66112E-06** at limit **
   5  Prefactor     .10000E-03    16.004       -.12255E-06** at limit **
   6  Prefactor     11.664        14.648       -.57704E-07   -.39632E-04
   7  Prefactor     .10000E-03    3.0687       -.66683E-07** at limit **
   8  Prefactor     .10000E-03    .61712       -.74297E-07** at limit **
   9  Prefactor     .10001E-03    8.0532        .22667E-05** at limit **
  10  norm          1.0396        1.0142       -.37975E-07   -.63382E-03
  11  Prefactor     .10000E-03    7.2812        .16854E-05** at limit **
  12  Prefactor     .10000E-03    1.0460       -.60561E-07** at limit **
  13  Prefactor     68.830        69.265        .44175E-06    .14069E-03
  14  Prefactor     .10000E-03    .64157       -.38676E-07** at limit **
  15  Prefactor     1.2018        1.5506        .76642E-07    .71373E-04
  16  norm          2.1953        1.8572        .47766E-07    .17481E-03
  17  Prefactor     .10000E-03    1.3948       -.21736E-07** at limit **
  18  Prefactor     10.599        2.8441       -.18307E-07    .13961E-03
  19  Prefactor     2.1948        4.6397        .39921E-05   -.48999E-03
  20  norm          .18442E-01    .10755       -.65069E-07   -.92075E-03
  21  norm          5.8851        3.6406       -.49931E-06    .40607E-04
  22  Prefactor     14.356        9.1785       -.26417E-06   -.40692E-03
  23  Prefactor     10.191        8.8323        .20542E-07    .14460E-04
  24  Prefactor     .10000E-03    28.106       -.22449E-06** at limit **
  25  Normalizat    1.4776        .16255       -.61676E-06   -.14141E-04
  26  Prefactor     .61998        .15687        .14978E-06   -.19742E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.93737
  norm       = 3.50728
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.6637
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  norm       = 1.03959
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 68.83
  Prefactor  = 0.0001
  Prefactor  = 1.20184
  norm       = 2.19526
  Prefactor  = 0.0001
  Prefactor  = 10.5989
  Prefactor  = 2.19478
  norm       = 0.0184417
  norm       = 5.88508
  Prefactor  = 14.3563
  Prefactor  = 10.1908
  Prefactor  = 0.000100001
  Normalizat = 1.4776
  Prefactor  = 0.619984
 **********
 **   18 **HESSE 
 **********

 FCN=   7514.267     FROM HESSE     STATUS=OK           462 CALLS     3540 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9374        4.8364        .18100E-03   -1.5264    
   2  norm          3.5073        10.128        .10792E-02   -1.5333    
   3  Prefactor     .10000E-03    9.8170        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.664        14.652        .11730E-03   -1.5025    
   7  Prefactor     .10000E-03    3.0788        .14829E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .62515        .66448E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10001E-03    8.6004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.0396        .93934        .82378E-03   -1.5504    
  11  Prefactor     .10000E-03    7.5413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.0529        .86564E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     68.830        69.268        .48389E-04   -1.4047    
  14  Prefactor     .10000E-03    .64967        .67766E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.2018        1.5126        .11848E-03   -1.5489    
  16  norm          2.1953        1.8402        .10442E-03   -1.5412    
  17  Prefactor     .10000E-03    1.4321        .19851E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.599        2.8425        .71822E-04   -1.5057    
  19  Prefactor     2.1948        4.6759        .12754E-02   -1.5412    
  20  norm          .18442E-01    .24781        .53683E-03   -1.5681    
  21  norm          5.8851        3.6417        .12155E-03   -1.5223    
  22  Prefactor     14.356        9.1987        .10571E-03   -1.4950    
  23  Prefactor     10.191        8.8314        .12551E-03   -1.5069    
  24  Prefactor     .10000E-03    28.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.4776        .18739        .21882E-03   -.78410    
  26  Prefactor     .61998        .18030        .31909E-03   -1.0675    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05498e-08
Minuit parameter uncertainties:
  1  4.83676
  2  10.1331
  3  0.000274065
  4  0.000102637
  5  0.00016444
  6  14.6569
  7  6.49683e-06
  8  3.96562e-06
  9  0.000593174
  10  0.939356
  11  0.00029786
  12  4.73519e-06
  13  69.3488
  14  2.2778e-06
  15  1.51268
  16  1.84027
  17  1.37238e-06
  18  2.84257
  19  4.67665
  20  0.134839
  21  3.64181
  22  9.19961
  23  8.8325
  24  0.000307815
  25  0.187478
  26  0.180465
Done.

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

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  1.000e-04  4.735e-06  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:  6.200e-01  1.805e-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.478e+00  1.875e-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: 4.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/255826/likelihoodResults_241142401_241401601_4FGL_J1200.7+2008_daily_bin7.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) = 7514.27093718
delta logL = -0.00442740477592

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7514.26650984
delta logL = -6.83385223965e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5079       1.0000          .0000       10.000    
     3 'Normalizat'    1.4776       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62000       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=   7514.267     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      255 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.9382        .87135E-02** at limit **
   2  Index         2.1098        8.9122        .50000        .43451E-07
   3  Normalizat    1.4776        .10677E-01    .21882E-03    .18970E-03
   4  Prefactor     .61998        .10596E-01    .31909E-03    .14683E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.10979
  Normalizat = 1.4776
  Prefactor  = 0.619984
 **********
 **   18 **HESSE 
 **********

 FCN=   7514.267     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      284 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    79.016        .91856E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1098        6.5277        .50000       -.61633    
   3  Normalizat    1.4776        .36257E-01    .43764E-04   -.78410    
   4  Prefactor     .61998        .35980E-01    .12764E-04   -1.0675    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.99287e-09
Minuit parameter uncertainties:
  1  0.000237358
  2  535.698
  3  0.0362575
  4  0.0359816
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/255826': 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) = 7514.26650462
delta logL = 5.15264036949e-06

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  1.000e-04  2.374e-04  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.110e+00  5.357e+02  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:  6.200e-01  3.598e-02  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.478e+00  3.626e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/255826/cmap_HighResolution_241142401_241401601_4FGL_J1200.7+2008_daily_bin7.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.87e-03', job_status='DONE', photon_flux_upper_limit='4.97e-08', time_completed='2021-09-04 20:42:26.988949', job_id='255826', GAL2='0.62', fit_tolerance='1e-08', EG2='1.48', EG='1.48', time_epoch_completed='1630813346.99', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.62', dlogl='5.15e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='7' AND source_name='4FGL J1200.7+2008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:42:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 255826: <4FGL_J1200.7+2008_daily_bin7> in cluster <slac> Done

Job <4FGL_J1200.7+2008_daily_bin7> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep  4 20:26:04 2021
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:26:06 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:26:06 2021
Terminated at Sat Sep  4 20:42:27 2021
Results reported at Sat Sep  4 20:42:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.7+2008_daily_bin7 180.187 20.1354 241142401 241401601 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 :                                   843.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             292.06 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.

