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


Performing analysis on: 4FGL_J1200.7+2008_daily_bin1294
RA = 180.187, Dec = 20.1354
tmin = 574732801, tmax = 574992001
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='262464', job_status='RUN', time_executed='2021-09-04 20:48:19.657801', time_epoch_executed='1630813699.66' WHERE source_name='4FGL J1200.7+2008' and cadence='daily' and bin_id='1294'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/262464

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/262464/ft1_4FGL_J1200.7+2008_daily_bin1294.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/262464/ft2_4FGL_J1200.7+2008_daily_bin1294.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/262464/ft1_4FGL_J1200.7+2008_daily_bin1294.fits outfile=/scratch/kocevski/262464/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin1294.fits ra=180.187 dec=20.1354 rad=12.0 tmin=574732801.0 tmax=574992001.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.39
user 5.09
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/262464/ft1_filtered_4FGL_J1200.7+2008_daily_bin1294.fits" evtable="EVENTS" scfile=/scratch/kocevski/262464/ft2_4FGL_J1200.7+2008_daily_bin1294.fits sctable="SC_DATA" outfile=/scratch/kocevski/262464/ltcube_574732801_574992001_4FGL_J1200.7+2008_daily_bin1294.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/262464/ft2_4FGL_J1200.7+2008_daily_bin1294.fits
.....................!
real 11.33
user 10.99
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/262464/ft1_filtered_4FGL_J1200.7+2008_daily_bin1294.fits evtable="EVENTS" scfile=/scratch/kocevski/262464/ft2_4FGL_J1200.7+2008_daily_bin1294.fits sctable="SC_DATA" expcube=/scratch/kocevski/262464/ltcube_574732801_574992001_4FGL_J1200.7+2008_daily_bin1294.fits outfile=/scratch/kocevski/262464/expmap_574732801_574992001_4FGL_J1200.7+2008_daily_bin1294.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/262464/ltcube_574732801_574992001_4FGL_J1200.7+2008_daily_bin1294.fits
.....................!
real 192.68
user 187.42
sys 4.91

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/262464/ft1_filtered_4FGL_J1200.7+2008_daily_bin1294.fits scfile=/scratch/kocevski/262464/ft2_4FGL_J1200.7+2008_daily_bin1294.fits outfile=/scratch/kocevski/262464/cmap_574732801_574992001_4FGL_J1200.7+2008_daily_bin1294.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.63
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/262464/ft1_filtered_4FGL_J1200.7+2008_daily_bin1294.fits scfile=/scratch/kocevski/262464/ft2_4FGL_J1200.7+2008_daily_bin1294.fits outfile=/scratch/kocevski/262464/cmap_HighResolution_574732801_574992001_4FGL_J1200.7+2008_daily_bin1294.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.61
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.236       1.0000         .10000E-03   10000.    
     2 'norm      '    7.1056       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    98.977       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .16907E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .49127E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.552       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.2252       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.3505       1.0000         .10000E-03   10000.    
    10 'norm      '    3.8642       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.3018       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.6088       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.6251       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .92531       1.0000         .10000E-03   10000.    
    16 'norm      '    11.195       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .82880E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .81677       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .12688       1.0000         .10000E-03   10000.    
    21 'norm      '    13.294       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    27.111       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .75308       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1402       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=   5785.817     FROM MIGRAD    STATUS=CONVERGED    626 CALLS     3193 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.237        8.7232       -.30994E-07   -.41866E-04
   2  norm          7.1055        10.606       -.30943E-06   -.19624E-04
   3  Prefactor     .10000E-03    9.7372        .41144E-06** at limit **
   4  Prefactor     98.980        48.111        .47842E-06   -.33249E-04
   5  Prefactor     .10001E-03    5.7671        .85639E-06** at limit **
   6  Prefactor     .10001E-03    51.525       -.10470E-04** at limit **
   7  Prefactor     10.553        13.460       -.21630E-05   -.83480E-04
   8  Prefactor     4.2242        2.0287       -.91928E-07   -.40329E-03
   9  Prefactor     8.3506        8.8157       -.11727E-06   -.23348E-04
  10  norm          3.8639        1.2348       -.31766E-07   -.20330E-03
  11  Prefactor     4.3024        14.517       -.47625E-06   -.19657E-04
  12  Prefactor     2.6091        4.1802        .46674E-06   -.19949E-04
  13  Prefactor     .10000E-03    60.446        .34558E-05** at limit **
  14  Prefactor     1.6241        2.7916       -.64588E-06   -.24269E-03
  15  Prefactor     .92626        2.4874       -.67019E-07    .16482E-03
  16  norm          11.202        4.1663        .39633E-06    .25774E-03
  17  Prefactor     .71958E-01    6.6059       -.37056E-05    .34654E-03
  18  Prefactor     .81689        2.1738       -.57530E-06   -.18701E-04
  19  Prefactor     .10000E-03    2.8261       -.53484E-06** at limit **
  20  norm          .12692        .20682       -.39543E-07    .18164E-03
  21  norm          13.294        5.4245        .58221E-06   -.28546E-03
  22  Prefactor     .10000E-03    3.0341        .13780E-07** at limit **
  23  Prefactor     .10000E-03    4.5614       -.82545E-07** at limit **
  24  Prefactor     27.112        24.421       -.20162E-07   -.19302E-04
  25  Normalizat    .75301        .19853        .45775E-06   -.14841E-03
  26  Prefactor     1.1402        .19869       -.55067E-06   -.10103E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.2375
  norm       = 7.10553
  Prefactor  = 0.0001
  Prefactor  = 98.9801
  Prefactor  = 0.000100012
  Prefactor  = 0.000100011
  Prefactor  = 10.5532
  Prefactor  = 4.22416
  Prefactor  = 8.35056
  norm       = 3.86393
  Prefactor  = 4.30237
  Prefactor  = 2.60908
  Prefactor  = 0.0001
  Prefactor  = 1.62409
  Prefactor  = 0.926255
  norm       = 11.202
  Prefactor  = 0.0719585
  Prefactor  = 0.816887
  Prefactor  = 0.0001
  norm       = 0.126924
  norm       = 13.2941
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.112
  Normalizat = 0.753012
  Prefactor  = 1.14022
 **********
 **   18 **HESSE 
 **********

 FCN=   5785.817     FROM HESSE     STATUS=OK           470 CALLS     3663 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.237        8.7220        .99400E-04   -1.4902    
   2  norm          7.1055        10.603        .15049E-03   -1.5175    
   3  Prefactor     .10000E-03    9.9300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     98.980        48.144        .40407E-04   -1.3715    
   5  Prefactor     .10001E-03    22.781        .33877E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    72.806        .41208E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.553        13.455        .61670E-03   -1.5058    
   8  Prefactor     4.2242        2.0013        .70818E-04   -1.5297    
   9  Prefactor     8.3506        8.8099        .13873E-03   -1.5130    
  10  norm          3.8639        1.2335        .45997E-04   -1.5315    
  11  Prefactor     4.3024        14.503        .19423E-03   -1.5293    
  12  Prefactor     2.6091        4.1437        .17893E-03   -1.5385    
  13  Prefactor     .10000E-03    60.355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.6241        2.6984        .14604E-03   -1.5453    
  15  Prefactor     .92626        2.3930        .17645E-03   -1.5515    
  16  norm          11.202        4.3367        .80227E-04   -1.5038    
  17  Prefactor     .71958E-01    18.403        .16095E-02   -1.5654    
  18  Prefactor     .81689        2.1355        .16399E-03   -1.5527    
  19  Prefactor     .10000E-03    2.8505        .12503E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .12692        .19467        .41232E-03   -1.5637    
  21  norm          13.294        5.3775        .10733E-03   -1.4979    
  22  Prefactor     .10000E-03    3.0374        .12938E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    4.5808        .15862E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     27.112        24.422        .76940E-04   -1.4666    
  25  Normalizat    .75301        .23204        .28195E-03   -1.0184    
  26  Prefactor     1.1402        .23744        .25275E-03   -.88191    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0042e-09
