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 74 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_J1207.7-0106_daily_bin1711
RA = 181.928, Dec = -1.1063
tmin = 682819201, tmax = 683078401
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='114128', job_status='RUN', time_executed='2022-09-16 16:31:55.512963', time_epoch_executed='1663371115.51' WHERE source_name='4FGL J1207.7-0106' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/114128

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/114128/ft1_4FGL_J1207.7-0106_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/114128/ft2_4FGL_J1207.7-0106_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/114128/ft1_4FGL_J1207.7-0106_daily_bin1711.fits outfile=/scratch/kocevski/114128/ft1_filteredMKT_4FGL_J1207.7-0106_daily_bin1711.fits ra=181.928 dec=-1.1063 rad=12.0 tmin=682819201.0 tmax=683078401.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 4.57
user 4.31
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/114128/ft2_4FGL_J1207.7-0106_daily_bin1711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/114128/ft2_4FGL_J1207.7-0106_daily_bin1711.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/114128/ft1_filteredMKT_4FGL_J1207.7-0106_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/114128/ft1_filtered_4FGL_J1207.7-0106_daily_bin1711.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.33
sys 0.16

Number of photons that the gtmktime cut: 639

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/114128/ft1_filtered_4FGL_J1207.7-0106_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/114128/ft2_4FGL_J1207.7-0106_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/114128/ltcube_682819201_683078401_4FGL_J1207.7-0106_daily_bin1711.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/114128/ft2_4FGL_J1207.7-0106_daily_bin1711.fits
.....................!
real 13.82
user 13.43
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/114128/ft1_filtered_4FGL_J1207.7-0106_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/114128/ft2_4FGL_J1207.7-0106_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/114128/ltcube_682819201_683078401_4FGL_J1207.7-0106_daily_bin1711.fits outfile=/scratch/kocevski/114128/expmap_682819201_683078401_4FGL_J1207.7-0106_daily_bin1711.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/114128/ltcube_682819201_683078401_4FGL_J1207.7-0106_daily_bin1711.fits
.....................!
real 193.80
user 188.02
sys 5.13

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

Setting source of interest to:
4FGL J1207.7-0106 @ 181.928 -1.1063

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/114128/ft1_filtered_4FGL_J1207.7-0106_daily_bin1711.fits scfile=/scratch/kocevski/114128/ft2_4FGL_J1207.7-0106_daily_bin1711.fits outfile=/scratch/kocevski/114128/cmap_682819201_683078401_4FGL_J1207.7-0106_daily_bin1711.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=181.928 yref=-1.1063 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 1.00
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/114128/ft1_filtered_4FGL_J1207.7-0106_daily_bin1711.fits scfile=/scratch/kocevski/114128/ft2_4FGL_J1207.7-0106_daily_bin1711.fits outfile=/scratch/kocevski/114128/cmap_HighResolution_682819201_683078401_4FGL_J1207.7-0106_daily_bin1711.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=181.928 yref=-1.1063 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/114128/ft1_filtered_4FGL_J1207.7-0106_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/114128/ft2_4FGL_J1207.7-0106_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/114128/Model_4FGL_J1207.7-0106_daily_bin1711.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/114128/ft1_filtered_4FGL_J1207.7-0106_daily_bin1711.fits.....................!
real 60.56
user 59.11
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/114128/ft1_filtered_4FGL_J1207.7-0106_daily_bin1711.fits', '/scratch/kocevski/114128/ft2_4FGL_J1207.7-0106_daily_bin1711.fits', expMap='/scratch/kocevski/114128/expmap_682819201_683078401_4FGL_J1207.7-0106_daily_bin1711.fits', expCube='/scratch/kocevski/114128/ltcube_682819201_683078401_4FGL_J1207.7-0106_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/114128/Model_4FGL_J1207.7-0106_daily_bin1711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1207.7-0106'

4FGL J1207.7-0106
   Spectrum: PowerLaw
