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


Performing analysis on: 4FGL_J0221.5+2513_daily_bin1745
RA = 35.3809, Dec = 25.2305
tmin = 691632001, tmax = 691891201
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='637155', job_status='RUN', time_executed='2022-12-05 00:05:16.730902', time_epoch_executed='1670227516.73' WHERE source_name='4FGL J0221.5+2513' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/637155

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/637155/ft1_4FGL_J0221.5+2513_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/637155/ft2_4FGL_J0221.5+2513_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/637155/ft1_4FGL_J0221.5+2513_daily_bin1745.fits outfile=/scratch/kocevski/637155/ft1_filteredMKT_4FGL_J0221.5+2513_daily_bin1745.fits ra=35.3809 dec=25.2305 rad=12.0 tmin=691632001.0 tmax=691891201.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.37
user 2.14
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/637155/ft2_4FGL_J0221.5+2513_daily_bin1745.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/637155/ft1_filteredMKT_4FGL_J0221.5+2513_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/637155/ft1_filtered_4FGL_J0221.5+2513_daily_bin1745.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.32
sys 0.16

Number of photons that the gtmktime cut: 117

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/637155/ft1_filtered_4FGL_J0221.5+2513_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/637155/ft2_4FGL_J0221.5+2513_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/637155/ltcube_691632001_691891201_4FGL_J0221.5+2513_daily_bin1745.fits outfile=/scratch/kocevski/637155/expmap_691632001_691891201_4FGL_J0221.5+2513_daily_bin1745.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/637155/ltcube_691632001_691891201_4FGL_J0221.5+2513_daily_bin1745.fits
.....................!
real 192.60
user 187.68
sys 4.35

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/637155/ft1_filtered_4FGL_J0221.5+2513_daily_bin1745.fits scfile=/scratch/kocevski/637155/ft2_4FGL_J0221.5+2513_daily_bin1745.fits outfile=/scratch/kocevski/637155/cmap_691632001_691891201_4FGL_J0221.5+2513_daily_bin1745.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.59
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/637155/ft1_filtered_4FGL_J0221.5+2513_daily_bin1745.fits scfile=/scratch/kocevski/637155/ft2_4FGL_J0221.5+2513_daily_bin1745.fits outfile=/scratch/kocevski/637155/cmap_HighResolution_691632001_691891201_4FGL_J0221.5+2513_daily_bin1745.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/637155/ft1_filtered_4FGL_J0221.5+2513_daily_bin1745.fits', '/scratch/kocevski/637155/ft2_4FGL_J0221.5+2513_daily_bin1745.fits', expMap='/scratch/kocevski/637155/expmap_691632001_691891201_4FGL_J0221.5+2513_daily_bin1745.fits', expCube='/scratch/kocevski/637155/ltcube_691632001_691891201_4FGL_J0221.5+2513_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/637155/Model_4FGL_J0221.5+2513_daily_bin1745.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/637155/ft1_filtered_4FGL_J0221.5+2513_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/637155/ft2_4FGL_J0221.5+2513_daily_bin1745.fits
Exposure map: /scratch/kocevski/637155/expmap_691632001_691891201_4FGL_J0221.5+2513_daily_bin1745.fits
Exposure cube: /scratch/kocevski/637155/ltcube_691632001_691891201_4FGL_J0221.5+2513_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/637155/Model_4FGL_J0221.5+2513_daily_bin1745.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) = 1389.85695867

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    67.251       1.0000          .0000       .10000E+07
     2 'norm      '    1.4478       1.0000          .0000       .10000E+07
     3 'Prefactor '    .82758       1.0000          .0000       .10000E+07
     4 'Prefactor '    .52432E-01   1.0000          .0000       .10000E+07
     5 'norm      '    .29630E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.2615       1.0000          .0000       .10000E+07
     7 'Prefactor '    .63982E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .19410E-01   1.0000          .0000       .10000E+07
     9 'norm      '    21.370       1.0000          .0000       .10000E+07
    10 'norm      '    .11779E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .81666       1.0000          .0000       .10000E+07
    12 'Prefactor '    87.898       1.0000          .0000       .10000E+07
    13 'Prefactor '    78.668       1.0000          .0000       .10000E+07
    14 'norm      '    .14871E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    9.5679       1.0000          .0000       .10000E+07
    16 'norm      '    .49960E-09   1.0000          .0000       .10000E+07
    17 'Prefactor '    61.261       1.0000          .0000       .10000E+07
    18 'Prefactor '    .20693E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    40.256       1.0000          .0000       .10000E+07
    20 'Prefactor '    .91010       1.0000          .0000       .10000E+07
    21 'norm      '    .12005E-02   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.4021       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .59442       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=   1389.841     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     1927 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     68.374        25.341        .14562E-06    .59695E-01
   2  norm          1.4470        1.1705        .82470E-07    .24200E-02
   3  Prefactor     .22977E-03    148.64        .69994E-05** at limit **
   4  Prefactor     .55511E-10    27.408       -.23344E-05** at limit **
   5  norm           .0000        5.7178       -.83180E-06** at limit **
   6  Prefactor     4.2572        4.7831        .69107E-06   -.84272E-03
   7  Prefactor      .0000        17.052       -.11264E-05** at limit **
   8  Prefactor      .0000        13.342        .46837E-06** at limit **
   9  norm          21.435        19.343       -.21514E-06   -.51549E-03
  10  norm           .0000        1.9959        .94770E-06** at limit **
  11  norm          .52719E-04    336.76        .95688E-05** at limit **
  12  Prefactor     86.991        15.031       -.30252E-07   -.13066    
  13  Prefactor     84.680        80.467       -.14833E-05   -.62215E-01
  14  norm           .0000        3.4083       -.11265E-05** at limit **
  15  Prefactor     9.8007        22.835        .12531E-07   -.11521E-02
  16  norm           .0000        1.3057        .60612E-06** at limit **
  17  Prefactor     58.897        34.563        .88075E-07    .19731E-01
  18  Prefactor      .0000        23.420       -.18919E-07** at limit **
  19  Prefactor     42.775        78.097        .17474E-05    .10752    
  20  Prefactor     .36960E-02    682.99       -.62261E-05** at limit **
  21  norm          .22204E-09    16.520       -.18231E-05** at limit **
  22  Normalizat    1.4084        .54453        .31259E-05    .10286E-03
  23  Prefactor     .59286        .25832       -.15952E-05    .11267E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 68.3742
  norm       = 1.44702
  Prefactor  = 0.000229768
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 4.25722
  Prefactor  = 0
  Prefactor  = 0
  norm       = 21.4352
  norm       = 0
  norm       = 5.27195e-05
  Prefactor  = 86.9913
  Prefactor  = 84.6798
  norm       = 0
  Prefactor  = 9.8007
  norm       = 0
  Prefactor  = 58.8965
  Prefactor  = 0
  Prefactor  = 42.7749
  Prefactor  = 0.00369598
  norm       = 2.22045e-10
  Normalizat = 1.40841
  Prefactor  = 0.592856
 **********
 **   18 **HESSE 
 **********

 FCN=   1389.841     FROM HESSE     STATUS=OK           414 CALLS     2341 TOTAL
                     EDM=   .95E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     68.374        86.859        .12195E-03   -1.5543    
   2  norm          1.4470        1.1660        .79005E-03   -1.5684    
   3  Prefactor     .22977E-03    64.061        .64535E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    27.434        .15445E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        5.7014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.2572        4.7856        .48784E-03   -1.5667    
   7  Prefactor      .0000        17.038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        12.675        .17076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          21.435        19.375        .21638E-03   -1.5615    
  10  norm           .0000        1.9956        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .52719E-04    367.81        .51701E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     86.991        107.02        .10667E-03   -1.5521    
  13  Prefactor     84.680        88.851        .11275E-03   -1.5524    
  14  norm           .0000        3.4037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.8007        23.590        .32374E-03   -1.5645    
  16  norm           .0000        1.3082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     58.897        88.203        .12777E-03   -1.5554    
  18  Prefactor      .0000        23.261        .16992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     42.775        123.27        .15763E-03   -1.5577    
  20  Prefactor     .36960E-02    1205.3        .45064E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .22204E-09    16.529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4084        .48646        .67871E-01   -.80386    
  23  Prefactor     .59286        .22782        .40978E-01   -1.0789    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.53985e-06
