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


Performing analysis on: 4FGL_J0912.2+4127_daily_bin1760
RA = 138.056, Dec = 41.4563
tmin = 695520001, tmax = 695779201
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='733482', job_status='RUN', time_executed='2023-01-19 00:45:46.699496', time_epoch_executed='1674117946.7' WHERE source_name='4FGL J0912.2+4127' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/733482

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/733482/ft1_4FGL_J0912.2+4127_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/733482/ft2_4FGL_J0912.2+4127_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/733482/ft1_4FGL_J0912.2+4127_daily_bin1760.fits outfile=/scratch/kocevski/733482/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1760.fits ra=138.056 dec=41.4563 rad=12.0 tmin=695520001.0 tmax=695779201.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.40
user 2.19
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/733482/ft2_4FGL_J0912.2+4127_daily_bin1760.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/733482/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1760.fits evtable="EVENTS" outfile="/scratch/kocevski/733482/ft1_filtered_4FGL_J0912.2+4127_daily_bin1760.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: 61

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/733482/ft1_filtered_4FGL_J0912.2+4127_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/733482/ft2_4FGL_J0912.2+4127_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/733482/ltcube_695520001_695779201_4FGL_J0912.2+4127_daily_bin1760.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/733482/ft2_4FGL_J0912.2+4127_daily_bin1760.fits
.....................!
real 15.98
user 15.49
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/733482/ft1_filtered_4FGL_J0912.2+4127_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/733482/ft2_4FGL_J0912.2+4127_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/733482/ltcube_695520001_695779201_4FGL_J0912.2+4127_daily_bin1760.fits outfile=/scratch/kocevski/733482/expmap_695520001_695779201_4FGL_J0912.2+4127_daily_bin1760.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/733482/ltcube_695520001_695779201_4FGL_J0912.2+4127_daily_bin1760.fits
.....................!
real 192.91
user 186.15
sys 5.54

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/733482/ft1_filtered_4FGL_J0912.2+4127_daily_bin1760.fits scfile=/scratch/kocevski/733482/ft2_4FGL_J0912.2+4127_daily_bin1760.fits outfile=/scratch/kocevski/733482/cmap_695520001_695779201_4FGL_J0912.2+4127_daily_bin1760.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/733482/ft1_filtered_4FGL_J0912.2+4127_daily_bin1760.fits scfile=/scratch/kocevski/733482/ft2_4FGL_J0912.2+4127_daily_bin1760.fits outfile=/scratch/kocevski/733482/cmap_HighResolution_695520001_695779201_4FGL_J0912.2+4127_daily_bin1760.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.56
user 0.37
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73683E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.7211       1.0000          .0000       .10000E+07
     3 'Prefactor '    .93377E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    22.670       1.0000          .0000       .10000E+07
     5 'Prefactor '    .56350       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13650       1.0000          .0000       .10000E+07
     7 'norm      '    41.363       1.0000          .0000       .10000E+07
     8 'norm      '    16.233       1.0000          .0000       .10000E+07
     9 'Prefactor '    .69886E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .12736       1.0000          .0000       .10000E+07
    11 'Prefactor '    13.741       1.0000          .0000       .10000E+07
    12 'norm      '    6.4272       1.0000          .0000       .10000E+07
    13 'Prefactor '    .34236E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .33396E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .19747E-01   1.0000          .0000       .10000E+07
    16 'norm      '    .10588E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .63227E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    30.467       1.0000          .0000       .10000E+07
    19 'Prefactor '    56.972       1.0000          .0000       .10000E+07
    20 'norm      '    10.751       1.0000          .0000       .10000E+07
    21 'Prefactor '    .29300E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    71.876       1.0000          .0000       .10000E+07
    23 'Prefactor '    .43610E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    51.104       1.0000          .0000       .10000E+07
    25 'norm      '    .27522E-01   1.0000          .0000       .10000E+07
    26 'Normalizat'    .50088       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1057       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=   743.9079     FROM MIGRAD    STATUS=CONVERGED    226 CALLS     3391 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83750E-04    100.96        .26865E-05** at limit **
   2  norm          3.9769        12.493        .22756E-06   -.13503E-02
   3  Prefactor     .14244E-04    100.45        .19594E-05** at limit **
   4  Prefactor     16.588        79.390       -.12190E-05    .79139E-01
   5  Prefactor     .66613E-09    232.50       -.32390E-06** at limit **
   6  Prefactor      .0000        97.922        .60147E-06** at limit **
   7  norm          41.631        12.437        .87235E-07    .29966E-01
   8  norm          16.008        15.450       -.19963E-06   -.49377E-01
   9  Prefactor     .89651E-07    55.440        .29051E-06** at limit **
  10  Prefactor      .0000        95.055        .21757E-06** at limit **
  11  Prefactor     13.697        25.116       -.29826E-07   -.37952E-02
  12  norm          6.5012        19.048        .26551E-06   -.69965E-03
  13  Prefactor     .88263E-08    41.931       -.19614E-06** at limit **
  14  norm           .0000        .85585       -.47018E-08** at limit **
  15  Prefactor      .0000        14.447       -.25970E-08** at limit **
  16  norm          .22204E-09    19.944       -.47019E-06** at limit **
  17  Prefactor     .72164E-09    20.398       -.14520E-05** at limit **
  18  Prefactor     29.874        26.132       -.42096E-07    .33026E-01
  19  Prefactor     57.722        17.731        .65085E-06    .70247E-01
  20  norm          9.7907        59.510       -.53189E-05   -.41985E-01
  21  Prefactor     .11587        1050.4        .94453E-05** at limit **
  22  Prefactor     73.498        44.147        .53750E-06    .20465E-01
  23  Prefactor     .63519E-02    364.86        .10667E-04** at limit **
  24  Prefactor     51.580        26.160       -.45238E-06   -.19428    
  25  norm           .0000        23.414        .50585E-06** at limit **
  26  Normalizat    .48548        .71565       -.53883E-04   -.88660E-04
  27  Prefactor     1.1235        .79813        .25272E-04   -.86191E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.37503e-05
  norm       = 3.97693
  Prefactor  = 1.42439e-05
  Prefactor  = 16.5881
  Prefactor  = 6.66134e-10
  Prefactor  = 0
  norm       = 41.631
  norm       = 16.0082
  Prefactor  = 8.96505e-08
  Prefactor  = 0
  Prefactor  = 13.6965
  norm       = 6.50119
  Prefactor  = 8.82627e-09
  norm       = 0
  Prefactor  = 0
  norm       = 2.22045e-10
  Prefactor  = 7.21645e-10
  Prefactor  = 29.8737
  Prefactor  = 57.7216
  norm       = 9.79067
  Prefactor  = 0.115868
  Prefactor  = 73.4976
  Prefactor  = 0.00635193
  Prefactor  = 51.58
  norm       = 0
  Normalizat = 0.48548
  Prefactor  = 1.12353
 **********
 **   18 **HESSE 
 **********

 FCN=   743.9079     FROM HESSE     STATUS=OK           540 CALLS     3931 TOTAL
                     EDM=   .56E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83750E-04    464.16        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.9769        12.406        .52324E-03   -1.5668    
   3  Prefactor     .14244E-04    473.13        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.588        118.06        .21008E-03   -1.5627    
   5  Prefactor     .66613E-09    308.10        .72563E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        98.214        .13037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          41.631        50.042        .15550E-03   -1.5579    
   8  norm          16.008        36.491        .24832E-03   -1.5628    
   9  Prefactor     .89651E-07    55.444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        95.184        .13246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.697        25.282        .26995E-03   -1.5634    
  12  norm          6.5012        19.047        .39565E-03   -1.5657    
  13  Prefactor     .88263E-08    41.991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .85526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        14.107        .17053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .22204E-09    19.988        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .72164E-09    20.343        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     29.874        30.262        .18120E-03   -1.5599    
  19  Prefactor     57.722        57.783        .13250E-03   -1.5556    
  20  norm          9.7907        114.06        .30531E-03   -1.5645    
  21  Prefactor     .11587        4052.8        .42118E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     73.498        46.125        .11796E-03   -1.5536    
  23  Prefactor     .63519E-02    621.64        .42118E-03   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     51.580        43.932        .13990E-03   -1.5564    
  25  norm           .0000        23.362        .16584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .48548        .63324        .85255E-01   -1.1309    
  27  Prefactor     1.1235        .68106        .65171E-01   -.88718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.62598e-05
