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 25 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_J1424.6+1447_daily_bin1711
RA = 216.169, Dec = 14.784
tmin = 682819201, tmax = 683078401
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='146821', job_status='RUN', time_executed='2022-09-16 18:21:34.045874', time_epoch_executed='1663377694.05' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/146821

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/146821/ft1_4FGL_J1424.6+1447_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/146821/ft2_4FGL_J1424.6+1447_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/146821/ft1_4FGL_J1424.6+1447_daily_bin1711.fits outfile=/scratch/kocevski/146821/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin1711.fits ra=216.169 dec=14.784 rad=12.0 tmin=682819201.0 tmax=683078401.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 4.58
user 4.31
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/146821/ft2_4FGL_J1424.6+1447_daily_bin1711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/146821/ft2_4FGL_J1424.6+1447_daily_bin1711.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/146821/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/146821/ft1_filtered_4FGL_J1424.6+1447_daily_bin1711.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 584

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/146821/ft1_filtered_4FGL_J1424.6+1447_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/146821/ft2_4FGL_J1424.6+1447_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/146821/ltcube_682819201_683078401_4FGL_J1424.6+1447_daily_bin1711.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/146821/ft2_4FGL_J1424.6+1447_daily_bin1711.fits
.....................!
real 13.51
user 13.06
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/146821/ft1_filtered_4FGL_J1424.6+1447_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/146821/ft2_4FGL_J1424.6+1447_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/146821/ltcube_682819201_683078401_4FGL_J1424.6+1447_daily_bin1711.fits outfile=/scratch/kocevski/146821/expmap_682819201_683078401_4FGL_J1424.6+1447_daily_bin1711.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/146821/ltcube_682819201_683078401_4FGL_J1424.6+1447_daily_bin1711.fits
.....................!
real 192.18
user 185.89
sys 5.78

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