Minuit parameter uncertainties:
  1  8.72273
  2  10.6062
  3  2.03617e-05
  4  48.163
  5  0.00106591
  6  0.00178873
  7  13.4589
  8  2.00134
  9  8.81124
  10  1.23351
  11  14.5146
  12  4.14419
  13  0.000169221
  14  2.69865
  15  2.39324
  16  4.33685
  17  2.30062
  18  2.1357
  19  2.5795e-05
  20  0.194674
  21  5.37765
  22  2.05781e-06
  23  1.03129e-06
  24  24.4312
  25  0.232345
  26  0.237661
Done.

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

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  2.609e+00  4.144e+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.140e+00  2.377e-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:  7.530e-01  2.323e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/262464/likelihoodResults_574732801_574992001_4FGL_J1200.7+2008_daily_bin1294.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): 0
logL (Free Index) = 5785.7787229
delta logL = 0.0382761674928

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5785.77122068
delta logL = 0.0457783956599

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1459       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8411       1.0000          .0000       10.000    
     3 'Normalizat'    .74296       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1470       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=   5785.771     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      248 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1456        4.2094        .14695E-03    .43401E-04
   2  Index         2.8412        1.2068        .93958E-02    .26844E-04
   3  Normalizat    .74297        .22043        .28371E-03   -.25317E-03
   4  Prefactor     1.1470        .23597        .25209E-03   -.28162E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.14563
  Index      = 2.84119
  Normalizat = 0.742967
  Prefactor  = 1.147
 **********
 **   18 **HESSE 
 **********

 FCN=   5785.771     FROM HESSE     STATUS=OK            25 CALLS      273 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1456        3.8469        .58780E-05   -1.5415    
   2  Index         2.8412        1.1035        .37583E-03   -.44644    
   3  Normalizat    .74297        .22051        .11348E-04   -1.0222    
   4  Prefactor     1.1470        .23590        .50419E-04   -.87978    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30117e-10
Minuit parameter uncertainties:
  1  3.84731
  2  1.11487
  3  0.220773
  4  0.236113
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/262464': 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) = 5785.77122067
delta logL = 0.0457784020291

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  2.146e+00  3.847e+00  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.841e+00  1.115e+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.147e+00  2.361e-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:  7.430e-01  2.208e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.51
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/262464/cmap_HighResolution_574732801_574992001_4FGL_J1200.7+2008_daily_bin1294.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.72e-03', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2021-09-04 21:01:14.383579', job_id='262464', GAL2='1.15', fit_tolerance='1e-08', EG2='0.74', EG='0.75', time_epoch_completed='1630814474.38', return_code2='0', ts='0.51', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='4.58e-02', ts2='0.61', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1294' AND source_name='4FGL J1200.7+2008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 21:01:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 262464: <4FGL_J1200.7+2008_daily_bin1294> in cluster <slac> Done

Job <4FGL_J1200.7+2008_daily_bin1294> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep  4 20:45:55 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:45:56 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:45:56 2021
Terminated at Sat Sep  4 21:01:15 2021
Results reported at Sat Sep  4 21:01:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.7+2008_daily_bin1294 180.187 20.1354 574732801 574992001 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 :                                   765.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             287.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            920 sec.

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

