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


Performing analysis on: 4FGL_J1207.7-0106_daily_bin1780
RA = 181.928, Dec = -1.1063
tmin = 700704001, tmax = 700963201
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='62542', job_status='RUN', time_executed='2023-03-20 00:53:53.511846', time_epoch_executed='1679298833.51' WHERE source_name='4FGL J1207.7-0106' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/62542

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/62542/ft1_4FGL_J1207.7-0106_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/62542/ft2_4FGL_J1207.7-0106_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/62542/ft1_4FGL_J1207.7-0106_daily_bin1780.fits outfile=/scratch/kocevski/62542/ft1_filteredMKT_4FGL_J1207.7-0106_daily_bin1780.fits ra=181.928 dec=-1.1063 rad=12.0 tmin=700704001.0 tmax=700963201.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.11
user 3.89
sys 0.20

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

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

Number of photons that the gtmktime cut: 248

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/62542/ft1_filtered_4FGL_J1207.7-0106_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/62542/ft2_4FGL_J1207.7-0106_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/62542/ltcube_700704001_700963201_4FGL_J1207.7-0106_daily_bin1780.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/62542/ft2_4FGL_J1207.7-0106_daily_bin1780.fits
.....................!
real 12.71
user 12.36
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/62542/ft1_filtered_4FGL_J1207.7-0106_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/62542/ft2_4FGL_J1207.7-0106_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/62542/ltcube_700704001_700963201_4FGL_J1207.7-0106_daily_bin1780.fits outfile=/scratch/kocevski/62542/expmap_700704001_700963201_4FGL_J1207.7-0106_daily_bin1780.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/62542/ltcube_700704001_700963201_4FGL_J1207.7-0106_daily_bin1780.fits
.....................!
real 192.67
user 187.08
sys 5.20

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/62542/ft1_filtered_4FGL_J1207.7-0106_daily_bin1780.fits scfile=/scratch/kocevski/62542/ft2_4FGL_J1207.7-0106_daily_bin1780.fits outfile=/scratch/kocevski/62542/cmap_700704001_700963201_4FGL_J1207.7-0106_daily_bin1780.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/62542/ft1_filtered_4FGL_J1207.7-0106_daily_bin1780.fits scfile=/scratch/kocevski/62542/ft2_4FGL_J1207.7-0106_daily_bin1780.fits outfile=/scratch/kocevski/62542/cmap_HighResolution_700704001_700963201_4FGL_J1207.7-0106_daily_bin1780.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/62542/ft1_filtered_4FGL_J1207.7-0106_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/62542/ft2_4FGL_J1207.7-0106_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/62542/Model_4FGL_J1207.7-0106_daily_bin1780.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/62542/ft1_filtered_4FGL_J1207.7-0106_daily_bin1780.fits.....................!
real 32.35
user 31.04
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44513E-05   1.0000          .0000       .10000E+07
     2 'norm      '    26.386       1.0000          .0000       .10000E+07
     3 'Prefactor '    .48392E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .91529E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .28311E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.8818       1.0000          .0000       .10000E+07
     7 'Prefactor '    46.474       1.0000          .0000       .10000E+07
     8 'Prefactor '    .49153E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .65418E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    13.286       1.0000          .0000       .10000E+07
    11 'Prefactor '    26.677       1.0000          .0000       .10000E+07
    12 'Prefactor '    .17804E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .13063E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    8.1420       1.0000          .0000       .10000E+07
    15 'Prefactor '    17.509       1.0000          .0000       .10000E+07
    16 'Prefactor '    8.2318       1.0000          .0000       .10000E+07
    17 'norm      '    .28030E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .37996E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .20468E-05   1.0000          .0000       .10000E+07
    20 'norm      '    .13815E-03   1.0000          .0000       .10000E+07
    21 'norm      '    1.7420       1.0000          .0000       .10000E+07
    22 'Prefactor '    13.465       1.0000          .0000       .10000E+07
    23 'norm      '    3.0186       1.0000          .0000       .10000E+07
    24 'Prefactor '    .33261E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    2.5603       1.0000          .0000       .10000E+07
    26 'norm      '    .60731E-02   1.0000          .0000       .10000E+07
    27 'Normalizat'    .42874       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .96424       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=   2723.394     FROM MIGRAD    STATUS=CONVERGED    198 CALLS     2503 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1804       -.88049E-07** at limit **
   2  norm          26.108        2.5393        .39283E-06   -.99396E-02
   3  Prefactor      .0000        1.7745       -.16785E-06** at limit **
   4  Prefactor     .50395E-05    17.838        .40586E-05** at limit **
   5  norm           .0000        3.0752       -.15957E-06** at limit **
   6  Prefactor     3.7822        5.1330       -.91191E-06    .15069E-02
   7  Prefactor     47.703        7.8131        .73680E-06   -.48122E-01
   8  Prefactor     .11759E-05    26.313       -.54472E-05** at limit **
   9  Prefactor      .0000        4.7410       -.12403E-06** at limit **
  10  Prefactor     13.252        12.542        .25051E-06   -.43246E-02
  11  Prefactor     26.790        4.6432        .51581E-06   -.11863E-01
  12  Prefactor     .12030E-05    22.219        .39495E-05** at limit **
  13  Prefactor     .23315E-08    13.613       -.21034E-05** at limit **
  14  Prefactor     9.0122        10.958       -.22565E-05    .25887E-01
  15  Prefactor     17.537        1.4997        .18007E-06    .43258E-02
  16  Prefactor     7.6572        4.4415       -.89379E-06   -.38527E-01
  17  norm          .55511E-10    4.5500       -.39488E-06** at limit **
  18  norm           .0000        1.4570       -.42970E-07** at limit **
  19  Prefactor     .15248E-05    12.097        .42777E-05** at limit **
  20  norm          .31364E-07    43.152        .17258E-05** at limit **
  21  norm          1.7473        .78590        .28107E-07   -.90028E-02
  22  Prefactor     13.501        10.539       -.22431E-06    .28248E-02
  23  norm          3.0186        2.1694       -.26457E-07   -.32138E-02
  24  Prefactor      .0000        2.9029        .37925E-06** at limit **
  25  Prefactor     .19649E-04    3709.8       -.46427E-04** at limit **
  26  norm          .18707E-05    12.758       -.18000E-05** at limit **
  27  Normalizat    .42696        .28241        .20972E-04    .20637E-03
  28  Prefactor     .96558        .22165        .22184E-04    .39420E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 26.1077
  Prefactor  = 0
  Prefactor  = 5.03947e-06
  norm       = 0
  Prefactor  = 3.78216
  Prefactor  = 47.7032
  Prefactor  = 1.17595e-06
  Prefactor  = 0
  Prefactor  = 13.2518
  Prefactor  = 26.7902
  Prefactor  = 1.20304e-06
  Prefactor  = 2.33147e-09
  Prefactor  = 9.01224
  Prefactor  = 17.537
  Prefactor  = 7.65716
  norm       = 5.55112e-11
  norm       = 0
  Prefactor  = 1.52484e-06
  norm       = 3.13638e-08
  norm       = 1.74735
  Prefactor  = 13.501
  norm       = 3.01856
  Prefactor  = 0
  Prefactor  = 1.96488e-05
  norm       = 1.87073e-06
  Normalizat = 0.426962
  Prefactor  = 0.965576
 **********
 **   18 **HESSE 
 **********

 FCN=   2723.394     FROM HESSE     STATUS=OK           579 CALLS     3082 TOTAL
                     EDM=   .74E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          26.108        26.266        .19471E-03   -1.5606    
   3  Prefactor      .0000        1.7661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .50395E-05    29.663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        3.0768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.7822        5.4937        .51189E-03   -1.5669    
   7  Prefactor     47.703        29.569        .14670E-03   -1.5570    
   8  Prefactor     .11759E-05    34.766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.7405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.252        12.936        .27454E-03   -1.5635    
  11  Prefactor     26.790        22.138        .19365E-03   -1.5604    
  12  Prefactor     .12030E-05    25.265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .23315E-08    13.774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.0122        35.359        .35112E-03   -1.5648    
  15  Prefactor     17.537        19.821        .23909E-03   -1.5624    
  16  Prefactor     7.6572        18.995        .34919E-03   -1.5653    
  17  norm          .55511E-10    4.5418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        1.4548        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .15248E-05    15.972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .31364E-07    47.574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.7473        .80491        .65512E-03   -1.5682    
  22  Prefactor     13.501        10.599        .27271E-03   -1.5634    
  23  norm          3.0186        2.1783        .58387E-03   -1.5673    
  24  Prefactor      .0000        2.9075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .19649E-04    89.905        .11687E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .18707E-05    16.333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .42696        .26846        .78553E-01   -1.1593    
  28  Prefactor     .96558        .20072        .45819E-01   -.93886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.35262e-07
