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 201 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 = 7579
number of fields = 31
RA_SUN column already exists. File will not be modifiedDoDone.


Performing analysis on: 4FGL_J0245.4+2408_daily_bin1740
RA = 41.3545, Dec = 24.1498
tmin = 690336001, tmax = 690595201
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='822988', job_status='RUN', time_executed='2022-11-20 00:14:28.846630', time_epoch_executed='1668932068.85' WHERE source_name='4FGL J0245.4+2408' and cadence='daily' and bin_id='1740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/822988

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/822988/ft1_4FGL_J0245.4+2408_daily_bin1740.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/822988/ft2_4FGL_J0245.4+2408_daily_bin1740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/822988/ft1_4FGL_J0245.4+2408_daily_bin1740.fits outfile=/scratch/kocevski/822988/ft1_filteredMKT_4FGL_J0245.4+2408_daily_bin1740.fits ra=41.3545 dec=24.1498 rad=12.0 tmin=690336001.0 tmax=690595201.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 2.97
user 2.79
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/822988/ft2_4FGL_J0245.4+2408_daily_bin1740.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/822988/ft2_4FGL_J0245.4+2408_daily_bin1740.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/822988/ft1_filteredMKT_4FGL_J0245.4+2408_daily_bin1740.fits evtable="EVENTS" outfile="/scratch/kocevski/822988/ft1_filtered_4FGL_J0245.4+2408_daily_bin1740.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.16

Number of photons that the gtmktime cut: 66

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/822988/ft1_filtered_4FGL_J0245.4+2408_daily_bin1740.fits" evtable="EVENTS" scfile=/scratch/kocevski/822988/ft2_4FGL_J0245.4+2408_daily_bin1740.fits sctable="SC_DATA" outfile=/scratch/kocevski/822988/ltcube_690336001_690595201_4FGL_J0245.4+2408_daily_bin1740.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/822988/ft2_4FGL_J0245.4+2408_daily_bin1740.fits
.....................!
real 18.35
user 17.70
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/822988/ft1_filtered_4FGL_J0245.4+2408_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/822988/ft2_4FGL_J0245.4+2408_daily_bin1740.fits sctable="SC_DATA" expcube=/scratch/kocevski/822988/ltcube_690336001_690595201_4FGL_J0245.4+2408_daily_bin1740.fits outfile=/scratch/kocevski/822988/expmap_690336001_690595201_4FGL_J0245.4+2408_daily_bin1740.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/822988/ltcube_690336001_690595201_4FGL_J0245.4+2408_daily_bin1740.fits
.....................!
real 191.94
user 186.69
sys 4.80

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

