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


Performing analysis on: 4FGL_J1439.7+4958_daily_bin1668
RA = 219.941, Dec = 49.9775
tmin = 671673601, tmax = 671932801
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='555524', job_status='RUN', time_executed='2022-04-18 03:01:03.281099', time_epoch_executed='1650276063.28' WHERE source_name='4FGL J1439.7+4958' and cadence='daily' and bin_id='1668'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/555524

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/555524/ft1_4FGL_J1439.7+4958_daily_bin1668.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/555524/ft2_4FGL_J1439.7+4958_daily_bin1668.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/555524/ft1_4FGL_J1439.7+4958_daily_bin1668.fits outfile=/scratch/kocevski/555524/ft1_filteredMKT_4FGL_J1439.7+4958_daily_bin1668.fits ra=219.941 dec=49.9775 rad=12.0 tmin=671673601.0 tmax=671932801.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.63
user 3.35
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/555524/ft2_4FGL_J1439.7+4958_daily_bin1668.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/555524/ft2_4FGL_J1439.7+4958_daily_bin1668.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/555524/ft1_filteredMKT_4FGL_J1439.7+4958_daily_bin1668.fits evtable="EVENTS" outfile="/scratch/kocevski/555524/ft1_filtered_4FGL_J1439.7+4958_daily_bin1668.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.52
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 544

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/555524/ft1_filtered_4FGL_J1439.7+4958_daily_bin1668.fits" evtable="EVENTS" scfile=/scratch/kocevski/555524/ft2_4FGL_J1439.7+4958_daily_bin1668.fits sctable="SC_DATA" outfile=/scratch/kocevski/555524/ltcube_671673601_671932801_4FGL_J1439.7+4958_daily_bin1668.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/555524/ft2_4FGL_J1439.7+4958_daily_bin1668.fits
.....................!
real 14.82
user 14.42
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/555524/ft1_filtered_4FGL_J1439.7+4958_daily_bin1668.fits evtable="EVENTS" scfile=/scratch/kocevski/555524/ft2_4FGL_J1439.7+4958_daily_bin1668.fits sctable="SC_DATA" expcube=/scratch/kocevski/555524/ltcube_671673601_671932801_4FGL_J1439.7+4958_daily_bin1668.fits outfile=/scratch/kocevski/555524/expmap_671673601_671932801_4FGL_J1439.7+4958_daily_bin1668.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/555524/ltcube_671673601_671932801_4FGL_J1439.7+4958_daily_bin1668.fits
.....................!
real 192.01
user 186.38
sys 5.08

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

Setting source of interest to:
4FGL J1439.7+4958 @ 219.941 49.9775

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/555524/ft1_filtered_4FGL_J1439.7+4958_daily_bin1668.fits scfile=/scratch/kocevski/555524/ft2_4FGL_J1439.7+4958_daily_bin1668.fits outfile=/scratch/kocevski/555524/cmap_671673601_671932801_4FGL_J1439.7+4958_daily_bin1668.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=219.941 yref=49.9775 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/555524/ft1_filtered_4FGL_J1439.7+4958_daily_bin1668.fits scfile=/scratch/kocevski/555524/ft2_4FGL_J1439.7+4958_daily_bin1668.fits outfile=/scratch/kocevski/555524/cmap_HighResolution_671673601_671932801_4FGL_J1439.7+4958_daily_bin1668.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=219.941 yref=49.9775 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.58
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/555524/ft1_filtered_4FGL_J1439.7+4958_daily_bin1668.fits evtable="EVENTS" scfile=/scratch/kocevski/555524/ft2_4FGL_J1439.7+4958_daily_bin1668.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/555524/Model_4FGL_J1439.7+4958_daily_bin1668.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/555524/ft1_filtered_4FGL_J1439.7+4958_daily_bin1668.fits.....................!
real 50.55
user 47.70
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/555524/ft1_filtered_4FGL_J1439.7+4958_daily_bin1668.fits', '/scratch/kocevski/555524/ft2_4FGL_J1439.7+4958_daily_bin1668.fits', expMap='/scratch/kocevski/555524/expmap_671673601_671932801_4FGL_J1439.7+4958_daily_bin1668.fits', expCube='/scratch/kocevski/555524/ltcube_671673601_671932801_4FGL_J1439.7+4958_daily_bin1668.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/555524/Model_4FGL_J1439.7+4958_daily_bin1668.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1439.7+4958'

