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


Performing analysis on: 4FGL_J1608.7+1029_daily_bin1771
RA = 242.176, Dec = 10.4938
tmin = 698371201, tmax = 698630401
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='555906', job_status='RUN', time_executed='2023-02-21 01:22:02.126061', time_epoch_executed='1676971322.13' WHERE source_name='4FGL J1608.7+1029' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/555906

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/555906/ft1_4FGL_J1608.7+1029_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/555906/ft2_4FGL_J1608.7+1029_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/555906/ft1_4FGL_J1608.7+1029_daily_bin1771.fits outfile=/scratch/kocevski/555906/ft1_filteredMKT_4FGL_J1608.7+1029_daily_bin1771.fits ra=242.176 dec=10.4938 rad=12.0 tmin=698371201.0 tmax=698630401.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.09
user 2.87
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/555906/ft2_4FGL_J1608.7+1029_daily_bin1771.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/555906/ft2_4FGL_J1608.7+1029_daily_bin1771.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/555906/ft1_filteredMKT_4FGL_J1608.7+1029_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/555906/ft1_filtered_4FGL_J1608.7+1029_daily_bin1771.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 1150

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/555906/ft1_filtered_4FGL_J1608.7+1029_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/555906/ft2_4FGL_J1608.7+1029_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/555906/ltcube_698371201_698630401_4FGL_J1608.7+1029_daily_bin1771.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/555906/ft2_4FGL_J1608.7+1029_daily_bin1771.fits
.....................!
real 12.90
user 12.55
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/555906/ft1_filtered_4FGL_J1608.7+1029_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/555906/ft2_4FGL_J1608.7+1029_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/555906/ltcube_698371201_698630401_4FGL_J1608.7+1029_daily_bin1771.fits outfile=/scratch/kocevski/555906/expmap_698371201_698630401_4FGL_J1608.7+1029_daily_bin1771.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/555906/ltcube_698371201_698630401_4FGL_J1608.7+1029_daily_bin1771.fits
.....................!
real 190.62
user 185.91
sys 4.30

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

