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


Performing analysis on: 4FGL_J0250.6+1712_daily_bin1722
RA = 42.6563, Dec = 17.2081
tmin = 685670401, tmax = 685929601
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='229552', job_status='RUN', time_executed='2022-09-27 00:06:56.173682', time_epoch_executed='1664262416.17' WHERE source_name='4FGL J0250.6+1712' and cadence='daily' and bin_id='1722'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/229552

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/229552/ft1_4FGL_J0250.6+1712_daily_bin1722.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/229552/ft2_4FGL_J0250.6+1712_daily_bin1722.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/229552/ft1_4FGL_J0250.6+1712_daily_bin1722.fits outfile=/scratch/kocevski/229552/ft1_filteredMKT_4FGL_J0250.6+1712_daily_bin1722.fits ra=42.6563 dec=17.2081 rad=12.0 tmin=685670401.0 tmax=685929601.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.69
user 3.43
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/229552/ft2_4FGL_J0250.6+1712_daily_bin1722.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/229552/ft2_4FGL_J0250.6+1712_daily_bin1722.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/229552/ft1_filteredMKT_4FGL_J0250.6+1712_daily_bin1722.fits evtable="EVENTS" outfile="/scratch/kocevski/229552/ft1_filtered_4FGL_J0250.6+1712_daily_bin1722.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 865

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/229552/ft1_filtered_4FGL_J0250.6+1712_daily_bin1722.fits" evtable="EVENTS" scfile=/scratch/kocevski/229552/ft2_4FGL_J0250.6+1712_daily_bin1722.fits sctable="SC_DATA" outfile=/scratch/kocevski/229552/ltcube_685670401_685929601_4FGL_J0250.6+1712_daily_bin1722.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/229552/ft2_4FGL_J0250.6+1712_daily_bin1722.fits
.....................!
real 14.40
user 14.01
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/229552/ft1_filtered_4FGL_J0250.6+1712_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/229552/ft2_4FGL_J0250.6+1712_daily_bin1722.fits sctable="SC_DATA" expcube=/scratch/kocevski/229552/ltcube_685670401_685929601_4FGL_J0250.6+1712_daily_bin1722.fits outfile=/scratch/kocevski/229552/expmap_685670401_685929601_4FGL_J0250.6+1712_daily_bin1722.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/229552/ltcube_685670401_685929601_4FGL_J0250.6+1712_daily_bin1722.fits
.....................!
real 191.19
user 185.65
sys 5.08

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

Setting source of interest to:
4FGL J0250.6+1712 @ 42.6563 17.2081

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/229552/ft1_filtered_4FGL_J0250.6+1712_daily_bin1722.fits scfile=/scratch/kocevski/229552/ft2_4FGL_J0250.6+1712_daily_bin1722.fits outfile=/scratch/kocevski/229552/cmap_685670401_685929601_4FGL_J0250.6+1712_daily_bin1722.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=42.6563 yref=17.2081 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/229552/ft1_filtered_4FGL_J0250.6+1712_daily_bin1722.fits scfile=/scratch/kocevski/229552/ft2_4FGL_J0250.6+1712_daily_bin1722.fits outfile=/scratch/kocevski/229552/cmap_HighResolution_685670401_685929601_4FGL_J0250.6+1712_daily_bin1722.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=42.6563 yref=17.2081 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.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/229552/ft1_filtered_4FGL_J0250.6+1712_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/229552/ft2_4FGL_J0250.6+1712_daily_bin1722.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/229552/Model_4FGL_J0250.6+1712_daily_bin1722.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/229552/ft1_filtered_4FGL_J0250.6+1712_daily_bin1722.fits.....................!
real 130.41
user 128.90
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/229552/ft1_filtered_4FGL_J0250.6+1712_daily_bin1722.fits', '/scratch/kocevski/229552/ft2_4FGL_J0250.6+1712_daily_bin1722.fits', expMap='/scratch/kocevski/229552/expmap_685670401_685929601_4FGL_J0250.6+1712_daily_bin1722.fits', expCube='/scratch/kocevski/229552/ltcube_685670401_685929601_4FGL_J0250.6+1712_daily_bin1722.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/229552/Model_4FGL_J0250.6+1712_daily_bin1722.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0250.6+1712'

4FGL J0250.6+1712
   Spectrum: PowerLaw
