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


Performing analysis on: 4FGL_J0912.2+4127_daily_bin1746
RA = 138.056, Dec = 41.4563
tmin = 691891201, tmax = 692150401
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='718802', job_status='RUN', time_executed='2022-12-08 00:32:33.076201', time_epoch_executed='1670488353.08' WHERE source_name='4FGL J0912.2+4127' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/718802

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/718802/ft1_4FGL_J0912.2+4127_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/718802/ft2_4FGL_J0912.2+4127_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/718802/ft1_4FGL_J0912.2+4127_daily_bin1746.fits outfile=/scratch/kocevski/718802/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1746.fits ra=138.056 dec=41.4563 rad=12.0 tmin=691891201.0 tmax=692150401.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.73
user 4.49
sys 0.22

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

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

Number of photons that the gtmktime cut: 573

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/718802/ft1_filtered_4FGL_J0912.2+4127_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/718802/ft2_4FGL_J0912.2+4127_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/718802/ltcube_691891201_692150401_4FGL_J0912.2+4127_daily_bin1746.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/718802/ft2_4FGL_J0912.2+4127_daily_bin1746.fits
.....................!
real 11.81
user 11.45
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/718802/ft1_filtered_4FGL_J0912.2+4127_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/718802/ft2_4FGL_J0912.2+4127_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/718802/ltcube_691891201_692150401_4FGL_J0912.2+4127_daily_bin1746.fits outfile=/scratch/kocevski/718802/expmap_691891201_692150401_4FGL_J0912.2+4127_daily_bin1746.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/718802/ltcube_691891201_692150401_4FGL_J0912.2+4127_daily_bin1746.fits
.....................!
real 190.83
user 185.18
sys 5.29

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/718802/ft1_filtered_4FGL_J0912.2+4127_daily_bin1746.fits scfile=/scratch/kocevski/718802/ft2_4FGL_J0912.2+4127_daily_bin1746.fits outfile=/scratch/kocevski/718802/cmap_691891201_692150401_4FGL_J0912.2+4127_daily_bin1746.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.53
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/718802/ft1_filtered_4FGL_J0912.2+4127_daily_bin1746.fits scfile=/scratch/kocevski/718802/ft2_4FGL_J0912.2+4127_daily_bin1746.fits outfile=/scratch/kocevski/718802/cmap_HighResolution_691891201_692150401_4FGL_J0912.2+4127_daily_bin1746.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/718802/ft1_filtered_4FGL_J0912.2+4127_daily_bin1746.fits', '/scratch/kocevski/718802/ft2_4FGL_J0912.2+4127_daily_bin1746.fits', expMap='/scratch/kocevski/718802/expmap_691891201_692150401_4FGL_J0912.2+4127_daily_bin1746.fits', expCube='/scratch/kocevski/718802/ltcube_691891201_692150401_4FGL_J0912.2+4127_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/718802/Model_4FGL_J0912.2+4127_daily_bin1746.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/718802/ft1_filtered_4FGL_J0912.2+4127_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/718802/ft2_4FGL_J0912.2+4127_daily_bin1746.fits
Exposure map: /scratch/kocevski/718802/expmap_691891201_692150401_4FGL_J0912.2+4127_daily_bin1746.fits
Exposure cube: /scratch/kocevski/718802/ltcube_691891201_692150401_4FGL_J0912.2+4127_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/718802/Model_4FGL_J0912.2+4127_daily_bin1746.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) = 6258.94996316

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.279       1.0000          .0000       .10000E+07
     2 'norm      '    .44517E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .14618E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.5560       1.0000          .0000       .10000E+07
     5 'Prefactor '    .49890E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.9112       1.0000          .0000       .10000E+07
     7 'norm      '    .53002E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .69134E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .40163E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .67315E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    12.307       1.0000          .0000       .10000E+07
    12 'norm      '    4.0805       1.0000          .0000       .10000E+07
    13 'Prefactor '    .97560       1.0000          .0000       .10000E+07
    14 'norm      '    .52180E-08   1.0000          .0000       .10000E+07
    15 'Prefactor '    4.9237       1.0000          .0000       .10000E+07
    16 'norm      '    .14412E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.9576       1.0000          .0000       .10000E+07
    18 'Prefactor '    7.3515       1.0000          .0000       .10000E+07
    19 'Prefactor '    .31266E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .90315E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .12842E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .62669E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    .41723E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .43021E-07   1.0000          .0000       .10000E+07
    25 'norm      '    27.104       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.2926       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .72892       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=   6257.877     FROM MIGRAD    STATUS=CONVERGED    215 CALLS     1500 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.261        5.5784       -.32127E-06   -.11563    
   2  norm          .44433E-01    .85863        .24992E-07** at limit **
   3  Prefactor     .27756E-09    6.8126        .59600E-06** at limit **
   4  Prefactor     5.5450        3.5827        .10631E-06    .44134E-02
   5  Prefactor     .57510E-07    8.0430       -.52972E-06** at limit **
   6  Prefactor     2.8741        9.1979       -.41739E-06    .19755E-02
   7  norm          .57343E-07    4.5885        .94047E-06** at limit **
   8  norm          .27756E-09    5.0844        .29719E-06** at limit **
   9  Prefactor     .18874E-08    6.6914       -.10655E-06** at limit **
  10  Prefactor     .26440E-06    10.928       -.15711E-05** at limit **
  11  Prefactor     12.304        4.9977       -.28611E-06   -.21807E-03
  12  norm          4.0783        2.7203        .14742E-06    .71784E-03
  13  Prefactor     .12323E-07    134.53        .17128E-05** at limit **
  14  norm           .0000        .85840        .22035E-06** at limit **
  15  Prefactor     4.9237        2.7896        .91292E-07    .44110E-04
  16  norm          .25635E-06    4.1135       -.57216E-06** at limit **
  17  Prefactor     1.9660        2.1162       -.21027E-06    .74321E-03
  18  Prefactor     7.3058        6.8683        .92563E-08   -.96439E-03
  19  Prefactor     .23703E-07    8.5109        .13961E-05** at limit **
  20  norm          .53846E-08    7.7418       -.97566E-06** at limit **
  21  Prefactor     .23143E-06    8.5397       -.36210E-06** at limit **
  22  Prefactor     .23598E-06    21.796        .11057E-05** at limit **
  23  Prefactor     .39746E-07    4.4213       -.27301E-06** at limit **
  24  Prefactor      .0000        3.1538        .65576E-06** at limit **
  25  norm          27.085        1.2571        .38782E-07    .41070E-02
  26  Normalizat    1.2942        .20815       -.26352E-05   -.71692E-04
  27  Prefactor     .72860        .20800       -.24270E-05   -.33382E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.2612
  norm       = 0.0444333
  Prefactor  = 2.77556e-10
  Prefactor  = 5.54499
  Prefactor  = 5.75096e-08
  Prefactor  = 2.87411
  norm       = 5.7343e-08
  norm       = 2.77556e-10
  Prefactor  = 1.88738e-09
  Prefactor  = 2.644e-07
  Prefactor  = 12.3041
  norm       = 4.07831
  Prefactor  = 1.23235e-08
  norm       = 0
  Prefactor  = 4.92368
  norm       = 2.5635e-07
  Prefactor  = 1.96602
  Prefactor  = 7.30582
  Prefactor  = 2.37033e-08
  norm       = 5.38458e-09
  Prefactor  = 2.31426e-07
  Prefactor  = 2.35978e-07
  Prefactor  = 3.9746e-08
  Prefactor  = 0
  norm       = 27.0847
  Normalizat = 1.29422
  Prefactor  = 0.728603
 **********
 **   18 **HESSE 
 **********

 FCN=   6257.877     FROM HESSE     STATUS=OK           546 CALLS     2046 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.261        11.458        .16604E-03   -1.5588    
   2  norm          .44433E-01    .35620        .15766E-02   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .27756E-09    9.5422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.5450        3.6562        .42599E-03   -1.5661    
   5  Prefactor     .57510E-07    11.369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.8741        9.2428        .59522E-03   -1.5674    
   7  norm          .57343E-07    15.950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .27756E-09    5.0812        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .18874E-08    6.7709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .26440E-06    20.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.304        5.0032        .28529E-03   -1.5638    
  12  norm          4.0783        2.7182        .49886E-03   -1.5668    
  13  Prefactor     .12323E-07    133.57        .42900E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .32705        .20194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.9237        3.3162        .45303E-03   -1.5664    
  16  norm          .25635E-06    24.448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.9660        2.1385        .74119E-03   -1.5680    
  18  Prefactor     7.3058        6.8606        .36968E-03   -1.5654    
  19  Prefactor     .23703E-07    14.333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .53846E-08    7.9084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .23143E-06    17.510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .23598E-06    24.523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .39746E-07    10.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        3.1679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          27.085        14.008        .19212E-03   -1.5604    
  26  Normalizat    1.2942        .17831        .52627E-01   -.83739    
  27  Prefactor     .72860        .17771        .69438E-01   -1.0242    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11131e-07
