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


Performing analysis on: 4FGL_J0912.2+4127_daily_bin1762
RA = 138.056, Dec = 41.4563
tmin = 696038401, tmax = 696297601
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='106434', job_status='RUN', time_executed='2023-01-25 00:49:59.129185', time_epoch_executed='1674636599.13' WHERE source_name='4FGL J0912.2+4127' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106434

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106434/ft1_4FGL_J0912.2+4127_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106434/ft2_4FGL_J0912.2+4127_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106434/ft1_4FGL_J0912.2+4127_daily_bin1762.fits outfile=/scratch/kocevski/106434/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1762.fits ra=138.056 dec=41.4563 rad=12.0 tmin=696038401.0 tmax=696297601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.74
user 3.50
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/106434/ft2_4FGL_J0912.2+4127_daily_bin1762.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/106434/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/106434/ft1_filtered_4FGL_J0912.2+4127_daily_bin1762.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.53
user 0.36
sys 0.16

Number of photons that the gtmktime cut: 558

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106434/ft1_filtered_4FGL_J0912.2+4127_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/106434/ft2_4FGL_J0912.2+4127_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/106434/ltcube_696038401_696297601_4FGL_J0912.2+4127_daily_bin1762.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/106434/ft2_4FGL_J0912.2+4127_daily_bin1762.fits
.....................!
real 15.36
user 14.93
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106434/ft1_filtered_4FGL_J0912.2+4127_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/106434/ft2_4FGL_J0912.2+4127_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/106434/ltcube_696038401_696297601_4FGL_J0912.2+4127_daily_bin1762.fits outfile=/scratch/kocevski/106434/expmap_696038401_696297601_4FGL_J0912.2+4127_daily_bin1762.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/106434/ltcube_696038401_696297601_4FGL_J0912.2+4127_daily_bin1762.fits
.....................!
real 191.74
user 186.51
sys 4.55

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/106434/ft1_filtered_4FGL_J0912.2+4127_daily_bin1762.fits scfile=/scratch/kocevski/106434/ft2_4FGL_J0912.2+4127_daily_bin1762.fits outfile=/scratch/kocevski/106434/cmap_696038401_696297601_4FGL_J0912.2+4127_daily_bin1762.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.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106434/ft1_filtered_4FGL_J0912.2+4127_daily_bin1762.fits scfile=/scratch/kocevski/106434/ft2_4FGL_J0912.2+4127_daily_bin1762.fits outfile=/scratch/kocevski/106434/cmap_HighResolution_696038401_696297601_4FGL_J0912.2+4127_daily_bin1762.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.57
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.160       1.0000          .0000       .10000E+07
     2 'norm      '    .40860       1.0000          .0000       .10000E+07
     3 'Prefactor '    24.236       1.0000          .0000       .10000E+07
     4 'Prefactor '    .63608E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.2856       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11336E-02   1.0000          .0000       .10000E+07
     7 'norm      '    4.0885       1.0000          .0000       .10000E+07
     8 'norm      '    12.467       1.0000          .0000       .10000E+07
     9 'Prefactor '    .72536       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.8799       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.956       1.0000          .0000       .10000E+07
    12 'norm      '    2.0059       1.0000          .0000       .10000E+07
    13 'Prefactor '    .66754E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    15 'Prefactor '    .17722E-05   1.0000          .0000       .10000E+07
    16 'norm      '    3.8804       1.0000          .0000       .10000E+07
    17 'Prefactor '    .75314       1.0000          .0000       .10000E+07
    18 'Prefactor '    15.690       1.0000          .0000       .10000E+07
    19 'Prefactor '    .55692E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .14696E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    24.119       1.0000          .0000       .10000E+07
    22 'Prefactor '    5.2524       1.0000          .0000       .10000E+07
    23 'Prefactor '    8.9728       1.0000          .0000       .10000E+07
    24 'Prefactor '    .59029       1.0000          .0000       .10000E+07
    25 'norm      '    2.6075       1.0000          .0000       .10000E+07
    26 'Normalizat'    .86947       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0558       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=   6134.823     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     2391 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.181        6.8442        .34328E-06    .70328E-02
   2  norm          .40803        .38046        .46279E-07    .11302E-01
   3  Prefactor     24.358        9.9152       -.55757E-06    .18451E-01
   4  Prefactor     .55511E-10    1.6866        .10466E-06** at limit **
   5  Prefactor     2.4493        9.1468       -.13437E-05   -.57256E-02
   6  Prefactor     .12768E-08    6.5287       -.51746E-07** at limit **
   7  norm          4.0785        5.3545        .20848E-06   -.90932E-02
   8  norm          12.463        5.0693        .95979E-06    .10194    
   9  Prefactor     .92782        1.6291       -.39553E-07    .14164E-01
  10  Prefactor     7.7182        41.190        .25653E-05   -.24744E-02
  11  Prefactor     11.830        5.1527       -.33211E-06    .68575E-02
  12  norm          2.0064        1.8801        .29697E-07    .44344E-02
  13  Prefactor     .24092E-07    24.681        .56266E-06** at limit **
  14  norm           .0000        .25311       -.11957E-06** at limit **
  15  Prefactor     .55511E-10    1.0048        .61855E-07** at limit **
  16  norm          3.8336        6.2004       -.11440E-06    .35906E-02
  17  Prefactor     .75876        1.4838       -.45933E-07    .74299E-04
  18  Prefactor     15.679        8.2022        .33561E-06   -.36151E-01
  19  Prefactor     .38303E-08    13.873       -.14801E-05** at limit **
  20  norm          .12768E-08    4.6862        .49932E-06** at limit **
  21  Prefactor     24.898        4.7197        .30574E-06   -.71572E-01
  22  Prefactor     5.2613        8.1905       -.18448E-05    .27618E-01
  23  Prefactor     9.1649        2.6924        .42473E-06   -.18305E-01
  24  Prefactor     .64739        .68571        .15320E-06    .76807E-03
  25  norm          2.5939        5.3078       -.77330E-06   -.73708E-02
  26  Normalizat    .86868        .19672        .52211E-05   -.56312E-04
  27  Prefactor     1.0554        .20741       -.38553E-05   -.29862E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.1814
  norm       = 0.408028
  Prefactor  = 24.3577
  Prefactor  = 5.55112e-11
  Prefactor  = 2.44926
  Prefactor  = 1.27676e-09
  norm       = 4.07847
  norm       = 12.4634
  Prefactor  = 0.927824
  Prefactor  = 7.71819
  Prefactor  = 11.8299
  norm       = 2.00639
  Prefactor  = 2.40918e-08
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 3.83364
  Prefactor  = 0.758762
  Prefactor  = 15.679
  Prefactor  = 3.83027e-09
  norm       = 1.27676e-09
  Prefactor  = 24.8975
  Prefactor  = 5.26133
  Prefactor  = 9.16489
  Prefactor  = 0.647389
  norm       = 2.59392
  Normalizat = 0.868683
  Prefactor  = 1.05543
 **********
 **   18 **HESSE 
 **********

 FCN=   6134.823     FROM HESSE     STATUS=OK           554 CALLS     2945 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.181        6.9463        .31411E-03   -1.5644    
   2  norm          .40803        .37980        .88497E-03   -1.5695    
   3  Prefactor     24.358        14.432        .20318E-03   -1.5609    
   4  Prefactor     .55511E-10    1.6806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.4493        23.229        .67878E-03   -1.5677    
   6  Prefactor     .12768E-08    6.5334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.0785        5.4632        .49836E-03   -1.5668    
   8  norm          12.463        7.8461        .28345E-03   -1.5637    
   9  Prefactor     .92782        56.585        .58673E-03   -1.5689    
  10  Prefactor     7.7182        41.564        .41391E-03   -1.5652    
  11  Prefactor     11.830        5.1940        .28947E-03   -1.5639    
  12  norm          2.0064        1.8715        .73082E-03   -1.5680    
  13  Prefactor     .24092E-07    25.139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .24408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    1.0018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.8336        6.2393        .51199E-03   -1.5669    
  17  Prefactor     .75876        1.5084        .56495E-03   -1.5691    
  18  Prefactor     15.679        8.7459        .25259E-03   -1.5629    
  19  Prefactor     .38303E-08    14.023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .12768E-08    4.7101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     24.898        22.187        .20366E-03   -1.5608    
  22  Prefactor     5.2613        9.9237        .43835E-03   -1.5662    
  23  Prefactor     9.1649        19.642        .33436E-03   -1.5647    
  24  Prefactor     .64739        31.528        .70102E-03   -1.5692    
  25  norm          2.5939        5.3445        .63147E-03   -1.5676    
  26  Normalizat    .86868        .17547        .44510E-01   -.97569    
  27  Prefactor     1.0554        .17826        .57125E-01   -.90904    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14817e-07