4FGL J1439.7+4958
   Spectrum: PowerLaw
317    Prefactor:  6.204e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
318        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.083e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/555524/ft1_filtered_4FGL_J1439.7+4958_daily_bin1668.fits
Spacecraft file(s): /scratch/kocevski/555524/ft2_4FGL_J1439.7+4958_daily_bin1668.fits
Exposure map: /scratch/kocevski/555524/expmap_671673601_671932801_4FGL_J1439.7+4958_daily_bin1668.fits
Exposure cube: /scratch/kocevski/555524/ltcube_671673601_671932801_4FGL_J1439.7+4958_daily_bin1668.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/555524/Model_4FGL_J1439.7+4958_daily_bin1668.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) = 5888.16027511

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.2380       1.0000         .10000E-03   10000.    
     3 'norm      '    6.6443       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    122.04       1.0000         .10000E-03   10000.    
     6 'norm      '    .29464       1.0000         .10000E-03   10000.    
     7 'norm      '    8.3013       1.0000         .10000E-03   10000.    
     8 'norm      '    .36898       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10860E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    43.244       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.3107       1.0000         .10000E-03   10000.    
    15 'Prefactor '    26.225       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.360       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.115       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    39.770       1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.2998       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .66106E-02   1.0000         .10000E-03   10000.    
    24 'norm      '    2.0601       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    12.595       1.0000         .10000E-03   10000.    
    27 'Prefactor '    20.875       1.0000         .10000E-03   10000.    
    28 'norm      '    1.5516       1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.3570       1.0000         .10000E-03   10000.    
    30 'Prefactor '    3.6242       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .99030       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .64839       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5888.122     FROM MIGRAD    STATUS=CONVERGED    914 CALLS     5436 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.5620        .50651E-07** at limit **
   2  Prefactor     1.2326        175.65        .39179E-05    .10209E-05
   3  norm          6.6439        4.5768       -.12119E-07   -.64438E-04
   4  Prefactor     .10000E-03    32.253        .30091E-06** at limit **
   5  Prefactor     122.12        59.894       -.14676E-05    .44034E-04
   6  norm          .29459        .67668        .28665E-06    .12723E-02
   7  norm          8.4064        152.04       -.27589E-05    .27753E-04
   8  norm          .33652        2.8526       -.10398E-05    .12441E-02
   9  Prefactor     .10000E-03    494.93        .69792E-06** at limit **
  10  Prefactor     43.238        38.654       -.23118E-06   -.10639E-04
  11  Prefactor     .10000E-03    16.605        .59802E-07** at limit **
  12  Prefactor     .10000E-03    1.9879        .88173E-07** at limit **
  13  Prefactor     .10000E-03    33.707        .68481E-06** at limit **
  14  Prefactor     3.3121        2.7696       -.14294E-06   -.66020E-04
  15  Prefactor     26.220        18.965        .15338E-07   -.11977E-03
  16  Prefactor     .10000E-03    31.859       -.91582E-07** at limit **
  17  Prefactor     16.357        25.213       -.26632E-07   -.50271E-04
  18  Prefactor     .10000E-03    17.598        .48308E-06** at limit **
  19  Prefactor     15.112        26.585        .40914E-06   -.50610E-04
  20  Prefactor     .10000E-03    13.940        .11994E-07** at limit **
  21  Prefactor     39.764        38.672        .13684E-06   -.12624E-04
  22  Prefactor     4.3123        16.643       -.14674E-05   -.20015E-03
  23  Prefactor     .10139E-03    12.875        .24806E-05** at limit **
  24  norm          2.0603        1.1913       -.56089E-07   -.84003E-03
  25  Prefactor     .10000E-03    4.5694        .47747E-07** at limit **
  26  Prefactor     12.598        6.5076       -.28144E-06   -.67944E-03
  27  Prefactor     20.873        8.1414        .10800E-06   -.69041E-04
  28  norm          1.5517        1.9502       -.15587E-06   -.21547E-03
  29  Prefactor     1.3603        16.836        .33408E-05    .93686E-04
  30  Prefactor     3.6215        32.093       -.11778E-05   -.62486E-04
  31  Prefactor     .10000E-03    8.5930       -.58216E-06** at limit **
  32  Normalizat    .99046        .16083       -.61755E-06   -.50008E-03
  33  Prefactor     .64830        .17239       -.10331E-05   -.34397E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.2326
  norm       = 6.64392
  Prefactor  = 0.0001
  Prefactor  = 122.12
  norm       = 0.294593
  norm       = 8.40645
  norm       = 0.336515
  Prefactor  = 0.000100001
  Prefactor  = 43.2381
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.31207
  Prefactor  = 26.2201
  Prefactor  = 0.0001
  Prefactor  = 16.3566
  Prefactor  = 0.0001
  Prefactor  = 15.1116
  Prefactor  = 0.0001
  Prefactor  = 39.7638
  Prefactor  = 4.31235
  Prefactor  = 0.000101389
  norm       = 2.06028
  Prefactor  = 0.0001
  Prefactor  = 12.5978
  Prefactor  = 20.8726
  norm       = 1.55171
  Prefactor  = 1.36033
  Prefactor  = 3.62147
  Prefactor  = 0.0001
  Normalizat = 0.990464
  Prefactor  = 0.648295
 **********
 **   18 **HESSE 
 **********

 FCN=   5888.122     FROM HESSE     STATUS=OK           711 CALLS     6147 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.5785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.2326        179.32        .40330E-03   -1.5486    
   3  norm          6.6439        4.5641        .12892E-03   -1.5192    
   4  Prefactor     .10000E-03    32.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     122.12        61.023        .18216E-03   -1.3493    
   6  norm          .29459        .55007        .96039E-03   -1.5599    
   7  norm          8.4064        151.71        .13914E-03   -1.5128    
   8  norm          .33652        16.623        .21487E-02   -1.5592    
   9  Prefactor     .10000E-03    494.99        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     43.238        38.646        .60963E-04   -1.4392    
  11  Prefactor     .10000E-03    16.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.0059        .10567E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    34.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.3121        2.7524        .99598E-04   -1.5344    
  15  Prefactor     26.220        18.955        .78226E-04   -1.4683    
  16  Prefactor     .10000E-03    32.145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.357        25.173        .99022E-04   -1.4899    
  18  Prefactor     .10000E-03    17.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.112        26.734        .10302E-03   -1.4930    
  20  Prefactor     .10000E-03    13.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     39.764        38.666        .63560E-04   -1.4446    
  22  Prefactor     4.3123        16.660        .19428E-03   -1.5293    
  23  Prefactor     .10139E-03    17.571        .71108E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          2.0603        1.1943        .61109E-04   -1.5421    
  25  Prefactor     .10000E-03    4.6417        .16008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     12.598        6.5296        .11287E-03   -1.4998    
  27  Prefactor     20.873        8.1720        .87665E-04   -1.4794    
  28  norm          1.5517        1.9199        .11301E-03   -1.5459    
  29  Prefactor     1.3603        14.780        .37515E-03   -1.5475    
  30  Prefactor     3.6215        27.561        .21222E-03   -1.5327    
  31  Prefactor     .10000E-03    8.6449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .99046        .19874        .20672E-03   -.93351    
  33  Prefactor     .64830        .20641        .28508E-03   -1.0559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24124e-08
