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


Performing analysis on: 4FGL_J0250.6+1712_daily_bin1673
RA = 42.6563, Dec = 17.2081
tmin = 672969601, tmax = 673228801
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='351290', job_status='RUN', time_executed='2022-05-03 00:13:56.859050', time_epoch_executed='1651562036.86' WHERE source_name='4FGL J0250.6+1712' and cadence='daily' and bin_id='1673'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/351290

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/351290/ft1_4FGL_J0250.6+1712_daily_bin1673.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/351290/ft2_4FGL_J0250.6+1712_daily_bin1673.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/351290/ft1_4FGL_J0250.6+1712_daily_bin1673.fits outfile=/scratch/kocevski/351290/ft1_filteredMKT_4FGL_J0250.6+1712_daily_bin1673.fits ra=42.6563 dec=17.2081 rad=12.0 tmin=672969601.0 tmax=673228801.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.20

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

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

Number of photons that the gtmktime cut: 19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/351290/ft1_filtered_4FGL_J0250.6+1712_daily_bin1673.fits" evtable="EVENTS" scfile=/scratch/kocevski/351290/ft2_4FGL_J0250.6+1712_daily_bin1673.fits sctable="SC_DATA" outfile=/scratch/kocevski/351290/ltcube_672969601_673228801_4FGL_J0250.6+1712_daily_bin1673.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/351290/ft2_4FGL_J0250.6+1712_daily_bin1673.fits
.....................!
real 16.80
user 16.37
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/351290/ft1_filtered_4FGL_J0250.6+1712_daily_bin1673.fits evtable="EVENTS" scfile=/scratch/kocevski/351290/ft2_4FGL_J0250.6+1712_daily_bin1673.fits sctable="SC_DATA" expcube=/scratch/kocevski/351290/ltcube_672969601_673228801_4FGL_J0250.6+1712_daily_bin1673.fits outfile=/scratch/kocevski/351290/expmap_672969601_673228801_4FGL_J0250.6+1712_daily_bin1673.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/351290/ltcube_672969601_673228801_4FGL_J0250.6+1712_daily_bin1673.fits
.....................!
real 192.45
user 187.11
sys 4.89

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/351290/ft1_filtered_4FGL_J0250.6+1712_daily_bin1673.fits scfile=/scratch/kocevski/351290/ft2_4FGL_J0250.6+1712_daily_bin1673.fits outfile=/scratch/kocevski/351290/cmap_672969601_673228801_4FGL_J0250.6+1712_daily_bin1673.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.61
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/351290/ft1_filtered_4FGL_J0250.6+1712_daily_bin1673.fits scfile=/scratch/kocevski/351290/ft2_4FGL_J0250.6+1712_daily_bin1673.fits outfile=/scratch/kocevski/351290/cmap_HighResolution_672969601_673228801_4FGL_J0250.6+1712_daily_bin1673.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.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/351290/ft1_filtered_4FGL_J0250.6+1712_daily_bin1673.fits', '/scratch/kocevski/351290/ft2_4FGL_J0250.6+1712_daily_bin1673.fits', expMap='/scratch/kocevski/351290/expmap_672969601_673228801_4FGL_J0250.6+1712_daily_bin1673.fits', expCube='/scratch/kocevski/351290/ltcube_672969601_673228801_4FGL_J0250.6+1712_daily_bin1673.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/351290/Model_4FGL_J0250.6+1712_daily_bin1673.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  1.000e-04  1.000e+04 ( 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/351290/ft1_filtered_4FGL_J0250.6+1712_daily_bin1673.fits
Spacecraft file(s): /scratch/kocevski/351290/ft2_4FGL_J0250.6+1712_daily_bin1673.fits
Exposure map: /scratch/kocevski/351290/expmap_672969601_673228801_4FGL_J0250.6+1712_daily_bin1673.fits
Exposure cube: /scratch/kocevski/351290/ltcube_672969601_673228801_4FGL_J0250.6+1712_daily_bin1673.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/351290/Model_4FGL_J0250.6+1712_daily_bin1673.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) = 238.621263383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.268       1.0000         .10000E-03   10000.    
     2 'norm      '    .33876E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    85.755       1.0000         .10000E-03   10000.    
     5 'norm      '    218.04       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7979.7       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.1217       1.0000         .10000E-03   10000.    
     8 'Prefactor '    46.550       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.7930       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .50042E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .40253E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.1274       1.0000         .10000E-03   10000.    
    13 'norm      '    8140.3       1.0000         .10000E-03   10000.    
    14 'Prefactor '    29.236       1.0000         .10000E-03   10000.    
    15 'norm      '    9993.7       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.4308       1.0000         .10000E-03   10000.    
    17 'norm      '    7.2971       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1897.7       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.3034       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8769.5       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5557.8       1.0000         .10000E-03   10000.    
    22 'norm      '    915.88       1.0000         .10000E-03   10000.    
    23 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10183E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    273.05       1.0000         .10000E-03   10000.    
    27 'Prefactor '    19.302       1.0000         .10000E-03   10000.    
    28 'Prefactor '    30.063       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10460E-03   1.0000         .10000E-03   10000.    
    31 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    32 'Prefactor '    .31257       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=   222.2327     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     3702 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.801        32.731        .75936E-06   -.44461E-04
   2  norm          .10000E-03    119.44       -.27334E-04** at limit **
   3  Prefactor     .10000E-03    80.765        .22563E-06** at limit **
   4  Prefactor     79.187        86.690       -.13116E-04   -.17513E-03
   5  norm          .25604        6918.6        .17671E-03    .55490E-02
   6  Prefactor     9950.0        2115.2       -.30490E-04    .40502E-01
   7  Prefactor     .10000E-03    716.95       -.51843E-06** at limit **
   8  Prefactor     862.78        7314.7        .58885E-03    .21362E-02
   9  Prefactor     .10020E-03    9501.3        .99684E-05** at limit **
  10  Prefactor     .10138E-03    9957.3        .25757E-04** at limit **
  11  Prefactor     .10000E-03    493.20        .15344E-05** at limit **
  12  Prefactor     .10000E-03    715.44        .89304E-06** at limit **
  13  norm          9997.8        1903.4        .29338E-06   -.29388E-01
  14  Prefactor     9922.7        9193.3       -.35641E-03    .47820E-02
  15  norm         10000.0        1803.7        .98033E-04** at limit **
  16  Prefactor     9962.9        6210.5        .39553E-04    .46558E-03
  17  norm          9940.3        8894.0       -.44704E-03    .14028E-02
  18  Prefactor     4476.0        3269.1       -.83071E-05   -.85417E-01
  19  Prefactor     7791.3        5957.6       -.14606E-03    .77695E-02
  20  Prefactor     9995.9        2189.8        .27176E-04    .32262E-01
  21  Prefactor     7952.0        2312.8       -.90437E-05   -.91438E-01
  22  norm          1212.3        538.52        .28553E-05    .40557E-02
  23  norm          .10000E-03    92.234        .88842E-06** at limit **
  24  norm          .10000E-03    41.632        .19942E-06** at limit **
  25  norm          .10000E-03    58.597       -.34521E-06** at limit **
  26  Prefactor     .28736E-02    2004.0       -.16053E-04   -.12253E-02
  27  Prefactor     20.787        45.201       -.11948E-05    .52212E-04
  28  Prefactor     29.695        42.568       -.83591E-06   -.20005E-05
  29  Prefactor     .10000E-03    75.855       -.25872E-07** at limit **
  30  norm          .10000E-03    11.805       -.24412E-06** at limit **
  31  Normalizat    .10000E-01    .31070       -.10193E-04** at limit **
  32  Prefactor     .29891        .18114        .51651E-05   -.55299E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.8012
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 79.1867
  norm       = 0.256036
  Prefactor  = 9949.97
  Prefactor  = 0.0001
  Prefactor  = 862.776
  Prefactor  = 0.000100201
  Prefactor  = 0.000101376
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9997.8
  Prefactor  = 9922.65
  norm       = 10000
  Prefactor  = 9962.9
  norm       = 9940.26
  Prefactor  = 4475.99
  Prefactor  = 7791.28
  Prefactor  = 9995.9
  Prefactor  = 7952.05
  norm       = 1212.31
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.00287362
  Prefactor  = 20.7871
  Prefactor  = 29.6952
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.29891
 **********
 **   18 **HESSE 
 **********

 FCN=   222.2327     FROM HESSE     STATUS=OK           697 CALLS     4399 TOTAL
                     EDM=   .17E-01    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.801        32.902        .16870E-02   -1.4545    
   2  norm          .10000E-03    113.12        .91911E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    78.004        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     79.187        68.744        .10845E-02   -1.3926    
   5  norm          .25604        1522.5        .68473E-03   -1.5607    
   6  Prefactor     9950.0        1789.7        .24906E-03    1.7124    
   7  Prefactor     .10000E-03    554.12        .44413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     862.78        2218.6        .14692E-02   -.97454    
   9  Prefactor     .10020E-03    1987.5        .78083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10138E-03    2106.6        .92703E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    415.98        .10630E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    554.52        .11018E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          9997.8        1199.8        .25702E-03    1.5411    
  14  Prefactor     9922.7        2193.9        .18524E-02    1.7469    
  15  norm         10000.0        1050.9        .39910E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9962.9        2258.1        .47827E-02    1.6927    
  17  norm          9940.3        2237.3        .37120E-02    1.7255    
  18  Prefactor     4476.0        6971.7        .25502E-03   -.10499    
  19  Prefactor     7791.3        3476.5        .32848E-02    2.5493    
  20  Prefactor     9995.9        1322.2        .30442E-03    1.6113    
  21  Prefactor     7952.0        3314.1        .20126E-03    .63157    
  22  norm          1212.3        2519.2        .34669E-03   -.85953    
  23  norm          .10000E-03    88.749        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    40.801        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    57.091        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .28736E-02    1108.1        .61361E-03   -1.5718    
  27  Prefactor     20.787        44.012        .22791E-02   -1.4796    
  28  Prefactor     29.695        42.701        .18268E-02   -1.4618    
  29  Prefactor     .10000E-03    72.760        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    11.426        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    .10000E-01    .27536        .11690       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .29891        .17822        .36975E-01   -1.2233    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.0174456