263    Prefactor:  2.518e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
264        Index:  1.840e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  4.243e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/229552/ft1_filtered_4FGL_J0250.6+1712_daily_bin1722.fits
Spacecraft file(s): /scratch/kocevski/229552/ft2_4FGL_J0250.6+1712_daily_bin1722.fits
Exposure map: /scratch/kocevski/229552/expmap_685670401_685929601_4FGL_J0250.6+1712_daily_bin1722.fits
Exposure cube: /scratch/kocevski/229552/ltcube_685670401_685929601_4FGL_J0250.6+1712_daily_bin1722.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/229552/Model_4FGL_J0250.6+1712_daily_bin1722.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) = 9259.89947312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5979       1.0000          .0000       .10000E+07
     2 'norm      '    3.2399       1.0000          .0000       .10000E+07
     3 'Prefactor '    .47403E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.4822       1.0000          .0000       .10000E+07
     5 'norm      '    .50015       1.0000          .0000       .10000E+07
     6 'Prefactor '    68.276       1.0000          .0000       .10000E+07
     7 'Prefactor '    66.217       1.0000          .0000       .10000E+07
     8 'Prefactor '    .15057       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.6776       1.0000          .0000       .10000E+07
    10 'Prefactor '    .18434E-01   1.0000          .0000       .10000E+07
    11 'norm      '    3.6256       1.0000          .0000       .10000E+07
    12 'Prefactor '    .65064E-03   1.0000          .0000       .10000E+07
    13 'norm      '    1.2957       1.0000          .0000       .10000E+07
    14 'Prefactor '    .50722E-02   1.0000          .0000       .10000E+07
    15 'norm      '    8.4232       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.446       1.0000          .0000       .10000E+07
    17 'Prefactor '    150.88       1.0000          .0000       .10000E+07
    18 'Prefactor '    6.0713       1.0000          .0000       .10000E+07
    19 'Prefactor '    27.092       1.0000          .0000       .10000E+07
    20 'norm      '    .16240E-02   1.0000          .0000       .10000E+07
    21 'norm      '    1.0963       1.0000          .0000       .10000E+07
    22 'norm      '    4.3055       1.0000          .0000       .10000E+07
    23 'norm      '    .33094E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    4.3966       1.0000          .0000       .10000E+07
    25 'Prefactor '    4.3056       1.0000          .0000       .10000E+07
    26 'Prefactor '    .44744E-05   1.0000          .0000       .10000E+07
    27 'norm      '    2.5430       1.0000          .0000       .10000E+07
    28 'Normalizat'    .93698       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .91544       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9259.898     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     2801 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6056        3.9323       -.63003E-08   -.87288E-03
   2  norm          3.2489        4.8225       -.69270E-09   -.25310E-03
   3  Prefactor      .0000        2.6105        .25574E-07** at limit **
   4  Prefactor     4.4844        3.7878       -.19674E-08   -.55087E-03
   5  norm          .31880E-06    186.48        .82313E-06** at limit **
   6  Prefactor     68.453        5.8904        .87261E-08    .38243E-01
   7  Prefactor     66.048        24.126       -.10512E-06    .11442    
   8  Prefactor     .34356E-06    3.1632        .59026E-07** at limit **
   9  Prefactor     5.6749        9.0786        .37053E-09   -.21405E-02
  10  Prefactor      .0000        15.018        .20420E-07** at limit **
  11  norm          3.6253        3.1899        .35170E-08    .40701E-03
  12  Prefactor     .11102E-09    7.9525       -.73488E-07** at limit **
  13  norm          1.2950        .61127       -.87960E-08   -.34385E-02
  14  Prefactor     .21094E-08    35.074       -.16480E-06** at limit **
  15  norm          8.3993        5.5484        .33676E-07   -.38515E-01
  16  Prefactor     14.449        13.220       -.65264E-07    .21081E-01
  17  Prefactor     151.33        52.183        .14211E-06    .62975E-01
  18  Prefactor     6.0528        8.4631       -.11223E-06   -.21917E-01
  19  Prefactor     27.072        8.3316       -.37384E-07   -.43755E-01
  20  norm          .22204E-09    7.2639        .11488E-06** at limit **
  21  norm          1.1037        16.582       -.22243E-07   -.20241E-03
  22  norm          4.3249        4.2375       -.11993E-07   -.10020E-03
  23  norm          .17764E-08    5.1651       -.17823E-07** at limit **
  24  Prefactor     4.4084        6.7621       -.36010E-07   -.14024E-02
  25  Prefactor     4.2502        5.6463        .25162E-09   -.39957E-03
  26  Prefactor     .21094E-08    5.1913       -.49943E-07** at limit **
  27  norm          2.5488        2.1309       -.43908E-08    .46604E-04
  28  Normalizat    .93694        .25860       -.90578E-06    .57822E-04
  29  Prefactor     .91545        .89518E-01    .11292E-05    .24569E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.60563
  norm       = 3.24892
  Prefactor  = 0
  Prefactor  = 4.48443
  norm       = 3.18801e-07
  Prefactor  = 68.453
  Prefactor  = 66.0481
  Prefactor  = 3.43559e-07
  Prefactor  = 5.67491
  Prefactor  = 0
  norm       = 3.62529
  Prefactor  = 1.11022e-10
  norm       = 1.29498
  Prefactor  = 2.10942e-09
  norm       = 8.39925
  Prefactor  = 14.4486
  Prefactor  = 151.332
  Prefactor  = 6.05281
  Prefactor  = 27.0725
  norm       = 2.22045e-10
  norm       = 1.10367
  norm       = 4.32488
  norm       = 1.77636e-09
  Prefactor  = 4.40838
  Prefactor  = 4.25022
  Prefactor  = 2.10942e-09
  norm       = 2.54885
  Normalizat = 0.936937
  Prefactor  = 0.915446  **********
 **   18 **HESSE 
 **********

 FCN=   9259.898     FROM HESSE     STATUS=OK           615 CALLS     3416 TOTAL
                     EDM=   .40E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6056        3.9371        .39044E-03   -1.5657    
   2  norm          3.2489        4.8441        .56247E-03   -1.5672    
   3  Prefactor      .0000        2.6088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.4844        3.9166        .47535E-03   -1.5666    
   5  norm          .31880E-06    186.55        .78694E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     68.453        38.290        .12103E-03   -1.5542    
   7  Prefactor     66.048        94.857        .12290E-03   -1.5545    
   8  Prefactor     .34356E-06    69.564        .12731E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.6749        9.1682        .42133E-03   -1.5660    
  10  Prefactor      .0000        14.866        .17142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.6253        3.1943        .53035E-03   -1.5670    
  12  Prefactor     .11102E-09    8.0053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.2950        .62449        .97135E-03   -1.5685    
  14  Prefactor     .21094E-08    34.977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.3993        10.699        .34517E-03   -1.5650    
  16  Prefactor     14.449        15.823        .26327E-03   -1.5632    
  17  Prefactor     151.33        54.680        .81418E-04   -1.5462    
  18  Prefactor     6.0528        9.3144        .40724E-03   -1.5659    
  19  Prefactor     27.072        19.712        .19216E-03   -1.5604    
  20  norm          .22204E-09    7.2742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.1037        16.390        .11375E-02   -1.5687    
  22  norm          4.3249        4.2613        .48527E-03   -1.5666    
  23  norm          .17764E-08    5.2435        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     4.4084        6.7881        .48007E-03   -1.5666    
  25  Prefactor     4.2502        5.6881        .48526E-03   -1.5667    
  26  Prefactor     .21094E-08    5.3104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.5488        2.1478        .64011E-03   -1.5676    
  28  Normalizat    .93694        .24042        .97033E-01   -.95174    
  29  Prefactor     .91545        .79250E-01    .45202E-01   -.95603    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.03614e-06