Minuit parameter uncertainties:
  1  6.94629
  2  0.379802
  3  14.4324
  4  2.21132e-05
  5  15.0858
  6  0.000181855
  7  5.46322
  8  7.84608
  9  14.4917
  10  35.822
  11  5.19402
  12  1.87145
  13  0.00155588
  14  3.02159e-06
  15  1.49802e-05
  16  6.2393
  17  1.50844
  18  8.74593
  19  0.000462579
  20  0.000154501
  21  22.1871
  22  9.92375
  23  19.6416
  24  9.0357
  25  5.34449
  26  0.17558
  27  0.178359
Done.

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

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  1.183e+01  5.194e+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.055e+00  1.784e-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:  8.687e-01  1.756e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.43
Ra Dec: 138.056 41.456
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 1.35e-07 +/- 5.92e-08
Energy Flux (Fixed Index): 4.10e-05 +/- 1.80e-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) = 6133.84402601
delta logL = 0.978689862222

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6133.83294827
delta logL = 0.989767605382

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0011       1.0000          .0000       .10000E+07
     2 'Index     '    3.1757       1.0000          .0000       10.000    
     3 'Normalizat'    .81302       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1055       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=   6133.833     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      240 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0012        26.414        .44944E-03   -.43160E-03
   2  Index         3.1760        2.4958        .82026E-01    .13930E-03
   3  Normalizat    .81311        .76955E-01    .43780E-01    .17747E-04
   4  Prefactor     1.1055        .83060E-01    .56024E-01    .95716E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.00116
  Index      = 3.17604
  Normalizat = 0.813109
  Prefactor  = 1.10553
 **********
 **   18 **HESSE 
 **********

 FCN=   6133.833     FROM HESSE     STATUS=OK            33 CALLS      273 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0012        6.6080        .62396E-05   -1.5663    
   2  Index         3.1760        .79969        .34322E-02   -.37341    
   3  Normalizat    .81311        .19850        .26405E-03   -.99584    
   4  Prefactor     1.1055        .21003        .24772E-03   -.89290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19046e-08