Minuit parameter uncertainties:
  1  1.52676e-05
  2  29.8243
  3  4.56437
  4  5.95377e-05
  5  61.0542
  6  0.55008
  7  71.6363
  8  4.73095
  9  0.00150056
  10  38.6689
  11  3.07026e-06
  12  5.40585e-06
  13  0.000246281
  14  2.75254
  15  18.9591
  16  6.3642e-05
  17  25.1897
  18  7.29251e-05
  19  26.7556
  20  1.52438e-05
  21  38.6902
  22  16.678
  23  0.00988345
  24  1.19436
  25  7.18246e-06
  26  6.52993
  27  8.17248
  28  1.91993
  29  8.97048
  30  19.9936
  31  6.63859e-05
  32  0.198886
  33  0.206657
Done.

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

Extracting fit parameters...

4FGL J1439.7+4958
   Spectrum: PowerLaw
317    Prefactor:  4.312e+00  1.668e+01  1.000e-04  1.000e+04 ( 1.000e-13)
318        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.083e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  6.483e-01  2.067e-01  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.905e-01  1.989e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 219.941 49.977
Photon Flux Upper Limit: 7.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/555524/likelihoodResults_671673601_671932801_4FGL_J1439.7+4958_daily_bin1668.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) = 5888.02423273
delta logL = 0.0978120827749

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5888.01519537
delta logL = 0.106849446383

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8880       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0046       1.0000          .0000       10.000    
     3 'Normalizat'    .97885       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65498       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=   5888.015     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      261 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8779        522.21        .11939E-02   -.44474E-03
   2  Index         3.0055        6.2960        .79204E-02   -.82492E-04
   3  Normalizat    .97879        .17909        .20777E-03   -.24134E-03
   4  Prefactor     .65504        .22761        .28365E-03   -.13427E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.87786
  Index      = 3.00554
  Normalizat = 0.978788
  Prefactor  = 0.655041
 **********
 **   18 **HESSE 
 **********

 FCN=   5888.015     FROM HESSE     STATUS=OK            27 CALLS      288 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8779        10.492        .47757E-04   -1.5369    
   2  Index         3.0055        1.7124        .31682E-03   -.41031    
   3  Normalizat    .97879        .17965        .41554E-04   -.93744    
   4  Prefactor     .65504        .20275        .11346E-04   -1.0532    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.49471e-10