Minuit parameter uncertainties:
  1  5.5123e-06
  2  26.2659
  3  2.62187e-06
  4  0.0244531
  5  7.81781e-08
  6  5.49366
  7  29.5695
  8  0.0127881
  9  1.73867e-05
  10  12.9363
  11  22.1383
  12  0.0110264
  13  0.000360117
  14  35.3597
  15  19.8215
  16  18.9951
  17  3.32714e-05
  18  4.09264e-06
  19  0.00987004
  20  0.00244313
  21  0.804912
  22  10.5988
  23  2.17829
  24  1.23818e-05
  25  0.0840614
  26  0.0110553
  27  0.26927
  28  0.20087
Done.

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

Extracting fit parameters...

4FGL J1207.7-0106
   Spectrum: PowerLaw
320    Prefactor:  9.012e+00  3.536e+01  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.656e-01  2.009e-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:  4.270e-01  2.693e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 181.928 -1.106
Photon Flux Upper Limit: 1.62e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.25e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/62542/likelihoodResults_700704001_700963201_4FGL_J1207.7-0106_daily_bin1780.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) = 2722.11835285
delta logL = 1.27526177742

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2722.11658688
delta logL = 1.27702775463

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19927       1.0000          .0000       .10000E+07
     2 'Index     '    5.2914       1.0000          .0000       10.000    
     3 'Normalizat'    .30163       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0303       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=   2722.117     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      308 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19953        3.3504        .38613E-03** at limit **
   2  Index         5.2909        3.2229        .80753E-01   -.98429E-04
   3  Normalizat    .30167        .79516E-01    .92542E-01    .17516E-04
   4  Prefactor     1.0303        .63666E-01    .41236E-01    .54262E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.199529
  Index      = 5.2909
  Normalizat = 0.301672
  Prefactor  = 1.0303
 **********
 **   18 **HESSE 
 **********

 FCN=   2722.117     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      339 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19953        5.8924        .17283E-05   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.2909        7.1968        .33113E-02    .58213E-01
   3  Normalizat    .30167        .25695        .40986E-03   -1.2274    
   4  Prefactor     1.0303        .20448        .18389E-03   -.91726    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.84468e-10
