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


Performing analysis on: 4FGL_J0912.2+4127_daily_bin1715
RA = 138.056, Dec = 41.4563
tmin = 683856001, tmax = 684115201
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='78362', job_status='RUN', time_executed='2022-09-16 14:36:20.862614', time_epoch_executed='1663364180.86' WHERE source_name='4FGL J0912.2+4127' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/78362

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/78362/ft1_4FGL_J0912.2+4127_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/78362/ft2_4FGL_J0912.2+4127_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/78362/ft1_4FGL_J0912.2+4127_daily_bin1715.fits outfile=/scratch/kocevski/78362/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1715.fits ra=138.056 dec=41.4563 rad=12.0 tmin=683856001.0 tmax=684115201.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.54
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/78362/ft2_4FGL_J0912.2+4127_daily_bin1715.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/78362/ft2_4FGL_J0912.2+4127_daily_bin1715.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/78362/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1715.fits evtable="EVENTS" outfile="/scratch/kocevski/78362/ft1_filtered_4FGL_J0912.2+4127_daily_bin1715.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.43
user 0.27
sys 0.15

Number of photons that the gtmktime cut: 646

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/78362/ft1_filtered_4FGL_J0912.2+4127_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/78362/ft2_4FGL_J0912.2+4127_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/78362/ltcube_683856001_684115201_4FGL_J0912.2+4127_daily_bin1715.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/78362/ft2_4FGL_J0912.2+4127_daily_bin1715.fits
.....................!
real 10.23
user 9.93
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/78362/ft1_filtered_4FGL_J0912.2+4127_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/78362/ft2_4FGL_J0912.2+4127_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/78362/ltcube_683856001_684115201_4FGL_J0912.2+4127_daily_bin1715.fits outfile=/scratch/kocevski/78362/expmap_683856001_684115201_4FGL_J0912.2+4127_daily_bin1715.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/78362/ltcube_683856001_684115201_4FGL_J0912.2+4127_daily_bin1715.fits
.....................!
real 154.79
user 150.40
sys 4.12

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

