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


Performing analysis on: 4FGL_J1200.7+2008_daily_bin24
RA = 180.187, Dec = 20.1354
tmin = 245548801, tmax = 245808001
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='255858', job_status='RUN', time_executed='2021-09-04 20:28:33.499772', time_epoch_executed='1630812513.5' WHERE source_name='4FGL J1200.7+2008' and cadence='daily' and bin_id='24'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/255858

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/255858/ft1_4FGL_J1200.7+2008_daily_bin24.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/255858/ft2_4FGL_J1200.7+2008_daily_bin24.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/255858/ft1_4FGL_J1200.7+2008_daily_bin24.fits outfile=/scratch/kocevski/255858/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin24.fits ra=180.187 dec=20.1354 rad=12.0 tmin=245548801.0 tmax=245808001.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.44
user 1.27
sys 0.14

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/255858/ft1_filtered_4FGL_J1200.7+2008_daily_bin24.fits" evtable="EVENTS" scfile=/scratch/kocevski/255858/ft2_4FGL_J1200.7+2008_daily_bin24.fits sctable="SC_DATA" outfile=/scratch/kocevski/255858/ltcube_245548801_245808001_4FGL_J1200.7+2008_daily_bin24.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/255858/ft2_4FGL_J1200.7+2008_daily_bin24.fits
.....................!
real 12.83
user 12.48
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/255858/ft1_filtered_4FGL_J1200.7+2008_daily_bin24.fits evtable="EVENTS" scfile=/scratch/kocevski/255858/ft2_4FGL_J1200.7+2008_daily_bin24.fits sctable="SC_DATA" expcube=/scratch/kocevski/255858/ltcube_245548801_245808001_4FGL_J1200.7+2008_daily_bin24.fits outfile=/scratch/kocevski/255858/expmap_245548801_245808001_4FGL_J1200.7+2008_daily_bin24.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/255858/ltcube_245548801_245808001_4FGL_J1200.7+2008_daily_bin24.fits
.....................!
real 189.46
user 185.06
sys 4.08

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/255858/ft1_filtered_4FGL_J1200.7+2008_daily_bin24.fits scfile=/scratch/kocevski/255858/ft2_4FGL_J1200.7+2008_daily_bin24.fits outfile=/scratch/kocevski/255858/cmap_245548801_245808001_4FGL_J1200.7+2008_daily_bin24.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.51
user 0.36
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/255858/ft1_filtered_4FGL_J1200.7+2008_daily_bin24.fits scfile=/scratch/kocevski/255858/ft2_4FGL_J1200.7+2008_daily_bin24.fits outfile=/scratch/kocevski/255858/cmap_HighResolution_245548801_245808001_4FGL_J1200.7+2008_daily_bin24.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.52
user 0.37
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/255858/ft1_filtered_4FGL_J1200.7+2008_daily_bin24.fits evtable="EVENTS" scfile=/scratch/kocevski/255858/ft2_4FGL_J1200.7+2008_daily_bin24.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/255858/Model_4FGL_J1200.7+2008_daily_bin24.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/255858/ft1_filtered_4FGL_J1200.7+2008_daily_bin24.fits.....................!
real 61.64
user 60.43
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.3574       1.0000         .10000E-03   10000.    
     2 'norm      '    6.6066       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .36095E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.1124       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.624       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.3014       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.1828       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .86753       1.0000         .10000E-03   10000.    
    16 'norm      '    28.777       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10191E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.3220       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.6846       1.0000         .10000E-03   10000.    
    20 'norm      '    .87359E-01   1.0000         .10000E-03   10000.    
    21 'norm      '    1.7066       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .21635E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    101.08       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .82626       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1412       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=   6928.667     FROM MIGRAD    STATUS=CONVERGED    634 CALLS     3172 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.3572        5.6996       -.71390E-08    .85497E-05
   2  norm          6.6055        9.5801       -.61263E-06    .11221E-04
   3  Prefactor     .10000E-03    5.3153        .17361E-06** at limit **
   4  Prefactor     .10001E-03    92.352       -.27461E-05** at limit **
   5  Prefactor     .10000E-03    6.1686        .11463E-06** at limit **
   6  Prefactor     .10000E-03    83.605        .63569E-05** at limit **
   7  Prefactor     .10000E-03    10.553        .20104E-06** at limit **
   8  Prefactor     .10000E-03    .71869        .90520E-07** at limit **
   9  Prefactor     .10000E-03    4.7080        .13070E-06** at limit **
  10  norm          3.1122        1.1787       -.46188E-07    .12398E-03
  11  Prefactor     16.625        14.268       -.27283E-06    .29724E-04
  12  Prefactor     2.3022        4.4105       -.11285E-05   -.16631E-05
  13  Prefactor     .10000E-03    26.767       -.33699E-06** at limit **
  14  Prefactor     3.1857        2.7185       -.61070E-06    .29326E-03
  15  Prefactor     .86371        1.9558        .46799E-06    .54138E-03
  16  norm          28.778        5.5130       -.36703E-07   -.57891E-04
  17  Prefactor     .10000E-03    .98665        .82020E-07** at limit **
  18  Prefactor     3.3220        2.1330       -.83277E-07    .33226E-04
  19  Prefactor     4.6844        4.9930       -.29736E-06    .12571E-03
  20  norm          .87365E-01    .18086       -.30155E-06   -.75602E-05
  21  norm          1.7066        1.9596        .10052E-06    .10323E-03
  22  Prefactor     .10000E-03    14.150       -.16577E-05** at limit **
  23  Prefactor     .10000E-03    3.6913        .62105E-07** at limit **
  24  Prefactor     101.08        36.171       -.20473E-07   -.15651E-04
  25  Normalizat    .82631        .17687        .15408E-05    .19982E-03
  26  Prefactor     1.1411        .17474       -.42603E-06    .27901E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.35717
  norm       = 6.6055
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.11218
  Prefactor  = 16.6252
  Prefactor  = 2.30216
  Prefactor  = 0.0001
  Prefactor  = 3.18567
  Prefactor  = 0.863708
  norm       = 28.7777
  Prefactor  = 0.0001
  Prefactor  = 3.32201
  Prefactor  = 4.6844
  norm       = 0.0873654
  norm       = 1.70658
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 101.083
  Normalizat = 0.826313
  Prefactor  = 1.14111
 **********
 **   18 **HESSE 
 **********

 FCN=   6928.667     FROM HESSE     STATUS=OK           464 CALLS     3636 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.3572        5.6993        .13101E-03   -1.5096    
   2  norm          6.6055        9.5893        .15612E-03   -1.5194    
   3  Prefactor     .10000E-03    5.3724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    91.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.1808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    80.199        .44704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.855        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .74287        .13760E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.7584        .17634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.1122        1.1767        .53533E-04   -1.5355    
  11  Prefactor     16.625        14.265        .98231E-04   -1.4892    
  12  Prefactor     2.3022        4.3608        .21738E-03   -1.5405    
  13  Prefactor     .10000E-03    26.762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.1857        2.7211        .11493E-03   -1.5351    
  15  Prefactor     .86371        1.9563        .17811E-02   -1.5522    
  16  norm          28.778        5.3892        .74685E-04   -1.4635    
  17  Prefactor     .10000E-03    1.6412        .15701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.3220        2.1277        .92159E-04   -1.5343    
  19  Prefactor     4.6844        4.9499        .18243E-03   -1.5275    
  20  norm          .87365E-01    .17752        .47158E-04   -1.5649    
  21  norm          1.7066        1.9581        .12094E-03   -1.5447    
  22  Prefactor     .10000E-03    14.629        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    3.7069        .15617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     101.08        35.925        .39990E-04   -1.3694    
  25  Normalizat    .82631        .20216        .27533E-03   -.99100    
  26  Prefactor     1.1411        .20341        .25162E-03   -.88163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.71692e-10
