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 20 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1417.9+4613_monthly_bin170
RA = 214.482, Dec = 46.2327
tmin = 677635201, tmax = 680227201
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='104940', job_status='RUN', time_executed='2022-07-23 01:55:58.031245', time_epoch_executed='1658566558.03' WHERE source_name='4FGL J1417.9+4613' and cadence='monthly' and bin_id='170'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104940

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104940/ft1_4FGL_J1417.9+4613_monthly_bin170.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104940/ft2_4FGL_J1417.9+4613_monthly_bin170.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104940/ft1_4FGL_J1417.9+4613_monthly_bin170.fits outfile=/scratch/kocevski/104940/ft1_filteredMKT_4FGL_J1417.9+4613_monthly_bin170.fits ra=214.482 dec=46.2327 rad=12.0 tmin=677635201.0 tmax=680227201.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 32.24
user 31.47
sys 0.69

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/104940/ft2_4FGL_J1417.9+4613_monthly_bin170.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/104940/ft2_4FGL_J1417.9+4613_monthly_bin170.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/104940/ft1_filteredMKT_4FGL_J1417.9+4613_monthly_bin170.fits evtable="EVENTS" outfile="/scratch/kocevski/104940/ft1_filtered_4FGL_J1417.9+4613_monthly_bin170.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.84
user 0.64
sys 0.18

Number of photons that the gtmktime cut: 5833

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104940/ft1_filtered_4FGL_J1417.9+4613_monthly_bin170.fits" evtable="EVENTS" scfile=/scratch/kocevski/104940/ft2_4FGL_J1417.9+4613_monthly_bin170.fits sctable="SC_DATA" outfile=/scratch/kocevski/104940/ltcube_677635201_680227201_4FGL_J1417.9+4613_monthly_bin170.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/104940/ft2_4FGL_J1417.9+4613_monthly_bin170.fits
.....................!
real 111.40
user 110.79
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104940/ft1_filtered_4FGL_J1417.9+4613_monthly_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/104940/ft2_4FGL_J1417.9+4613_monthly_bin170.fits sctable="SC_DATA" expcube=/scratch/kocevski/104940/ltcube_677635201_680227201_4FGL_J1417.9+4613_monthly_bin170.fits outfile=/scratch/kocevski/104940/expmap_677635201_680227201_4FGL_J1417.9+4613_monthly_bin170.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/104940/ltcube_677635201_680227201_4FGL_J1417.9+4613_monthly_bin170.fits
.....................!
real 191.04
user 185.59
sys 5.05

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

