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


Performing analysis on: 4FGL_J0024.7+0349_daily_bin1672
RA = 6.1975, Dec = 3.8321
tmin = 672710401, tmax = 672969601
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='153735', job_status='RUN', time_executed='2022-04-30 00:08:30.236269', time_epoch_executed='1651302510.24' WHERE source_name='4FGL J0024.7+0349' and cadence='daily' and bin_id='1672'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/153735

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/153735/ft1_4FGL_J0024.7+0349_daily_bin1672.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/153735/ft2_4FGL_J0024.7+0349_daily_bin1672.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/153735/ft1_4FGL_J0024.7+0349_daily_bin1672.fits outfile=/scratch/kocevski/153735/ft1_filteredMKT_4FGL_J0024.7+0349_daily_bin1672.fits ra=6.1975 dec=3.8321 rad=12.0 tmin=672710401.0 tmax=672969601.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.13
user 2.91
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/153735/ft2_4FGL_J0024.7+0349_daily_bin1672.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/153735/ft2_4FGL_J0024.7+0349_daily_bin1672.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/153735/ft1_filteredMKT_4FGL_J0024.7+0349_daily_bin1672.fits evtable="EVENTS" outfile="/scratch/kocevski/153735/ft1_filtered_4FGL_J0024.7+0349_daily_bin1672.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.51
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 707

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/153735/ft1_filtered_4FGL_J0024.7+0349_daily_bin1672.fits" evtable="EVENTS" scfile=/scratch/kocevski/153735/ft2_4FGL_J0024.7+0349_daily_bin1672.fits sctable="SC_DATA" outfile=/scratch/kocevski/153735/ltcube_672710401_672969601_4FGL_J0024.7+0349_daily_bin1672.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/153735/ft2_4FGL_J0024.7+0349_daily_bin1672.fits
.....................!
real 12.25
user 11.87
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/153735/ft1_filtered_4FGL_J0024.7+0349_daily_bin1672.fits evtable="EVENTS" scfile=/scratch/kocevski/153735/ft2_4FGL_J0024.7+0349_daily_bin1672.fits sctable="SC_DATA" expcube=/scratch/kocevski/153735/ltcube_672710401_672969601_4FGL_J0024.7+0349_daily_bin1672.fits outfile=/scratch/kocevski/153735/expmap_672710401_672969601_4FGL_J0024.7+0349_daily_bin1672.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/153735/ltcube_672710401_672969601_4FGL_J0024.7+0349_daily_bin1672.fits
.....................!
real 190.64
user 185.61
sys 4.71

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

Setting source of interest to:
4FGL J0024.7+0349 @ 6.1975 3.8321

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/153735/ft1_filtered_4FGL_J0024.7+0349_daily_bin1672.fits scfile=/scratch/kocevski/153735/ft2_4FGL_J0024.7+0349_daily_bin1672.fits outfile=/scratch/kocevski/153735/cmap_672710401_672969601_4FGL_J0024.7+0349_daily_bin1672.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=6.1975 yref=3.8321 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.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/153735/ft1_filtered_4FGL_J0024.7+0349_daily_bin1672.fits scfile=/scratch/kocevski/153735/ft2_4FGL_J0024.7+0349_daily_bin1672.fits outfile=/scratch/kocevski/153735/cmap_HighResolution_672710401_672969601_4FGL_J0024.7+0349_daily_bin1672.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=6.1975 yref=3.8321 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.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/153735/ft1_filtered_4FGL_J0024.7+0349_daily_bin1672.fits evtable="EVENTS" scfile=/scratch/kocevski/153735/ft2_4FGL_J0024.7+0349_daily_bin1672.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/153735/Model_4FGL_J0024.7+0349_daily_bin1672.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/153735/ft1_filtered_4FGL_J0024.7+0349_daily_bin1672.fits.....................!
real 83.61
user 82.23
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/153735/ft1_filtered_4FGL_J0024.7+0349_daily_bin1672.fits', '/scratch/kocevski/153735/ft2_4FGL_J0024.7+0349_daily_bin1672.fits', expMap='/scratch/kocevski/153735/expmap_672710401_672969601_4FGL_J0024.7+0349_daily_bin1672.fits', expCube='/scratch/kocevski/153735/ltcube_672710401_672969601_4FGL_J0024.7+0349_daily_bin1672.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/153735/Model_4FGL_J0024.7+0349_daily_bin1672.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0024.7+0349'

4FGL J0024.7+0349
   Spectrum: PowerLaw
