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


Performing analysis on: 4FGL_J0912.2+4127_daily_bin1758
RA = 138.056, Dec = 41.4563
tmin = 695001601, tmax = 695260801
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='362210', job_status='RUN', time_executed='2023-01-13 00:32:27.961553', time_epoch_executed='1673598747.96' WHERE source_name='4FGL J0912.2+4127' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/362210

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/362210/ft1_4FGL_J0912.2+4127_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/362210/ft2_4FGL_J0912.2+4127_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/362210/ft1_4FGL_J0912.2+4127_daily_bin1758.fits outfile=/scratch/kocevski/362210/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1758.fits ra=138.056 dec=41.4563 rad=12.0 tmin=695001601.0 tmax=695260801.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.77
user 2.55
sys 0.20

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

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

Number of photons that the gtmktime cut: 138

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/362210/ft1_filtered_4FGL_J0912.2+4127_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/362210/ft2_4FGL_J0912.2+4127_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/362210/ltcube_695001601_695260801_4FGL_J0912.2+4127_daily_bin1758.fits outfile=/scratch/kocevski/362210/expmap_695001601_695260801_4FGL_J0912.2+4127_daily_bin1758.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/362210/ltcube_695001601_695260801_4FGL_J0912.2+4127_daily_bin1758.fits
.....................!
real 192.71
user 187.35
sys 4.95

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/362210/ft1_filtered_4FGL_J0912.2+4127_daily_bin1758.fits scfile=/scratch/kocevski/362210/ft2_4FGL_J0912.2+4127_daily_bin1758.fits outfile=/scratch/kocevski/362210/cmap_695001601_695260801_4FGL_J0912.2+4127_daily_bin1758.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/362210/ft1_filtered_4FGL_J0912.2+4127_daily_bin1758.fits scfile=/scratch/kocevski/362210/ft2_4FGL_J0912.2+4127_daily_bin1758.fits outfile=/scratch/kocevski/362210/cmap_HighResolution_695001601_695260801_4FGL_J0912.2+4127_daily_bin1758.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.38
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    188.17       1.0000          .0000       .10000E+07
     2 'norm      '    .20035       1.0000          .0000       .10000E+07
     3 'Prefactor '    .30504E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .34790E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .29363E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40980E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .55300E-03   1.0000          .0000       .10000E+07
     8 'norm      '    25.509       1.0000          .0000       .10000E+07
     9 'Prefactor '    .28320E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .38210E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    19.352       1.0000          .0000       .10000E+07
    12 'norm      '    .12039E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    60.676       1.0000          .0000       .10000E+07
    14 'norm      '    1.1079       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.4657       1.0000          .0000       .10000E+07
    16 'norm      '    .11313E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    5.5574       1.0000          .0000       .10000E+07
    18 'Prefactor '    .32403E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    28.385       1.0000          .0000       .10000E+07
    20 'norm      '    .61420E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .28796E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .16394E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    .17583E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    7.8215       1.0000          .0000       .10000E+07
    25 'norm      '    28.935       1.0000          .0000       .10000E+07
    26 'Normalizat'    .76486       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .65162       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=   1635.866     FROM MIGRAD    STATUS=CONVERGED    306 CALLS     2527 TOTAL
                     EDM=   .93E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     297.60        295.05       -.12014E-05    .64012E-03
   2  norm           .0000        11.606       -.37019E-06** at limit **
   3  Prefactor     .16653E-09    84.616       -.10951E-05** at limit **
   4  Prefactor     .92759E-07    8.2647        .12265E-06** at limit **
   5  Prefactor     .54401E-08    62.710        .19027E-06** at limit **
   6  Prefactor     .30309E-07    15.322        .51431E-07** at limit **
   7  norm          .43188E-07    18.747        .18720E-06** at limit **
   8  norm          25.349        13.186       -.90163E-07   -.17368E-01
   9  Prefactor     .32863E-07    21.388        .25379E-06** at limit **
  10  Prefactor      .0000        52.284        .33532E-06** at limit **
  11  Prefactor     19.166        12.239        .54210E-07   -.19658E-02
  12  norm          .55511E-10    5.9665       -.30889E-06** at limit **
  13  Prefactor     63.421        56.347       -.26336E-06    .16527E-02
  14  norm          1.1135        1.6767       -.14557E-07   -.23429E-02
  15  Prefactor     2.5398        10.975        .30042E-06   -.92416E-03
  16  norm          .17542E-07    57.019        .47056E-07** at limit **
  17  Prefactor     5.5102        6.5243       -.21882E-06   -.36006E-03
  18  Prefactor     .41689E-07    29.936        .55106E-06** at limit **
  19  Prefactor     28.307        10.374       -.18104E-07   -.37995E-01
  20  norm          .83267E-09    13.610        .24553E-07** at limit **
  21  Prefactor     .41023E-07    10.560       -.73660E-07** at limit **
  22  Prefactor      .0000        4.1171        .27974E-07** at limit **
  23  Prefactor     .31086E-08    45.344        .15912E-06** at limit **
  24  Prefactor     8.9774        9.3264        .57915E-07   -.19505E-01
  25  norm          29.227        10.344        .39167E-07   -.84397E-03
  26  Normalizat    .75664        .36053        .14072E-05   -.10523E-04
  27  Prefactor     .64227        .39510        .59197E-06    .16252E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 297.6
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 9.27591e-08
  Prefactor  = 5.44009e-09
  Prefactor  = 3.03091e-08
  norm       = 4.31877e-08
  norm       = 25.349
  Prefactor  = 3.28626e-08
  Prefactor  = 0
  Prefactor  = 19.1655
  norm       = 5.55112e-11
  Prefactor  = 63.4213
  norm       = 1.11351
  Prefactor  = 2.53984
  norm       = 1.75415e-08
  Prefactor  = 5.51023
  Prefactor  = 4.16889e-08
  Prefactor  = 28.3071
  norm       = 8.32667e-10
  Prefactor  = 4.10227e-08
  Prefactor  = 0
  Prefactor  = 3.10862e-09
  Prefactor  = 8.97744
  norm       = 29.227
  Normalizat = 0.75664
  Prefactor  = 0.642272
 **********
 **   18 **HESSE 
 **********

 FCN=   1635.866     FROM HESSE     STATUS=OK           542 CALLS     3069 TOTAL
                     EDM=   .73E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     297.60        312.38        .72906E-04   -1.5363    
   2  norm           .0000        5.7112        .32448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16653E-09    83.677        .16424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .92759E-07    14.583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .54401E-08    62.633        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .30309E-07    17.173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .43188E-07    20.317        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          25.349        19.919        .19803E-03   -1.5607    
   9  Prefactor     .32863E-07    23.256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        52.023        .16045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.166        12.276        .22740E-03   -1.5620    
  12  norm          .55511E-10    5.9711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     63.421        56.395        .12839E-03   -1.5549    
  14  norm          1.1135        1.6373        .83108E-03   -1.5687    
  15  Prefactor     2.5398        10.331        .65098E-03   -1.5676    
  16  norm          .17542E-07    57.265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.5102        6.5493        .42594E-03   -1.5661    
  18  Prefactor     .41689E-07    30.562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     28.307        23.160        .18773E-03   -1.5602    
  20  norm          .83267E-09    13.762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .41023E-07    17.051        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        4.1296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .31086E-08    45.512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     8.9774        22.225        .35830E-03   -1.5648    
  25  norm          29.227        19.427        .18593E-03   -1.5600    
  26  Normalizat    .75664        .32053        .43150E-01   -1.0170    
  27  Prefactor     .64227        .34565        .69505E-01   -1.0583    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.27569e-08
