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


Performing analysis on: 4FGL_J1200.7+2008_daily_bin1560
RA = 180.187, Dec = 20.1354
tmin = 643680001, tmax = 643939201
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='264127', job_status='RUN', time_executed='2021-09-04 20:54:49.953729', time_epoch_executed='1630814089.95' WHERE source_name='4FGL J1200.7+2008' and cadence='daily' and bin_id='1560'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/264127

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/264127/ft1_4FGL_J1200.7+2008_daily_bin1560.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/264127/ft2_4FGL_J1200.7+2008_daily_bin1560.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/264127/ft1_4FGL_J1200.7+2008_daily_bin1560.fits outfile=/scratch/kocevski/264127/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin1560.fits ra=180.187 dec=20.1354 rad=12.0 tmin=643680001.0 tmax=643939201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.46
user 3.24
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/264127/ft1_filtered_4FGL_J1200.7+2008_daily_bin1560.fits" evtable="EVENTS" scfile=/scratch/kocevski/264127/ft2_4FGL_J1200.7+2008_daily_bin1560.fits sctable="SC_DATA" outfile=/scratch/kocevski/264127/ltcube_643680001_643939201_4FGL_J1200.7+2008_daily_bin1560.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/264127/ft2_4FGL_J1200.7+2008_daily_bin1560.fits
.....................!
real 12.07
user 11.73
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/264127/ft1_filtered_4FGL_J1200.7+2008_daily_bin1560.fits evtable="EVENTS" scfile=/scratch/kocevski/264127/ft2_4FGL_J1200.7+2008_daily_bin1560.fits sctable="SC_DATA" expcube=/scratch/kocevski/264127/ltcube_643680001_643939201_4FGL_J1200.7+2008_daily_bin1560.fits outfile=/scratch/kocevski/264127/expmap_643680001_643939201_4FGL_J1200.7+2008_daily_bin1560.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/264127/ltcube_643680001_643939201_4FGL_J1200.7+2008_daily_bin1560.fits
.....................!
real 190.70
user 185.84
sys 4.45

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/264127/ft1_filtered_4FGL_J1200.7+2008_daily_bin1560.fits scfile=/scratch/kocevski/264127/ft2_4FGL_J1200.7+2008_daily_bin1560.fits outfile=/scratch/kocevski/264127/cmap_643680001_643939201_4FGL_J1200.7+2008_daily_bin1560.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.59
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/264127/ft1_filtered_4FGL_J1200.7+2008_daily_bin1560.fits scfile=/scratch/kocevski/264127/ft2_4FGL_J1200.7+2008_daily_bin1560.fits outfile=/scratch/kocevski/264127/cmap_HighResolution_643680001_643939201_4FGL_J1200.7+2008_daily_bin1560.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/264127/ft1_filtered_4FGL_J1200.7+2008_daily_bin1560.fits evtable="EVENTS" scfile=/scratch/kocevski/264127/ft2_4FGL_J1200.7+2008_daily_bin1560.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/264127/Model_4FGL_J1200.7+2008_daily_bin1560.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/264127/ft1_filtered_4FGL_J1200.7+2008_daily_bin1560.fits.....................!
real 55.05
user 53.58
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.4617       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.9100       1.0000         .10000E-03   10000.    
     4 'Prefactor '    35.592       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10222E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.8756       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.2580       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    16.040       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.504       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.6140       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10950E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.8283       1.0000         .10000E-03   10000.    
    16 'norm      '    4.7344       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11680E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.6101       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.7210       1.0000         .10000E-03   10000.    
    20 'norm      '    .23127       1.0000         .10000E-03   10000.    
    21 'norm      '    1.7987       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.3101       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.2000       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0163       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .71457       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=   5623.745     FROM MIGRAD    STATUS=CONVERGED    610 CALLS     3098 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.4617        6.5303        .34452E-02    .68943E-03
   2  norm          .10000E-03    7.5977        .90712E-02** at limit **
   3  Prefactor     5.9100        6.7963        .41296E-02    .36462E-03
   4  Prefactor     35.592        35.331        .16794E-02   -.58863E-03
   5  Prefactor     .10000E-03    20.174        .90712E-02** at limit **
   6  Prefactor     2.8728        25.760        .59922E-02    .41556E-03
   7  Prefactor     .10000E-03    4.2355        .90712E-02** at limit **
   8  Prefactor     3.2578        2.0428        .56093E-02    .26664E-03
   9  Prefactor     .10000E-03    3.7300        .90712E-02** at limit **
  10  norm          16.039        2.3587        .25001E-02   -.18110E-04
  11  Prefactor     11.504        12.946        .29528E-02    .24949E-04
  12  Prefactor     7.6152        4.6318        .36333E-02   -.13681E-03
  13  Prefactor     .10000E-03    27.794        .90712E-02** at limit **
  14  Prefactor     .10000E-03    2.0696        .32786E-01** at limit **
  15  Prefactor     3.8293        3.0156        .51569E-02    .28245E-03
  16  norm          4.7395        3.3933        .46232E-02    .54605E-04
  17  Prefactor     .10000E-03    2.6176        .33962E-01** at limit **
  18  Prefactor     3.6098        2.7017        .53164E-02    .94611E-04
  19  Prefactor     6.7217        6.2975        .38694E-02    .46154E-03
  20  norm          .23128        .18770        .61073E-02    .70061E-03
  21  norm          1.7972        4.8056        .77932E-02    .11222E-02
  22  Prefactor     5.3100        5.6037        .43603E-02   -.15381E-02
  23  Prefactor     2.1983        16.087        .69350E-02    .21270E-03
  24  Prefactor     .10000E-03    11.048        .90712E-02** at limit **
  25  Normalizat    1.0163        .18680        .43961E-01    .13705E-04
  26  Prefactor     .71448        .17905        .65253E-01    .21434E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.46168
  norm       = 0.0001
  Prefactor  = 5.91004
  Prefactor  = 35.5924
  Prefactor  = 0.0001
  Prefactor  = 2.87282
  Prefactor  = 0.0001
  Prefactor  = 3.25784
  Prefactor  = 0.0001
  norm       = 16.0393
  Prefactor  = 11.5043
  Prefactor  = 7.61523
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.82931
  norm       = 4.73954
  Prefactor  = 0.0001
  Prefactor  = 3.60977
  Prefactor  = 6.72172
  norm       = 0.231279
  norm       = 1.79724
  Prefactor  = 5.31
  Prefactor  = 2.19827
  Prefactor  = 0.0001
  Normalizat = 1.01633
  Prefactor  = 0.714482
 **********
 **   18 **HESSE 
 **********

 FCN=   5623.745     FROM HESSE     STATUS=OK           470 CALLS     3568 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.4617        6.5364        .68905E-03   -1.5126    
   2  norm          .10000E-03    7.6417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.9100        6.7986        .82592E-03   -1.5222    
   4  Prefactor     35.592        35.357        .67174E-04   -1.4514    
   5  Prefactor     .10000E-03    20.640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.8728        25.484        .23969E-03   -1.5369    
   7  Prefactor     .10000E-03    4.2528        .15069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.2578        2.0274        .78584E-04   -1.5347    
   9  Prefactor     .10000E-03    3.7366        .14144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          16.039        2.3602        .41910E-04   -1.4907    
  11  Prefactor     11.504        12.946        .11811E-03   -1.5029    
  12  Prefactor     7.6152        4.6036        .11748E-03   -1.5156    
  13  Prefactor     .10000E-03    27.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.2580        .19961E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.8293        2.9255        .10661E-03   -1.5317    
  16  norm          4.7395        2.9198        .96096E-04   -1.5273    
  17  Prefactor     .10000E-03    4.1815        .20043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.6098        2.6690        .94553E-04   -1.5328    
  19  Prefactor     6.7217        6.2216        .15478E-03   -1.5189    
  20  norm          .23128        .18137        .27803E-03   -1.5612    
  21  norm          1.7972        4.7091        .23343E-03   -1.5440    
  22  Prefactor     5.3100        5.6050        .87206E-03   -1.5247    
  23  Prefactor     2.1983        15.624        .27740E-03   -1.5411    
  24  Prefactor     .10000E-03    11.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0163        .21742        .24053E-03   -.92485    
  26  Prefactor     .71448        .20706        .28869E-03   -1.0296    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.59032e-09
