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


Performing analysis on: 4FGL_J1207.7-0106_daily_bin1713
RA = 181.928, Dec = -1.1063
tmin = 683337601, tmax = 683596801
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='114131', job_status='RUN', time_executed='2022-09-16 16:31:53.864239', time_epoch_executed='1663371113.86' WHERE source_name='4FGL J1207.7-0106' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/114131

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/114131/ft1_4FGL_J1207.7-0106_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/114131/ft2_4FGL_J1207.7-0106_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/114131/ft1_4FGL_J1207.7-0106_daily_bin1713.fits outfile=/scratch/kocevski/114131/ft1_filteredMKT_4FGL_J1207.7-0106_daily_bin1713.fits ra=181.928 dec=-1.1063 rad=12.0 tmin=683337601.0 tmax=683596801.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.50
user 3.27
sys 0.21

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

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

Number of photons that the gtmktime cut: 674

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/114131/ft1_filtered_4FGL_J1207.7-0106_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/114131/ft2_4FGL_J1207.7-0106_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/114131/ltcube_683337601_683596801_4FGL_J1207.7-0106_daily_bin1713.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/114131/ft2_4FGL_J1207.7-0106_daily_bin1713.fits
.....................!
real 13.14
user 12.67
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/114131/ft1_filtered_4FGL_J1207.7-0106_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/114131/ft2_4FGL_J1207.7-0106_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/114131/ltcube_683337601_683596801_4FGL_J1207.7-0106_daily_bin1713.fits outfile=/scratch/kocevski/114131/expmap_683337601_683596801_4FGL_J1207.7-0106_daily_bin1713.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/114131/ltcube_683337601_683596801_4FGL_J1207.7-0106_daily_bin1713.fits
.....................!
real 192.04
user 185.77
sys 5.65

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/114131/ft1_filtered_4FGL_J1207.7-0106_daily_bin1713.fits scfile=/scratch/kocevski/114131/ft2_4FGL_J1207.7-0106_daily_bin1713.fits outfile=/scratch/kocevski/114131/cmap_683337601_683596801_4FGL_J1207.7-0106_daily_bin1713.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 0.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/114131/ft1_filtered_4FGL_J1207.7-0106_daily_bin1713.fits scfile=/scratch/kocevski/114131/ft2_4FGL_J1207.7-0106_daily_bin1713.fits outfile=/scratch/kocevski/114131/cmap_HighResolution_683337601_683596801_4FGL_J1207.7-0106_daily_bin1713.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/114131/ft1_filtered_4FGL_J1207.7-0106_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/114131/ft2_4FGL_J1207.7-0106_daily_bin1713.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/114131/Model_4FGL_J1207.7-0106_daily_bin1713.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/114131/ft1_filtered_4FGL_J1207.7-0106_daily_bin1713.fits.....................!
real 65.06
user 63.74
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/114131/ft1_filtered_4FGL_J1207.7-0106_daily_bin1713.fits', '/scratch/kocevski/114131/ft2_4FGL_J1207.7-0106_daily_bin1713.fits', expMap='/scratch/kocevski/114131/expmap_683337601_683596801_4FGL_J1207.7-0106_daily_bin1713.fits', expCube='/scratch/kocevski/114131/ltcube_683337601_683596801_4FGL_J1207.7-0106_daily_bin1713.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/114131/Model_4FGL_J1207.7-0106_daily_bin1713.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/114131/ft1_filtered_4FGL_J1207.7-0106_daily_bin1713.fits
Spacecraft file(s): /scratch/kocevski/114131/ft2_4FGL_J1207.7-0106_daily_bin1713.fits
Exposure map: /scratch/kocevski/114131/expmap_683337601_683596801_4FGL_J1207.7-0106_daily_bin1713.fits
Exposure cube: /scratch/kocevski/114131/ltcube_683337601_683596801_4FGL_J1207.7-0106_daily_bin1713.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/114131/Model_4FGL_J1207.7-0106_daily_bin1713.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) = 7476.43660333

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43926       1.0000          .0000       .10000E+07
     2 'norm      '    21.491       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.4791       1.0000          .0000       .10000E+07
     4 'Prefactor '    .40758E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .20890E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .26252E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    10.133       1.0000          .0000       .10000E+07
     8 'Prefactor '    .66491       1.0000          .0000       .10000E+07
     9 'Prefactor '    11.475       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.3525       1.0000          .0000       .10000E+07
    11 'Prefactor '    .67305E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .42289E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    97.275       1.0000          .0000       .10000E+07
    14 'Prefactor '    .20954E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.4685       1.0000          .0000       .10000E+07
    16 'Prefactor '    20.200       1.0000          .0000       .10000E+07
    17 'norm      '    .69905E-03   1.0000          .0000       .10000E+07
    18 'norm      '    7.4873       1.0000          .0000       .10000E+07
    19 'Prefactor '    58.685       1.0000          .0000       .10000E+07
    20 'norm      '    .11268E-05   1.0000          .0000       .10000E+07
    21 'norm      '    .51426       1.0000          .0000       .10000E+07
    22 'Prefactor '    20.807       1.0000          .0000       .10000E+07
    23 'norm      '    .11491E-07   1.0000          .0000       .10000E+07
    24 'Prefactor '    30.611       1.0000          .0000       .10000E+07
    25 'Prefactor '    .11320E-02   1.0000          .0000       .10000E+07
    26 'norm      '    .48627E-04   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.4142       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .81371       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=   7476.343     FROM MIGRAD    STATUS=CONVERGED    224 CALLS     2578 TOTAL
                     EDM=   .36E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .48115        5.5906        .56065E-08   -.80859E-03
   2  norm          21.143        5.3285        .22247E-07    .23112E-01
   3  Prefactor     1.4838        1.4554        .35905E-07   -.79376E-03
   4  Prefactor     .33307E-09    10.827       -.26603E-06** at limit **
   5  norm           .0000        2.5225       -.97797E-07** at limit **
   6  Prefactor      .0000        1.6657        .76810E-07** at limit **
   7  Prefactor     10.183        11.347        .74952E-07   -.84231E-03
   8  Prefactor     .56027E-06    29.744        .27368E-06** at limit **
   9  Prefactor     11.456        2.8967        .11166E-07   -.79101E-02
  10  Prefactor     1.0378        14.826       -.79240E-06    .45693E-03
  11  Prefactor      .0000        8.9471        .47441E-08** at limit **
  12  Prefactor     .55511E-10    12.798       -.15570E-06** at limit **
  13  Prefactor     103.06        63.424       -.33078E-07   -.30483E-03
  14  Prefactor      .0000        14.136        .36764E-07** at limit **
  15  Prefactor     1.2768        2.8439        .73790E-07   -.77706E-03
  16  Prefactor     20.034        12.463       -.13273E-06   -.73631E-03
  17  norm          .76605E-08    18.235       -.20230E-06** at limit **
  18  norm          7.4393        4.2646       -.10341E-06    .16443E-02
  19  Prefactor     60.863        37.271       -.26729E-06    .38897E-02
  20  norm          .53735E-07    28.134        .17468E-06** at limit **
  21  norm          .51698        .58132        .31254E-07    .23993E-04
  22  Prefactor     20.804        11.518        .16037E-07   -.57181E-03
  23  norm           .0000        .62164        .10031E-08** at limit **
  24  Prefactor     30.551        10.647        .17253E-07   -.37507E-03
  25  Prefactor     .55511E-10    9.4687        .74684E-07** at limit **
  26  norm          .66613E-09    32.885        .15982E-06** at limit **
  27  Normalizat    1.4089        .24630        .65363E-07    .39187E-04
  28  Prefactor     .81573        .17353       -.10978E-06    .28820E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.481151
  norm       = 21.1434
  Prefactor  = 1.4838
  Prefactor  = 3.33067e-10
  norm       = 0
  Prefactor  = 0
  Prefactor  = 10.1831
  Prefactor  = 5.60274e-07
  Prefactor  = 11.4563
  Prefactor  = 1.03779
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 103.065
  Prefactor  = 0
  Prefactor  = 1.2768
  Prefactor  = 20.0342
  norm       = 7.66054e-09
  norm       = 7.43933
  Prefactor  = 60.8626
  norm       = 5.37348e-08
  norm       = 0.516982
  Prefactor  = 20.8036
  norm       = 0
  Prefactor  = 30.5514
  Prefactor  = 5.55112e-11
  norm       = 6.66134e-10
  Normalizat = 1.4089
  Prefactor  = 0.815728
 **********
 **   18 **HESSE 
 **********

 FCN=   7476.343     FROM HESSE     STATUS=OK           583 CALLS     3161 TOTAL
                     EDM=   .54E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .48115        7.8507        .85072E-03   -1.5694    
   2  norm          21.143        24.718        .21577E-03   -1.5616    
   3  Prefactor     1.4838        1.4557        .88233E-03   -1.5684    
   4  Prefactor     .33307E-09    10.927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        2.5347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.6679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.183        11.396        .31453E-03   -1.5644    
   8  Prefactor     .56027E-06    95.013        .63604E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.456        13.782        .29549E-03   -1.5640    
  10  Prefactor     1.0378        15.240        .94006E-03   -1.5688    
  11  Prefactor      .0000        8.9850        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    12.836        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     103.06        63.779        .10140E-03   -1.5505    
  14  Prefactor      .0000        13.774        .16975E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.2768        116.43        .88666E-03   -1.5685    
  16  Prefactor     20.034        14.207        .22257E-03   -1.5618    
  17  norm          .76605E-08    2.0743        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.4393        4.4674        .36628E-03   -1.5653    
  19  Prefactor     60.863        37.606        .13055E-03   -1.5552    
  20  norm          .53735E-07    39.934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .51698        .60472        .77288E-03   -1.5694    
  22  Prefactor     20.804        11.554        .21929E-03   -1.5617    
  23  norm           .0000        .62285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     30.551        10.659        .18077E-03   -1.5597    
  25  Prefactor     .55511E-10    9.5609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .66613E-09    33.756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.4089        .21216        .63811E-01   -.80372    
  28  Prefactor     .81573        .14983        .43895E-01   -.99151    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.36404e-06