Minuit parameter uncertainties:
  1  3.93709
  2  4.84412
  3  1.06503e-07
  4  3.91656
  5  0.0154237
  6  38.2901
  7  94.859
  8  0.00977782
  9  9.16819
  10  7.93458e-06
  11  3.19435
  12  6.29236e-05
  13  0.624495
  14  0.000545697
  15  10.699
  16  15.8227
  17  54.6797
  18  9.31441
  19  19.7117
  20  7.86423e-05
  21  8.50642
  22  4.26125
  23  0.000192435
  24  6.78807
  25  5.6881
  26  0.00021245
  27  2.14776
  28  0.240697
  29  0.07926
Done.

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

Extracting fit parameters...

4FGL J0250.6+1712
   Spectrum: PowerLaw
263    Prefactor:  2.707e+01  1.971e+01  0.000e+00  1.000e+06 ( 1.000e-14)
264        Index:  1.840e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  4.243e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  9.154e-01  7.926e-02  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  9.369e-01  2.407e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.45
Ra Dec: 42.656 17.208
Photon Index (Fixed Index): 1.84 +/- 0.00
Photon Flux (Fixed Index): 3.18e-08 +/- 2.31e-08
Energy Flux (Fixed Index): 3.38e-05 +/- 2.46e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9259.27148475
delta logL = 0.626296522165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9259.26914017
delta logL = 0.628641094956

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.778       1.0000          .0000       .10000E+07
     2 'Index     '    1.1653       1.0000          .0000       10.000    
     3 'Normalizat'    .94546       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91775       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+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=   9259.269     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      287 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.762        39.669        .73313E-05    .89941E-04
   2  Index         1.1649        .90134        .15035E-01   -.63062E-05
   3  Normalizat    .94565        .23587        .42831E-03    .11360E-04
   4  Prefactor     .91770        .87141E-01    .15852E-03   -.20238E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.7616
  Index      = 1.16488
  Normalizat = 0.945655
  Prefactor  = 0.917695
 **********
 **   18 **HESSE 
 **********

 FCN=   9259.269     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.762        42.397        .29325E-06   -1.5599    
   2  Index         1.1649        .96235        .60141E-03   -.87419    
   3  Normalizat    .94565        .23596        .17132E-04   -.94874    
   4  Prefactor     .91770        .87209E-01    .31705E-04   -.95525    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.76989e-11