Setting source of interest to:
4FGL J1424.6+1447 @ 216.169 14.784

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/146821/ft1_filtered_4FGL_J1424.6+1447_daily_bin1711.fits scfile=/scratch/kocevski/146821/ft2_4FGL_J1424.6+1447_daily_bin1711.fits outfile=/scratch/kocevski/146821/cmap_682819201_683078401_4FGL_J1424.6+1447_daily_bin1711.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=216.169 yref=14.784 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/146821/ft1_filtered_4FGL_J1424.6+1447_daily_bin1711.fits scfile=/scratch/kocevski/146821/ft2_4FGL_J1424.6+1447_daily_bin1711.fits outfile=/scratch/kocevski/146821/cmap_HighResolution_682819201_683078401_4FGL_J1424.6+1447_daily_bin1711.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=216.169 yref=14.784 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/146821/ft1_filtered_4FGL_J1424.6+1447_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/146821/ft2_4FGL_J1424.6+1447_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/146821/Model_4FGL_J1424.6+1447_daily_bin1711.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/146821/ft1_filtered_4FGL_J1424.6+1447_daily_bin1711.fits.....................!
real 50.09
user 48.71
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/146821/ft1_filtered_4FGL_J1424.6+1447_daily_bin1711.fits', '/scratch/kocevski/146821/ft2_4FGL_J1424.6+1447_daily_bin1711.fits', expMap='/scratch/kocevski/146821/expmap_682819201_683078401_4FGL_J1424.6+1447_daily_bin1711.fits', expCube='/scratch/kocevski/146821/ltcube_682819201_683078401_4FGL_J1424.6+1447_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/146821/Model_4FGL_J1424.6+1447_daily_bin1711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1424.6+1447'

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.029e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
222        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/146821/ft1_filtered_4FGL_J1424.6+1447_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/146821/ft2_4FGL_J1424.6+1447_daily_bin1711.fits
Exposure map: /scratch/kocevski/146821/expmap_682819201_683078401_4FGL_J1424.6+1447_daily_bin1711.fits
Exposure cube: /scratch/kocevski/146821/ltcube_682819201_683078401_4FGL_J1424.6+1447_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/146821/Model_4FGL_J1424.6+1447_daily_bin1711.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) = 6609.72224111

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31004       1.0000          .0000       .10000E+07
     2 'Prefactor '    .17097E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    17.024       1.0000          .0000       .10000E+07
     4 'Prefactor '    .52215E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    126.19       1.0000          .0000       .10000E+07
     6 'norm      '    36.275       1.0000          .0000       .10000E+07
     7 'Prefactor '    .17126E-02   1.0000          .0000       .10000E+07
     8 'norm      '    13.106       1.0000          .0000       .10000E+07
     9 'norm      '    2.6292       1.0000          .0000       .10000E+07
    10 'Prefactor '    .79154E-02   1.0000          .0000       .10000E+07
    11 'norm      '    31.629       1.0000          .0000       .10000E+07
    12 'norm      '    .60143       1.0000          .0000       .10000E+07
    13 'Prefactor '    27.094       1.0000          .0000       .10000E+07
    14 'Prefactor '    87.131       1.0000          .0000       .10000E+07
    15 'Prefactor '    .86763E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .15754E-05   1.0000          .0000       .10000E+07
    17 'norm      '    .21083       1.0000          .0000       .10000E+07
    18 'norm      '    .11249E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    .99794       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0799       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6604.823     FROM MIGRAD    STATUS=CONVERGED    127 CALLS      934 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17153E-07    71.711       -.35307E-05** at limit **
   2  Prefactor     .55511E-10    1.3345        .38290E-06** at limit **
   3  Prefactor     16.939        2.1734        .58509E-07   -.92755E-02
   4  Prefactor     .55511E-10    6.9520       -.29008E-06** at limit **
   5  Prefactor     125.46        38.250       -.42211E-06    .19403    
   6  norm          36.542        3.2206        .64375E-07    .36621E-01
   7  Prefactor     .66613E-09    6.4881        .15422E-05** at limit **
   8  norm          13.103        4.1208       -.14759E-06    .47010E-02
   9  norm          2.6345        2.9450        .10196E-06   -.95486E-03
  10  Prefactor     .17597E-07    16.568       -.25839E-05** at limit **
  11  norm          31.017        3.2659       -.16719E-06   -.69538E-02
  12  norm          .60681        2.5575        .11353E-06   -.49432E-03
  13  Prefactor     26.346        3.7944       -.48767E-07    .23441E-01
  14  Prefactor     88.052        21.276        .27211E-06    .28634    
  15  Prefactor     .12043E-05    32.331       -.62871E-06** at limit **
  16  Prefactor      .0000        2.7304       -.14863E-06** at limit **
  17  norm          .21010        .18239       -.17822E-07** at limit **
  18  norm          .24442E-06    23.462       -.12631E-05** at limit **
  19  Normalizat    .99913        .27357       -.24189E-04    .27912E-04
  20  Prefactor     1.0799        .19747        .18844E-04   -.10022E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.71529e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 16.9388
  Prefactor  = 5.55112e-11
  Prefactor  = 125.459
  norm       = 36.5417
  Prefactor  = 6.66134e-10
  norm       = 13.1027
  norm       = 2.6345
  Prefactor  = 1.7597e-08
  norm       = 31.0166
  norm       = 0.606815
  Prefactor  = 26.3463
  Prefactor  = 88.0518
  Prefactor  = 1.20426e-06
  Prefactor  = 0
  norm       = 0.210097
  norm       = 2.44416e-07
  Normalizat = 0.999127
  Prefactor  = 1.07994
 **********
 **   18 **HESSE 
 **********

 FCN=   6604.823     FROM HESSE     STATUS=OK           329 CALLS     1263 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17153E-07    71.126        .10075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    1.3336        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.939        20.646        .24247E-03   -1.5626    
   4  Prefactor     .55511E-10    6.9378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     125.46        48.540        .89027E-04   -1.5484    
   6  norm          36.542        33.692        .16605E-03   -1.5587    
   7  Prefactor     .66613E-09    6.4911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          13.103        4.1407        .27643E-03   -1.5636    
   9  norm          2.6345        2.9696        .62864E-03   -1.5676    
  10  Prefactor     .17597E-07    16.838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          31.017        20.026        .17784E-03   -1.5597    
  12  norm          .60681        2.6114        .69100E-03   -1.5692    
  13  Prefactor     26.346        27.869        .19215E-03   -1.5605    
  14  Prefactor     88.052        35.397        .10714E-03   -1.5520    
  15  Prefactor     .12043E-05    33.572        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        2.7334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .21010        .19270        .70018E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .24442E-06    23.682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .99913        .23565        .72815E-01   -.93060    
  20  Prefactor     1.0799        .16511        .38404E-01   -.90110    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07799e-06