Setting source of interest to:
4FGL J0912.2+4127 @ 138.056 41.4563

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/78362/ft1_filtered_4FGL_J0912.2+4127_daily_bin1715.fits scfile=/scratch/kocevski/78362/ft2_4FGL_J0912.2+4127_daily_bin1715.fits outfile=/scratch/kocevski/78362/cmap_683856001_684115201_4FGL_J0912.2+4127_daily_bin1715.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=138.056 yref=41.4563 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.47
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/78362/ft1_filtered_4FGL_J0912.2+4127_daily_bin1715.fits scfile=/scratch/kocevski/78362/ft2_4FGL_J0912.2+4127_daily_bin1715.fits outfile=/scratch/kocevski/78362/cmap_HighResolution_683856001_684115201_4FGL_J0912.2+4127_daily_bin1715.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=138.056 yref=41.4563 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.48
user 0.34
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/78362/ft1_filtered_4FGL_J0912.2+4127_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/78362/ft2_4FGL_J0912.2+4127_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/78362/Model_4FGL_J0912.2+4127_daily_bin1715.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/78362/ft1_filtered_4FGL_J0912.2+4127_daily_bin1715.fits.....................!
real 49.34
user 48.20
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/78362/ft1_filtered_4FGL_J0912.2+4127_daily_bin1715.fits', '/scratch/kocevski/78362/ft2_4FGL_J0912.2+4127_daily_bin1715.fits', expMap='/scratch/kocevski/78362/expmap_683856001_684115201_4FGL_J0912.2+4127_daily_bin1715.fits', expCube='/scratch/kocevski/78362/ltcube_683856001_684115201_4FGL_J0912.2+4127_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/78362/Model_4FGL_J0912.2+4127_daily_bin1715.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0912.2+4127'

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  1.422e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
330        Index:  2.461e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
331        Scale:  7.992e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/78362/ft1_filtered_4FGL_J0912.2+4127_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/78362/ft2_4FGL_J0912.2+4127_daily_bin1715.fits
Exposure map: /scratch/kocevski/78362/expmap_683856001_684115201_4FGL_J0912.2+4127_daily_bin1715.fits
Exposure cube: /scratch/kocevski/78362/ltcube_683856001_684115201_4FGL_J0912.2+4127_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/78362/Model_4FGL_J0912.2+4127_daily_bin1715.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 7102.16700686

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.9184       1.0000          .0000       .10000E+07
     2 'norm      '    1.4481       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11647       1.0000          .0000       .10000E+07
     4 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     5 'Prefactor '    69.963       1.0000          .0000       .10000E+07
     6 'Prefactor '    .56307E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .44962E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .15184E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    37.383       1.0000          .0000       .10000E+07
    10 'Prefactor '    .54003E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.3794       1.0000          .0000       .10000E+07
    12 'norm      '    .11829E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .90271E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .31336       1.0000          .0000       .10000E+07
    15 'Prefactor '    .34985E-05   1.0000          .0000       .10000E+07
    16 'norm      '    18.883       1.0000          .0000       .10000E+07
    17 'Prefactor '    .68834E-08   1.0000          .0000       .10000E+07
    18 'Prefactor '    10.873       1.0000          .0000       .10000E+07
    19 'Prefactor '    .76227E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .46759E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .39931E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    3.1911       1.0000          .0000       .10000E+07
    23 'Prefactor '    2.0930       1.0000          .0000       .10000E+07
    24 'Prefactor '    .16326E-05   1.0000          .0000       .10000E+07
    25 'norm      '    .62515E-03   1.0000          .0000       .10000E+07
    26 'Normalizat'    .93567       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.2483       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7098.350     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     1417 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9893        6.7927       -.17034E-06   -.17515E-01
   2  norm          1.4490        .62484        .25421E-07   -.22068E-02
   3  Prefactor     .11824E-07    .72521        .78864E-08** at limit **
   4  Prefactor      .0000        1.7546       -.52246E-07** at limit **
   5  Prefactor     69.631        1.2709       -.20888E-07    .27302E-01
   6  Prefactor     .67751E-06    12.184        .10860E-05** at limit **
   7  norm          .55511E-10    2.5755       -.10065E-07** at limit **
   8  norm          .21616E-06    7.4151        .12902E-06** at limit **
   9  Prefactor     37.436        1.7660        .18837E-07    .59692E-02
  10  Prefactor     .53563E-06    14.139       -.12134E-05** at limit **
  11  Prefactor     2.3734        2.8658       -.12579E-06    .24593E-03
  12  norm           .0000        1.0939        .93659E-07** at limit **
  13  Prefactor     .10908E-06    4.7819        .82456E-06** at limit **
  14  norm          .31288        .33680       -.54674E-07   -.32766E-02
  15  Prefactor     .55511E-10    2.0248        .57205E-06** at limit **
  16  norm          18.865        7.7508       -.78361E-06   -.16617    
  17  Prefactor      .0000        .64061       -.36292E-06** at limit **
  18  Prefactor     10.957        1.8762       -.15639E-06   -.19959E-01
  19  Prefactor     .11935E-07    9.5903        .45630E-06** at limit **
  20  norm          .22204E-09    4.2004       -.33038E-06** at limit **
  21  Prefactor     .97650E-06    6.2723       -.12780E-05** at limit **
  22  Prefactor     3.2340        6.7539       -.26007E-06   -.13687E-01
  23  Prefactor     .92042        134.14        .34914E-05    .66856E-02
  24  Prefactor     .16653E-08    3.4963       -.21535E-06** at limit **
  25  norm          .44387E-06    4.8899        .96877E-06** at limit **
  26  Normalizat    .93676        .19396        .11711E-04   -.64244E-04
  27  Prefactor     1.2482        .20658       -.12102E-04   -.10328E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.98934
  norm       = 1.44903
  Prefactor  = 1.18239e-08
  Prefactor  = 0
  Prefactor  = 69.6308
  Prefactor  = 6.77514e-07
  norm       = 5.55112e-11
  norm       = 2.1616e-07
  Prefactor  = 37.4362
  Prefactor  = 5.35627e-07
  Prefactor  = 2.37341
  norm       = 0
  Prefactor  = 1.09079e-07
  norm       = 0.312877
  Prefactor  = 5.55112e-11
  norm       = 18.8655
  Prefactor  = 0
  Prefactor  = 10.9575
  Prefactor  = 1.19349e-08
  norm       = 2.22045e-10
  Prefactor  = 9.76497e-07
  Prefactor  = 3.23402
  Prefactor  = 0.920416
  Prefactor  = 1.66533e-09
  norm       = 4.43867e-07
  Normalizat = 0.93676
  Prefactor  = 1.24815
 **********
 **   18 **HESSE 
 **********

 FCN=   7098.350     FROM HESSE     STATUS=OK           542 CALLS     1959 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9893        6.9430        .33539E-03   -1.5648    
   2  norm          1.4490        .64152        .89523E-03   -1.5684    
   3  Prefactor     .11824E-07    11.322        .87543E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.7550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     69.631        35.377        .11956E-03   -1.5541    
   6  Prefactor     .67751E-06    22.409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .55511E-10    2.5757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .21616E-06    7.9122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     37.436        22.288        .16357E-03   -1.5586    
  10  Prefactor     .53563E-06    15.770        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.3734        2.8910        .66384E-03   -1.5677    
  12  norm           .0000        1.0912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10908E-06    10.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .31288        .36480        .10030E-02   -1.5697    
  15  Prefactor     .55511E-10    2.0133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          18.865        9.5903        .23021E-03   -1.5621    
  17  Prefactor      .0000        .63977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.957        8.8781        .30360E-03   -1.5642    
  19  Prefactor     .11935E-07    21.535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .22204E-09    4.2031        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .97650E-06    8.8728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.2340        6.9891        .56698E-03   -1.5672    
  23  Prefactor     .92042        142.68        .71324E-03   -1.5689    
  24  Prefactor     .16653E-08    3.5022        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .44387E-06    10.956        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .93676        .16947        .45356E-01   -.95180    
  27  Prefactor     1.2482        .17780        .57733E-01   -.84862    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.38193e-07
