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


Performing analysis on: 4FGL_J0221.5+2513_daily_bin1777
RA = 35.3809, Dec = 25.2305
tmin = 699926401, tmax = 700185601
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='905780', job_status='RUN', time_executed='2023-03-11 00:05:46.639572', time_epoch_executed='1678521946.64' WHERE source_name='4FGL J0221.5+2513' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/905780

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/905780/ft1_4FGL_J0221.5+2513_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/905780/ft2_4FGL_J0221.5+2513_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/905780/ft1_4FGL_J0221.5+2513_daily_bin1777.fits outfile=/scratch/kocevski/905780/ft1_filteredMKT_4FGL_J0221.5+2513_daily_bin1777.fits ra=35.3809 dec=25.2305 rad=12.0 tmin=699926401.0 tmax=700185601.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.75
user 3.46
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/905780/ft2_4FGL_J0221.5+2513_daily_bin1777.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/905780/ft2_4FGL_J0221.5+2513_daily_bin1777.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/905780/ft1_filteredMKT_4FGL_J0221.5+2513_daily_bin1777.fits evtable="EVENTS" outfile="/scratch/kocevski/905780/ft1_filtered_4FGL_J0221.5+2513_daily_bin1777.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.56
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 892

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/905780/ft1_filtered_4FGL_J0221.5+2513_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/905780/ft2_4FGL_J0221.5+2513_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/905780/ltcube_699926401_700185601_4FGL_J0221.5+2513_daily_bin1777.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/905780/ft2_4FGL_J0221.5+2513_daily_bin1777.fits
.....................!
real 12.07
user 11.68
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/905780/ft1_filtered_4FGL_J0221.5+2513_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/905780/ft2_4FGL_J0221.5+2513_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/905780/ltcube_699926401_700185601_4FGL_J0221.5+2513_daily_bin1777.fits outfile=/scratch/kocevski/905780/expmap_699926401_700185601_4FGL_J0221.5+2513_daily_bin1777.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/905780/ltcube_699926401_700185601_4FGL_J0221.5+2513_daily_bin1777.fits
.....................!
real 189.98
user 185.60
sys 4.04

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

Setting source of interest to:
4FGL J0221.5+2513 @ 35.3809 25.2305

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/905780/ft1_filtered_4FGL_J0221.5+2513_daily_bin1777.fits scfile=/scratch/kocevski/905780/ft2_4FGL_J0221.5+2513_daily_bin1777.fits outfile=/scratch/kocevski/905780/cmap_699926401_700185601_4FGL_J0221.5+2513_daily_bin1777.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=35.3809 yref=25.2305 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.73
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/905780/ft1_filtered_4FGL_J0221.5+2513_daily_bin1777.fits scfile=/scratch/kocevski/905780/ft2_4FGL_J0221.5+2513_daily_bin1777.fits outfile=/scratch/kocevski/905780/cmap_HighResolution_699926401_700185601_4FGL_J0221.5+2513_daily_bin1777.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=35.3809 yref=25.2305 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.64
user 0.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/905780/ft1_filtered_4FGL_J0221.5+2513_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/905780/ft2_4FGL_J0221.5+2513_daily_bin1777.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/905780/Model_4FGL_J0221.5+2513_daily_bin1777.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/905780/ft1_filtered_4FGL_J0221.5+2513_daily_bin1777.fits.....................!
real 115.02
user 112.26
sys 1.40

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/905780/ft1_filtered_4FGL_J0221.5+2513_daily_bin1777.fits', '/scratch/kocevski/905780/ft2_4FGL_J0221.5+2513_daily_bin1777.fits', expMap='/scratch/kocevski/905780/expmap_699926401_700185601_4FGL_J0221.5+2513_daily_bin1777.fits', expCube='/scratch/kocevski/905780/ltcube_699926401_700185601_4FGL_J0221.5+2513_daily_bin1777.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/905780/Model_4FGL_J0221.5+2513_daily_bin1777.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0221.5+2513'

4FGL J0221.5+2513
   Spectrum: LogParabola
