aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 162 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1200.2+0201_daily_bin1758
RA = 180.055, Dec = 2.0172
tmin = 695001601, tmax = 695260801
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='365015', job_status='RUN', time_executed='2023-01-13 00:43:14.395838', time_epoch_executed='1673599394.4' WHERE source_name='4FGL J1200.2+0201' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/365015

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/365015/ft1_4FGL_J1200.2+0201_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/365015/ft2_4FGL_J1200.2+0201_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/365015/ft1_4FGL_J1200.2+0201_daily_bin1758.fits outfile=/scratch/kocevski/365015/ft1_filteredMKT_4FGL_J1200.2+0201_daily_bin1758.fits ra=180.055 dec=2.0172 rad=12.0 tmin=695001601.0 tmax=695260801.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 2.79
user 2.56
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/365015/ft2_4FGL_J1200.2+0201_daily_bin1758.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/365015/ft2_4FGL_J1200.2+0201_daily_bin1758.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/365015/ft1_filteredMKT_4FGL_J1200.2+0201_daily_bin1758.fits evtable="EVENTS" outfile="/scratch/kocevski/365015/ft1_filtered_4FGL_J1200.2+0201_daily_bin1758.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 715

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/365015/ft1_filtered_4FGL_J1200.2+0201_daily_bin1758.fits" evtable="EVENTS" scfile=/scratch/kocevski/365015/ft2_4FGL_J1200.2+0201_daily_bin1758.fits sctable="SC_DATA" outfile=/scratch/kocevski/365015/ltcube_695001601_695260801_4FGL_J1200.2+0201_daily_bin1758.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/365015/ft2_4FGL_J1200.2+0201_daily_bin1758.fits
.....................!
real 15.84
user 15.39
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/365015/ft1_filtered_4FGL_J1200.2+0201_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/365015/ft2_4FGL_J1200.2+0201_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/365015/ltcube_695001601_695260801_4FGL_J1200.2+0201_daily_bin1758.fits outfile=/scratch/kocevski/365015/expmap_695001601_695260801_4FGL_J1200.2+0201_daily_bin1758.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/365015/ltcube_695001601_695260801_4FGL_J1200.2+0201_daily_bin1758.fits
.....................!
real 194.10
user 188.12
sys 5.54

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 187 point sources and 0 extended sources

Setting source of interest to:
4FGL J1200.2+0201 @ 180.055 2.0172

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/365015/ft1_filtered_4FGL_J1200.2+0201_daily_bin1758.fits scfile=/scratch/kocevski/365015/ft2_4FGL_J1200.2+0201_daily_bin1758.fits outfile=/scratch/kocevski/365015/cmap_695001601_695260801_4FGL_J1200.2+0201_daily_bin1758.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.055 yref=2.0172 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.59
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/365015/ft1_filtered_4FGL_J1200.2+0201_daily_bin1758.fits scfile=/scratch/kocevski/365015/ft2_4FGL_J1200.2+0201_daily_bin1758.fits outfile=/scratch/kocevski/365015/cmap_HighResolution_695001601_695260801_4FGL_J1200.2+0201_daily_bin1758.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.055 yref=2.0172 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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/365015/ft1_filtered_4FGL_J1200.2+0201_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/365015/ft2_4FGL_J1200.2+0201_daily_bin1758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/365015/Model_4FGL_J1200.2+0201_daily_bin1758.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/365015/ft1_filtered_4FGL_J1200.2+0201_daily_bin1758.fits.....................!
real 66.03
user 64.48
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/365015/ft1_filtered_4FGL_J1200.2+0201_daily_bin1758.fits', '/scratch/kocevski/365015/ft2_4FGL_J1200.2+0201_daily_bin1758.fits', expMap='/scratch/kocevski/365015/expmap_695001601_695260801_4FGL_J1200.2+0201_daily_bin1758.fits', expCube='/scratch/kocevski/365015/ltcube_695001601_695260801_4FGL_J1200.2+0201_daily_bin1758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/365015/Model_4FGL_J1200.2+0201_daily_bin1758.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1200.2+0201'

4FGL J1200.2+0201
   Spectrum: PowerLaw