Minuit parameter uncertainties:
  1  42.3972
  2  0.977397
  3  0.23622
  4  0.0872227
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/229552': 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) = 9259.26913975
delta logL = 0.62864151997

Extracting fit parameters...

4FGL J0250.6+1712
   Spectrum: PowerLaw
263    Prefactor:  2.976e+01  4.240e+01  0.000e+00  1.000e+06 ( 1.000e-14)
264        Index:  1.165e+00  9.774e-01  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  4.243e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  9.177e-01  8.722e-02  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  9.457e-01  2.362e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.70
Ra Dec: 42.656 17.208
Photon Index (Free Index): 1.16 +/- 0.98
Photon Flux (Free Index): 9.66e-09 +/- 2.13e-08
Energy Flux (Free Index): 8.95e-05 +/- 1.12e-04

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/229552/cmap_HighResolution_685670401_685929601_4FGL_J0250.6+1712_daily_bin1722.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.18e-08', energy_flux2='8.95e-05', photon_flux_error='2.31e-08', dlogl='6.29e-01', energy_flux='3.38e-05', photon_flux2='9.66e-09', job_status='DONE', time_completed='2022-09-27 00:20:57.200384', photon_index_error2='0.98', photon_index2='1.16', ts='12.45', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.12e-04', EG='0.94', time_epoch_completed='1664263257.2', return_code='0', job_id='229552', GAL2='0.92', EG2='0.95', return_code2='0', energy_flux_error='2.46e-05', photon_flux_error2='2.13e-08', ts2='13.70', photon_index='1.84' WHERE bin_id='1722' AND source_name='4FGL J0250.6+1712' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 27 00:20:57 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 229367: <4FGL_J0250.6+1712_daily_bin1722> in cluster <slac> Done

Job <4FGL_J0250.6+1712_daily_bin1722> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 27 00:05:06 2022
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 27 00:05:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 27 00:05:25 2022
Terminated at Tue Sep 27 00:20:28 2022
Results reported at Tue Sep 27 00:20:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0250.6+1712_daily_bin1722 42.6563 17.2081 685670401 685929601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0250.6+1712 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   843.45 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             345.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            922 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 229552: <4FGL_J0250.6+1712_daily_bin1722> in cluster <slac> Done

Job <4FGL_J0250.6+1712_daily_bin1722> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 27 00:05:20 2022
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 27 00:05:58 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 27 00:05:58 2022
Terminated at Tue Sep 27 00:20:58 2022
Results reported at Tue Sep 27 00:20:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0250.6+1712_daily_bin1722 42.6563 17.2081 685670401 685929601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0250.6+1712 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   843.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             375.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            938 sec.

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