Minuit parameter uncertainties:
  1  0.394358
  2  12.4062
  3  0.164199
  4  88.5109
  5  0.000893357
  6  1.49306e-05
  7  50.0429
  8  36.491
  9  0.0044584
  10  8.97758e-05
  11  25.2821
  12  19.047
  13  0.0012194
  14  7.16864e-07
  15  4.07715e-06
  16  0.000138154
  17  0.000245412
  18  30.2617
  19  57.7836
  20  66.837
  21  43.3696
  22  46.1251
  23  3.97462
  24  43.9325
  25  1.17829e-05
  26  0.642987
  27  0.686451
Done.

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

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  1.370e+01  2.528e+01  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.124e+00  6.865e-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:  4.855e-01  6.430e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.40
Ra Dec: 138.056 41.456
Photon Flux Upper Limit: 8.51e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.60e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/733482/likelihoodResults_695520001_695779201_4FGL_J0912.2+4127_daily_bin1760.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) = 743.881409653
delta logL = 0.026505860713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 743.866541591
delta logL = 0.0413739227466

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4940       1.0000          .0000       .10000E+07
     2 'Index     '    2.9538       1.0000          .0000       10.000    
     3 'Normalizat'    .43138       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1705       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=   743.8665     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      269 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4892        31.160        .12670E-04    .63234E-03
   2  Index         2.9547        2.2251        .53186E-02    .20308E-04
   3  Normalizat    .43155        .68076        .39984E-03   -.17022E-03
   4  Prefactor     1.1707        .76728        .28321E-03   -.36031E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.48918
  Index      = 2.95465
  Normalizat = 0.431547
  Prefactor  = 1.17074
 **********
 **   18 **HESSE 
 **********

 FCN=   743.8665     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4892        27.223        .50682E-06   -1.5646    
   2  Index         2.9547        1.9608        .21274E-03   -.42143    
   3  Normalizat    .43155        .67587        .79968E-04   -1.1570    
   4  Prefactor     1.1707        .75896        .56642E-04   -.87237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96812e-09