Minuit parameter uncertainties:
  1  32.9196
  2  0.000125435
  3  4.90147e-06
  4  68.8129
  5  40.5575
  6  619.712
  7  0.000287219
  8  2558.11
  9  0.0414525
  10  0.111877
  11  0.000216991
  12  3.22718e-05
  13  104.997
  14  861.382
  15  0.0590303
  16  604.53
  17  764.362
  18  4972.52
  19  4122.19
  20  150.801
  21  3888.56
  22  2877.87
  23  6.6427e-05
  24  2.10626e-06
  25  1.17785e-05
  26  3.57454
  27  44.0812
  28  42.7452
  29  2.46811e-05
  30  8.97313e-05
  31  2.72319e-06
  32  0.178551
Done.

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

Extracting fit parameters...

4FGL J0250.6+1712
   Spectrum: PowerLaw
263    Prefactor:  7.952e+03  3.889e+03  1.000e-04  1.000e+04 ( 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:  2.989e-01  1.786e-01  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:  1.000e-02  2.723e-06  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 1.09174436602e-07

TS (Fixed Index): 0.46
Ra Dec: 42.656 17.208
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.40e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/351290/likelihoodResults_672969601_673228801_4FGL_J0250.6+1712_daily_bin1673.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) = 215.876460131
delta logL = 6.35619686174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 215.876460105
delta logL = 6.35619688735

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    3.5103       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=   215.8765     FROM MIGRAD    STATUS=CONVERGED     12 CALLS       69 TOTAL
                     EDM=   .25E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       3.5103        .15803         .0000        .67789E-05
                               ERR DEF=  .500    