320    Prefactor:  4.320e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
321        Index:  2.338e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
322        Scale:  1.045e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/114128/ft1_filtered_4FGL_J1207.7-0106_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/114128/ft2_4FGL_J1207.7-0106_daily_bin1711.fits
Exposure map: /scratch/kocevski/114128/expmap_682819201_683078401_4FGL_J1207.7-0106_daily_bin1711.fits
Exposure cube: /scratch/kocevski/114128/ltcube_682819201_683078401_4FGL_J1207.7-0106_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/114128/Model_4FGL_J1207.7-0106_daily_bin1711.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) = 7041.6950547

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10869E-06   1.0000          .0000       .10000E+07
     2 'norm      '    .13244E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .96015       1.0000          .0000       .10000E+07
     4 'Prefactor '    .51987E-02   1.0000          .0000       .10000E+07
     5 'norm      '    4.7786       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.0740       1.0000          .0000       .10000E+07
     7 'Prefactor '    16.597       1.0000          .0000       .10000E+07
     8 'Prefactor '    .52151E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.5285       1.0000          .0000       .10000E+07
    10 'Prefactor '    .40136E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    17.713       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.2718       1.0000          .0000       .10000E+07
    13 'Prefactor '    25.766       1.0000          .0000       .10000E+07
    14 'Prefactor '    .40032E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .62282E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .45631E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .63455E-06   1.0000          .0000       .10000E+07
    18 'norm      '    .34354E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    20.387       1.0000          .0000       .10000E+07
    20 'norm      '    89.858       1.0000          .0000       .10000E+07
    21 'norm      '    1.3500       1.0000          .0000       .10000E+07
    22 'Prefactor '    9.0593       1.0000          .0000       .10000E+07
    23 'norm      '    2.8186       1.0000          .0000       .10000E+07
    24 'Prefactor '    8.7581       1.0000          .0000       .10000E+07
    25 'Prefactor '    5.5935       1.0000          .0000       .10000E+07
    26 'norm      '    .12974E-02   1.0000          .0000       .10000E+07
    27 'Normalizat'    .98946       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .89999       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7041.684     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     2529 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    1.4892       -.76610E-07** at limit **
   2  norm          .49960E-09    5.2079        .17903E-06** at limit **
   3  Prefactor     .95632        2.1515        .15068E-06   -.14578E-02
   4  Prefactor     .76605E-08    8.6815       -.11187E-06** at limit **
   5  norm          4.7835        4.6459        .69886E-07   -.19256E-03
   6  Prefactor     2.0726        2.3812       -.42344E-07    .63383E-03
   7  Prefactor     16.615        10.948       -.33110E-07   -.41639E-01
   8  Prefactor     .20606E-06    61.710       -.24575E-06** at limit **
   9  Prefactor     4.5226        8.2188       -.27606E-07   -.67650E-03
  10  Prefactor     .16653E-09    2.3748        .10240E-06** at limit **
  11  Prefactor     17.687        4.2442       -.27948E-07   -.11908E-01
  12  Prefactor     5.4866        8.7192        .17590E-06   -.28004E-01
  13  Prefactor     26.467        8.3121        .44947E-07   -.50198E-02
  14  Prefactor     .14433E-08    9.9593       -.32100E-06** at limit **
  15  Prefactor      .0000        24.485        .76783E-07** at limit **
  16  Prefactor     .67191E-06    9.4291        .11351E-06** at limit **
  17  norm           .0000        .73227       -.12535E-07** at limit **
  18  norm          .11459E-05    8.6347        .36239E-06** at limit **
  19  Prefactor     20.341        1.7392       -.20413E-07    .15863E-01
  20  norm          90.440        43.592       -.96200E-07   -.33600E-01
  21  norm          1.3479        .54438       -.54546E-08    .33358E-03
  22  Prefactor     9.0694        9.7291        .34874E-07   -.13059E-02
  23  norm          2.8198        1.4697       -.38534E-07    .13636E-02
  24  Prefactor     8.7704        6.1852       -.59638E-07   -.13164E-03
  25  Prefactor     5.5955        1.0374        .95007E-09    .49981E-03
  26  norm          .87319E-07    14.157       -.50996E-06** at limit **
  27  Normalizat    .98835        .21182        .26590E-05   -.82596E-05
  28  Prefactor     .90033        .16080       -.23119E-05    .12048E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 4.996e-10
  Prefactor  = 0.956321
  Prefactor  = 7.66054e-09
  norm       = 4.78348
  Prefactor  = 2.07265
  Prefactor  = 16.6155
  Prefactor  = 2.06057e-07
  Prefactor  = 4.52261
  Prefactor  = 1.66533e-10
  Prefactor  = 17.6866
  Prefactor  = 5.48657
  Prefactor  = 26.4668
  Prefactor  = 1.44329e-09
  Prefactor  = 0
  Prefactor  = 6.71907e-07
  norm       = 0
  norm       = 1.14586e-06
  Prefactor  = 20.3407
  norm       = 90.44
  norm       = 1.34794
  Prefactor  = 9.0694
  norm       = 2.81977
  Prefactor  = 8.77038
  Prefactor  = 5.59553
  norm       = 8.7319e-08
  Normalizat = 0.988354
  Prefactor  = 0.900334
 **********
 **   18 **HESSE 
 **********

 FCN=   7041.684     FROM HESSE     STATUS=OK           581 CALLS     3110 TOTAL
                     EDM=   .74E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    1.4867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .49960E-09    5.2263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .95632        2.1698        .42349E-03   -1.5688    
   4  Prefactor     .76605E-08    8.7465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.7835        4.6722        .46001E-03   -1.5664    
   6  Prefactor     2.0726        2.4168        .71694E-03   -1.5679    
   7  Prefactor     16.615        11.759        .24557E-03   -1.5626    
   8  Prefactor     .20606E-06    64.428        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.5226        8.2387        .47285E-03   -1.5665    
  10  Prefactor     .16653E-09    2.3727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.687        13.946        .23770E-03   -1.5624    
  12  Prefactor     5.4866        45.704        .43752E-03   -1.5661    
  13  Prefactor     26.467        37.070        .19705E-03   -1.5605    
  14  Prefactor     .14433E-08    10.029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        23.882        .15081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .67191E-06    14.045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        .73080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .11459E-05    2.9436        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     20.341        30.026        .22154E-03   -1.5618    
  20  norm          90.440        50.165        .10550E-03   -1.5518    
  21  norm          1.3479        .55128        .81139E-03   -1.5685    
  22  Prefactor     9.0694        9.7717        .33275E-03   -1.5648    
  23  norm          2.8198        1.4751        .60556E-03   -1.5674    
  24  Prefactor     8.7704        6.1950        .33846E-03   -1.5649    
  25  Prefactor     5.5955        16.765        .42454E-03   -1.5661    
  26  norm          .87319E-07    14.732        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .98835        .19605        .46035E-01   -.93422    
  28  Prefactor     .90033        .14195        .45005E-01   -.96129    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.39786e-07
