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


Performing analysis on: 4FGL_J0253.5+3216_daily_bin1750
RA = 43.3829, Dec = 32.2826
tmin = 692928001, tmax = 693187201
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='997204', job_status='RUN', time_executed='2022-12-20 00:05:44.739839', time_epoch_executed='1671523544.74' WHERE source_name='4FGL J0253.5+3216' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/997204

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/997204/ft1_4FGL_J0253.5+3216_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/997204/ft2_4FGL_J0253.5+3216_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/997204/ft1_4FGL_J0253.5+3216_daily_bin1750.fits outfile=/scratch/kocevski/997204/ft1_filteredMKT_4FGL_J0253.5+3216_daily_bin1750.fits ra=43.3829 dec=32.2826 rad=12.0 tmin=692928001.0 tmax=693187201.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.49
user 3.20
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/997204/ft2_4FGL_J0253.5+3216_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/997204/ft2_4FGL_J0253.5+3216_daily_bin1750.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/997204/ft1_filteredMKT_4FGL_J0253.5+3216_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/997204/ft1_filtered_4FGL_J0253.5+3216_daily_bin1750.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.55
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 1046

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/997204/ft1_filtered_4FGL_J0253.5+3216_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/997204/ft2_4FGL_J0253.5+3216_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/997204/ltcube_692928001_693187201_4FGL_J0253.5+3216_daily_bin1750.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/997204/ft2_4FGL_J0253.5+3216_daily_bin1750.fits
.....................!
real 13.99
user 13.55
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/997204/ft1_filtered_4FGL_J0253.5+3216_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/997204/ft2_4FGL_J0253.5+3216_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/997204/ltcube_692928001_693187201_4FGL_J0253.5+3216_daily_bin1750.fits outfile=/scratch/kocevski/997204/expmap_692928001_693187201_4FGL_J0253.5+3216_daily_bin1750.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/997204/ltcube_692928001_693187201_4FGL_J0253.5+3216_daily_bin1750.fits
.....................!
real 191.37
user 185.21
sys 5.46

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

Setting source of interest to:
4FGL J0253.5+3216 @ 43.3829 32.2826

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/997204/ft1_filtered_4FGL_J0253.5+3216_daily_bin1750.fits scfile=/scratch/kocevski/997204/ft2_4FGL_J0253.5+3216_daily_bin1750.fits outfile=/scratch/kocevski/997204/cmap_692928001_693187201_4FGL_J0253.5+3216_daily_bin1750.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=43.3829 yref=32.2826 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.57
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/997204/ft1_filtered_4FGL_J0253.5+3216_daily_bin1750.fits scfile=/scratch/kocevski/997204/ft2_4FGL_J0253.5+3216_daily_bin1750.fits outfile=/scratch/kocevski/997204/cmap_HighResolution_692928001_693187201_4FGL_J0253.5+3216_daily_bin1750.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=43.3829 yref=32.2826 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/997204/ft1_filtered_4FGL_J0253.5+3216_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/997204/ft2_4FGL_J0253.5+3216_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/997204/Model_4FGL_J0253.5+3216_daily_bin1750.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/997204/ft1_filtered_4FGL_J0253.5+3216_daily_bin1750.fits.....................!
real 162.50
user 160.42
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/997204/ft1_filtered_4FGL_J0253.5+3216_daily_bin1750.fits', '/scratch/kocevski/997204/ft2_4FGL_J0253.5+3216_daily_bin1750.fits', expMap='/scratch/kocevski/997204/expmap_692928001_693187201_4FGL_J0253.5+3216_daily_bin1750.fits', expCube='/scratch/kocevski/997204/ltcube_692928001_693187201_4FGL_J0253.5+3216_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/997204/Model_4FGL_J0253.5+3216_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0253.5+3216'

4FGL J0253.5+3216
   Spectrum: PowerLaw
