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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin1233
RA = 180.173, Dec = 12.4922
tmin = 558921601, tmax = 559180801
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='253954', job_status='RUN', time_executed='2021-09-04 20:24:06.920664', time_epoch_executed='1630812246.92' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='1233'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253954

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253954/ft1_4FGL_J1200.6+1229_daily_bin1233.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253954/ft2_4FGL_J1200.6+1229_daily_bin1233.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253954/ft1_4FGL_J1200.6+1229_daily_bin1233.fits outfile=/scratch/kocevski/253954/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1233.fits ra=180.173 dec=12.4922 rad=12.0 tmin=558921601.0 tmax=559180801.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.55
user 3.34
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/253954/ft1_filtered_4FGL_J1200.6+1229_daily_bin1233.fits" evtable="EVENTS" scfile=/scratch/kocevski/253954/ft2_4FGL_J1200.6+1229_daily_bin1233.fits sctable="SC_DATA" outfile=/scratch/kocevski/253954/ltcube_558921601_559180801_4FGL_J1200.6+1229_daily_bin1233.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/253954/ft2_4FGL_J1200.6+1229_daily_bin1233.fits
.....................!
real 11.63
user 11.24
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253954/ft1_filtered_4FGL_J1200.6+1229_daily_bin1233.fits evtable="EVENTS" scfile=/scratch/kocevski/253954/ft2_4FGL_J1200.6+1229_daily_bin1233.fits sctable="SC_DATA" expcube=/scratch/kocevski/253954/ltcube_558921601_559180801_4FGL_J1200.6+1229_daily_bin1233.fits outfile=/scratch/kocevski/253954/expmap_558921601_559180801_4FGL_J1200.6+1229_daily_bin1233.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/253954/ltcube_558921601_559180801_4FGL_J1200.6+1229_daily_bin1233.fits
.....................!
real 191.43
user 185.28
sys 5.75

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 193 point sources and 0 extended sources