Setting source of interest to:
4FGL J1608.7+1029 @ 242.176 10.4938

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/555906/ft1_filtered_4FGL_J1608.7+1029_daily_bin1771.fits scfile=/scratch/kocevski/555906/ft2_4FGL_J1608.7+1029_daily_bin1771.fits outfile=/scratch/kocevski/555906/cmap_698371201_698630401_4FGL_J1608.7+1029_daily_bin1771.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=242.176 yref=10.4938 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/555906/ft1_filtered_4FGL_J1608.7+1029_daily_bin1771.fits scfile=/scratch/kocevski/555906/ft2_4FGL_J1608.7+1029_daily_bin1771.fits outfile=/scratch/kocevski/555906/cmap_HighResolution_698371201_698630401_4FGL_J1608.7+1029_daily_bin1771.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=242.176 yref=10.4938 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/555906/ft1_filtered_4FGL_J1608.7+1029_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/555906/ft2_4FGL_J1608.7+1029_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/555906/Model_4FGL_J1608.7+1029_daily_bin1771.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/555906/ft1_filtered_4FGL_J1608.7+1029_daily_bin1771.fits.....................!
real 90.31
user 88.88
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/555906/ft1_filtered_4FGL_J1608.7+1029_daily_bin1771.fits', '/scratch/kocevski/555906/ft2_4FGL_J1608.7+1029_daily_bin1771.fits', expMap='/scratch/kocevski/555906/expmap_698371201_698630401_4FGL_J1608.7+1029_daily_bin1771.fits', expCube='/scratch/kocevski/555906/ltcube_698371201_698630401_4FGL_J1608.7+1029_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/555906/Model_4FGL_J1608.7+1029_daily_bin1771.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1608.7+1029'

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  8.130e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
262        alpha:  2.458e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
263         beta:  1.591e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
264           Eb:  5.195e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/555906/ft1_filtered_4FGL_J1608.7+1029_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/555906/ft2_4FGL_J1608.7+1029_daily_bin1771.fits
Exposure map: /scratch/kocevski/555906/expmap_698371201_698630401_4FGL_J1608.7+1029_daily_bin1771.fits
Exposure cube: /scratch/kocevski/555906/ltcube_698371201_698630401_4FGL_J1608.7+1029_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/555906/Model_4FGL_J1608.7+1029_daily_bin1771.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) = 12123.6302936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75655E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    16.040       1.0000          .0000       .10000E+07
     3 'norm      '    5.8470       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.3117       1.0000          .0000       .10000E+07
     5 'norm      '    6.8208       1.0000          .0000       .10000E+07
     6 'Prefactor '    .25261E-01   1.0000          .0000       .10000E+07
     7 'norm      '    9.0209       1.0000          .0000       .10000E+07
     8 'norm      '    9.1792       1.0000          .0000       .10000E+07
     9 'norm      '    36.091       1.0000          .0000       .10000E+07
    10 'Prefactor '    .98034       1.0000          .0000       .10000E+07
    11 'Prefactor '    .15020E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .68389E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .70961       1.0000          .0000       .10000E+07
    14 'Prefactor '    .46291E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.7134       1.0000          .0000       .10000E+07
    16 'Prefactor '    .13989E-07   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2486       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .90498       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12123.55     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1057 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16043E-07    23.351        .40757E-06** at limit **
   2  Prefactor     15.958        6.5665       -.12197E-05    .30925E-01
   3  norm          5.8497        2.9272        .11068E-06    .18505E-01
   4  Prefactor     1.3116        3.4183        .16794E-06    .26820E-03
   5  norm          6.8202        3.7378        .13556E-06    .59914E-02
   6  Prefactor     .27756E-09    21.102       -.67469E-07** at limit **
   7  norm          9.0021        7.8168        .89315E-07    .24336E-02
   8  norm          9.1826        2.2822       -.27353E-07   -.14670E-01
   9  norm          36.030        5.5041        .59511E-06   -.91214E-02
  10  Prefactor     .99964        6.9114        .41519E-05    .81698E-02
  11  Prefactor     .47573E-07    54.934        .29086E-06** at limit **
  12  Prefactor     .55511E-10    45.853       -.25428E-06** at limit **
  13  Prefactor     .82230        17.878        .51898E-06   -.12664E-03
  14  Prefactor      .0000        2.0995        .49782E-07** at limit **
  15  Prefactor     1.7251        3.5075       -.31790E-07   -.61919E-02
  16  Prefactor     .48295E-08    7.7903       -.50064E-06** at limit **
  17  Normalizat    1.2488        .22600       -.35897E-05   -.12939E-03
  18  Prefactor     .90470        .97037E-01   -.22936E-05   -.78233E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60427e-08
  Prefactor  = 15.9579
  norm       = 5.84968
  Prefactor  = 1.31158
  norm       = 6.82016
  Prefactor  = 2.77556e-10
  norm       = 9.00206
  norm       = 9.1826
  norm       = 36.0296
  Prefactor  = 0.999644
  Prefactor  = 4.75731e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0.8223
  Prefactor  = 0
  Prefactor  = 1.72508
  Prefactor  = 4.82947e-09
  Normalizat = 1.24881
  Prefactor  = 0.904699
 **********
 **   18 **HESSE 
 **********

 FCN=   12123.55     FROM HESSE     STATUS=OK           288 CALLS     1345 TOTAL
                     EDM=   .85E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16043E-07    23.337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.958        17.566        .24981E-03   -1.5628    
   3  norm          5.8497        2.9331        .41509E-03   -1.5660    
   4  Prefactor     1.3116        3.4400        .96212E-03   -1.5685    
   5  norm          6.8202        3.7749        .38394E-03   -1.5656    
   6  Prefactor     .27756E-09    21.045        .16712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.0021        7.8671        .33346E-03   -1.5648    
   8  norm          9.1826        2.2981        .33056E-03   -1.5647    
   9  norm          36.030        14.421        .16647E-03   -1.5588    
  10  Prefactor     .99964        8.7984        .43069E-03   -1.5688    
  11  Prefactor     .47573E-07    55.688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    11.635        .14872E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .82230        20.619        .59931E-03   -1.5690    
  14  Prefactor      .0000        2.0969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.7251        3.5316        .80261E-03   -1.5682    
  16  Prefactor     .48295E-08    7.6573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2488        .19168        .79120E-01   -.85108    
  18  Prefactor     .90470        .80790E-01    .45068E-01   -.95977    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.45273e-07