Minuit parameter uncertainties:
  1  6.60804
  2  0.803676
  3  0.198678
  4  0.210184
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106434': 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) = 6133.83294657
delta logL = 0.989769307608

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  5.001e+00  6.608e+00  0.000e+00  1.000e+06 ( 1.000e-12)
330        Index:  3.176e+00  8.037e-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.106e+00  2.102e-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:  8.131e-01  1.987e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.73
Ra Dec: 138.056 41.456
Photon Index (Free Index): 3.18 +/- 0.80
Photon Flux (Free Index): 1.69e-07 +/- 6.59e-08
Energy Flux (Free Index): 3.13e-05 +/- 1.49e-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/106434/cmap_HighResolution_696038401_696297601_4FGL_J0912.2+4127_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.35e-07', energy_flux2='3.13e-05', photon_flux_error='5.92e-08', dlogl='9.90e-01', energy_flux='4.10e-05', photon_flux2='1.69e-07', job_status='DONE', time_completed='2023-01-25 01:01:18.616591', photon_index_error2='0.80', photon_index2='3.18', ts='8.43', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.49e-05', EG='0.87', time_epoch_completed='1674637278.62', return_code='0', job_id='106434', GAL2='1.11', EG2='0.81', return_code2='0', energy_flux_error='1.80e-05', photon_flux_error2='6.59e-08', ts2='10.73', photon_index='2.46' WHERE bin_id='1762' AND source_name='4FGL J0912.2+4127' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:01:18 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 106434: <4FGL_J0912.2+4127_daily_bin1762> in cluster <slac> Done

Job <4FGL_J0912.2+4127_daily_bin1762> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jan 25 00:45:14 2023
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:46:07 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:46:07 2023
Terminated at Wed Jan 25 01:01:19 2023
Results reported at Wed Jan 25 01:01:19 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0912.2+4127_daily_bin1762 138.056 41.4563 696038401 696297601 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 :                                   681.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             269.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            965 sec.

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