Minuit parameter uncertainties:
  1  11.4582
  2  0.251612
  3  0.00010111
  4  3.65616
  5  0.0016173
  6  9.24287
  7  0.00191306
  8  7.54389e-05
  9  0.000225057
  10  0.00464161
  11  5.00316
  12  2.71822
  13  0.00256879
  14  1.66789e-06
  15  3.3162
  16  0.00500702
  17  2.13855
  18  6.8606
  19  0.00116564
  20  0.000412649
  21  0.00402591
  22  0.00481103
  23  0.00127189
  24  2.91518e-06
  25  14.0083
  26  0.178392
  27  0.177845
Done.

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

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  1.230e+01  5.003e+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:  7.286e-01  1.778e-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:  1.294e+00  1.784e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.48
Ra Dec: 138.056 41.456
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 1.40e-07 +/- 5.70e-08
Energy Flux (Fixed Index): 4.26e-05 +/- 1.73e-05

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) = 6255.15539784
delta logL = 2.7212326892

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6255.15397285
delta logL = 2.72265768005

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3628       1.0000          .0000       .10000E+07
     2 'Index     '    3.5793       1.0000          .0000       10.000    
     3 'Normalizat'    1.2046       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79725       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6255.154     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      284 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3630        4.2076        .43935E-05    .37572E-02
   2  Index         3.5793        .74906        .28876E-02   -.26981E-04
   3  Normalizat    1.2046        .20747        .23907E-03    .13413E-03
   4  Prefactor     .79726        .20926        .29515E-03    .11833E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.36298
  Index      = 3.57932
  Normalizat = 1.20458
  Prefactor  = 0.797259
 **********
 **   18 **HESSE 
 **********

 FCN=   6255.154     FROM HESSE     STATUS=OK            25 CALLS      309 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3630        3.2202        .17574E-06   -1.5671    
   2  Index         3.5793        .57399        .11550E-03   -.28811    
   3  Normalizat    1.2046        .20753        .47813E-04   -.86461    
   4  Prefactor     .79726        .20908        .11806E-04   -.99829    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73979e-10
