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


Performing analysis on: 4FGL_J2250.7-2806_daily_bin1664
RA = 342.69, Dec = -28.1114
tmin = 670636801, tmax = 670896001
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='316817', job_status='RUN', time_executed='2022-04-06 00:36:37.894698', time_epoch_executed='1649230597.89' WHERE source_name='4FGL J2250.7-2806' and cadence='daily' and bin_id='1664'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/316817

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/316817/ft1_4FGL_J2250.7-2806_daily_bin1664.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/316817/ft2_4FGL_J2250.7-2806_daily_bin1664.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/316817/ft1_4FGL_J2250.7-2806_daily_bin1664.fits outfile=/scratch/kocevski/316817/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin1664.fits ra=342.69 dec=-28.1114 rad=12.0 tmin=670636801.0 tmax=670896001.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 5.42
user 5.12
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/316817/ft2_4FGL_J2250.7-2806_daily_bin1664.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/316817/ft2_4FGL_J2250.7-2806_daily_bin1664.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/316817/ft1_filteredMKT_4FGL_J2250.7-2806_daily_bin1664.fits evtable="EVENTS" outfile="/scratch/kocevski/316817/ft1_filtered_4FGL_J2250.7-2806_daily_bin1664.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.34
sys 0.14

Number of photons that the gtmktime cut: 596

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/316817/ft1_filtered_4FGL_J2250.7-2806_daily_bin1664.fits" evtable="EVENTS" scfile=/scratch/kocevski/316817/ft2_4FGL_J2250.7-2806_daily_bin1664.fits sctable="SC_DATA" outfile=/scratch/kocevski/316817/ltcube_670636801_670896001_4FGL_J2250.7-2806_daily_bin1664.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/316817/ft2_4FGL_J2250.7-2806_daily_bin1664.fits
.....................!
real 11.72
user 11.35
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/316817/ft1_filtered_4FGL_J2250.7-2806_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/316817/ft2_4FGL_J2250.7-2806_daily_bin1664.fits sctable="SC_DATA" expcube=/scratch/kocevski/316817/ltcube_670636801_670896001_4FGL_J2250.7-2806_daily_bin1664.fits outfile=/scratch/kocevski/316817/expmap_670636801_670896001_4FGL_J2250.7-2806_daily_bin1664.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/316817/ltcube_670636801_670896001_4FGL_J2250.7-2806_daily_bin1664.fits
.....................!
real 192.08
user 185.86
sys 5.76

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