Minuit parameter uncertainties:
  1  6.53693
  2  2.2942e-06
  3  6.79948
  4  35.3782
  5  2.55479e-05
  6  17.122
  7  2.44485e-06
  8  2.0274
  9  1.91784e-06
  10  2.36023
  11  12.9496
  12  4.60384
  13  6.14598e-05
  14  2.18177e-06
  15  2.92564
  16  2.91993
  17  6.05676e-06
  18  2.66905
  19  6.22216
  20  0.181369
  21  4.71011
  22  5.60555
  23  11.725
  24  1.12582e-06
  25  0.217612
  26  0.207279
Done.

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

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  7.615e+00  4.604e+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:  7.145e-01  2.073e-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.016e+00  2.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.27
Ra Dec: 180.187 20.135
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 7.42e-08 +/- 4.48e-08
Energy Flux (Fixed Index): 2.11e-05 +/- 1.27e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5623.64877961
delta logL = 0.09593194019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5623.64477402
delta logL = 0.0999375331821

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7071       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8256       1.0000          .0000       10.000    
     3 'Normalizat'    .99741       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73010       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=   5623.645     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      292 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7063        6.6647        .98084E-04    .15972E-03
   2  Index         2.8257        .84020        .54827E-02    .15962E-04
   3  Normalizat    .99728        .20700        .24253E-03   -.15497E-03
   4  Prefactor     .73029        .20915        .28589E-03   -.25406E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.70631
  Index      = 2.82571
  Normalizat = 0.997281
  Prefactor  = 0.730289
 **********
 **   18 **HESSE 
 **********

 FCN=   5623.645     FROM HESSE     STATUS=OK            25 CALLS      317 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7063        5.8688        .39233E-05   -1.5230    
   2  Index         2.8257        .74011        .21931E-03   -.44988    
   3  Normalizat    .99728        .20643        .97014E-05   -.93122    
   4  Prefactor     .73029        .20840        .11436E-04   -1.0235    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80369e-10