Minuit parameter uncertainties:
  1  0.00220783
  2  1.26034e-05
  3  20.6462
  4  2.94528e-05
  5  48.5402
  6  33.6925
  7  0.00013013
  8  4.14072
  9  2.96958
  10  0.0010893
  11  20.026
  12  2.51766
  13  27.8691
  14  35.3969
  15  0.0127169
  16  1.10591e-05
  17  0.192697
  18  0.00481192
  19  0.235896
  20  0.165191
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  6.661e-10  1.301e-04  0.000e+00  1.000e+06 ( 1.000e-13)
222        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  1.080e+00  1.652e-01  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  9.991e-01  2.359e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 8.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/146821/likelihoodResults_682819201_683078401_4FGL_J1424.6+1447_daily_bin1711.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): 102
logL (Free Index) = 6604.8995957
delta logL = -0.0761663740504

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6604.7626789
delta logL = 0.0607504243435

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32095       1.0000          .0000       .10000E+07
     2 'Index     '    3.4034       1.0000          .0000       10.000    
     3 'Normalizat'    .97694       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0876       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6604.763     FROM MIGRAD    STATUS=FAILED        96 CALLS      274 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31855        131.74        .10149E-03    .57601E-01
   2  Index         3.4057        6.3542        .42645E-02   -.21223E-04
   3  Normalizat    .97692        .22833        .32527E-03   -.25374E-04
   4  Prefactor     1.0876        .15159        .22188E-03   -.35200E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6604.763     FROM SIMPLEX   STATUS=UNCHANGED    105 CALLS      379 TOTAL
                     EDM=   .61E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31855        131.74        .10654E-04    .57601E-01
   2  Index         3.4057        6.3542        .10427E-02   -.21223E-04
   3  Normalizat    .97692        .22833        .10804E-03   -.25374E-04
   4  Prefactor     1.0876        .15159        .43219E-04   -.35200E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6604.763     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      413 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31855        2.4868        .20298E-04   -.35011E-02
   2  Index         3.4057        1.9210        .17058E-03   -.27325E-04
   3  Normalizat    .97692        .27942        .13011E-04   -.25165E-04
   4  Prefactor     1.0876        .19740        .88752E-05   -.35098E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.318554
  Index      = 3.40566
  Normalizat = 0.976917
  Prefactor  = 1.08758
 **********
 **   18 **HESSE 
 **********

 FCN=   6604.763     FROM HESSE     STATUS=OK            23 CALLS      436 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31855        2.0258        .81192E-06   -1.5697    
   2  Index         3.4057        1.7446        .68232E-05   -.32453    
   3  Normalizat    .97692        .27931        .26022E-05   -.93808    
   4  Prefactor     1.0876        .19729        .17750E-05   -.89864    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.80154e-11
Minuit parameter uncertainties:
  1  1.60665
  2  1.78657
  3  0.279724
  4  0.197425
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/146821': 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) = 6604.76267747
delta logL = 0.0607518510133

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  3.186e-01  1.607e+00  0.000e+00  1.000e+06 ( 1.000e-13)
222        Index:  3.406e+00  1.787e+00  0.000e+00  1.000e+01 (-1.000e+00)
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  1.088e+00  1.974e-01  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  9.769e-01  2.797e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 216.169 14.784

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/146821/cmap_HighResolution_682819201_683078401_4FGL_J1424.6+1447_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.45e-03', job_status='DONE', photon_flux_upper_limit='8.48e-08', time_completed='2022-09-16 18:29:38.013540', job_id='146821', GAL2='1.09', fit_tolerance='1e-08', EG2='0.98', EG='1.00', time_epoch_completed='1663378178.01', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='6.08e-02', ts2='0.13', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1711' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:29:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 146821: <4FGL_J1424.6+1447_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin1711> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 18:20:27 2022
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:20:59 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:20:59 2022
Terminated at Fri Sep 16 18:29:38 2022
Results reported at Fri Sep 16 18:29:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin1711 216.169 14.784 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1424.6+1447 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   486.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             391.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   519 sec.
    Turnaround time :                            551 sec.

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