Setting source of interest to:
4FGL J2250.7-2806 @ 342.69 -28.1114

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/316817/ft1_filtered_4FGL_J2250.7-2806_daily_bin1664.fits scfile=/scratch/kocevski/316817/ft2_4FGL_J2250.7-2806_daily_bin1664.fits outfile=/scratch/kocevski/316817/cmap_670636801_670896001_4FGL_J2250.7-2806_daily_bin1664.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.69 yref=-28.1114 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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/316817/ft1_filtered_4FGL_J2250.7-2806_daily_bin1664.fits scfile=/scratch/kocevski/316817/ft2_4FGL_J2250.7-2806_daily_bin1664.fits outfile=/scratch/kocevski/316817/cmap_HighResolution_670636801_670896001_4FGL_J2250.7-2806_daily_bin1664.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.69 yref=-28.1114 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/316817/ft1_filtered_4FGL_J2250.7-2806_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/316817/ft2_4FGL_J2250.7-2806_daily_bin1664.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/316817/Model_4FGL_J2250.7-2806_daily_bin1664.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/316817/ft1_filtered_4FGL_J2250.7-2806_daily_bin1664.fits.....................!
real 50.55
user 49.27
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/316817/ft1_filtered_4FGL_J2250.7-2806_daily_bin1664.fits', '/scratch/kocevski/316817/ft2_4FGL_J2250.7-2806_daily_bin1664.fits', expMap='/scratch/kocevski/316817/expmap_670636801_670896001_4FGL_J2250.7-2806_daily_bin1664.fits', expCube='/scratch/kocevski/316817/ltcube_670636801_670896001_4FGL_J2250.7-2806_daily_bin1664.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/316817/Model_4FGL_J2250.7-2806_daily_bin1664.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2250.7-2806'

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  4.101e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.049e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  9.524e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  8.845e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/316817/ft1_filtered_4FGL_J2250.7-2806_daily_bin1664.fits
Spacecraft file(s): /scratch/kocevski/316817/ft2_4FGL_J2250.7-2806_daily_bin1664.fits
Exposure map: /scratch/kocevski/316817/expmap_670636801_670896001_4FGL_J2250.7-2806_daily_bin1664.fits
Exposure cube: /scratch/kocevski/316817/ltcube_670636801_670896001_4FGL_J2250.7-2806_daily_bin1664.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/316817/Model_4FGL_J2250.7-2806_daily_bin1664.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) = 6471.13758581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .70767       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10421E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.640       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .11785E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    102.03       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.044       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.808       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.651       1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13645E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.2327       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .19489E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.5527       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .23409E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2033       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .56525       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6471.126     FROM MIGRAD    STATUS=CONVERGED    550 CALLS     2764 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .70773        .29368        .95338E-08   -.45823E-04
   2  Prefactor     .10000E-03    3.1873        .22391E-07** at limit **
   3  Prefactor     .10000E-03    9.3845        .12612E-05** at limit **
   4  Prefactor     .10000E-03    2.3121        .61146E-07** at limit **
   5  norm          .10000E-03    7.2092        .17048E-06** at limit **
   6  Prefactor     .10000E-03    8.5782       -.88205E-06** at limit **
   7  Prefactor     17.629        10.334       -.46020E-06    .80153E-04
   8  Prefactor     .10000E-03    17.236       -.23025E-05** at limit **
   9  norm          .10000E-03    2.0553       -.14524E-05** at limit **
  10  Prefactor     101.95        42.650       -.12499E-05    .22487E-04
  11  Prefactor     17.044        10.814        .14900E-06   -.30400E-04
  12  norm          .10000E-03    1.5432        .98135E-07** at limit **
  13  Prefactor     12.784        12.356       -.34379E-06   -.14561E-03
  14  Prefactor     11.658        8.1012       -.37128E-06   -.45936E-03
  15  norm          .10000E-03    .20196        .25074E-06** at limit **
  16  Prefactor     .10000E-03    22.272        .41908E-05** at limit **
  17  Prefactor     .10000E-03    2.0592        .86446E-07** at limit **
  18  norm          5.2313        5.4437        .28301E-06   -.19000E-04
  19  Prefactor     .10000E-03    39.373       -.17981E-05** at limit **
  20  norm          5.5525        3.4993        .11872E-06   -.50166E-06
  21  Prefactor     .10000E-03    18.509       -.13030E-06** at limit **
  22  Prefactor     .10000E-03    37.536       -.11357E-05** at limit **
  23  Normalizat    1.2033        .16200       -.16804E-06   -.36491E-04
  24  Prefactor     .56514        .14904       -.13034E-05    .21753E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.707735
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.6291
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 101.952
  Prefactor  = 17.0438
  norm       = 0.0001
  Prefactor  = 12.784
  Prefactor  = 11.6577
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.23129
  Prefactor  = 0.0001
  norm       = 5.55255
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.20333
  Prefactor  = 0.565136
 **********
 **   18 **HESSE 
 **********

 FCN=   6471.126     FROM HESSE     STATUS=OK           397 CALLS     3161 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .70773        .29513        .27335E-04   -1.5540    
   2  Prefactor     .10000E-03    3.1895        .14026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.4253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.3251        .11945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    7.2236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.5610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.629        10.310        .95360E-04   -1.4868    
   8  Prefactor     .10000E-03    17.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.0548        .17093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     101.95        42.583        .19902E-03   -1.3685    
  11  Prefactor     17.044        10.847        .97013E-04   -1.4882    
  12  norm          .10000E-03    1.5698        .97545E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.784        12.386        .11193E-03   -1.4993    
  14  Prefactor     11.658        7.8322        .11736E-03   -1.5025    
  15  norm          .10000E-03    .28208        .66812E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    21.954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.0624        .11272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.2313        5.4399        .17572E-03   -1.5250    
  19  Prefactor     .10000E-03    39.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.5525        3.5020        .11460E-03   -1.5237    
  21  Prefactor     .10000E-03    18.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    37.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2033        .18737        .20856E-03   -.86500    
  24  Prefactor     .56514        .17084        .27848E-03   -1.0907    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1788e-10