282    Prefactor:  8.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
283        Index:  2.173e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  2.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/997204/ft1_filtered_4FGL_J0253.5+3216_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/997204/ft2_4FGL_J0253.5+3216_daily_bin1750.fits
Exposure map: /scratch/kocevski/997204/expmap_692928001_693187201_4FGL_J0253.5+3216_daily_bin1750.fits
Exposure cube: /scratch/kocevski/997204/ltcube_692928001_693187201_4FGL_J0253.5+3216_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/997204/Model_4FGL_J0253.5+3216_daily_bin1750.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) = 11235.4498412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .61847E-02   1.0000          .0000       .10000E+07
     2 'norm      '    1.5586       1.0000          .0000       .10000E+07
     3 'Prefactor '    .46311E-03   1.0000          .0000       .10000E+07
     4 'norm      '    4.1230       1.0000          .0000       .10000E+07
     5 'norm      '    .14488E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .66582E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .58244E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .22293E-03   1.0000          .0000       .10000E+07
     9 'norm      '    10.197       1.0000          .0000       .10000E+07
    10 'norm      '    2.5514       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12608E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    91.004       1.0000          .0000       .10000E+07
    13 'norm      '    .17811E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .15795E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .79020E-03   1.0000          .0000       .10000E+07
    16 'norm      '    5.7915       1.0000          .0000       .10000E+07
    17 'Prefactor '    .93925E-07   1.0000          .0000       .10000E+07
    18 'norm      '    .27271E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    30.621       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.4490       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91345       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11235.45     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1695 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    11.988       -.24203E-05** at limit **
   2  norm          1.5604        3.5193       -.31155E-06    .27024E-03
   3  Prefactor      .0000        2.8183        .10001E-05** at limit **
   4  norm          4.1209        3.1001       -.85216E-06    .95879E-03
   5  norm           .0000        .82637       -.80737E-06** at limit **
   6  norm           .0000        31.576        .36900E-06** at limit **
   7  Prefactor     .55511E-10    1.8284        .14792E-06** at limit **
   8  Prefactor     .24980E-08    17.842        .57814E-05** at limit **
   9  norm          10.207        5.7599       -.15304E-07    .21311E-04
  10  norm          2.5513        1.8936       -.19714E-05    .68650E-03
  11  Prefactor      .0000        5.4446        .19847E-05** at limit **
  12  Prefactor     90.453        76.951       -.11850E-04   -.82930E-01
  13  norm           .0000        3.2684        .30094E-05** at limit **
  14  norm          .61062E-09    16.512       -.42800E-05** at limit **
  15  Prefactor      .0000        7.1590       -.33243E-05** at limit **
  16  norm          5.7916        .86661        .94764E-07   -.24633E-02
  17  Prefactor      .0000        1.0274       -.54751E-06** at limit **
  18  norm           .0000        1.7701       -.42461E-06** at limit **
  19  Prefactor     30.310        44.116       -.11845E-04    .84108E-01
  20  Normalizat    1.4492        .24349       -.20840E-04    .19477E-04
  21  Prefactor     .91347        .81343E-01    .13730E-04    .10530E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 1.56038
  Prefactor  = 0
  norm       = 4.12087
  norm       = 0
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 2.498e-09
  norm       = 10.2068
  norm       = 2.55126
  Prefactor  = 0
  Prefactor  = 90.4526
  norm       = 0
  norm       = 6.10623e-10
  Prefactor  = 0
  norm       = 5.79158
  Prefactor  = 0
  norm       = 0
  Prefactor  = 30.3097
  Normalizat = 1.44925
  Prefactor  = 0.913471
 **********
 **   18 **HESSE 
 **********

 FCN=   11235.45     FROM HESSE     STATUS=OK           357 CALLS     2052 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    11.993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.5604        3.5459        .85215E-03   -1.5683    
   3  Prefactor      .0000        2.8174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.1209        3.4226        .49620E-03   -1.5667    
   5  norm           .0000        .28741        .27154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        31.560        .14932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    1.8317        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .24980E-08    17.871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.207        5.7545        .31354E-03   -1.5644    
  10  norm          2.5513        1.9001        .63897E-03   -1.5676    
  11  Prefactor      .0000        5.4375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     90.453        82.089        .10483E-03   -1.5518    
  13  norm           .0000        3.2686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .61062E-09    16.545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        7.1567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          5.7916        .86740        .41710E-03   -1.5660    
  17  Prefactor      .0000        1.0173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        1.7416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     30.310        117.18        .18074E-03   -1.5598    
  20  Normalizat    1.4492        .21884        .92179E-01   -.79215    
  21  Prefactor     .91347        .72829E-01    .45176E-01   -.95672    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65572e-06
Minuit parameter uncertainties:
  1  4.29199e-05
  2  3.54589
  3  1.174e-07
  4  3.42265
  5  9.77554e-07
  6  2.03147e-05
  7  2.27113e-05
  8  0.000421775
  9  5.75453
  10  1.90008
  11  1.09614e-05
  12  82.0904
  13  2.0477e-06
  14  0.000197256
  15  1.04366e-05
  16  0.867401
  17  9.53286e-06
  18  3.63714e-06
  19  117.188
  20  0.21898
  21  0.072837
Done.

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

Extracting fit parameters...

4FGL J0253.5+3216
   Spectrum: PowerLaw