Minuit parameter uncertainties:
  1  27.2233
  2  2.02682
  3  0.689321
  4  0.766188
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/733482': 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) = 743.866540671
delta logL = 0.0413748430429

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  9.489e+00  2.722e+01  0.000e+00  1.000e+06 ( 1.000e-12)
330        Index:  2.955e+00  2.027e+00  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.171e+00  7.662e-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:  4.315e-01  6.893e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/733482/cmap_HighResolution_695520001_695779201_4FGL_J0912.2+4127_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.60e-02', job_status='DONE', photon_flux_upper_limit='8.51e-07', time_completed='2023-01-19 00:52:13.710530', job_id='733482', GAL2='1.17', fit_tolerance='1e-08', EG2='0.43', EG='0.49', time_epoch_completed='1674118333.71', return_code2='0', ts='0.40', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='4.14e-02', ts2='0.47', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1760' AND source_name='4FGL J0912.2+4127' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 00:52:13 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 733482: <4FGL_J0912.2+4127_daily_bin1760> in cluster <slac> Done

Job <4FGL_J0912.2+4127_daily_bin1760> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Jan 19 00:40:19 2023
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:41:39 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:41:39 2023
Terminated at Thu Jan 19 00:52:14 2023
Results reported at Thu Jan 19 00:52:14 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0912.2+4127_daily_bin1760 138.056 41.4563 695520001 695779201 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 :                                   388.01 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             249.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   635 sec.
    Turnaround time :                            715 sec.

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