Setting source of interest to:
4FGL J0245.4+2408 @ 41.3545 24.1498

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/822988/ft1_filtered_4FGL_J0245.4+2408_daily_bin1740.fits scfile=/scratch/kocevski/822988/ft2_4FGL_J0245.4+2408_daily_bin1740.fits outfile=/scratch/kocevski/822988/cmap_690336001_690595201_4FGL_J0245.4+2408_daily_bin1740.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=41.3545 yref=24.1498 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.56
user 0.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/822988/ft1_filtered_4FGL_J0245.4+2408_daily_bin1740.fits scfile=/scratch/kocevski/822988/ft2_4FGL_J0245.4+2408_daily_bin1740.fits outfile=/scratch/kocevski/822988/cmap_HighResolution_690336001_690595201_4FGL_J0245.4+2408_daily_bin1740.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=41.3545 yref=24.1498 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.56
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/822988/ft1_filtered_4FGL_J0245.4+2408_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/822988/ft2_4FGL_J0245.4+2408_daily_bin1740.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/822988/Model_4FGL_J0245.4+2408_daily_bin1740.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/822988/ft1_filtered_4FGL_J0245.4+2408_daily_bin1740.fits......................!
real 21.76
user 20.39
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/822988/ft1_filtered_4FGL_J0245.4+2408_daily_bin1740.fits', '/scratch/kocevski/822988/ft2_4FGL_J0245.4+2408_daily_bin1740.fits', expMap='/scratch/kocevski/822988/expmap_690336001_690595201_4FGL_J0245.4+2408_daily_bin1740.fits', expCube='/scratch/kocevski/822988/ltcube_690336001_690595201_4FGL_J0245.4+2408_daily_bin1740.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/822988/Model_4FGL_J0245.4+2408_daily_bin1740.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0245.4+2408'

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  3.151e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.676e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/822988/ft1_filtered_4FGL_J0245.4+2408_daily_bin1740.fits
Spacecraft file(s): /scratch/kocevski/822988/ft2_4FGL_J0245.4+2408_daily_bin1740.fits
Exposure map: /scratch/kocevski/822988/expmap_690336001_690595201_4FGL_J0245.4+2408_daily_bin1740.fits
Exposure cube: /scratch/kocevski/822988/ltcube_690336001_690595201_4FGL_J0245.4+2408_daily_bin1740.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/822988/Model_4FGL_J0245.4+2408_daily_bin1740.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) = 851.233751858

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .63228E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    10.447       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.2838       1.0000          .0000       .10000E+07
     4 'norm      '    1233.1       1.0000          .0000       .10000E+07
     5 'Prefactor '    145.30       1.0000          .0000       .10000E+07
     6 'Prefactor '    175.30       1.0000          .0000       .10000E+07
     7 'Prefactor '    .84224E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .41859       1.0000          .0000       .10000E+07
     9 'Prefactor '    .70207E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .19281E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .59168       1.0000          .0000       .10000E+07
    12 'Prefactor '    .88562E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    87.597       1.0000          .0000       .10000E+07
    14 'Prefactor '    .30740       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12419       1.0000          .0000       .10000E+07
    16 'Prefactor '    .60241       1.0000          .0000       .10000E+07
    17 'norm      '    .30168E-02   1.0000          .0000       .10000E+07
    18 'norm      '    29.111       1.0000          .0000       .10000E+07
    19 'Prefactor '    .43478       1.0000          .0000       .10000E+07
    20 'Prefactor '    .69688       1.0000          .0000       .10000E+07
    21 'norm      '    .26716       1.0000          .0000       .10000E+07
    22 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2055       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   851.1617     FROM MIGRAD    STATUS=CONVERGED    233 CALLS     2594 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        5.6531        .45221E-06** at limit **
   2  Prefactor     10.238        20.755       -.29571E-05   -.52646E-03
   3  Prefactor     1.2555        185.20       -.18112E-04    .15835E-03
   4  norm          1233.4        14.176       -.18089E-06   -.17167    
   5  Prefactor     149.13        142.01       -.51800E-05    .18989    
   6  Prefactor     175.45        3.8844       -.13801E-06    .33703E-01
   7  Prefactor      .0000        28.091       -.49174E-06** at limit **
   8  norm          .44652        73.796       -.18343E-04    .36174E-03
   9  Prefactor     .28987E-04    483.77       -.57502E-05** at limit **
  10  norm          .84321E-07    105.88       -.55483E-05** at limit **
  11  Prefactor     .19785E-04    144.00       -.25869E-05** at limit **
  12  Prefactor     .24480E-07    53.491       -.58839E-07** at limit **
  13  Prefactor     90.976        150.73       -.70923E-05   -.13667    
  14  Prefactor      .0000        130.76       -.81427E-06** at limit **
  15  Prefactor     .55511E-10    83.053        .98992E-06** at limit **
  16  Prefactor     .17572E-04    148.88       -.17828E-05** at limit **
  17  norm          .31475E-07    49.589        .51375E-05** at limit **
  18  norm          29.156        3.5286       -.15617E-06   -.27631E-01
  19  Prefactor     .87208E-07    179.58       -.60819E-05** at limit **
  20  Prefactor     .13550E-05    417.47       -.45286E-05** at limit **
  21  norm           .0000        118.45       -.25075E-05** at limit **
  22  Normalizat    .10000E-01    .51506        .23561E-04** at limit **
  23  Prefactor     1.2045        .23748        .50547E-04   -.17354E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 10.238
  Prefactor  = 1.25553
  norm       = 1233.4
  Prefactor  = 149.131
  Prefactor  = 175.445
  Prefactor  = 0
  norm       = 0.446515
  Prefactor  = 2.89871e-05
  norm       = 8.43214e-08
  Prefactor  = 1.97855e-05
  Prefactor  = 2.44804e-08
  Prefactor  = 90.9761
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 1.75724e-05
  norm       = 3.14748e-08
  norm       = 29.1555
  Prefactor  = 8.7208e-08
  Prefactor  = 1.35497e-06
  norm       = 0
  Normalizat = 0.01
  Prefactor  = 1.20447
 **********
 **   18 **HESSE 
 **********

 FCN=   851.1617     FROM HESSE     STATUS=OK           414 CALLS     3008 TOTAL
                     EDM=   .34E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        5.6768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.238        20.805        .30974E-03   -1.5644    
   3  Prefactor     1.2555        215.39        .97848E-03   -1.5686    
   4  norm          1233.4        670.54        .28495E-04   -1.5005    
   5  Prefactor     149.13        182.98        .82967E-04   -1.5464    
   6  Prefactor     175.45        290.56        .75535E-04   -1.5443    
   7  Prefactor      .0000        28.176        .14374E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .44652        15.610        .63348E-02   -1.5695    
   9  Prefactor     .28987E-04    463.70        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .84321E-07    3.4136        .30734E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .19785E-04    293.18        .69976E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .24480E-07    53.304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     90.976        253.54        .10685E-03   -1.5517    
  14  Prefactor      .0000        129.93        .10111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    83.118        .13320E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .17572E-04    291.34        .69013E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .31475E-07    49.632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          29.156        344.03        .18537E-03   -1.5600    
  19  Prefactor     .87208E-07    178.94        .85563E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .13550E-05    418.69        .60962E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        118.54        .10685E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .10000E-01    .43349        .29322       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.2045        .26560        .34502E-01   -.86194    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.42725e-05