231         norm:  4.372e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
232        alpha:  1.744e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
233         beta:  4.094e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
234           Eb:  2.704e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/905780/ft1_filtered_4FGL_J0221.5+2513_daily_bin1777.fits
Spacecraft file(s): /scratch/kocevski/905780/ft2_4FGL_J0221.5+2513_daily_bin1777.fits
Exposure map: /scratch/kocevski/905780/expmap_699926401_700185601_4FGL_J0221.5+2513_daily_bin1777.fits
Exposure cube: /scratch/kocevski/905780/ltcube_699926401_700185601_4FGL_J0221.5+2513_daily_bin1777.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/905780/Model_4FGL_J0221.5+2513_daily_bin1777.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 9427.48052601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18708E-01   1.0000          .0000       .10000E+07
     2 'norm      '    1.7296       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.6297       1.0000          .0000       .10000E+07
     4 'Prefactor '    .68750E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .50293E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    11.111       1.0000          .0000       .10000E+07
     7 'Prefactor '    .49860E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .35757E-05   1.0000          .0000       .10000E+07
     9 'norm      '    1.3276       1.0000          .0000       .10000E+07
    10 'norm      '    .43601       1.0000          .0000       .10000E+07
    11 'norm      '    .26898E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19343E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    10.083       1.0000          .0000       .10000E+07
    14 'norm      '    4.4348       1.0000          .0000       .10000E+07
    15 'Prefactor '    .20611E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .97707       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18910E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .38743E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    21.351       1.0000          .0000       .10000E+07
    20 'Prefactor '    .10542E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .15378E-04   1.0000          .0000       .10000E+07
    22 'Normalizat'    .86639       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0521       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9427.397     FROM MIGRAD    STATUS=CONVERGED    153 CALLS     1493 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        25.133       -.21932E-06** at limit **
   2  norm          1.7299        .70910       -.21183E-07   -.91794E-03
   3  Prefactor     4.6146        9.1470        .12804E-07   -.69175E-04
   4  Prefactor     .16653E-09    5.7770       -.39026E-06** at limit **
   5  norm           .0000        1.0608        .40741E-06** at limit **
   6  Prefactor     11.111        3.5133        .15715E-06   -.17805E-03
   7  Prefactor     .47184E-08    9.6380       -.36923E-06** at limit **
   8  Prefactor      .0000        1.3487       -.18220E-06** at limit **
   9  norm          1.3292        2.3382       -.22681E-06   -.63718E-03
  10  norm          .43597        .42482       -.27324E-07   -.18522E-02
  11  norm          .68551E-06    18.275       -.20857E-05** at limit **
  12  Prefactor     .10159E-07    14.142       -.63721E-06** at limit **
  13  Prefactor     10.872        17.872        .87967E-06   -.93058E-01
  14  norm          4.4353        1.7103        .57070E-07    .84868E-03
  15  Prefactor     .55511E-10    4.5555        .11311E-06** at limit **
  16  norm          .97741        .49799        .57884E-07    .20245E-02
  17  Prefactor      .0000        11.055        .34363E-06** at limit **
  18  Prefactor     .48786E-05    26.308        .79202E-07** at limit **
  19  Prefactor     21.367        1.0386       -.39881E-08   -.22775E-02
  20  Prefactor     .50122E-05    40.388       -.12639E-05** at limit **
  21  norm           .0000        3.6413        .65942E-06** at limit **
  22  Normalizat    .86640        .20751        .15882E-04   -.29607E-04
  23  Prefactor     1.0519        .98813E-01   -.12310E-04   -.40187E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.7299
  Prefactor  = 4.61457
  Prefactor  = 1.66533e-10
  norm       = 0
  Prefactor  = 11.1111
  Prefactor  = 4.71845e-09
  Prefactor  = 0
  norm       = 1.32919
  norm       = 0.435974
  norm       = 6.85507e-07
  Prefactor  = 1.01585e-08
  Prefactor  = 10.8715
  norm       = 4.43527
  Prefactor  = 5.55112e-11
  norm       = 0.977412
  Prefactor  = 0
  Prefactor  = 4.8786e-06
  Prefactor  = 21.3674
  Prefactor  = 5.01216e-06
  norm       = 0
  Normalizat = 0.866402
  Prefactor  = 1.05191
 **********
 **   18 **HESSE 
 **********

 FCN=   9427.397     FROM HESSE     STATUS=OK           414 CALLS     1907 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        24.930        .17123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.7299        .71454        .79798E-03   -1.5682    
   3  Prefactor     4.6146        9.1566        .46752E-03   -1.5665    
   4  Prefactor     .16653E-09    5.7765        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        1.0633        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.111        3.5077        .30031E-03   -1.5641    
   7  Prefactor     .47184E-08    9.5351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.3485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.3292        2.4454        .95329E-03   -1.5685    
  10  norm          .43597        .47776        .13061E-02   -1.5695    
  11  norm          .68551E-06    18.713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10159E-07    14.135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.872        39.689        .31531E-03   -1.5642    
  14  norm          4.4353        1.7108        .47795E-03   -1.5666    
  15  Prefactor     .55511E-10    4.5558        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .97741        .49976        .42952E-03   -1.5688    
  17  Prefactor      .0000        10.894        .17109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .48786E-05    28.883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     21.367        18.735        .21648E-03   -1.5616    
  20  Prefactor     .50122E-05    43.543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        3.6422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .86640        .18666        .84141E-01   -.97651    
  23  Prefactor     1.0519        .88250E-01    .39790E-01   -.91019    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60139e-06
