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


Performing analysis on: 4FGL_J1200.6+1229_daily_bin1589
RA = 180.173, Dec = 12.4922
tmin = 651196801, tmax = 651456001
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='255808', job_status='RUN', time_executed='2021-09-04 20:26:36.854758', time_epoch_executed='1630812396.85' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='1589'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/255808

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/255808/ft1_4FGL_J1200.6+1229_daily_bin1589.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/255808/ft2_4FGL_J1200.6+1229_daily_bin1589.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/255808/ft1_4FGL_J1200.6+1229_daily_bin1589.fits outfile=/scratch/kocevski/255808/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1589.fits ra=180.173 dec=12.4922 rad=12.0 tmin=651196801.0 tmax=651456001.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.59
user 3.31
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/255808/ft2_4FGL_J1200.6+1229_daily_bin1589.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/255808/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1589.fits evtable="EVENTS" outfile="/scratch/kocevski/255808/ft1_filtered_4FGL_J1200.6+1229_daily_bin1589.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.56
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/255808/ft1_filtered_4FGL_J1200.6+1229_daily_bin1589.fits" evtable="EVENTS" scfile=/scratch/kocevski/255808/ft2_4FGL_J1200.6+1229_daily_bin1589.fits sctable="SC_DATA" outfile=/scratch/kocevski/255808/ltcube_651196801_651456001_4FGL_J1200.6+1229_daily_bin1589.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/255808/ft2_4FGL_J1200.6+1229_daily_bin1589.fits
.....................!
real 11.75
user 11.34
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/255808/ft1_filtered_4FGL_J1200.6+1229_daily_bin1589.fits evtable="EVENTS" scfile=/scratch/kocevski/255808/ft2_4FGL_J1200.6+1229_daily_bin1589.fits sctable="SC_DATA" expcube=/scratch/kocevski/255808/ltcube_651196801_651456001_4FGL_J1200.6+1229_daily_bin1589.fits outfile=/scratch/kocevski/255808/expmap_651196801_651456001_4FGL_J1200.6+1229_daily_bin1589.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/255808/ltcube_651196801_651456001_4FGL_J1200.6+1229_daily_bin1589.fits
.....................!
real 189.79
user 185.01
sys 4.19

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/255808/ft1_filtered_4FGL_J1200.6+1229_daily_bin1589.fits scfile=/scratch/kocevski/255808/ft2_4FGL_J1200.6+1229_daily_bin1589.fits outfile=/scratch/kocevski/255808/cmap_651196801_651456001_4FGL_J1200.6+1229_daily_bin1589.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/255808/ft1_filtered_4FGL_J1200.6+1229_daily_bin1589.fits scfile=/scratch/kocevski/255808/ft2_4FGL_J1200.6+1229_daily_bin1589.fits outfile=/scratch/kocevski/255808/cmap_HighResolution_651196801_651456001_4FGL_J1200.6+1229_daily_bin1589.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/255808/ft1_filtered_4FGL_J1200.6+1229_daily_bin1589.fits', '/scratch/kocevski/255808/ft2_4FGL_J1200.6+1229_daily_bin1589.fits', expMap='/scratch/kocevski/255808/expmap_651196801_651456001_4FGL_J1200.6+1229_daily_bin1589.fits', expCube='/scratch/kocevski/255808/ltcube_651196801_651456001_4FGL_J1200.6+1229_daily_bin1589.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/255808/Model_4FGL_J1200.6+1229_daily_bin1589.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/255808/ft1_filtered_4FGL_J1200.6+1229_daily_bin1589.fits
Spacecraft file(s): /scratch/kocevski/255808/ft2_4FGL_J1200.6+1229_daily_bin1589.fits
Exposure map: /scratch/kocevski/255808/expmap_651196801_651456001_4FGL_J1200.6+1229_daily_bin1589.fits
Exposure cube: /scratch/kocevski/255808/ltcube_651196801_651456001_4FGL_J1200.6+1229_daily_bin1589.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/255808/Model_4FGL_J1200.6+1229_daily_bin1589.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) = 6341.04439274

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.1659       1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.017       1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.601       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.511       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.0763       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.1607       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.5523       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .22557E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .31122E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .67502       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .41248       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10181E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.0191       1.0000         .10000E-03   10000.    
    21 'Prefactor '    41.888       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0545       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1010       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=   6341.029     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2634 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.1659        11.632        .40168E-06    .15318E-04
   2  Prefactor     22.019        17.443        .18500E-06   -.28988E-04
   3  Prefactor     16.592        30.430        .12347E-05    .77282E-04
   4  Prefactor     11.513        11.039        .51003E-07   -.51072E-04
   5  Prefactor     4.0485        168.80       -.58901E-05   -.35363E-04
   6  Prefactor     6.1591        10.105        .38066E-05   -.35180E-03
   7  Prefactor     2.5512        10.124        .15209E-05    .15537E-03
   8  Prefactor     .10000E-03    20.077       -.32283E-06** at limit **
   9  Prefactor     .10000E-03    2.4031       -.15398E-06** at limit **
  10  Prefactor     .10001E-03    48.915        .31098E-05** at limit **
  11  Prefactor     .10419E-03    43.560       -.40431E-05** at limit **
  12  Prefactor     .67292        2.9517        .17141E-05   -.18022E-03
  13  Prefactor     .10000E-03    1.9442       -.13492E-06** at limit **
  14  Prefactor     .10000E-03    9.8647       -.20466E-07** at limit **
  15  norm          .41067        2.4456        .52505E-06   -.63379E-04
  16  Prefactor     .10000E-03    13.134        .60769E-07** at limit **
  17  norm          .10000E-03    .73909E-01    .45348E-08** at limit **
  18  norm          .10002E-03    39.707       -.52672E-05** at limit **
  19  Prefactor     .10000E-03    35.288        .20959E-05** at limit **
  20  Prefactor     7.0183        6.9158       -.75381E-06   -.49904E-03
  21  Prefactor     41.876        31.705        .83996E-06    .65409E-04
  22  Normalizat    1.0544        .20013       -.12671E-05    .12870E-03
  23  Prefactor     1.1013        .17167       -.43915E-06    .44502E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.1659
  Prefactor  = 22.0191
  Prefactor  = 16.5925
  Prefactor  = 11.5127
  Prefactor  = 4.0485
  Prefactor  = 6.15906
  Prefactor  = 2.55117
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.000104186
  Prefactor  = 0.672921
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.410667
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100016
  Prefactor  = 0.000100003
  Prefactor  = 7.01832
  Prefactor  = 41.8762
  Normalizat = 1.05443
  Prefactor  = 1.10131
 **********
 **   18 **HESSE 
 **********

 FCN=   6341.029     FROM HESSE     STATUS=OK           386 CALLS     3020 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.1659        11.625        .14030E-03   -1.5136    
   2  Prefactor     22.019        17.498        .85364E-04   -1.4769    
   3  Prefactor     16.592        30.498        .98299E-04   -1.4893    
   4  Prefactor     11.513        10.999        .11808E-03   -1.5029    
   5  Prefactor     4.0485        172.55        .19969E-03   -1.5306    
   6  Prefactor     6.1591        10.289        .80872E-03   -1.5212    
   7  Prefactor     2.5512        10.058        .25557E-03   -1.5389    
   8  Prefactor     .10000E-03    20.312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    13.987        .23004E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    49.827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10419E-03    43.044        .12677       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .67292        2.9314        .25175E-03   -1.5544    
  13  Prefactor     .10000E-03    1.9732        .10814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.8790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .41067        4.6982        .23231E-02   -1.5580    
  16  Prefactor     .10000E-03    13.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .87467E-01    .42096E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10002E-03    42.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    35.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.0183        7.0141        .15142E-03   -1.5178    
  21  Prefactor     41.876        31.751        .61938E-04   -1.4413    
  22  Normalizat    1.0544        .23668        .27145E-03   -.91228    
  23  Prefactor     1.1013        .20583        .24655E-03   -.89425    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28013e-08