Setting source of interest to:
4FGL J1200.6+1229 @ 180.173 12.4922

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/253954/ft1_filtered_4FGL_J1200.6+1229_daily_bin1233.fits scfile=/scratch/kocevski/253954/ft2_4FGL_J1200.6+1229_daily_bin1233.fits outfile=/scratch/kocevski/253954/cmap_558921601_559180801_4FGL_J1200.6+1229_daily_bin1233.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=180.173 yref=12.4922 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/253954/ft1_filtered_4FGL_J1200.6+1229_daily_bin1233.fits scfile=/scratch/kocevski/253954/ft2_4FGL_J1200.6+1229_daily_bin1233.fits outfile=/scratch/kocevski/253954/cmap_HighResolution_558921601_559180801_4FGL_J1200.6+1229_daily_bin1233.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=180.173 yref=12.4922 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/253954/ft1_filtered_4FGL_J1200.6+1229_daily_bin1233.fits', '/scratch/kocevski/253954/ft2_4FGL_J1200.6+1229_daily_bin1233.fits', expMap='/scratch/kocevski/253954/expmap_558921601_559180801_4FGL_J1200.6+1229_daily_bin1233.fits', expCube='/scratch/kocevski/253954/ltcube_558921601_559180801_4FGL_J1200.6+1229_daily_bin1233.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/253954/Model_4FGL_J1200.6+1229_daily_bin1233.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1200.6+1229'

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  3.077e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.387e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.088e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/253954/ft1_filtered_4FGL_J1200.6+1229_daily_bin1233.fits
Spacecraft file(s): /scratch/kocevski/253954/ft2_4FGL_J1200.6+1229_daily_bin1233.fits
Exposure map: /scratch/kocevski/253954/expmap_558921601_559180801_4FGL_J1200.6+1229_daily_bin1233.fits
Exposure cube: /scratch/kocevski/253954/ltcube_558921601_559180801_4FGL_J1200.6+1229_daily_bin1233.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/253954/Model_4FGL_J1200.6+1229_daily_bin1233.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) = 3475.74077128

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10423E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    31.818       1.0000         .10000E-03   10000.    
     3 'Prefactor '    63.744       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .28922E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.714       1.0000         .10000E-03   10000.    
     8 'Prefactor '    83.489       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.9747       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11612E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13287E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .20274E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    19.773       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .33315       1.0000         .10000E-03   10000.    
    18 'norm      '    .10759E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .25154E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.4859       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .95551       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0325       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3475.727     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2533 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    16.761       -.16929E-06** at limit **
   2  Prefactor     31.809        17.071        .32108E-06   -.65857E-05
   3  Prefactor     63.699        69.668        .10792E-05   -.79575E-05
   4  Prefactor     .10000E-03    5.7596        .10811E-06** at limit **
   5  Prefactor     .10000E-03    6341.0       -.14057E-04** at limit **
   6  Prefactor     .10000E-03    8.5158       -.21833E-06** at limit **
   7  Prefactor     24.772        44.176       -.32877E-05    .14913E-05
   8  Prefactor     83.504        42.648       -.94535E-06    .65872E-05
   9  Prefactor     2.9803        5.3819        .37048E-06    .13147E-03
  10  Prefactor     .10000E-03    93.239       -.13543E-06** at limit **
  11  Prefactor     .10000E-03    373.64       -.10771E-05** at limit **
  12  Prefactor     .10017E-03    2.2006       -.29862E-06** at limit **
  13  Prefactor     .10000E-03    2.5282        .18862E-06** at limit **
  14  Prefactor     .10000E-03    61.771        .81041E-07** at limit **
  15  norm          19.801        15.783       -.11679E-07    .27950E-05
  16  Prefactor     .10000E-03    50.000        .11060E-06** at limit **
  17  norm          .33318        .24060        .40612E-07    .20284E-03
  18  norm          .10000E-03    127.29        .21808E-06** at limit **
  19  Prefactor     .10000E-03    526.35        .28366E-06** at limit **
  20  Prefactor     7.4901        17.500        .87494E-06   -.22439E-05
  21  Prefactor     .10000E-03    13.625        .73541E-07** at limit **
  22  Normalizat    .95575        .28381       -.13838E-05   -.77457E-06
  23  Prefactor     1.0325        .24647       -.26377E-05    .21613E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 31.8094
  Prefactor  = 63.6993
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.7721
  Prefactor  = 83.5044
  Prefactor  = 2.98028
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100167
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.801
  Prefactor  = 0.0001
  norm       = 0.333178
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.49007
  Prefactor  = 0.0001
  Normalizat = 0.955754
  Prefactor  = 1.03248
 **********
 **   18 **HESSE 
 **********

 FCN=   3475.727     FROM HESSE     STATUS=OK           368 CALLS     2901 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    16.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     31.809        17.111        .71035E-04   -1.4579    
   3  Prefactor     63.699        70.751        .50262E-04   -1.4110    
   4  Prefactor     .10000E-03    5.7760        .13821E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6340.0        .18333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.5146        .16796E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     24.772        43.827        .80578E-04   -1.4712    
   8  Prefactor     83.504        42.651        .43962E-04   -1.3878    
   9  Prefactor     2.9803        5.1991        .16081E-03   -1.5363    
  10  Prefactor     .10000E-03    93.256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    374.15        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10017E-03    20.717        .15860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.5825        .91394E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    61.804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          19.801        15.773        .90073E-04   -1.4818    
  16  Prefactor     .10000E-03    50.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .33318        .23956        .23394E-04   -1.5593    
  18  norm          .10000E-03    127.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    526.58        .20012E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.4901        17.530        .14658E-03   -1.5161    
  21  Prefactor     .10000E-03    13.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .95575        .33349        .29126E-03   -.94528    
  23  Prefactor     1.0325        .28506        .25876E-03   -.91654    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.99034e-09