Minuit parameter uncertainties:
  1  5.8694
  2  0.74348
  3  0.206591
  4  0.208621
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/264127': 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) = 5623.64477352
delta logL = 0.0999380332532

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  5.706e+00  5.869e+00  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.826e+00  7.435e-01  0.000e+00  1.000e+01 (-1.000e+00)
283        Scale:  7.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  7.303e-01  2.086e-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:  9.973e-01  2.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.42
Ra Dec: 180.187 20.135
Photon Index (Free Index): 2.83 +/- 0.74
Photon Flux (Free Index): 8.48e-08 +/- 5.27e-08
Energy Flux (Free Index): 1.87e-05 +/- 1.19e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/264127/cmap_HighResolution_643680001_643939201_4FGL_J1200.7+2008_daily_bin1560.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.42e-08', energy_flux2='1.87e-05', photon_flux_error='4.48e-08', dlogl='9.99e-02', energy_flux='2.11e-05', photon_flux2='8.48e-08', job_status='DONE', time_completed='2021-09-04 21:05:58.960296', photon_index_error2='0.74', photon_index2='2.83', ts='4.27', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', energy_flux_error2='1.19e-05', EG='1.02', time_epoch_completed='1630814758.96', return_code='0', job_id='264127', GAL2='0.73', EG2='1.00', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='5.27e-08', ts2='4.42', photon_index='2.52' WHERE bin_id='1560' AND source_name='4FGL J1200.7+2008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 21:05:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 264127: <4FGL_J1200.7+2008_daily_bin1560> in cluster <slac> Done

Job <4FGL_J1200.7+2008_daily_bin1560> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Sep  4 20:50:47 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:50:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 20:50:49 2021
Terminated at Sat Sep  4 21:05:59 2021
Results reported at Sat Sep  4 21:05:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.7+2008_daily_bin1560 180.187 20.1354 643680001 643939201 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 :                                   664.40 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             273.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            912 sec.

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