282    Prefactor:  9.045e+01  8.209e+01  0.000e+00  1.000e+06 ( 1.000e-14)
283        Index:  2.173e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  2.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  9.135e-01  7.284e-02  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  1.449e+00  2.190e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.52
Ra Dec: 43.383 32.283
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 5.48e-08 +/- 4.97e-08
Energy Flux (Fixed Index): 2.59e-05 +/- 2.35e-05

TS (Fixed Index): 1.52
Ra Dec: 43.383 32.283
Photon Flux Upper Limit: 1.55e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.18e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/997204/likelihoodResults_692928001_693187201_4FGL_J0253.5+3216_daily_bin1750.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) = 11234.7629164
delta logL = 0.686159702542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11234.7537424
delta logL = 0.69533372968

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.669       1.0000          .0000       .10000E+07
     2 'Index     '    2.9263       1.0000          .0000       10.000    
     3 'Normalizat'    1.3937       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92291       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   11234.75     FROM MIGRAD    STATUS=FAILED        95 CALLS      318 TOTAL
                     EDM=   .85E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.704        430.27        .72240E-05   -.23921E-03
   2  Index         2.9260        2.8988        .49680E-02    .13097E-02
   3  Normalizat    1.3935        .26198        .41481E-03   -.12191E-03
   4  Prefactor     .92298        .89140E-01    .17106E-03    .37207E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   11234.75     FROM SIMPLEX   STATUS=UNCHANGED     81 CALLS      399 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.704        430.27        .46201E-04   -1.5597    
   2  Index         2.9260        2.8988        .10010E-02   -.42771    
   3  Normalizat    1.3935        .26198        .20109E-03   -.80816    
   4  Prefactor     .92298        .89140E-01    .48759E-04   -.95343    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11234.75     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      428 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.705        58.983        .28896E-06    .33996E-03
   2  Index         2.9260        .80112        .99359E-03   -.36752E-04
   3  Normalizat    1.3935        .24057        .16592E-04   -.65229E-04
   4  Prefactor     .92298        .81303E-01    .34212E-04    .21732E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.7048
  Index      = 2.92603
  Normalizat = 1.39352
  Prefactor  = 0.92298
 **********
 **   18 **HESSE 
 **********

 FCN=   11234.75     FROM HESSE     STATUS=OK            23 CALLS      451 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.705        53.725        .37186E-06   -1.5597    
   2  Index         2.9260        .73008        .39744E-04   -.42772    
   3  Normalizat    1.3935        .24041        .33185E-05   -.80816    
   4  Prefactor     .92298        .81229E-01    .68424E-05   -.95343    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68728e-10
Minuit parameter uncertainties:
  1  53.7259
  2  0.733254
  3  0.240603
  4  0.0812399
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/997204': 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) = 11234.7537417
delta logL = 0.695334443257

Extracting fit parameters...

4FGL J0253.5+3216
   Spectrum: PowerLaw
282    Prefactor:  3.070e+01  5.373e+01  0.000e+00  1.000e+06 ( 1.000e-14)
283        Index:  2.926e+00  7.333e-01  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  2.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  9.230e-01  8.124e-02  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  1.394e+00  2.406e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.99
Ra Dec: 43.383 32.283
Photon Index (Free Index): 2.93 +/- 0.73
Photon Flux (Free Index): 1.10e-07 +/- 7.72e-08
Energy Flux (Free Index): 2.28e-05 +/- 1.58e-05

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/997204/cmap_HighResolution_692928001_693187201_4FGL_J0253.5+3216_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-02', comment='SUCCESS', photon_flux='5.48e-08', energy_flux2='2.28e-05', photon_flux_error='4.97e-08', dlogl='6.95e-01', energy_flux='2.59e-05', photon_flux2='1.10e-07', job_status='DONE', time_completed='2022-12-20 00:20:04.369258', photon_index_error2='0.73', photon_index2='2.93', ts='1.52', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.55e-07', energy_flux_error2='1.58e-05', EG='1.45', time_epoch_completed='1671524404.37', return_code='0', job_id='997204', GAL2='0.92', EG2='1.39', return_code2='0', energy_flux_error='2.35e-05', photon_flux_error2='7.72e-08', ts2='2.99', photon_index='2.17' WHERE bin_id='1750' AND source_name='4FGL J0253.5+3216' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:20:04 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 997204: <4FGL_J0253.5+3216_daily_bin1750> in cluster <slac> Done

Job <4FGL_J0253.5+3216_daily_bin1750> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Dec 20 00:05:12 2022
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:05:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:05:13 2022
Terminated at Tue Dec 20 00:20:05 2022
Results reported at Tue Dec 20 00:20:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0253.5+3216_daily_bin1750 43.3829 32.2826 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0253.5+3216 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   848.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             400.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   891 sec.
    Turnaround time :                            893 sec.

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