Final values: 
  Index      = 3.51027
 **********
 **   18 **HESSE 
 **********

 FCN=   215.8765     FROM HESSE     STATUS=OK             7 CALLS       76 TOTAL
                     EDM=   .32E-16    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       3.5103        .15826        .47570E-04   -.30254    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24511e-17
Minuit parameter uncertainties:
  1  0.158286
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/351290': 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) = 215.876460105
delta logL = 6.35619688735

Extracting fit parameters...

4FGL J0250.6+1712
   Spectrum: PowerLaw
263    Prefactor:  1.000e+04  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14) fixed
264        Index:  3.510e+00  1.583e-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:  2.983e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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:  1.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 12.88
Ra Dec: 42.656 17.208
Photon Index (Free Index): 3.51 +/- 0.16
Photon Flux (Free Index): 2.06e-03 +/- 1.09e-03
Energy Flux (Free Index): 3.43e-01 +/- 1.67e-01

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/351290/cmap_HighResolution_672969601_673228801_4FGL_J0250.6+1712_daily_bin1673.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.40e+04', comment='SUCCESS', energy_flux2='3.43e-01', dlogl='6.36e+00', photon_flux2='2.06e-03', job_status='DONE', time_completed='2022-05-03 00:19:46.339439', photon_index_error2='0.16', photon_index2='3.51', ts='0.37', fit_tolerance='1e-08', GAL='0.30', photon_index_error='0.00', photon_flux_upper_limit='-1.00e+00', energy_flux_error2='1.67e-01', EG='0.01', time_epoch_completed='1651562386.34', return_code='0', job_id='351290', GAL2='0.30', EG2='0.01', return_code2='0', photon_flux_error2='1.09e-03', ts2='12.88', photon_index='1.84' WHERE bin_id='1673' AND source_name='4FGL J0250.6+1712' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue May  3 00:19:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 351187: <4FGL_J0250.6+1712_daily_bin1673> in cluster <slac> Done

Job <4FGL_J0250.6+1712_daily_bin1673> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue May  3 00:05:39 2022
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 00:08:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 00:08:07 2022
Terminated at Tue May  3 00:17:22 2022
Results reported at Tue May  3 00:17:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0250.6+1712_daily_bin1673 42.6563 17.2081 672969601 673228801 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 :                                   352.14 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             199.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   554 sec.
    Turnaround time :                            703 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 351290: <4FGL_J0250.6+1712_daily_bin1673> in cluster <slac> Done

Job <4FGL_J0250.6+1712_daily_bin1673> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue May  3 00:05:44 2022
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 00:10:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 00:10:26 2022
Terminated at Tue May  3 00:19:47 2022
Results reported at Tue May  3 00:19:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0250.6+1712_daily_bin1673 42.6563 17.2081 672969601 673228801 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 :                                   352.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             221.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   560 sec.
    Turnaround time :                            843 sec.

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