Minuit parameter uncertainties:
  1  3.88711
  2  24.7184
  3  1.45574
  4  0.000117989
  5  2.76503e-06
  6  6.1387e-06
  7  11.396
  8  0.0145924
  9  13.782
  10  7.95386
  11  1.68931e-05
  12  5.11941e-05
  13  63.7791
  14  8.16337e-06
  15  24.3853
  16  14.207
  17  0.000251959
  18  4.46738
  19  37.6058
  20  0.00293043
  21  0.604718
  22  11.5542
  23  3.23004e-07
  24  10.659
  25  3.6968e-05
  26  0.000302867
  27  0.212293
  28  0.149901
Done.

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

Extracting fit parameters...

4FGL J1207.7-0106
   Spectrum: PowerLaw
320    Prefactor:  0.000e+00  8.163e-06  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:  8.157e-01  1.499e-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:  1.409e+00  2.123e-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.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.18e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/114131/likelihoodResults_683337601_683596801_4FGL_J1207.7-0106_daily_bin1713.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) = 7473.19455907
delta logL = 3.14820891752

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7472.17549805
delta logL = 4.16726994446

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30304       1.0000          .0000       .10000E+07
     2 'Index     '    .39264E-06   1.0000          .0000       10.000    
     3 'Normalizat'    1.3856       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82899       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=   7472.175     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      247 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30324        .31692        .10171E-02   -.72188E-02
   2  Index         .41134E-12    .31621        .50000    ** at limit **
   3  Normalizat    1.3859        .19824        .64169E-01    .16478E-04
   4  Prefactor     .82881        .14788        .44093E-01    .24091E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.303242
  Index      = 4.11338e-13
  Normalizat = 1.38591
  Prefactor  = 0.828805
 **********
 **   18 **HESSE 
 **********

 FCN=   7472.175     FROM HESSE     STATUS=OK            35 CALLS      282 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30324        .30923        .38966E-04   -1.5697    
   2  Index         .41134E-12    1.3682        .24208E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.3859        .22932        .28383E-03   -.81037    
   4  Prefactor     .82881        .17112        .26437E-03   -.98675    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.71766e-10
