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


Performing analysis on: 4FGL_J2250.0+3825_daily_bin1699
RA = 342.514, Dec = 38.4247
tmin = 679708801, tmax = 679968001
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='1417', job_status='RUN', time_executed='2022-07-20 00:36:57.122842', time_epoch_executed='1658302617.12' WHERE source_name='4FGL J2250.0+3825' and cadence='daily' and bin_id='1699'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/1417

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/1417/ft1_4FGL_J2250.0+3825_daily_bin1699.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/1417/ft2_4FGL_J2250.0+3825_daily_bin1699.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/1417/ft1_4FGL_J2250.0+3825_daily_bin1699.fits outfile=/scratch/kocevski/1417/ft1_filteredMKT_4FGL_J2250.0+3825_daily_bin1699.fits ra=342.514 dec=38.4247 rad=12.0 tmin=679708801.0 tmax=679968001.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.94
user 2.73
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/1417/ft2_4FGL_J2250.0+3825_daily_bin1699.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/1417/ft2_4FGL_J2250.0+3825_daily_bin1699.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/1417/ft1_filteredMKT_4FGL_J2250.0+3825_daily_bin1699.fits evtable="EVENTS" outfile="/scratch/kocevski/1417/ft1_filtered_4FGL_J2250.0+3825_daily_bin1699.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.39
user 0.24
sys 0.13

Number of photons that the gtmktime cut: 1247

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/1417/ft1_filtered_4FGL_J2250.0+3825_daily_bin1699.fits" evtable="EVENTS" scfile=/scratch/kocevski/1417/ft2_4FGL_J2250.0+3825_daily_bin1699.fits sctable="SC_DATA" outfile=/scratch/kocevski/1417/ltcube_679708801_679968001_4FGL_J2250.0+3825_daily_bin1699.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/1417/ft2_4FGL_J2250.0+3825_daily_bin1699.fits
.....................!
real 9.17
user 8.89
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/1417/ft1_filtered_4FGL_J2250.0+3825_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/1417/ft2_4FGL_J2250.0+3825_daily_bin1699.fits sctable="SC_DATA" expcube=/scratch/kocevski/1417/ltcube_679708801_679968001_4FGL_J2250.0+3825_daily_bin1699.fits outfile=/scratch/kocevski/1417/expmap_679708801_679968001_4FGL_J2250.0+3825_daily_bin1699.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/1417/ltcube_679708801_679968001_4FGL_J2250.0+3825_daily_bin1699.fits
.....................!
real 145.12
user 140.88
sys 3.91

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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 163 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2250.0+3825 @ 342.514 38.4247

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/1417/ft1_filtered_4FGL_J2250.0+3825_daily_bin1699.fits scfile=/scratch/kocevski/1417/ft2_4FGL_J2250.0+3825_daily_bin1699.fits outfile=/scratch/kocevski/1417/cmap_679708801_679968001_4FGL_J2250.0+3825_daily_bin1699.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=342.514 yref=38.4247 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.50
user 0.29
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/1417/ft1_filtered_4FGL_J2250.0+3825_daily_bin1699.fits scfile=/scratch/kocevski/1417/ft2_4FGL_J2250.0+3825_daily_bin1699.fits outfile=/scratch/kocevski/1417/cmap_HighResolution_679708801_679968001_4FGL_J2250.0+3825_daily_bin1699.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=342.514 yref=38.4247 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.46
user 0.31
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/1417/ft1_filtered_4FGL_J2250.0+3825_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/1417/ft2_4FGL_J2250.0+3825_daily_bin1699.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/1417/Model_4FGL_J2250.0+3825_daily_bin1699.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/scratch/kocevski/1417/ft1_filtered_4FGL_J2250.0+3825_daily_bin1699.fits.....................!
real 118.26
user 116.97
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/1417/ft1_filtered_4FGL_J2250.0+3825_daily_bin1699.fits', '/scratch/kocevski/1417/ft2_4FGL_J2250.0+3825_daily_bin1699.fits', expMap='/scratch/kocevski/1417/expmap_679708801_679968001_4FGL_J2250.0+3825_daily_bin1699.fits', expCube='/scratch/kocevski/1417/ltcube_679708801_679968001_4FGL_J2250.0+3825_daily_bin1699.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/1417/Model_4FGL_J2250.0+3825_daily_bin1699.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2250.0+3825'