118    Prefactor:  1.144e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
119        Index:  2.391e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
120        Scale:  1.332e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/153735/ft1_filtered_4FGL_J0024.7+0349_daily_bin1672.fits
Spacecraft file(s): /scratch/kocevski/153735/ft2_4FGL_J0024.7+0349_daily_bin1672.fits
Exposure map: /scratch/kocevski/153735/expmap_672710401_672969601_4FGL_J0024.7+0349_daily_bin1672.fits
Exposure cube: /scratch/kocevski/153735/ltcube_672710401_672969601_4FGL_J0024.7+0349_daily_bin1672.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/153735/Model_4FGL_J0024.7+0349_daily_bin1672.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) = 7621.47735647

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    35.190       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.2384       1.0000         .10000E-03   10000.    
     4 'norm      '    1.0616       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10521E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.0463       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.9845       1.0000         .10000E-03   10000.    
     9 'norm      '    9.2357       1.0000         .10000E-03   10000.    
    10 'norm      '    .11507E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .53740       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.4222       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.1898       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.2332       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    114.52       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    22.362       1.0000         .10000E-03   10000.    
    20 'Prefactor '    43.229       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2838       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99866       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+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=   7621.467     FROM MIGRAD    STATUS=CONVERGED    863 CALLS     2453 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.004        .18142E-02** at limit **
   2  Prefactor     35.206        20.219        .67555E-04    .44899E-04
   3  Prefactor     7.2356        7.3953        .14909E-03    .24043E-03
   4  norm          1.0542        4.1275        .28746E-03    .26814E-04
   5  Prefactor     .10000E-03    10.045        .18142E-02** at limit **
   6  norm          .10000E-03    5.1426        .36285E-03** at limit **
   7  norm          4.0449        5.7118        .10023E-02    .65357E-04
   8  Prefactor     7.9825        12.274        .70948E-03    .12002E-04
   9  norm          9.2350        13.412        .13188E-03    .59742E-04
  10  norm          .10000E-03    29.823        .36285E-03** at limit **
  11  Prefactor     .39930        22.297        .10638        .21811E-03
  12  Prefactor     3.4391        10.055        .21866E-03    .10398E-04
  13  Prefactor     7.1885        4.8581        .14960E-03    .16719E-04
  14  Prefactor     .10000E-03    1.4702        .10314E-02** at limit **
  15  norm          6.1241        63.127        .16079E-03   -.98988E-05
  16  Prefactor     .10000E-03    101.34        .18142E-02** at limit **
  17  norm          114.51        9.8974        .37595E-04    .10161E-03
  18  Prefactor     .10000E-03    14.140        .18142E-02** at limit **
  19  Prefactor     22.353        19.764        .84704E-04    .63082E-05
  20  Prefactor     43.218        22.705        .60974E-04    .34494E-04
  21  Normalizat    1.2844        .30089        .35897E-03    .81425E-04
  22  Prefactor     .99851        .19683        .28214E-03    .84457E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 35.2058
  Prefactor  = 7.23561
  norm       = 1.05415
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.04493
  Prefactor  = 7.9825
  norm       = 9.23498
  norm       = 0.0001
  Prefactor  = 0.399295
  Prefactor  = 3.43909
  Prefactor  = 7.18851
  Prefactor  = 0.0001
  norm       = 6.12414
  Prefactor  = 0.0001
  norm       = 114.512
  Prefactor  = 0.0001
  Prefactor  = 22.3531
  Prefactor  = 43.2181
  Normalizat = 1.28438
  Prefactor  = 0.998515
 **********
 **   18 **HESSE 
 **********

 FCN=   7621.467     FROM HESSE     STATUS=OK           332 CALLS     2785 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.004        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     35.206        20.201        .13511E-04   -1.4521    
   3  Prefactor     7.2356        7.3945        .59635E-05   -1.5170    
   4  norm          1.0542        4.1194        .11499E-04   -1.5503    
   5  Prefactor     .10000E-03    10.046        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.1427        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.0449        5.7084        .40091E-04   -1.5306    
   8  Prefactor     7.9825        12.269        .28379E-04   -1.5143    
   9  norm          9.2350        13.409        .52751E-05   -1.5100    
  10  norm          .10000E-03    29.825        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .39930        21.700        .10826       -1.5582    
  12  Prefactor     3.4391        10.044        .87466E-05   -1.5337    
  13  Prefactor     7.1885        4.8580        .59838E-05   -1.5172    
  14  Prefactor     .10000E-03    1.4703        .20628E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.1241        63.116        .64315E-05   -1.5213    
  16  Prefactor     .10000E-03    101.34        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          114.51        9.8974        .15038E-05   -1.3564    
  18  Prefactor     .10000E-03    14.141        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     22.353        19.763        .33881E-05   -1.4762    
  20  Prefactor     43.218        22.708        .24390E-05   -1.4392    
  21  Normalizat    1.2844        .30101        .14359E-04   -.84034    
  22  Prefactor     .99851        .19696        .11286E-04   -.92779    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.44478e-10
Minuit parameter uncertainties:
  1  5.24215e-06
  2  20.2049
  3  7.39542
  4  4.12053
  5  1.67327e-05
  6  4.20486e-05
  7  5.70914
  8  12.2726
  9  13.4131
  10  1.01673e-05
  11  5.88871
  12  10.0485
  13  4.85822
  14  9.4159e-07
  15  39.3741
  16  4.49653e-05
  17  9.89749
  18  6.01161e-06
  19  19.7686
  20  22.7125
  21  0.301424
  22  0.197106DDone.

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