Minuit parameter uncertainties:
  1  312.396
  2  2.58021e-06
  3  0.000218167
  4  0.00232601
  5  0.0011671
  6  0.00144235
  7  0.00187386
  8  19.919
  9  0.0017491
  10  2.80158e-05
  11  12.2756
  12  3.06505e-05
  13  56.3955
  14  1.63731
  15  10.2447
  16  0.00200509
  17  6.54929
  18  0.00225741
  19  23.16
  20  0.000214233
  21  0.00167227
  22  1.81265e-07
  23  0.000752188
  24  22.2253
  25  19.4267
  26  0.321328
  27  0.346802
Done.

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

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  1.917e+01  1.228e+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:  6.423e-01  3.468e-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:  7.566e-01  3.213e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.28
Ra Dec: 138.056 41.456
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 2.18e-07 +/- 1.40e-07
Energy Flux (Fixed Index): 6.64e-05 +/- 4.25e-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) = 1634.39973417
delta logL = 1.46630729133

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1634.25793953
delta logL = 1.60810193397

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.107       1.0000          .0000       .10000E+07
     2 'Index     '    1.6690       1.0000          .0000       10.000    
     3 'Normalizat'    .84467       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55590       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=   1634.258     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      213 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.107        15.527        .19211E-03    .17266E-01
   2  Index         1.6690        .33722        .82408E-01   -.17353E-04
   3  Normalizat    .84456        .29880        .44190E-01    .10204E-04
   4  Prefactor     .55603        .33623        .73794E-01    .11880E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.107
  Index      = 1.66896
  Normalizat = 0.844557
  Prefactor  = 0.556034
 **********
 **   18 **HESSE 
 **********

 FCN=   1634.258     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.107        16.334        .76842E-05   -1.5604    
   2  Index         1.6690        .36455        .35549E-02   -.72911    
   3  Normalizat    .84456        .33905        .24058E-03   -.98437    
   4  Prefactor     .55603        .38011        .32675E-03   -1.0947    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.91061e-09
