/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 1 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 = 7404
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1200.6+1229_daily_bin418
RA = 180.173, Dec = 12.4922
tmin = 347673601, tmax = 347932801
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='250633', job_status='RUN', time_executed='2021-09-04 20:10:50.659929', time_epoch_executed='1630811450.66' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='418'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/250633

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/250633/ft1_4FGL_J1200.6+1229_daily_bin418.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/250633/ft2_4FGL_J1200.6+1229_daily_bin418.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/250633/ft1_4FGL_J1200.6+1229_daily_bin418.fits outfile=/scratch/kocevski/250633/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin418.fits ra=180.173 dec=12.4922 rad=12.0 tmin=347673601.0 tmax=347932801.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.48
user 3.24
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/250633/ft1_filtered_4FGL_J1200.6+1229_daily_bin418.fits" evtable="EVENTS" scfile=/scratch/kocevski/250633/ft2_4FGL_J1200.6+1229_daily_bin418.fits sctable="SC_DATA" outfile=/scratch/kocevski/250633/ltcube_347673601_347932801_4FGL_J1200.6+1229_daily_bin418.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/250633/ft2_4FGL_J1200.6+1229_daily_bin418.fits
.....................!
real 11.87
user 11.47
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/250633/ft1_filtered_4FGL_J1200.6+1229_daily_bin418.fits evtable="EVENTS" scfile=/scratch/kocevski/250633/ft2_4FGL_J1200.6+1229_daily_bin418.fits sctable="SC_DATA" expcube=/scratch/kocevski/250633/ltcube_347673601_347932801_4FGL_J1200.6+1229_daily_bin418.fits outfile=/scratch/kocevski/250633/expmap_347673601_347932801_4FGL_J1200.6+1229_daily_bin418.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/250633/ltcube_347673601_347932801_4FGL_J1200.6+1229_daily_bin418.fits
.....................!
real 191.26
user 186.04
sys 4.86

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/250633/ft1_filtered_4FGL_J1200.6+1229_daily_bin418.fits scfile=/scratch/kocevski/250633/ft2_4FGL_J1200.6+1229_daily_bin418.fits outfile=/scratch/kocevski/250633/cmap_347673601_347932801_4FGL_J1200.6+1229_daily_bin418.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/250633/ft1_filtered_4FGL_J1200.6+1229_daily_bin418.fits scfile=/scratch/kocevski/250633/ft2_4FGL_J1200.6+1229_daily_bin418.fits outfile=/scratch/kocevski/250633/cmap_HighResolution_347673601_347932801_4FGL_J1200.6+1229_daily_bin418.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.6543       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .42147E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15403E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.793       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .61361       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.6759       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.0891       1.0000         .10000E-03   10000.    
    15 'norm      '    .30468       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .51747       1.0000         .10000E-03   10000.    
    18 'norm      '    4.5641       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    20.597       1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.892       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .84577       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0979       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=   6737.523     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2632 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.4647        .78292E-07** at limit **
   2  Prefactor     5.6581        9.9478        .36583E-06    .43204E-04
   3  Prefactor     .10002E-03    192.95        .70799E-05** at limit **
   4  Prefactor     .10000E-03    3.1631       -.74096E-07** at limit **
   5  Prefactor     .10001E-03    789.49       -.54231E-05** at limit **
   6  Prefactor     .10000E-03    14.535       -.13332E-06** at limit **
   7  Prefactor     .10000E-03    3.7963       -.32072E-07** at limit **
   8  Prefactor     .10000E-03    6.9729       -.28048E-07** at limit **
   9  Prefactor     10.793        4.8481        .90615E-06    .23975E-04
  10  Prefactor     .10000E-03    69.505        .22822E-06** at limit **
  11  Prefactor     .10000E-03    22.861       -.76642E-07** at limit **
  12  Prefactor     .61392        1.7730        .26896E-06   -.13763E-03
  13  Prefactor     5.6753        3.4994       -.11488E-06   -.14995E-03
  14  Prefactor     9.0881        22.062       -.16148E-06   -.52424E-04
  15  norm          .30417        3.0492        .70754E-06   -.47151E-03
  16  Prefactor     .10000E-03    37.488       -.96324E-07** at limit **
  17  norm          .51746        .25033       -.15388E-07   -.31371E-03
  18  norm          4.5709        55.188       -.71402E-06   -.59502E-04
  19  Prefactor     .10000E-03    83.988       -.54535E-06** at limit **
  20  Prefactor     20.602        13.473       -.16340E-07    .65417E-05
  21  Prefactor     13.888        29.766        .11081E-06    .19226E-04
  22  Normalizat    .84572        .18438       -.16221E-06   -.90581E-04
  23  Prefactor     1.0979        .16837        .27560E-06   -.97468E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 5.65808
  Prefactor  = 0.000100017
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.793
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.613921
  Prefactor  = 5.67525
  Prefactor  = 9.08811
  norm       = 0.304166
  Prefactor  = 0.0001
  norm       = 0.517462
  norm       = 4.57086
  Prefactor  = 0.000100001
  Prefactor  = 20.6021
  Prefactor  = 13.8884
  Normalizat = 0.845717
  Prefactor  = 1.09791
 **********
 **   18 **HESSE 
 **********

 FCN=   6737.523     FROM HESSE     STATUS=OK           374 CALLS     3006 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.5438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.6581        9.9425        .16893E-03   -1.5232    
   3  Prefactor     .10002E-03    202.67        .42479E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.1752        .14261E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    823.36        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.902        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.8311        .15617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.9886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.793        4.8599        .56896E-03   -1.5051    
  10  Prefactor     .10000E-03    69.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    22.944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .61392        1.5394        .16626E-02   -1.5551    
  13  Prefactor     5.6753        3.3976        .10959E-03   -1.5231    
  14  Prefactor     9.0881        21.677        .13294E-03   -1.5105    
  15  norm          .30417        5.5061        .21485E-02   -1.5598    
  16  Prefactor     .10000E-03    37.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .51746        .24812        .27343E-04   -1.5564    
  18  norm          4.5709        52.221        .18843E-03   -1.5280    
  19  Prefactor     .10000E-03    84.190        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     20.602        13.444        .88253E-04   -1.4800    
  21  Prefactor     13.888        29.721        .10746E-03   -1.4962    
  22  Normalizat    .84572        .21073        .27579E-03   -.98395    
  23  Prefactor     1.0979        .19378        .23302E-03   -.89533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00562e-08