Minuit parameter uncertainties:
  1  11.628
  2  17.5022
  3  30.5265
  4  11.0007
  5  53.0243
  6  10.2921
  7  10.0643
  8  7.2688e-05
  9  7.98749e-05
  10  0.00109082
  11  0.0268659
  12  2.809
  13  8.49533e-06
  14  2.46029e-06
  15  2.778
  16  1.32039e-05
  17  4.56139e-08
  18  0.00162116
  19  0.0006207
  20  7.01495
  21  31.7642
  22  0.236916
  23  0.205974
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  7.269e-05  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.101e+00  2.060e-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:  1.054e+00  2.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 180.173 12.492
Photon Flux Upper Limit: 8.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/255808/likelihoodResults_651196801_651456001_4FGL_J1200.6+1229_daily_bin1589.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6341.02902908
delta logL = -0.000234592353991

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6340.82274974
delta logL = 0.206044750226

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43381E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    7.5196       1.0000          .0000       10.000    
     3 'Normalizat'    1.0036       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1330       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.

 FCN=   6340.823     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      346 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40837E-03    .11076E-01    .50460E-03** at limit **
   2  Index         7.5493        2.7926        .16415        .87324E-04
   3  Normalizat    1.0034        .30261E-01    .46213E-01   -.11051E-03
   4  Prefactor     1.1331        .28161E-01    .55088E-01   -.90624E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000408365
  Index      = 7.54933
  Normalizat = 1.0034
  Prefactor  = 1.13309
 **********
 **   18 **HESSE 
 **********

 FCN=   6340.823     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      381 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40837E-03    .64290E-01    .26887E-04   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.5493        8.7508        .90264E-02    .53503    
   3  Normalizat    1.0034        .13420        .27737E-03   -.92917    
   4  Prefactor     1.1331        .12248        .24358E-03   -.88416    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.09969e-08
Minuit parameter uncertainties:
  1  0.008905
  2  9.65266
  3  0.134242
  4  0.122509
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/255808': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6340.822736
delta logL = 0.206058492045

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  4.084e-04  8.905e-03  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  7.549e+00  9.653e+00  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.133e+00  1.225e-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:  1.003e+00  1.342e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 180.173 12.492

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/255808/cmap_HighResolution_651196801_651456001_4FGL_J1200.6+1229_daily_bin1589.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.36e-03', job_status='DONE', photon_flux_upper_limit='8.23e-08', time_completed='2021-09-04 20:38:28.931809', job_id='255808', GAL2='1.13', fit_tolerance='1e-08', EG2='1.00', EG='1.05', time_epoch_completed='1630813108.93', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.06e-01', ts2='0.45', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1589' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:38:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 255808: <4FGL_J1200.6+1229_daily_bin1589> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin1589> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep  4 20:26:03 2021
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:26:05 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:05 2021
Terminated at Sat Sep  4 20:38:29 2021
Results reported at Sat Sep  4 20:38:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin1589 180.173 12.4922 651196801 651456001 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 :                                   708.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             349.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   744 sec.
    Turnaround time :                            746 sec.

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