Minuit parameter uncertainties:
  1  16.3345
  2  0.365136
  3  0.339905
  4  0.381875
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/362210': 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) = 1634.25793946
delta logL = 1.60810199889

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  2.711e+01  1.633e+01  0.000e+00  1.000e+06 ( 1.000e-12)
330        Index:  1.669e+00  3.651e-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:  5.560e-01  3.819e-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.446e-01  3.399e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.84
Ra Dec: 138.056 41.456
Photon Index (Free Index): 1.67 +/- 0.37
Photon Flux (Free Index): 1.29e-07 +/- 9.20e-08
Energy Flux (Free Index): 2.32e-04 +/- 2.20e-04

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/362210/cmap_HighResolution_695001601_695260801_4FGL_J0912.2+4127_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.18e-07', energy_flux2='2.32e-04', photon_flux_error='1.40e-07', dlogl='1.61e+00', energy_flux='6.64e-05', photon_flux2='1.29e-07', job_status='DONE', time_completed='2023-01-13 00:39:30.169495', photon_index_error2='0.37', photon_index2='1.67', ts='6.28', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', energy_flux_error2='2.20e-04', EG='0.76', time_epoch_completed='1673599170.17', return_code='0', job_id='362210', GAL2='0.56', EG2='0.84', return_code2='0', energy_flux_error='4.25e-05', photon_flux_error2='9.20e-08', ts2='9.84', photon_index='2.46' WHERE bin_id='1758' AND source_name='4FGL J0912.2+4127' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 00:39:30 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 362210: <4FGL_J0912.2+4127_daily_bin1758> in cluster <slac> Done

Job <4FGL_J0912.2+4127_daily_bin1758> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jan 13 00:30:19 2023
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 00:31:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 00:31:20 2023
Terminated at Fri Jan 13 00:39:31 2023
Results reported at Fri Jan 13 00:39:31 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0912.2+4127_daily_bin1758 138.056 41.4563 695001601 695260801 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 :                                   424.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   490 sec.
    Turnaround time :                            552 sec.

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