Minuit parameter uncertainties:
  1  5.36584e-05
  2  17.1132
  3  70.8442
  4  1.59105e-05
  5  0.00218018
  6  1.76314e-05
  7  43.8837
  8  42.6664
  9  5.19984
  10  8.18323e-06
  11  0.00185643
  12  0.00372262
  13  2.03409e-05
  14  0.000102631
  15  15.7758
  16  3.76781e-05
  17  0.239557
  18  0.000192526
  19  0.000258514
  20  17.5421
  21  1.10985e-05
  22  0.33422
  23  0.285481
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  8.350e+01  4.267e+01  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.387e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
301        Scale:  1.088e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
616    Prefactor:  1.032e+00  2.855e-01  0.000e+00  1.000e+01 ( 1.000e+00)
617        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
618        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
615   Normalization:  9.558e-01  3.342e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.07
Ra Dec: 180.173 12.492
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 1.80e-07 +/- 9.18e-08
Energy Flux (Fixed Index): 5.99e-05 +/- 3.06e-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) = 3475.68443234
delta logL = 0.0429695004013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3475.67239365
delta logL = 0.0550081852539

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3475.672     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      300 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     93.976        56.779        .41461E-04    .46066E-05
   2  Index         2.2437        .43199        .44166E-02    .21856E-03
   3  Normalizat    .97654        .30734        .28833E-03   -.54019E-05
   4  Prefactor     1.0190        .28005        .26028E-03    .19437E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 93.9756
  Index      = 2.24369
  Normalizat = 0.976542
  Prefactor  = 1.01903
 **********
 **   18 **HESSE 
 **********

 FCN=   3475.672     FROM HESSE     STATUS=OK            25 CALLS      325 TOTAL
                     EDM=   .62E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     93.976        55.946        .82921E-05   -1.3766    
   2  Index         2.2437        .42533        .88331E-03   -.58387    
   3  Normalizat    .97654        .30743        .11533E-04   -.93820    
   4  Prefactor     1.0190        .28016        .10411E-04   -.92098    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.16392e-13
Minuit parameter uncertainties:
  1  55.9769
  2  0.426069
  3  0.307986
  4  0.280563
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253954': 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) = 3475.67239315
delta logL = 0.0550086888984

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  9.398e+01  5.598e+01  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.244e+00  4.261e-01  0.000e+00  1.000e+01 (-1.000e+00)
301        Scale:  1.088e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
616    Prefactor:  1.019e+00  2.806e-01  0.000e+00  1.000e+01 ( 1.000e+00)
617        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
618        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
615   Normalization:  9.765e-01  3.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.08
Ra Dec: 180.173 12.492
Photon Index (Free Index): 2.24 +/- 0.43
Photon Flux (Free Index): 1.60e-07 +/- 1.04e-07
Energy Flux (Free Index): 6.65e-05 +/- 4.17e-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/253954/cmap_HighResolution_558921601_559180801_4FGL_J1200.6+1229_daily_bin1233.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.80e-07', energy_flux2='6.65e-05', photon_flux_error='9.18e-08', dlogl='5.50e-02', energy_flux='5.99e-05', photon_flux2='1.60e-07', job_status='DONE', time_completed='2021-09-04 20:32:24.555635', photon_index_error2='0.43', photon_index2='2.24', ts='9.07', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='4.17e-05', EG='0.96', time_epoch_completed='1630812744.56', return_code='0', job_id='253954', GAL2='1.02', EG2='0.98', return_code2='0', energy_flux_error='3.06e-05', photon_flux_error2='1.04e-07', ts2='9.08', photon_index='2.39' WHERE bin_id='1233' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:32:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 253954: <4FGL_J1200.6+1229_daily_bin1233> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin1233> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 20:21:11 2021
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:21:13 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:21:13 2021
Terminated at Sat Sep  4 20:32:25 2021
Results reported at Sat Sep  4 20:32:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin1233 180.173 12.4922 558921601 559180801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1200.6+1229 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   484.32 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             233.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   671 sec.
    Turnaround time :                            674 sec.

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