285    Prefactor:  1.346e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.109e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.748e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/365015/ft1_filtered_4FGL_J1200.2+0201_daily_bin1758.fits
Spacecraft file(s): /scratch/kocevski/365015/ft2_4FGL_J1200.2+0201_daily_bin1758.fits
Exposure map: /scratch/kocevski/365015/expmap_695001601_695260801_4FGL_J1200.2+0201_daily_bin1758.fits
Exposure cube: /scratch/kocevski/365015/ltcube_695001601_695260801_4FGL_J1200.2+0201_daily_bin1758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/365015/Model_4FGL_J1200.2+0201_daily_bin1758.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) = 7938.09130153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.3659       1.0000          .0000       .10000E+07
     2 'norm      '    .18166E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.1569       1.0000          .0000       .10000E+07
     4 'Prefactor '    .65840E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .65477E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .24591E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .21824       1.0000          .0000       .10000E+07
     8 'Prefactor '    .98847E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .32478E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .11008E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .15964E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .17563E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    15.834       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10476       1.0000          .0000       .10000E+07
    15 'Prefactor '    43.241       1.0000          .0000       .10000E+07
    16 'Prefactor '    .66744E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .60164E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .18652E-07   1.0000          .0000       .10000E+07
    19 'norm      '    4.8726       1.0000          .0000       .10000E+07
    20 'Prefactor '    .64242E-04   1.0000          .0000       .10000E+07
    21 'norm      '    .24586E-02   1.0000          .0000       .10000E+07
    22 'norm      '    1.5365       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.3085       1.0000          .0000       .10000E+07
    24 'norm      '    .95705       1.0000          .0000       .10000E+07
    25 'Prefactor '    .17978E-05   1.0000          .0000       .10000E+07
    26 'Normalizat'    .73743       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.3575       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7937.953     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     1919 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.3428        4.7314       -.51070E-08   -.61611E-03
   2  norm          .14988E-08    7.4974        .10217E-06** at limit **
   3  Prefactor     3.1530        2.2586        .23116E-07    .26648E-02
   4  Prefactor     .44520E-07    4.4893       -.44603E-07** at limit **
   5  norm          .11569E-06    4.4480       -.48616E-07** at limit **
   6  Prefactor     .40135E-07    5.6682       -.29864E-07** at limit **
   7  Prefactor     .38269E-06    2.7690       -.84722E-08** at limit **
   8  Prefactor     .38858E-09    3.2609        .17749E-07** at limit **
   9  Prefactor     .13167E-06    4.1908        .17548E-07** at limit **
  10  Prefactor     .57476E-06    9.5684        .48141E-08** at limit **
  11  Prefactor     .74518E-06    5.2611        .45377E-07** at limit **
  12  Prefactor     .12829E-06    84.496       -.79746E-06** at limit **
  13  Prefactor     14.213        36.930       -.13660E-06   -.14466E-01
  14  Prefactor     .27728E-06    2.1841       -.62458E-07** at limit **
  15  Prefactor     43.159        1.0917        .45225E-09    .26220E-02
  16  Prefactor     .18541E-07    6.8948        .59377E-07** at limit **
  17  Prefactor     .11102E-09    2.3977        .10360E-07** at limit **
  18  norm           .0000        .41372       -.45288E-07** at limit **
  19  norm          4.8674        3.3117        .23119E-07    .12574E-02
  20  Prefactor     .77716E-07    4.5770       -.62540E-09** at limit **
  21  norm          .18541E-07    17.384       -.21597E-06** at limit **
  22  norm          1.5358        .53220       -.60220E-08   -.48838E-02
  23  Prefactor     2.3047        6.3716        .15113E-06    .15940E-02
  24  norm          .95483        1.2589       -.81687E-09   -.64770E-03
  25  Prefactor     .25063E-06    2.9969        .72744E-07** at limit **
  26  Normalizat    .73750        .21385       -.35776E-06   -.29577E-04
  27  Prefactor     1.3586        .17775       -.78117E-07   -.41486E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.34283
  norm       = 1.4988e-09
  Prefactor  = 3.15304
  Prefactor  = 4.45199e-08
  norm       = 1.15685e-07
  Prefactor  = 4.01346e-08
  Prefactor  = 3.82694e-07
  Prefactor  = 3.88578e-10
  Prefactor  = 1.31672e-07
  Prefactor  = 5.74762e-07
  Prefactor  = 7.45182e-07
  Prefactor  = 1.28286e-07
  Prefactor  = 14.2127
  Prefactor  = 2.77278e-07
  Prefactor  = 43.1587
  Prefactor  = 1.85407e-08
  Prefactor  = 1.11022e-10
  norm       = 0
  norm       = 4.86736
  Prefactor  = 7.77156e-08
  norm       = 1.85407e-08
  norm       = 1.53585
  Prefactor  = 2.30465
  norm       = 0.954825
  Prefactor  = 2.50633e-07
  Normalizat = 0.737502
  Prefactor  = 1.35856
 **********
 **   18 **HESSE 
 **********

 FCN=   7937.953     FROM HESSE     STATUS=OK           542 CALLS     2461 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.3428        4.7280        .32723E-03   -1.5647    
   2  norm          .14988E-08    10.010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.1530        2.2627        .57021E-03   -1.5672    
   4  Prefactor     .44520E-07    4.7853        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .11569E-06    5.3348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .40135E-07    5.9809        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .38269E-06    52.173        .11460E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .38858E-09    3.2630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .13167E-06    6.3624        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .57476E-06    13.138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .74518E-06    12.309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12829E-06    84.954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.213        38.647        .25144E-03   -1.5633    
  14  Prefactor     .27728E-06    27.806        .15945E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     43.159        20.065        .15209E-03   -1.5577    
  16  Prefactor     .18541E-07    8.3845        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11102E-09    2.3939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .41344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.8674        3.3310        .45545E-03   -1.5664    
  20  Prefactor     .77716E-07    6.6614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .18541E-07    17.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.5358        .53783        .77400E-03   -1.5683    
  23  Prefactor     2.3047        6.3769        .67503E-03   -1.5678    
  24  norm          .95483        1.2682        .42238E-03   -1.5688    
  25  Prefactor     .25063E-06    9.3860        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .73750        .19033        .76705E-01   -1.0243    
  27  Prefactor     1.3586        .15263        .49032E-01   -.81582    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39723e-07