Minuit parameter uncertainties:
  1  0.295129
  2  2.69203e-06
  3  1.0535e-05
  4  4.91605e-06
  5  4.53616e-06
  6  3.84633e-05
  7  10.3111
  8  0.000142634
  9  9.78218e-06
  10  42.5958
  11  10.8487
  12  7.80458e-06
  13  12.3881
  14  7.83293
  15  7.3413e-06
  16  0.000145634
  17  5.20881e-06
  18  5.44043
  19  0.000178261
  20  3.50212
  21  1.88404e-05
  22  8.16856e-05
  23  0.187476
  24  0.170995
Done.

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

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.000e-04  7.805e-06  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.049e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  9.524e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  8.845e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  5.651e-01  1.710e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  1.203e+00  1.875e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 342.690 -28.111
Photon Flux Upper Limit: 4.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.18e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/316817/likelihoodResults_670636801_670896001_4FGL_J2250.7-2806_daily_bin1664.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) = 6471.12882503
delta logL = -0.00301299150578

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6471.12581205
delta logL = -1.35178197525e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0410       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2034       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56515       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+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=   6471.126     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      234 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.6305        .97762E-03** at limit **
   2  alpha         1.8578        4.0687        .16826E-01   -.22568E-06
   3  Normalizat    1.2033        .17803        .20856E-03    .34342E-05
   4  Prefactor     .56514        .16906        .27848E-03    .47356E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.85782
  Normalizat = 1.20333
  Prefactor  = 0.565136
 **********
 **   18 **HESSE 
 **********

 FCN=   6471.126     FROM HESSE     STATUS=OK            23 CALLS      257 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.6185        .19552E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8578        4.0256        .67303E-03   -.25978    
   3  Normalizat    1.2033        .17816        .83423E-05   -.86500    
   4  Prefactor     .56514        .16919        .11139E-04   -1.0907    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54583e-10
Minuit parameter uncertainties:
  1  5.30892e-06
  2  131.551
  3  0.178254
  4  0.169339
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/316817': 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) = 6471.12581108
delta logL = 9.53389644565e-07

Extracting fit parameters...

4FGL J2250.7-2806
   Spectrum: LogParabola
311         norm:  1.000e-04  5.309e-06  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  1.858e+00  1.316e+02  0.000e+00  5.000e+00 ( 1.000e+00)
313         beta:  9.524e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  8.845e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  5.651e-01  1.693e-01  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
547   Normalization:  1.203e+00  1.783e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 342.690 -28.111

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/316817/cmap_HighResolution_670636801_670896001_4FGL_J2250.7-2806_daily_bin1664.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.18e-05', job_status='DONE', photon_flux_upper_limit='4.11e-08', time_completed='2022-04-06 00:48:06.037524', job_id='316817', GAL2='0.57', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1649231286.04', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='9.53e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='1664' AND source_name='4FGL J2250.7-2806' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr  6 00:48:06 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 316817: <4FGL_J2250.7-2806_daily_bin1664> in cluster <slac> Done

Job <4FGL_J2250.7-2806_daily_bin1664> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Apr  6 00:35:52 2022
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr  6 00:35:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr  6 00:35:54 2022
Terminated at Wed Apr  6 00:48:06 2022
Results reported at Wed Apr  6 00:48:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2250.7-2806_daily_bin1664 342.69 -28.1114 670636801 670896001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2250.7-2806 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   690.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             337.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            734 sec.

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