Setting source of interest to:
4FGL J1417.9+4613 @ 214.482 46.2327

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/104940/ft1_filtered_4FGL_J1417.9+4613_monthly_bin170.fits scfile=/scratch/kocevski/104940/ft2_4FGL_J1417.9+4613_monthly_bin170.fits outfile=/scratch/kocevski/104940/cmap_677635201_680227201_4FGL_J1417.9+4613_monthly_bin170.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=214.482 yref=46.2327 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.77
user 0.60
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104940/ft1_filtered_4FGL_J1417.9+4613_monthly_bin170.fits scfile=/scratch/kocevski/104940/ft2_4FGL_J1417.9+4613_monthly_bin170.fits outfile=/scratch/kocevski/104940/cmap_HighResolution_677635201_680227201_4FGL_J1417.9+4613_monthly_bin170.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=214.482 yref=46.2327 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.78
user 0.62
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/104940/ft1_filtered_4FGL_J1417.9+4613_monthly_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/104940/ft2_4FGL_J1417.9+4613_monthly_bin170.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/104940/Model_4FGL_J1417.9+4613_monthly_bin170.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/104940/ft1_filtered_4FGL_J1417.9+4613_monthly_bin170.fits.....................!
real 398.06
user 395.70
sys 1.54

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/104940/ft1_filtered_4FGL_J1417.9+4613_monthly_bin170.fits', '/scratch/kocevski/104940/ft2_4FGL_J1417.9+4613_monthly_bin170.fits', expMap='/scratch/kocevski/104940/expmap_677635201_680227201_4FGL_J1417.9+4613_monthly_bin170.fits', expCube='/scratch/kocevski/104940/ltcube_677635201_680227201_4FGL_J1417.9+4613_monthly_bin170.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/104940/Model_4FGL_J1417.9+4613_monthly_bin170.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1417.9+4613'

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  2.996e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/104940/ft1_filtered_4FGL_J1417.9+4613_monthly_bin170.fits
Spacecraft file(s): /scratch/kocevski/104940/ft2_4FGL_J1417.9+4613_monthly_bin170.fits
Exposure map: /scratch/kocevski/104940/expmap_677635201_680227201_4FGL_J1417.9+4613_monthly_bin170.fits
Exposure cube: /scratch/kocevski/104940/ltcube_677635201_680227201_4FGL_J1417.9+4613_monthly_bin170.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/104940/Model_4FGL_J1417.9+4613_monthly_bin170.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) = 63808.1980544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.462       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.4724       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.1304       1.0000         .10000E-03   10000.    
     5 'norm      '    .90510       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.9992       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .30358E-01   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.5611       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.287       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .84799       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.1278       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.3043       1.0000         .10000E-03   10000.    
    17 'norm      '    1.0127       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.0034       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.2971       1.0000         .10000E-03   10000.    
    21 'norm      '    2.9725       1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.3915       1.0000         .10000E-03   10000.    
    23 'Prefactor '    26.035       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.1566       1.0000         .10000E-03   10000.    
    26 'Prefactor '    4.4590       1.0000         .10000E-03   10000.    
    27 'norm      '    4.4658       1.0000         .10000E-03   10000.    
    28 'Prefactor '    1.1862       1.0000         .10000E-03   10000.    
    29 'Prefactor '    3.2162       1.0000         .10000E-03   10000.    
    30 'norm      '    2.4911       1.0000         .10000E-03   10000.    
    31 'Prefactor '    2.3124       1.0000         .10000E-03   10000.    
    32 'norm      '    1.3441       1.0000         .10000E-03   10000.    
    33 'Prefactor '    2.7692       1.0000         .10000E-03   10000.    
    34 'Prefactor '    8.4473       1.0000         .10000E-03   10000.    
    35 'Prefactor '    .13040       1.0000         .10000E-03   10000.    
    36 'norm      '    .29805E-01   1.0000         .10000E-03   10000.    
    37 'Prefactor '    2.5776       1.0000         .10000E-03   10000.    
    38 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    39 'Prefactor '    2.4938       1.0000         .10000E-03   10000.    
    40 'Normalizat'    .99077       1.0000         .10000E-01   10.000    
    41 'Prefactor '    .99896       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   63808.12     FROM MIGRAD    STATUS=CONVERGED   1255 CALLS     5812 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .20201         .0000    ** at limit **
   2  Prefactor     26.464        11.613         .0000       -.28200E-02
   3  Prefactor     2.4720        3.6560         .0000        .16641E-02
   4  Prefactor     6.1280        9.9610         .0000        .12063E-02
   5  norm          .90555        .94020         .0000        .73986E-02
   6  Prefactor     8.9988        14.808         .0000        .43915E-03
   7  Prefactor     .10001E-03    3.5692         .0000    ** at limit **
   8  norm          .29448E-01    .80711E-01     .0000        .89944E-02
   9  norm          .10000E-03    8.0190         .0000    ** at limit **
  10  norm          .10000E-03    .24832         .0000    ** at limit **
  11  norm          1.5612        2.8467         .0000        .38266E-02
  12  Prefactor     17.286        8.9984         .0000       -.19684E-03
  13  Prefactor     .84627        1.7121         .0000        .67951E-02
  14  Prefactor     .10000E-03    15.377         .0000    ** at limit **
  15  Prefactor     2.1277        1.0527         .0000        .16422E-03
  16  Prefactor     1.3047        4.8232         .0000        .46768E-01
  17  norm          1.0126        .79383         .0000        .48269E-02
  18  Prefactor     .10000E-03    2.3585         .0000    ** at limit **
  19  Prefactor     2.0035        .76090         .0000        .36635E-02
  20  Prefactor     3.2961        3.8719         .0000        .13113E-02
  21  norm          2.9724        2.7270         .0000        .17078E-01
  22  Prefactor     4.3915        5.3916         .0000        .50267E-03
  23  Prefactor     26.034        8.2321         .0000        .18336E-02
  24  Prefactor     .10000E-03    4.1933         .0000    ** at limit **
  25  Prefactor     3.1571        6.4788         .0000        .12911E-01
  26  Prefactor     4.4587        4.1227         .0000       -.35491E-02
  27  norm          4.4659        1.6081         .0000        .18602E-02
  28  Prefactor     1.1862        6.5116         .0000        .30935E-01
  29  Prefactor     3.2161        3.0962         .0000        .19107E-02
  30  norm          2.4911        1.3457         .0000       -.18992E-02
  31  Prefactor     2.3121        3.6483         .0000        .23949E-02
  32  norm          1.3441        .34650         .0000        .74723E-03
  33  Prefactor     2.7692        1.6215         .0000        .24087E-02
  34  Prefactor     8.4474        3.5547         .0000        .70057E-03
  35  Prefactor     .12872        .45114         .0000        .83436E-02
  36  norm          .30070E-01    .15496         .0000        .72853E-02
  37  Prefactor     2.5774        1.6326         .0000        .64037E-01
  38  Prefactor     .10000E-03    3.1972         .0000    ** at limit **
  39  Prefactor     2.4942        3.0605         .0000        .56736E-01
  40  Normalizat    .99075        .52332E-01     .0000        .53476E-03
  41  Prefactor     .99899        .57912E-01     .0000        .43138E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 26.4641
  Prefactor  = 2.47199
  Prefactor  = 6.12796
  norm       = 0.905551
  Prefactor  = 8.99877
  Prefactor  = 0.00010001
  norm       = 0.0294485
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.56115
  Prefactor  = 17.2865
  Prefactor  = 0.846272
  Prefactor  = 0.0001
  Prefactor  = 2.12772
  Prefactor  = 1.30469
  norm       = 1.0126
  Prefactor  = 0.0001
  Prefactor  = 2.00346
  Prefactor  = 3.29614
  norm       = 2.97238
  Prefactor  = 4.39155
  Prefactor  = 26.0342
  Prefactor  = 0.000100002
  Prefactor  = 3.15707
  Prefactor  = 4.45872
  norm       = 4.4659
  Prefactor  = 1.18619
  Prefactor  = 3.21612
  norm       = 2.49106
  Prefactor  = 2.31213
  norm       = 1.34414
  Prefactor  = 2.76925
  Prefactor  = 8.44739
  Prefactor  = 0.12872
  norm       = 0.0300703
  Prefactor  = 2.57736
  Prefactor  = 0.000100004
  Prefactor  = 2.49421
  Normalizat = 0.990747
  Prefactor  = 0.998986
 **********
 **   18 **HESSE 
 **********

 FCN=   63808.12     FROM HESSE     STATUS=OK          1059 CALLS     6871 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .36490        .21811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     26.464        11.362        .77876E-04   -1.4679    
   3  Prefactor     2.4720        3.4537        .26004E-03   -1.5394    
   4  Prefactor     6.1280        9.8099        .16215E-03   -1.5213    
   5  norm          .90555        .84598        .21348E-03   -1.5518    
   6  Prefactor     8.9988        14.804        .13361E-03   -1.5108    
   7  Prefactor     .10001E-03    3.5760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .29448E-01    .51802        .11323E-02   -1.5674    
   9  norm          .10000E-03    8.0846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .25966        .24556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5612        2.8333        .34055E-03   -1.5458    
  12  Prefactor     17.286        8.9879        .96329E-04   -1.4876    
  13  Prefactor     .84627        2.0776        .44825E-02   -1.5524    
  14  Prefactor     .10000E-03    15.887        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.1277        1.0502        .28267E-04   -1.5416    
  16  Prefactor     1.3047        4.8568        .19329E-02   -1.5480    
  17  norm          1.0126        .78002        .19187E-03   -1.5507    
  18  Prefactor     .10000E-03    2.4021        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0035        .75053        .11860E-03   -1.5425    
  20  Prefactor     3.2961        3.7922        .22297E-03   -1.5345    
  21  norm          2.9724        2.7146        .11775E-02   -1.5363    
  22  Prefactor     4.3915        5.3644        .19219E-03   -1.5289    
  23  Prefactor     26.034        8.1704        .39256E-03   -1.4687    
  24  Prefactor     .10000E-03    4.2095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     3.1571        6.4714        .11407E-02   -1.5353    
  26  Prefactor     4.4587        4.1231        .95345E-03   -1.5286    
  27  norm          4.4659        1.6044        .18434E-03   -1.5285    
  28  Prefactor     1.1862        6.4616        .20944E-02   -1.5490    
  29  Prefactor     3.2161        3.0787        .22590E-03   -1.5349    
  30  norm          2.4911        1.3501        .21009E-03   -1.5392    
  31  Prefactor     2.3121        3.5695        .26980E-03   -1.5404    
  32  norm          1.3441        .34523        .72143E-04   -1.5476    
  33  Prefactor     2.7692        1.6191        .23916E-03   -1.5375    
  34  Prefactor     8.4474        3.5532        .13793E-03   -1.5127    
  35  Prefactor     .12872        1.8829        .29614E-02   -1.5636    
  36  norm          .30070E-01    1.5574        .18590E-02   -1.5673    
  37  Prefactor     2.5774        1.6123        .11489E-02   -1.5387    
  38  Prefactor     .10000E-03    3.2567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  39  Prefactor     2.4942        2.9991        .12941E-02   -1.5392    
  40  Normalizat    .99075        .61937E-01    .21837E-03   -.93341    
  41  Prefactor     .99899        .68985E-01    .26146E-03   -.92763    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.85445e-07