Minuit parameter uncertainties:
  1  4.72804
  2  0.000245254
  3  2.26266
  4  0.000922962
  5  0.00157117
  6  0.000979686
  7  0.00893701
  8  7.07091e-05
  9  0.00183048
  10  0.00549613
  11  0.00605714
  12  0.00660242
  13  38.6474
  14  0.00555333
  15  20.0648
  16  0.000789108
  17  3.1644e-05
  18  5.77876e-06
  19  3.33098
  20  0.00143907
  21  0.00114278
  22  0.537827
  23  6.37695
  24  1.26824
  25  0.00306744
  26  0.190498
  27  0.152676
Done.

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

Extracting fit parameters...

4FGL J1200.2+0201
   Spectrum: PowerLaw
285    Prefactor:  1.317e-07  1.830e-03  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.109e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.748e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.359e+00  1.527e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  7.375e-01  1.905e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 180.055 2.017
Photon Flux Upper Limit: 6.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/365015/likelihoodResults_695001601_695260801_4FGL_J1200.2+0201_daily_bin1758.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) = 7938.0333303
delta logL = -0.080813098979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7937.59669958
delta logL = 0.355817630631

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17770       1.0000          .0000       .10000E+07
     2 'Index     '    3.9271       1.0000          .0000       10.000    
     3 'Normalizat'    .67505       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3888       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7937.597     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      254 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17787        2.6747        .98594E-03** at limit **
   2  Index         3.9270        2.1211        .11268        .25092E-03
   3  Normalizat    .67502        .30499E-01    .79931E-01    .29923E-04
   4  Prefactor     1.3889        .25694E-01    .48575E-01   -.23179E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.177869
  Index      = 3.92696
  Normalizat = 0.675023
  Prefactor  = 1.38889
 **********
 **   18 **HESSE 
 **********

 FCN=   7937.597     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      287 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17787        12.485        .44320E-05   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.9270        6.9630        .60882E-02   -.21629    
   3  Normalizat    .67502        .18070        .35393E-03   -1.0489    
   4  Prefactor     1.3889        .14808        .21473E-03   -.80701    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.16059e-09
Minuit parameter uncertainties:
  1  2.98044
  2  6.70908
  3  0.180855
  4  0.148124
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/365015': 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) = 7937.59669932
delta logL = 0.355817885725

Extracting fit parameters...

4FGL J1200.2+0201
   Spectrum: PowerLaw
285    Prefactor:  1.779e-01  2.980e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  3.927e+00  6.709e+00  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  1.748e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.389e+00  1.481e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  6.750e-01  1.809e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 180.055 2.017

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/365015/cmap_HighResolution_695001601_695260801_4FGL_J1200.2+0201_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.56e-03', job_status='DONE', photon_flux_upper_limit='6.03e-08', time_completed='2023-01-13 00:55:38.890987', job_id='365015', GAL2='1.39', fit_tolerance='1e-08', EG2='0.68', EG='0.74', time_epoch_completed='1673600138.89', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='3.56e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1758' AND source_name='4FGL J1200.2+0201' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 00:55:38 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 365015: <4FGL_J1200.2+0201_daily_bin1758> in cluster <slac> Done

Job <4FGL_J1200.2+0201_daily_bin1758> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Jan 13 00:40:12 2023
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 00:40:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 00:40:23 2023
Terminated at Fri Jan 13 00:55:39 2023
Results reported at Fri Jan 13 00:55:39 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.2+0201_daily_bin1758 180.055 2.0172 695001601 695260801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1200.2+0201 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   746.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            927 sec.

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