Minuit parameter uncertainties:
  1  6.03516e-06
  2  20.805
  3  32.8904
  4  670.581
  5  182.983
  6  290.584
  7  9.35787e-07
  8  5.2802
  9  0.231892
  10  0.00107293
  11  0.152332
  12  0.002285
  13  253.569
  14  3.34165e-05
  15  0.000110188
  16  0.143108
  17  0.00249952
  18  200.319
  19  0.00790039
  20  0.0476402
  21  3.2763e-05
  22  3.7017e-07
  23  0.2659
Done.

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

Extracting fit parameters...

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  3.342e-05  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.676e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.204e+00  2.659e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.000e-02  3.702e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 41.355 24.150
Photon Flux Upper Limit: 1.20e-06 ph cm-2 s-1
Energy Flux Upper Limit: 9.47e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/822988/likelihoodResults_690336001_690595201_4FGL_J0245.4+2408_daily_bin1740.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) = 850.914308571
delta logL = 0.24737194565

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 850.829034933
delta logL = 0.332645583109

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   851.1617     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      470 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44409E-09    9.3816        .42118E-03** at limit **
   2  Index         1.4832        7.5015        .50000       -.48317E-10
   3  Normalizat    .10000E-01    .22207E-03    .29322    ** at limit **
   4  Prefactor     1.2045        .48078E-02    .34780E-01   -.39216E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.44089e-10
  Index      = 1.48325
  Normalizat = 0.01
  Prefactor  = 1.20447
 **********
 **   18 **HESSE 
 **********

 FCN=   851.1617     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      501 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44409E-09    46.746        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4832        6.0345        .50000       -13.346    
   3  Normalizat    .10000E-01    .17757E-02    .10279E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2045        .10747E-01    .16101E-03   -7.1451    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.19608e-11
Minuit parameter uncertainties:
  1  0.000295026
  2  134534
  3  1.34894e-07
  4  0.0107472
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/822988': 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): 102
logL (Free Index) = 851.161680516
delta logL = 3.77440301236e-11

Extracting fit parameters...

4FGL J0245.4+2408
   Spectrum: PowerLaw
272    Prefactor:  4.441e-10  2.950e-04  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  1.483e+00  1.345e+05  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  5.508e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.204e+00  1.075e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.000e-02  1.349e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 41.355 24.150

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/822988/cmap_HighResolution_690336001_690595201_4FGL_J0245.4+2408_daily_bin1740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.47e-02', job_status='DONE', photon_flux_upper_limit='1.20e-06', time_completed='2022-11-20 00:20:33.270016', job_id='822988', GAL2='1.20', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1668932433.27', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='3.77e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='1740' AND source_name='4FGL J0245.4+2408' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 20 00:20:33 PST 2022

-----------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 822987: <4FGL_J0245.4+2408_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0245.4+2408_daily_bin1740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:23 2022
Job was executed on host(s) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:10:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:10:53 2022
Terminated at Sun Nov 20 00:17:17 2022
Results reported at Sun Nov 20 00:17:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0245.4+2408_daily_bin1740 41.3545 24.1498 690336001 690595201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0245.4+2408 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   369.14 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             362.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   383 sec.
    Turnaround time :                            714 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 822988: <4FGL_J0245.4+2408_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0245.4+2408_daily_bin1740> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:23 2022
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:10:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:10:53 2022
Terminated at Sun Nov 20 00:20:34 2022
Results reported at Sun Nov 20 00:20:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0245.4+2408_daily_bin1740 41.3545 24.1498 690336001 690595201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0245.4+2408 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   366.53 sec.
    Max Memory :                                 1092 MB
    Average Memory :                             256.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   580 sec.
    Turnaround time :                            911 sec.

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