4FGL J2250.0+3825
   Spectrum: PowerLaw
363    Prefactor:  3.066e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
364        Index:  1.733e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
365        Scale:  5.055e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/1417/ft1_filtered_4FGL_J2250.0+3825_daily_bin1699.fits
Spacecraft file(s): /scratch/kocevski/1417/ft2_4FGL_J2250.0+3825_daily_bin1699.fits
Exposure map: /scratch/kocevski/1417/expmap_679708801_679968001_4FGL_J2250.0+3825_daily_bin1699.fits
Exposure cube: /scratch/kocevski/1417/ltcube_679708801_679968001_4FGL_J2250.0+3825_daily_bin1699.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/1417/Model_4FGL_J2250.0+3825_daily_bin1699.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) = 13008.0310301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.9673       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.050       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12299E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.1150       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.9870       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.1018       1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.288       1.0000         .10000E-03   10000.    
     8 'norm      '    5.1359       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10302E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    36.409       1.0000         .10000E-03   10000.    
    12 'norm      '    2.6902       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10764E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    17.672       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .76564       1.0000         .10000E-03   10000.    
    18 'norm      '    .11426E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2299       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86148       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13008.00     FROM MIGRAD    STATUS=CONVERGED    452 CALLS     2541 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.9671        1.1604        .63820E-08   -.80277E-04
   2  Prefactor     11.041        16.058        .18071E-06   -.12803E-04
   3  Prefactor     .10000E-03    16.737       -.13672E-06** at limit **
   4  norm          1.1155        1.2464        .90626E-06    .14774E-05
   5  Prefactor     9.9705        79.019       -.16184E-05   -.60139E-04
   6  Prefactor     2.1046        5.3759        .12620E-05    .15526E-04
   7  Prefactor     28.276        18.947       -.91612E-06   -.16318E-03
   8  norm          5.1354        4.2579       -.12883E-06   -.88109E-04
   9  Prefactor     .10000E-03    7.1491       -.23372E-06** at limit **
  10  Prefactor     .10000E-03    5.4041        .26110E-06** at limit **
  11  Prefactor     36.392        23.136       -.40887E-06   -.31071E-03
  12  norm          2.6900        1.3263        .33689E-07   -.34868E-03
  13  Prefactor     .10000E-03    4.2277       -.31239E-08** at limit **
  14  Prefactor     .10000E-03    11.415       -.10808E-06** at limit **
  15  norm          .10001E-03    2.6678        .52867E-06** at limit **
  16  norm          17.671        11.706        .28023E-07   -.79501E-04
  17  Prefactor     .71214        9.6754        .68438E-06   -.28605E-03
  18  norm          .10000E-03    1.0358        .24838E-06** at limit **
  19  Prefactor     .10000E-03    5.4020       -.13487E-06** at limit **
  20  Normalizat    1.2301        .20114       -.82741E-06   -.17294E-03
  21  Prefactor     .86148        .66728E-01    .26661E-07   -.43343E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.96713
  Prefactor  = 11.0412
  Prefactor  = 0.0001
  norm       = 1.11549
  Prefactor  = 9.97053
  Prefactor  = 2.10463
  Prefactor  = 28.2763
  norm       = 5.13541
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.3919
  norm       = 2.68999
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100008
  norm       = 17.6714
  Prefactor  = 0.712144
  norm       = 0.000100005
  Prefactor  = 0.0001
  Normalizat = 1.23006
  Prefactor  = 0.86148
 **********
 **   18 **HESSE 
 **********

 FCN=   13008.00     FROM HESSE     STATUS=OK           321 CALLS     2862 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.9671        1.1629        .41233E-04   -1.5109    
   2  Prefactor     11.041        15.973        .12052E-03   -1.5043    
   3  Prefactor     .10000E-03    16.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.1155        1.2501        .22308E-03   -1.5497    
   5  Prefactor     9.9705        79.617        .12680E-03   -1.5076    
   6  Prefactor     2.1046        5.2865        .28465E-03   -1.5418    
   7  Prefactor     28.276        18.967        .75326E-04   -1.4644    
   8  norm          5.1354        4.1725        .17153E-03   -1.5255    
   9  Prefactor     .10000E-03    7.1617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.5653        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     36.392        23.214        .33209E-03   -1.4501    
  12  norm          2.6900        1.3215        .88125E-04   -1.5380    
  13  Prefactor     .10000E-03    4.2459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10001E-03    8.6512        .32307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          17.671        11.650        .95273E-04   -1.4867    
  17  Prefactor     .71214        75.197        .60540E-02   -1.5539    
  18  norm          .10000E-03    8.2866        .22001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.4069        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2301        .23233        .40713E-03   -.85679    
  21  Prefactor     .86148        .77248E-01    .16259E-03   -.97500    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03805e-09