Minuit parameter uncertainties:
  1  0.309229
  2  1.53669e-06
  3  0.229485
  4  0.171235
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/114131': 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): 0
logL (Free Index) = 7472.17549696
delta logL = 4.16727103142

Extracting fit parameters...

4FGL J1207.7-0106
   Spectrum: PowerLaw
320    Prefactor:  3.032e-01  3.092e-01  0.000e+00  1.000e+06 ( 1.000e-13)
321        Index:  4.113e-13  1.537e-06  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:  8.288e-01  1.712e-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:  1.386e+00  2.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.35
Ra Dec: 181.928 -1.106
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 3.03e-09 +/- 3.09e-09
Energy Flux (Free Index): 1.52e-04 +/- 1.55e-04

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/114131/cmap_HighResolution_683337601_683596801_4FGL_J1207.7-0106_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.18e-03', comment='SUCCESS', energy_flux2='1.52e-04', dlogl='4.17e+00', photon_flux2='3.03e-09', job_status='DONE', time_completed='2022-09-16 16:45:20.562968', photon_index_error2='0.00', photon_index2='0.00', ts='0.00', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='6.73e-08', energy_flux_error2='1.55e-04', EG='1.41', time_epoch_completed='1663371920.56', return_code='0', job_id='114131', GAL2='0.83', EG2='1.39', return_code2='0', photon_flux_error2='3.09e-09', ts2='8.35', photon_index='2.34' WHERE bin_id='1713' AND source_name='4FGL J1207.7-0106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:45:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 114131: <4FGL_J1207.7-0106_daily_bin1713> in cluster <slac> Done

Job <4FGL_J1207.7-0106_daily_bin1713> 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) <bullet0058>, 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:21 2022
Results reported at Fri Sep 16 16:45:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1207.7-0106_daily_bin1713 181.928 -1.1063 683337601 683596801 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 :                                   808.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             324.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            904 sec.

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