Minuit parameter uncertainties:
  1  2.1686
  2  5.09405
  3  0.257962
  4  0.204637
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/62542': 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) = 2722.11658671
delta logL = 1.27702791743

Extracting fit parameters...

4FGL J1207.7-0106
   Spectrum: PowerLaw
320    Prefactor:  1.995e-01  2.169e+00  0.000e+00  1.000e+06 ( 1.000e-13)
321        Index:  5.291e+00  5.094e+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.030e+00  2.046e-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:  3.017e-01  2.580e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.90
Ra Dec: 181.928 -1.106
Photon Index (Free Index): 5.29 +/- 5.09
Photon Flux (Free Index): 1.15e-07 +/- 8.90e-08
Energy Flux (Free Index): 1.50e-05 +/- 1.33e-05

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/62542/cmap_HighResolution_700704001_700963201_4FGL_J1207.7-0106_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.25e-02', comment='SUCCESS', energy_flux2='1.50e-05', dlogl='1.28e+00', photon_flux2='1.15e-07', job_status='DONE', time_completed='2023-03-20 01:02:14.012718', photon_index_error2='5.09', photon_index2='5.29', ts='0.09', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='1.62e-07', energy_flux_error2='1.33e-05', EG='0.43', time_epoch_completed='1679299334.01', return_code='0', job_id='62542', GAL2='1.03', EG2='0.30', return_code2='102', photon_flux_error2='8.90e-08', ts2='2.90', photon_index='2.34' WHERE bin_id='1780' AND source_name='4FGL J1207.7-0106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:02:14 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 62542: <4FGL_J1207.7-0106_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1207.7-0106_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:50:13 2023
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:50:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:50:14 2023
Terminated at Mon Mar 20 01:02:15 2023
Results reported at Mon Mar 20 01:02:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1207.7-0106_daily_bin1780 181.928 -1.1063 700704001 700963201 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 :                                   502.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             283.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            722 sec.

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