Minuit parameter uncertainties:
  1  0.00122409
  2  17.5665
  3  2.93309
  4  3.44002
  5  3.7749
  6  0.00015557
  7  7.86713
  8  2.29807
  9  14.4213
  10  5.93136
  11  0.00325492
  12  3.87257e-05
  13  8.2354
  14  1.48493e-06
  15  3.53157
  16  0.000383514
  17  0.191786
  18  0.0808003
Done.

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

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  3.603e+01  1.442e+01  0.000e+00  1.000e+06 ( 1.000e-12)
262        alpha:  2.458e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
263         beta:  1.591e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
264           Eb:  5.195e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.047e-01  8.080e-02  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.249e+00  1.918e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.44
Ra Dec: 242.176 10.494
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 1.15e-07 +/- 4.60e-08
Energy Flux (Fixed Index): 3.28e-05 +/- 1.31e-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) = 12123.0543745
delta logL = 0.498868386156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12123.0367392
delta logL = 0.51650371002

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.749       1.0000          .0000       .10000E+07
     2 'alpha     '    3.0002       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1830       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92393       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+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.

 FCN=   12123.04     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      272 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          28.745        16.696        .74614E-05    .23412E-01
   2  alpha         3.0009        .61195        .13834E-01    .31477E-03
   3  Normalizat    1.1830        .23508        .35821E-03   -.43481E-03
   4  Prefactor     .92395        .99188E-01    .17337E-03   -.16864E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 28.7452
  alpha      = 3.00089
  Normalizat = 1.18295
  Prefactor  = 0.923946
 **********
 **   18 **HESSE 
 **********

 FCN=   12123.04     FROM HESSE     STATUS=OK            23 CALLS      295 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          28.745        15.455        .14923E-05   -1.5601    
   2  alpha         3.0009        .56634        .55336E-03    .20172    
   3  Normalizat    1.1830        .23441        .14328E-04   -.87131    
   4  Prefactor     .92395        .98983E-01    .34674E-04   -.95309    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60068e-09
Minuit parameter uncertainties:
  1  15.4551
  2  0.571507
  3  0.234623
  4  0.0990022
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/555906': 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) = 12123.0367377
delta logL = 0.516505155701

Extracting fit parameters...

4FGL J1608.7+1029
   Spectrum: LogParabola
261         norm:  2.875e+01  1.546e+01  0.000e+00  1.000e+06 ( 1.000e-12)
262        alpha:  3.001e+00  5.715e-01  0.000e+00  5.000e+00 ( 1.000e+00)
263         beta:  1.591e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
264           Eb:  5.195e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.239e-01  9.900e-02  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.183e+00  2.346e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.72
Ra Dec: 242.176 10.494
Photon Index (Free Index): 3.00 +/- 0.57
Photon Flux (Free Index): 1.59e-07 +/- 6.78e-08
Energy Flux (Free Index): 3.31e-05 +/- 1.20e-05

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/555906/cmap_HighResolution_698371201_698630401_4FGL_J1608.7+1029_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.15e-07', energy_flux2='3.31e-05', photon_flux_error='4.60e-08', dlogl='5.17e-01', energy_flux='3.28e-05', photon_flux2='1.59e-07', job_status='DONE', time_completed='2023-02-21 01:32:06.333030', photon_index_error2='0.57', photon_index2='3.00', ts='11.44', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.20e-05', EG='1.25', time_epoch_completed='1676971926.33', return_code='0', job_id='555906', GAL2='0.92', EG2='1.18', return_code2='0', energy_flux_error='1.31e-05', photon_flux_error2='6.78e-08', ts2='12.72', photon_index='2.46' WHERE bin_id='1771' AND source_name='4FGL J1608.7+1029' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 01:32:06 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 555906: <4FGL_J1608.7+1029_daily_bin1771> in cluster <slac> Done

Job <4FGL_J1608.7+1029_daily_bin1771> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 01:20:16 2023
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 01:20:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 01:20:16 2023
Terminated at Tue Feb 21 01:32:06 2023
Results reported at Tue Feb 21 01:32:06 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1608.7+1029_daily_bin1771 242.176 10.4938 698371201 698630401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1608.7+1029 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   606.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             350.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            710 sec.

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