Minuit parameter uncertainties:
  1  1.16287
  2  15.9791
  3  1.69317e-05
  4  1.2501
  5  56.4528
  6  5.28771
  7  18.9712
  8  4.17274
  9  4.28754e-05
  10  4.07676e-05
  11  23.2193
  12  1.32152
  13  1.78685e-06
  14  4.29654e-05
  15  0.000528971
  16  11.6512
  17  14.6536
  18  0.000389154
  19  3.38883e-05
  20  0.232527
  21  0.077258
Done.

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

Extracting fit parameters...

4FGL J2250.0+3825
   Spectrum: PowerLaw
363    Prefactor:  1.000e-04  4.288e-05  1.000e-04  1.000e+04 ( 1.000e-14)
364        Index:  1.733e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
365        Scale:  5.055e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
550    Prefactor:  8.615e-01  7.726e-02  0.000e+00  1.000e+01 ( 1.000e+00)
551        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
552        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.230e+00  2.325e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 342.514 38.425
Photon Flux Upper Limit: 3.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/1417/likelihoodResults_679708801_679968001_4FGL_J2250.0+3825_daily_bin1699.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) = 13007.9996101
delta logL = -0.000665561909045

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13007.9989446
delta logL = 2.69756128546e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.7294       1.0000          .0000       10.000    
     3 'Normalizat'    1.2301       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86148       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13008.00     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      211 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.007        .90712E-02** at limit **
   2  Index         1.7263        5.2397        .50000        .30923E-05
   3  Normalizat    1.2301        .98297E-02    .91917E-01    .28427E-04
   4  Prefactor     .86148        .33691E-02    .44512E-01   -.48444E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.72629
  Normalizat = 1.23006
  Prefactor  = 0.86148
 **********
 **   18 **HESSE 
 **********

 FCN=   13008.00     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      244 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1253.8        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7263        5.8469        .50000       -.71384    
   3  Normalizat    1.2301        .10346        .40712E-03   -.85679    
   4  Prefactor     .86148        .35537E-01    .16259E-03   -.97500    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.78089e-09
Minuit parameter uncertainties:
  1  4.86981e-06
  2  51.1616
  3  0.103474
  4  0.0355376
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/1417': 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) = 13007.9989446
delta logL = 5.31508703716e-09

Extracting fit parameters...

4FGL J2250.0+3825
   Spectrum: PowerLaw
363    Prefactor:  1.000e-04  4.870e-06  1.000e-04  1.000e+04 ( 1.000e-14)
364        Index:  1.726e+00  5.116e+01  0.000e+00  1.000e+01 (-1.000e+00)
365        Scale:  5.055e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
550    Prefactor:  8.615e-01  3.554e-02  0.000e+00  1.000e+01 ( 1.000e+00)
551        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
552        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.230e+00  1.035e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 342.514 38.425

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/1417/cmap_HighResolution_679708801_679968001_4FGL_J2250.0+3825_daily_bin1699.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.91e-03', job_status='DONE', photon_flux_upper_limit='3.97e-08', time_completed='2022-07-20 00:49:59.461369', job_id='1417', GAL2='0.86', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1658303399.46', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='5.32e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.73' WHERE bin_id='1699' AND source_name='4FGL J2250.0+3825' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 20 00:49:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 1417: <4FGL_J2250.0+3825_daily_bin1699> in cluster <slac> Done

Job <4FGL_J2250.0+3825_daily_bin1699> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jul 20 00:35:43 2022
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 20 00:35:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 20 00:35:44 2022
Terminated at Wed Jul 20 00:50:00 2022
Results reported at Wed Jul 20 00:50:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.0+3825_daily_bin1699 342.514 38.4247 679708801 679968001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2250.0+3825 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   783.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             352.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   855 sec.
    Turnaround time :                            857 sec.

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