Minuit parameter uncertainties:
  1  6.94296
  2  0.641523
  3  0.000732207
  4  9.08758e-06
  5  35.3769
  6  0.00779293
  7  1.87914e-05
  8  0.00261564
  9  22.2881
  10  0.00581276
  11  2.89098
  12  2.96744e-06
  13  0.00214391
  14  0.364802
  15  2.41219e-05
  16  9.5903
  17  2.09894e-06
  18  8.87816
  19  0.00101349
  20  6.21146e-05
  21  0.00588706
  22  6.98912
  23  22.9202
  24  0.000153326
  25  0.00441046
  26  0.169567
  27  0.177889
Done.

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

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  2.373e+00  2.891e+00  0.000e+00  1.000e+06 ( 1.000e-12)
330        Index:  2.461e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
331        Scale:  7.992e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
665    Prefactor:  1.248e+00  1.779e-01  0.000e+00  1.000e+01 ( 1.000e+00)
666        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
667        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
664   Normalization:  9.368e-01  1.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.87
Ra Dec: 138.056 41.456
Photon Flux Upper Limit: 1.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/78362/likelihoodResults_683856001_684115201_4FGL_J0912.2+4127_daily_bin1715.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) = 7098.31641424
delta logL = 0.0333574437382

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7098.30575572
delta logL = 0.0440159636019

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7098.306     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      205 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8710        112.45        .59934E-03    .60098E-02
   2  Index         2.2529        6.0476        .24513        .39187E-04
   3  Normalizat    .94041        .55871E-01    .45416E-01    .16272E-04
   4  Prefactor     1.2448        .61613E-01    .57795E-01   -.17384E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.87099
  Index      = 2.25288
  Normalizat = 0.940406
  Prefactor  = 1.24477
 **********
 **   18 **HESSE 
 **********

 FCN=   7098.306     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8710        3.5886        .15978E-04   -1.5674    
   2  Index         2.2529        .67695        .93489E-02   -.58168    
   3  Normalizat    .94041        .18735        .26591E-03   -.95055    
   4  Prefactor     1.2448        .20394        .25557E-03   -.84965    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.58421e-10
Minuit parameter uncertainties:
  1  3.5886
  2  0.679945
  3  0.187476
  4  0.204069
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/78362': 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) = 7098.30575536
delta logL = 0.0440163251551

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  2.871e+00  3.589e+00  0.000e+00  1.000e+06 ( 1.000e-12)
330        Index:  2.253e+00  6.799e-01  0.000e+00  1.000e+01 (-1.000e+00)
331        Scale:  7.992e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
665    Prefactor:  1.245e+00  2.041e-01  0.000e+00  1.000e+01 ( 1.000e+00)
666        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
667        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
664   Normalization:  9.404e-01  1.875e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.87
Ra Dec: 138.056 41.456

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/78362/cmap_HighResolution_683856001_684115201_4FGL_J0912.2+4127_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.76e-03', job_status='DONE', photon_flux_upper_limit='1.00e-07', time_completed='2022-09-16 14:45:40.485682', job_id='78362', GAL2='1.24', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1663364740.49', return_code2='0', ts='0.87', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='4.40e-02', ts2='0.96', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1715' AND source_name='4FGL J0912.2+4127' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:45:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 78362: <4FGL_J0912.2+4127_daily_bin1715> in cluster <slac> Done

Job <4FGL_J0912.2+4127_daily_bin1715> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 14:30:22 2022
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:34:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 14:34:13 2022
Terminated at Fri Sep 16 14:45:41 2022
Results reported at Fri Sep 16 14:45:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0912.2+4127_daily_bin1715 138.056 41.4563 683856001 684115201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0912.2+4127 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   561.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             259.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   687 sec.
    Turnaround time :                            919 sec.

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