Minuit parameter uncertainties:
  1  3.22019
  2  0.575368
  3  0.20767
  4  0.209292
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/718802': 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) = 6255.15397278
delta logL = 2.72265774938

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  3.363e+00  3.220e+00  0.000e+00  1.000e+06 ( 1.000e-12)
330        Index:  3.579e+00  5.754e-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:  7.973e-01  2.093e-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:  1.205e+00  2.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.52
Ra Dec: 138.056 41.456
Photon Index (Free Index): 3.58 +/- 0.58
Photon Flux (Free Index): 2.22e-07 +/- 7.37e-08
Energy Flux (Free Index): 3.63e-05 +/- 1.20e-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/718802/cmap_HighResolution_691891201_692150401_4FGL_J0912.2+4127_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.40e-07', energy_flux2='3.63e-05', photon_flux_error='5.70e-08', dlogl='2.72e+00', energy_flux='4.26e-05', photon_flux2='2.22e-07', job_status='DONE', time_completed='2022-12-08 00:42:30.851547', photon_index_error2='0.58', photon_index2='3.58', ts='11.48', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', energy_flux_error2='1.20e-05', EG='1.29', time_epoch_completed='1670488950.85', return_code='0', job_id='718802', GAL2='0.80', EG2='1.20', return_code2='0', energy_flux_error='1.73e-05', photon_flux_error2='7.37e-08', ts2='17.52', photon_index='2.46' WHERE bin_id='1746' AND source_name='4FGL J0912.2+4127' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 00:42:30 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 718802: <4FGL_J0912.2+4127_daily_bin1746> in cluster <slac> Done

Job <4FGL_J0912.2+4127_daily_bin1746> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Dec  8 00:30:19 2022
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:30:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:30:20 2022
Terminated at Thu Dec  8 00:42:31 2022
Results reported at Thu Dec  8 00:42:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0912.2+4127_daily_bin1746 138.056 41.4563 691891201 692150401 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 :                                   600.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             323.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   731 sec.
    Turnaround time :                            732 sec.

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