Minuit parameter uncertainties:
  1  1.11237e-06
  2  11.3633
  3  3.45398
  4  9.81244
  5  0.845987
  6  14.8105
  7  0.000370142
  8  0.246605
  9  5.36681e-05
  10  4.27165e-08
  11  2.8335
  12  8.98863
  13  2.07773
  14  2.74264e-05
  15  1.05018
  16  4.85824
  17  0.780033
  18  1.57954e-05
  19  0.750538
  20  3.79251
  21  2.71469
  22  5.36499
  23  8.17079
  24  0.000180267
  25  6.47288
  26  4.12333
  27  1.60442
  28  5.53773
  29  3.07881
  30  1.35014
  31  3.56985
  32  0.345229
  33  1.61913
  34  3.55327
  35  0.984262
  36  0.432096
  37  1.61233
  38  0.000226044
  39  2.99925
  40  0.0619413
  41  0.0689911
Done.

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

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  1.305e+00  4.858e+00  1.000e-04  1.000e+04 ( 1.000e-12)
311        Index:  2.971e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  9.990e-01  6.899e-02  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  9.907e-01  6.194e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 214.482 46.233
Photon Flux Upper Limit: 2.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/104940/likelihoodResults_677635201_680227201_4FGL_J1417.9+4613_monthly_bin170.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) = 63808.0415811
delta logL = 0.0829043326739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 63808.0336827
delta logL = 0.0908027235637

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7930       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5891       1.0000          .0000       10.000    
     3 'Normalizat'    .98631       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0021       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   63808.03     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      264 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7922        5.1181        .15616E-02    .25605E-02
   2  Index         3.5893        1.8180        .32045E-01    .27533E-04
   3  Normalizat    .98632        .57866E-01    .21882E-03    .37407E-05
   4  Prefactor     1.0021        .68150E-01    .26110E-03    .43193E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.79224
  Index      = 3.58926
  Normalizat = 0.986317
  Prefactor  = 1.0021
 **********
 **   18 **HESSE 
 **********

 FCN=   63808.03     FROM HESSE     STATUS=OK            27 CALLS      291 TOTAL
                     EDM=   .74E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7922        4.0158        .31232E-03   -1.5440    
   2  Index         3.5893        1.4443        .12818E-02   -.28603    
   3  Normalizat    .98632        .57906E-01    .43764E-04   -.93490    
   4  Prefactor     1.0021        .68254E-01    .52220E-04   -.92660    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.37017e-12