Minuit parameter uncertainties:
  1  86.8604
  2  1.16596
  3  0.242647
  4  8.31473e-05
  5  1.21703e-05
  6  4.78558
  7  4.13266e-06
  8  2.65057e-05
  9  19.3748
  10  1.47753e-06
  11  0.278518
  12  107.022
  13  88.8521
  14  5.80652e-06
  15  23.5904
  16  9.93345e-06
  17  88.205
  18  9.18882e-06
  19  123.273
  20  4.22207
  21  0.000124255
  22  0.488067
  23  0.228175
Done.

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

Extracting fit parameters...

4FGL J0221.5+2513
   Spectrum: LogParabola
231         norm:  5.272e-05  2.785e-01  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:  5.929e-01  2.282e-01  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:  1.408e+00  4.881e-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: 8.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.73e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/637155/likelihoodResults_691632001_691891201_4FGL_J0221.5+2513_daily_bin1745.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) = 1389.8423651
delta logL = -0.00130077455424

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1389.45086352
delta logL = 0.390200804854

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0503       1.0000          .0000       .10000E+07
     2 'alpha     '    4.0961       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3839       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58775       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.

 FCN=   1389.451     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      258 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0744        489.52        .40795E-03    .58246E-03
   2  alpha         4.0940        2.7512        .30085        .15250E-04
   3  Normalizat    1.3837        .21338        .68232E-01    .22052E-05
   4  Prefactor     .58780        .92199E-01    .40887E-01   -.89336E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.07443
  alpha      = 4.09397
  Normalizat = 1.38368
  Prefactor  = 0.587796
 **********
 **   18 **HESSE 
 **********

 FCN=   1389.451     FROM HESSE     STATUS=OK            33 CALLS      291 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0744        76.925        .13399E-04   -1.5659    
   2  alpha         4.0940        4.3873        .12949E-01    .69136    
   3  Normalizat    1.3837        .54214        .30185E-03   -.81102    
   4  Prefactor     .58780        .25435        .20837E-03   -1.0810    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87713e-11