Minuit parameter uncertainties:
  1  4.30317e-05
  2  0.714538
  3  9.15663
  4  6.19102e-05
  5  3.78322e-06
  6  3.5077
  7  0.000424967
  8  3.12031e-06
  9  2.44539
  10  0.477764
  11  0.00716314
  12  0.000758648
  13  39.6895
  14  1.71084
  15  2.835e-05
  16  0.499761
  17  1.03734e-05
  18  0.023741
  19  18.7349
  20  0.0295466
  21  3.30906e-06
  22  0.186798
  23  0.088262
Done.

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

Extracting fit parameters...

4FGL J0221.5+2513
   Spectrum: LogParabola
231         norm:  6.855e-07  7.163e-03  0.000e+00  1.000e+06 ( 1.000e-14)
232        alpha:  1.744e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
233         beta:  4.094e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
234           Eb:  2.704e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.052e+00  8.826e-02  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  8.664e-01  1.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 35.381 25.230
Photon Flux Upper Limit: 1.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.35e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/905780/likelihoodResults_699926401_700185601_4FGL_J0221.5+2513_daily_bin1777.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9427.39944795
delta logL = -0.00254729393782

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9427.39690089
delta logL = -2.34440449276e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33044E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    2.6752       1.0000          .0000       5.0000    
     3 'Normalizat'    .86634       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0519       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9427.397     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      241 TOTAL
                     EDM=   .19E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        10.798        .42118E-03** at limit **
   2  alpha         .81022E-02    .20932       -.34628E-04     .0000    
   3  Normalizat    .86640        1.2031       -.39715E-05    .12071E-04
   4  Prefactor     1.0519        1.1890        .22041E-06    .15848E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 0.00810222
  Normalizat = 0.866402
  Prefactor  = 1.05191
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9427.397     FROM HESSE     STATUS=FAILED         9 CALLS      250 TOTAL
                     EDM=   .19E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        10.798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .22703        .80681E-01   -.34628E-04   -1.4903    
   3  Normalizat    .86640        1.2031       -.39715E-05   -.97651    
   4  Prefactor     1.0519        1.1890        .22041E-06   -.91019    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.87588e-13
Minuit parameter uncertainties:
  1  1.41412e-06
  2  0.0830186
  3  1.24373
  4  1.22102
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/905780': 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): 101
logL (Free Index) = 9427.39690064
delta logL = 1.83172232937e-08

Extracting fit parameters...

4FGL J0221.5+2513
   Spectrum: LogParabola
231         norm:  0.000e+00  1.414e-06  0.000e+00  1.000e+06 ( 1.000e-14)
232        alpha:  8.102e-03  8.302e-02  0.000e+00  5.000e+00 ( 1.000e+00)
233         beta:  4.094e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
234           Eb:  2.704e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.052e+00  1.221e+00  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  8.664e-01  1.244e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 35.381 25.230

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/905780/cmap_HighResolution_699926401_700185601_4FGL_J0221.5+2513_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.35e-05', job_status='DONE', photon_flux_upper_limit='1.15e-08', time_completed='2023-03-11 00:17:32.608353', job_id='905780', GAL2='1.05', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1678522652.61', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.83e-08', ts2='0.00', photon_index_error='0.00', photon_index='1.74' WHERE bin_id='1777' AND source_name='4FGL J0221.5+2513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 00:17:32 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 905780: <4FGL_J0221.5+2513_daily_bin1777> in cluster <slac> Done

Job <4FGL_J0221.5+2513_daily_bin1777> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Mar 11 00:05:07 2023
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 00:05:11 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 00:05:11 2023
Terminated at Sat Mar 11 00:17:33 2023
Results reported at Sat Mar 11 00:17:33 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0221.5+2513_daily_bin1777 35.3809 25.2305 699926401 700185601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0221.5+2513 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   703.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             366.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            746 sec.

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

