/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 42 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 = 7358
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1200.6+1229_daily_bin1450
RA = 180.173, Dec = 12.4922
tmin = 615168001, tmax = 615427201
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='255600', job_status='RUN', time_executed='2021-09-04 20:26:57.009295', time_epoch_executed='1630812417.01' WHERE source_name='4FGL J1200.6+1229' and cadence='daily' and bin_id='1450'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/255600

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/255600/ft1_4FGL_J1200.6+1229_daily_bin1450.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/255600/ft2_4FGL_J1200.6+1229_daily_bin1450.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/255600/ft1_4FGL_J1200.6+1229_daily_bin1450.fits outfile=/scratch/kocevski/255600/ft1_filteredMKT_4FGL_J1200.6+1229_daily_bin1450.fits ra=180.173 dec=12.4922 rad=12.0 tmin=615168001.0 tmax=615427201.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.56
user 3.37
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/255600/ft1_filtered_4FGL_J1200.6+1229_daily_bin1450.fits evtable="EVENTS" scfile=/scratch/kocevski/255600/ft2_4FGL_J1200.6+1229_daily_bin1450.fits sctable="SC_DATA" expcube=/scratch/kocevski/255600/ltcube_615168001_615427201_4FGL_J1200.6+1229_daily_bin1450.fits outfile=/scratch/kocevski/255600/expmap_615168001_615427201_4FGL_J1200.6+1229_daily_bin1450.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/255600/ltcube_615168001_615427201_4FGL_J1200.6+1229_daily_bin1450.fits
.....................!
real 190.10
user 185.75
sys 3.95

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/255600/ft1_filtered_4FGL_J1200.6+1229_daily_bin1450.fits scfile=/scratch/kocevski/255600/ft2_4FGL_J1200.6+1229_daily_bin1450.fits outfile=/scratch/kocevski/255600/cmap_615168001_615427201_4FGL_J1200.6+1229_daily_bin1450.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/255600/ft1_filtered_4FGL_J1200.6+1229_daily_bin1450.fits scfile=/scratch/kocevski/255600/ft2_4FGL_J1200.6+1229_daily_bin1450.fits outfile=/scratch/kocevski/255600/cmap_HighResolution_615168001_615427201_4FGL_J1200.6+1229_daily_bin1450.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.3952       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.8026       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .40846E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.8999       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .24843E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.6075       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    32.857       1.0000         .10000E-03   10000.    
    15 'norm      '    8.5315       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .16940       1.0000         .10000E-03   10000.    
    18 'norm      '    16.852       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .16907E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.051       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1951       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0977       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=   6045.078     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2578 TOTAL
                     EDM=   .67E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.0702        .93762E-07** at limit **
   2  Prefactor     8.3945        10.620       -.70405E-07   -.18602E-05
   3  Prefactor     .10000E-03    12.498        .55311E-07** at limit **
   4  Prefactor     4.7996        6.0884        .13565E-06    .38846E-06
   5  Prefactor     .10000E-03    93.833        .60885E-05** at limit **
   6  Prefactor     .10000E-03    34.781        .40006E-05** at limit **
   7  Prefactor     1.9001        4.6391       -.16547E-06   -.40635E-05
   8  Prefactor     .10000E-03    5.7566        .22450E-07** at limit **
   9  Prefactor     .10000E-03    5.3260        .59807E-07** at limit **
  10  Prefactor     .10000E-03    42.057        .11732E-05** at limit **
  11  Prefactor     .10000E-03    27.581       -.13260E-05** at limit **
  12  Prefactor     2.6037        2.7812       -.76424E-07   -.20346E-04
  13  Prefactor     .10000E-03    1.5576        .26132E-07** at limit **
  14  Prefactor     32.852        36.309        .64193E-06    .11467E-04
  15  norm          8.5316        5.6055       -.61806E-06    .66749E-06
  16  Prefactor     .10000E-03    53.239       -.37143E-05** at limit **
  17  norm          .16938        .14595       -.24769E-08   -.23184E-05
  18  norm          16.840        41.040        .12333E-05    .23732E-05
  19  Prefactor     .10000E-03    209.96       -.77801E-05** at limit **
  20  Prefactor     .10000E-03    8.6838        .35760E-07** at limit **
  21  Prefactor     17.044        22.946        .32874E-07    .69142E-06
  22  Normalizat    1.1949        .19953        .59697E-06   -.29851E-04
  23  Prefactor     1.0979        .18140       -.40427E-06    .28039E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 8.3945
  Prefactor  = 0.0001
  Prefactor  = 4.79958
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.90015
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.60366
  Prefactor  = 0.0001
  Prefactor  = 32.8519
  norm       = 8.53161
  Prefactor  = 0.0001
  norm       = 0.169376
  norm       = 16.8401
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.0441
  Normalizat = 1.19485
  Prefactor  = 1.09785
 **********
 **   18 **HESSE 
 **********

 FCN=   6045.078     FROM HESSE     STATUS=OK           372 CALLS     2950 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.1862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.3945        10.617        .13836E-03   -1.5128    
   3  Prefactor     .10000E-03    12.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.7996        6.0836        .18358E-03   -1.5270    
   5  Prefactor     .10000E-03    94.159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    34.387        .37912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.9001        4.6015        .25476E-03   -1.5432    
   8  Prefactor     .10000E-03    5.7630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.5468        .34934E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    42.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    27.616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.6037        2.7653        .12736E-03   -1.5385    
  13  Prefactor     .10000E-03    1.5768        .94609E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     32.852        36.313        .69905E-04   -1.4561    
  15  norm          8.5316        5.6026        .60650E-03   -1.5124    
  16  Prefactor     .10000E-03    53.400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .16938        .15257        .26747E-03   -1.5626    
  18  norm          16.840        41.018        .97564E-04   -1.4887    
  19  Prefactor     .10000E-03    210.22        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.7802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     17.044        22.937        .96993E-04   -1.4882    
  22  Normalizat    1.1949        .23500        .26682E-03   -.86762    
  23  Prefactor     1.0979        .21480        .25671E-03   -.89535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61733e-11