Minuit parameter uncertainties:
  1  43.2339
  2  3.37261
  3  0.544408
  4  0.254847
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/637155': 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) = 1389.45086256
delta logL = 0.390201759767

Extracting fit parameters...

4FGL J0221.5+2513
   Spectrum: LogParabola
231         norm:  6.074e+00  4.323e+01  0.000e+00  1.000e+06 ( 1.000e-14)
232        alpha:  4.094e+00  3.373e+00  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:  5.878e-01  2.548e-01  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:  1.384e+00  5.444e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/637155/cmap_HighResolution_691632001_691891201_4FGL_J0221.5+2513_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-04', job_status='DONE', photon_flux_upper_limit='8.51e-08', time_completed='2022-12-05 00:11:59.237914', job_id='637155', GAL2='0.59', fit_tolerance='1e-08', EG2='1.38', EG='1.41', time_epoch_completed='1670227919.24', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='3.90e-01', ts2='0.78', photon_index_error='0.00', photon_index='1.74' WHERE bin_id='1745' AND source_name='4FGL J0221.5+2513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:11:59 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 637155: <4FGL_J0221.5+2513_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0221.5+2513_daily_bin1745> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Dec  5 00:04:58 2022
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:05:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:05:00 2022
Terminated at Mon Dec  5 00:12:00 2022
Results reported at Mon Dec  5 00:12:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0221.5+2513_daily_bin1745 35.3809 25.2305 691632001 691891201 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 :                                   370.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             309.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   419 sec.
    Turnaround time :                            422 sec.

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