Extracting fit parameters...

4FGL J0024.7+0349
   Spectrum: PowerLaw
118    Prefactor:  7.983e+00  1.227e+01  1.000e-04  1.000e+04 ( 1.000e-13)
119        Index:  2.391e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
120        Scale:  1.332e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  9.985e-01  1.971e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  1.284e+00  3.014e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.68
Ra Dec: 6.197 3.832
Photon Flux Upper Limit: 1.41e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.09e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/153735/likelihoodResults_672710401_672969601_4FGL_J0024.7+0349_daily_bin1672.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) = 7621.39012824
delta logL = 0.076475666172

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7621.38738191
delta logL = 0.0792219894538

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3845       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8364       1.0000          .0000       10.000    
     3 'Normalizat'    1.2650       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0064       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7621.387     FROM MIGRAD    STATUS=FAILED       105 CALLS      315 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3771        14.924        .86591E-03    .17815E-03
   2  Index         2.8386        1.5234        .93345E-02    .49601E-03
   3  Normalizat    1.2654        .27447        .36120E-03   -.44065E-05
   4  Prefactor     1.0063        .19000        .28134E-03   -.32731E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7621.387     FROM SIMPLEX   STATUS=UNCHANGED     77 CALLS      392 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3771        14.924        .18074E-03   -1.5244    
   2  Index         2.8386        1.5234        .77343E-03   -.44702    
   3  Normalizat    1.2654        .27447        .33713E-03   -.84604    
   4  Prefactor     1.0063        .19000        .29994E-03   -.92520    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7621.387     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      421 TOTAL
                     EDM=   .76E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3771        11.341        .17318E-03   -.73523E-05
   2  Index         2.8386        1.1658        .18669E-02   -.93780E-06
   3  Normalizat    1.2654        .27381        .14448E-04   -.44065E-05
   4  Prefactor     1.0063        .18972        .11254E-04   -.34348E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.3771
  Index      = 2.83862
  Normalizat = 1.26545
  Prefactor  = 1.0063
 **********
 **   18 **HESSE 
 **********

 FCN=   7621.387     FROM HESSE     STATUS=OK            23 CALLS      444 TOTAL
                     EDM=   .83E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3771        10.867        .69273E-05   -1.5244    
   2  Index         2.8386        1.1176        .74676E-04   -.44702    
   3  Normalizat    1.2654        .27384        .28896E-05   -.84604    
   4  Prefactor     1.0063        .18979        .22507E-05   -.92520    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.27091e-14
Minuit parameter uncertainties:
  1  10.8708
  2  1.12933
  3  0.274148
  4  0.189912
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/153735': 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) = 7621.38737503
delta logL = 0.0792288782168

Extracting fit parameters...

4FGL J0024.7+0349
   Spectrum: PowerLaw
118    Prefactor:  5.377e+00  1.087e+01  1.000e-04  1.000e+04 ( 1.000e-13)
119        Index:  2.839e+00  1.129e+00  0.000e+00  1.000e+01 (-1.000e+00)
120        Scale:  1.332e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  1.006e+00  1.899e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  1.265e+00  2.741e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.68
Ra Dec: 6.197 3.832

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/153735/cmap_HighResolution_672710401_672969601_4FGL_J0024.7+0349_daily_bin1672.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.09e-02', job_status='DONE', photon_flux_upper_limit='1.41e-07', time_completed='2022-04-30 00:20:56.589186', job_id='153735', GAL2='1.01', fit_tolerance='1e-08', EG2='1.27', EG='1.28', time_epoch_completed='1651303256.59', return_code2='0', ts='0.68', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='7.92e-02', ts2='0.87', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1672' AND source_name='4FGL J0024.7+0349' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr 30 00:20:56 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 153724: <4FGL_J0024.7+0349_daily_bin1672> in cluster <slac> Done

Job <4FGL_J0024.7+0349_daily_bin1672> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Apr 30 00:05:36 2022
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr 30 00:06:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr 30 00:06:36 2022
Terminated at Sat Apr 30 00:19:14 2022
Results reported at Sat Apr 30 00:19:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0024.7+0349_daily_bin1672 6.1975 3.8321 672710401 672969601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0024.7+0349 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   738.00 sec.
    Max Memory :                                 617 MB
    Average Memory :                             311.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            818 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 153735: <4FGL_J0024.7+0349_daily_bin1672> in cluster <slac> Done

Job <4FGL_J0024.7+0349_daily_bin1672> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Apr 30 00:05:37 2022
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr 30 00:06:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr 30 00:06:44 2022
Terminated at Sat Apr 30 00:20:57 2022
Results reported at Sat Apr 30 00:20:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0024.7+0349_daily_bin1672 6.1975 3.8321 672710401 672969601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0024.7+0349 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   748.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             307.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   852 sec.
    Turnaround time :                            920 sec.

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