Minuit parameter uncertainties:
  1  1.52943e-05
  2  0.000103547
  3  2.16981
  4  0.000516966
  5  4.67223
  6  2.41679
  7  11.7594
  8  0.00728758
  9  8.23873
  10  4.1823e-05
  11  13.9464
  12  31.6709
  13  37.0708
  14  0.00023981
  15  1.54429e-05
  16  0.00614376
  17  6.9934e-07
  18  0.00367312
  19  30.0267
  20  50.165
  21  0.551281
  22  9.77173
  23  1.47507
  24  6.19504
  25  16.7651
  26  0.00226819
  27  0.196194
  28  0.142007
Done.

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

Extracting fit parameters...

4FGL J1207.7-0106
   Spectrum: PowerLaw
320    Prefactor:  1.443e-09  2.398e-04  0.000e+00  1.000e+06 ( 1.000e-13)
321        Index:  2.338e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
322        Scale:  1.045e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
624    Prefactor:  9.003e-01  1.420e-01  0.000e+00  1.000e+01 ( 1.000e+00)
625        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
626        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
623   Normalization:  9.884e-01  1.962e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 181.928 -1.106
Photon Flux Upper Limit: 6.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/114128/likelihoodResults_682819201_683078401_4FGL_J1207.7-0106_daily_bin1711.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): 0
logL (Free Index) = 7038.89169237
delta logL = 2.79216793896

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7038.87391901
delta logL = 2.80994129756

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7038.874     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      291 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .78621E-01    .46622        .23741E-03** at limit **
   2  Index         5.8775        1.9831        .78647E-01   -.18183E-03
   3  Normalizat    .77683        .57739E-01    .71160E-01   -.10771E-03
   4  Prefactor     1.0051        .44413E-01    .44082E-01   -.82384E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.078621
  Index      = 5.87746
  Normalizat = 0.776827
  Prefactor  = 1.00509
 **********
 **   18 **HESSE 
 **********

 FCN=   7038.874     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      324 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .78621E-01    .83231        .10595E-05   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.8775        2.8197        .32153E-02    .17641    
   3  Normalizat    .77683        .19718        .31491E-03   -1.0093    
   4  Prefactor     1.0051        .14757        .21601E-03   -.92560    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.74349e-10
Minuit parameter uncertainties:
  1  0.511613
  2  3.00242
  3  0.197361
  4  0.147631
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/114128': 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) = 7038.87391254
delta logL = 2.80994776662

Extracting fit parameters...

4FGL J1207.7-0106
   Spectrum: PowerLaw
320    Prefactor:  7.862e-02  5.116e-01  0.000e+00  1.000e+06 ( 1.000e-13)
321        Index:  5.877e+00  3.002e+00  0.000e+00  1.000e+01 (-1.000e+00)
322        Scale:  1.045e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
624    Prefactor:  1.005e+00  1.476e-01  0.000e+00  1.000e+01 ( 1.000e+00)
625        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
626        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
623   Normalization:  7.768e-01  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.56
Ra Dec: 181.928 -1.106
Photon Index (Free Index): 5.88 +/- 3.00
Photon Flux (Free Index): 1.59e-07 +/- 7.58e-08
Energy Flux (Free Index): 1.99e-05 +/- 1.04e-05

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/114128/cmap_HighResolution_682819201_683078401_4FGL_J1207.7-0106_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.38e-03', comment='SUCCESS', energy_flux2='1.99e-05', dlogl='2.81e+00', photon_flux2='1.59e-07', job_status='DONE', time_completed='2022-09-16 16:45:02.515047', photon_index_error2='3.00', photon_index2='5.88', ts='-0.00', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='6.99e-08', energy_flux_error2='1.04e-05', EG='0.99', time_epoch_completed='1663371902.52', return_code='0', job_id='114128', GAL2='1.01', EG2='0.78', return_code2='102', photon_flux_error2='7.58e-08', ts2='6.56', photon_index='2.34' WHERE bin_id='1711' AND source_name='4FGL J1207.7-0106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:45:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 114128: <4FGL_J1207.7-0106_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1207.7-0106_daily_bin1711> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 16:30:17 2022
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:30:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 16:30:32 2022
Terminated at Fri Sep 16 16:45:03 2022
Results reported at Fri Sep 16 16:45:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1207.7-0106_daily_bin1711 181.928 -1.1063 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1207.7-0106 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   788.09 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             310.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            886 sec.

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