Minuit parameter uncertainties:
  1  4.01645
  2  1.46711
  3  0.0579094
  4  0.06826
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104940': 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) = 63808.0336827
delta logL = 0.0908027487239

Extracting fit parameters...

4FGL J1417.9+4613
   Spectrum: PowerLaw
310    Prefactor:  1.792e+00  4.016e+00  1.000e-04  1.000e+04 ( 1.000e-12)
311        Index:  3.589e+00  1.467e+00  0.000e+00  1.000e+01 (-1.000e+00)
312        Scale:  3.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.002e+00  6.826e-02  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  9.863e-01  5.791e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
Ra Dec: 214.482 46.233

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/104940/cmap_HighResolution_677635201_680227201_4FGL_J1417.9+4613_monthly_bin170.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.79e-03', job_status='DONE', photon_flux_upper_limit='2.24e-08', time_completed='2022-07-23 04:50:45.333154', job_id='104940', GAL2='1.00', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1658577045.33', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='9.08e-02', ts2='0.29', photon_index_error='0.00', photon_index='2.97' WHERE bin_id='170' AND source_name='4FGL J1417.9+4613' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sat Jul 23 04:50:45 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 104940: <4FGL_J1417.9+4613_monthly_bin170> in cluster <slac> Done

Job <4FGL_J1417.9+4613_monthly_bin170> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sat Jul 23 01:55:29 2022
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 01:55:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 01:55:29 2022
Terminated at Sat Jul 23 04:50:46 2022
Results reported at Sat Jul 23 04:50:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1417.9+4613_monthly_bin170 214.482 46.2327 677635201 680227201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1417.9+4613 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   10458.00 sec.
    Max Memory :                                 629 MB
    Average Memory :                             393.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10516 sec.
    Turnaround time :                            10517 sec.

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