Minuit parameter uncertainties:
  1  1.9244e-06
  2  10.6191
  3  1.2946e-06
  4  6.08437
  5  9.09048e-05
  6  3.89234e-06
  7  4.60239
  8  6.23422e-07
  9  9.63162e-07
  10  1.37023e-05
  11  7.43074e-06
  12  2.76545
  13  4.7337e-07
  14  36.3379
  15  5.60294
  16  1.79494e-05
  17  0.152572
  18  41.0868
  19  9.35536e-05
  20  2.89462e-06
  21  22.9486
  22  0.235204
  23  0.214967
Done.

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

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.000e-04  6.234e-07  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  2.150e-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.195e+00  2.352e-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.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/255600/likelihoodResults_615168001_615427201_4FGL_J1200.6+1229_daily_bin1450.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) = 6045.07873475
delta logL = -0.000821961037218

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6045.07791288
delta logL = -9.09940354177e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10378E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3608       1.0000          .0000       10.000    
     3 'Normalizat'    1.1948       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=   6045.078     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      250 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10297E-03    5.6695        .18142E-01** at limit **
   2  Index         2.2760        6.1098        .50000        .31914E-04
   3  Normalizat    1.1949        .47572E-02    .26682E-03   -.15765E-05
   4  Prefactor     1.0979        .44304E-02    .25671E-03    .45792E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102965
  Index      = 2.276
  Normalizat = 1.19485
  Prefactor  = 1.09785
 **********
 **   18 **HESSE 
 **********

 FCN=   6045.078     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      279 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10297E-03    58.506        .19273E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2760        6.0145        .50000       -.57615    
   3  Normalizat    1.1949        .15389E-01    .10673E-04   -.86762    
   4  Prefactor     1.0979        .14332E-01    .10268E-04   -.89535    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.58388e-09
Minuit parameter uncertainties:
  1  0.0263681
  2  268.937
  3  0.0153892
  4  0.0143321
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/255600': 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) = 6045.07791207
delta logL = 7.19313902664e-07

Extracting fit parameters...

4FGL J1200.6+1229
   Spectrum: PowerLaw
299    Prefactor:  1.030e-04  2.637e-02  1.000e-04  1.000e+04 ( 1.000e-13)
300        Index:  2.276e+00  2.689e+02  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  1.433e-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:  1.195e+00  1.539e-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/255600/cmap_HighResolution_615168001_615427201_4FGL_J1200.6+1229_daily_bin1450.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.68e-03', job_status='DONE', photon_flux_upper_limit='6.06e-08', time_completed='2021-09-04 20:39:19.279081', job_id='255600', GAL2='1.10', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1630813159.28', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='7.19e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1450' AND source_name='4FGL J1200.6+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:39:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 255600: <4FGL_J1200.6+1229_daily_bin1450> in cluster <slac> Done

Job <4FGL_J1200.6+1229_daily_bin1450> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep  4 20:25:49 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:25:51 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:25:51 2021
Terminated at Sat Sep  4 20:39:19 2021
Results reported at Sat Sep  4 20:39:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.6+1229_daily_bin1450 180.173 12.4922 615168001 615427201 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 :                                   675.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             311.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            810 sec.

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