Minuit parameter uncertainties:
  1  5.69967
  2  9.59156
  3  5.82399e-06
  4  0.00163497
  5  3.81406e-06
  6  0.000476009
  7  2.85622e-05
  8  4.0112e-07
  9  3.84972e-06
  10  1.17666
  11  14.2681
  12  4.36139
  13  6.1956e-05
  14  2.72116
  15  1.95641
  16  5.38925
  17  5.30984e-06
  18  2.12775
  19  4.95033
  20  0.17752
  21  1.95822
  22  2.47781e-05
  23  5.26039e-07
  24  35.9323
  25  0.202341
  26  0.203544
Done.

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

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  2.302e+00  4.361e+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.141e+00  2.035e-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:  8.263e-01  2.023e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/255858/likelihoodResults_245548801_245808001_4FGL_J1200.7+2008_daily_bin24.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) = 6928.48215977
delta logL = 0.185245223635

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6928.47654586
delta logL = 0.190859134557

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6928.477     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      249 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2676        28.995        .98862E-02    .15643E-02
   2  Index         3.3108        3.2979        .21481        .13956E-03
   3  Normalizat    .80287        .34874E-01    .63124E-01    .99671E-06
   4  Prefactor     1.1573        .37194E-01    .56558E-01   -.16032E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.26762
  Index      = 3.31084
  Normalizat = 0.802869
  Prefactor  = 1.15731
 **********
 **   18 **HESSE 
 **********

 FCN=   6928.477     FROM HESSE     STATUS=OK            31 CALLS      280 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2676        9.4327        .11234E-03   -1.5483    
   2  Index         3.3108        2.9846        .80960E-02   -.34461    
   3  Normalizat    .80287        .19868        .27922E-03   -.99962    
   4  Prefactor     1.1573        .20889        .25008E-03   -.87655    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85813e-10
Minuit parameter uncertainties:
  1  6.91705
  2  3.23295
  3  0.19886
  4  0.209041
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/255858': 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) = 6928.47654485
delta logL = 0.190860150668

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  1.268e+00  6.917e+00  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  3.311e+00  3.233e+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.157e+00  2.090e-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:  8.029e-01  1.989e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.33
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/255858/cmap_HighResolution_245548801_245808001_4FGL_J1200.7+2008_daily_bin24.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.50e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-09-04 20:42:07.143186', job_id='255858', GAL2='1.16', fit_tolerance='1e-08', EG2='0.80', EG='0.83', time_epoch_completed='1630813327.14', return_code2='0', ts='0.33', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.91e-01', ts2='0.73', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='24' AND source_name='4FGL J1200.7+2008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:42:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 255858: <4FGL_J1200.7+2008_daily_bin24> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.7+2008_daily_bin24 180.187 20.1354 245548801 245808001 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 :                                   814.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             262.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   960 sec.
    Turnaround time :                            961 sec.

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