Minuit parameter uncertainties:
  1  3.37518e-06
  2  9.94543
  3  0.00371215
  4  7.62401e-06
  5  0.00538957
  6  9.62601e-06
  7  1.5231e-06
  8  3.70944e-06
  9  4.86011
  10  0.000219537
  11  9.20822e-06
  12  1.5395
  13  3.39769
  14  21.6962
  15  2.58812
  16  3.48766e-05
  17  0.248117
  18  30.9331
  19  0.000466442
  20  13.4457
  21  29.7523
  22  0.210939
  23  0.193909
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  3.709e-06  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.098e+00  1.939e-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:  8.457e-01  2.109e-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: 6.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/250633/likelihoodResults_347673601_347932801_4FGL_J1200.6+1229_daily_bin418.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) = 6737.52339039
delta logL = -0.000681498151607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6737.52270892
delta logL = -2.71156750387e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3817       1.0000          .0000       10.000    
     3 'Normalizat'    .84571       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0979       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=   6737.523     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      235 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10031E-03    127.48        .18142E-02** at limit **
   2  Index         2.3441        5.9025        .50000        .57360E-05
   3  Normalizat    .84572        .18448E-01    .27580E-03    .56886E-05
   4  Prefactor     1.0979        .17625E-01    .23302E-03    .55619E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100306
  Index      = 2.34406
  Normalizat = 0.845717
  Prefactor  = 1.09791
 **********
 **   18 **HESSE 
 **********

 FCN=   6737.523     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      264 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10031E-03    543.56        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3441        6.1688        .50000       -.56000    
   3  Normalizat    .84572        .41567E-01    .11032E-04   -.98395    
   4  Prefactor     1.0979        .39698E-01    .93207E-05   -.89533    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.42444e-09
Minuit parameter uncertainties:
  1  0.0260407
  2  1388.59
  3  0.0415683
  4  0.0396987
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/250633': 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) = 6737.52270885
delta logL = 4.35520632891e-08

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.003e-04  2.604e-02  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.344e+00  1.389e+03  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.098e+00  3.970e-02  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:  8.457e-01  4.157e-02  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/250633/cmap_HighResolution_347673601_347932801_4FGL_J1200.6+1229_daily_bin418.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.79e-03', job_status='DONE', photon_flux_upper_limit='6.20e-08', time_completed='2021-09-04 20:23:08.714250', job_id='250633', GAL2='1.10', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1630812188.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='4.36e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='418' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:23:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 250633: <4FGL_J1200.6+1229_daily_bin418> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin418> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 20:10:38 2021
Job was executed on host(s) <bullet0289>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:10:40 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:10:40 2021
Terminated at Sat Sep  4 20:23:09 2021
Results reported at Sat Sep  4 20:23:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin418 180.173 12.4922 347673601 347932801 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 :                                   735.18 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             336.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            751 sec.

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