Minuit parameter uncertainties:
  1  10.4985
  2  1.75499
  3  0.179759
  4  0.20298
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/555524': 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) = 5888.01519461
delta logL = 0.106850205561

Extracting fit parameters...

4FGL J1439.7+4958
   Spectrum: PowerLaw
317    Prefactor:  2.878e+00  1.050e+01  1.000e-04  1.000e+04 ( 1.000e-13)
318        Index:  3.006e+00  1.755e+00  0.000e+00  1.000e+01 (-1.000e+00)
319        Scale:  1.083e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  6.550e-01  2.030e-01  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.788e-01  1.798e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
Ra Dec: 219.941 49.977

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/555524/cmap_HighResolution_671673601_671932801_4FGL_J1439.7+4958_daily_bin1668.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.71e-03', job_status='DONE', photon_flux_upper_limit='7.45e-08', time_completed='2022-04-18 03:19:04.962674', job_id='555524', GAL2='0.66', fit_tolerance='1e-08', EG2='0.98', EG='0.99', time_epoch_completed='1650277144.96', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.07e-01', ts2='0.30', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1668' AND source_name='4FGL J1439.7+4958' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Apr 18 03:19:04 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 555524: <4FGL_J1439.7+4958_daily_bin1668> in cluster <slac> Done

Job <4FGL_J1439.7+4958_daily_bin1668> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Apr 18 00:07:34 2022
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Apr 18 03:00:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Apr 18 03:00:15 2022
Terminated at Mon Apr 18 03:19:05 2022
Results reported at Mon Apr 18 03:19:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1439.7+4958_daily_bin1668 219.941 49.9775 671673601 671932801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1439.7+4958 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1081.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             329.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1133 sec.
    Turnaround time :                            11491 sec.

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

