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


Performing analysis on: 4FGL_J0221.5+2513_daily_bin1740
RA = 35.3809, Dec = 25.2305
tmin = 690336001, tmax = 690595201
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='822896', job_status='RUN', time_executed='2022-11-20 00:12:47.926366', time_epoch_executed='1668931967.93' WHERE source_name='4FGL J0221.5+2513' and cadence='daily' and bin_id='1740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/822896

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/822896/ft1_4FGL_J0221.5+2513_daily_bin1740.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/822896/ft2_4FGL_J0221.5+2513_daily_bin1740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/822896/ft1_4FGL_J0221.5+2513_daily_bin1740.fits outfile=/scratch/kocevski/822896/ft1_filteredMKT_4FGL_J0221.5+2513_daily_bin1740.fits ra=35.3809 dec=25.2305 rad=12.0 tmin=690336001.0 tmax=690595201.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.99
user 2.75
sys 0.19

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

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

Number of photons that the gtmktime cut: 120

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/822896/ft1_filtered_4FGL_J0221.5+2513_daily_bin1740.fits" evtable="EVENTS" scfile=/scratch/kocevski/822896/ft2_4FGL_J0221.5+2513_daily_bin1740.fits sctable="SC_DATA" outfile=/scratch/kocevski/822896/ltcube_690336001_690595201_4FGL_J0221.5+2513_daily_bin1740.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/822896/ft2_4FGL_J0221.5+2513_daily_bin1740.fits
.....................!
real 13.48
user 12.97
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/822896/ft1_filtered_4FGL_J0221.5+2513_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/822896/ft2_4FGL_J0221.5+2513_daily_bin1740.fits sctable="SC_DATA" expcube=/scratch/kocevski/822896/ltcube_690336001_690595201_4FGL_J0221.5+2513_daily_bin1740.fits outfile=/scratch/kocevski/822896/expmap_690336001_690595201_4FGL_J0221.5+2513_daily_bin1740.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/822896/ltcube_690336001_690595201_4FGL_J0221.5+2513_daily_bin1740.fits
.....................!
real 192.43
user 186.26
sys 5.80

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/822896/ft1_filtered_4FGL_J0221.5+2513_daily_bin1740.fits scfile=/scratch/kocevski/822896/ft2_4FGL_J0221.5+2513_daily_bin1740.fits outfile=/scratch/kocevski/822896/cmap_690336001_690595201_4FGL_J0221.5+2513_daily_bin1740.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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/822896/ft1_filtered_4FGL_J0221.5+2513_daily_bin1740.fits scfile=/scratch/kocevski/822896/ft2_4FGL_J0221.5+2513_daily_bin1740.fits outfile=/scratch/kocevski/822896/cmap_HighResolution_690336001_690595201_4FGL_J0221.5+2513_daily_bin1740.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.56
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.469       1.0000          .0000       .10000E+07
     2 'norm      '    .38688E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    62.370       1.0000          .0000       .10000E+07
     4 'Prefactor '    .25787E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .77991E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .38446E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    17.997       1.0000          .0000       .10000E+07
     8 'Prefactor '    .33805E-01   1.0000          .0000       .10000E+07
     9 'norm      '    2.6123       1.0000          .0000       .10000E+07
    10 'norm      '    .29038       1.0000          .0000       .10000E+07
    11 'norm      '    1189.3       1.0000          .0000       .10000E+07
    12 'Prefactor '    115.37       1.0000          .0000       .10000E+07
    13 'Prefactor '    104.09       1.0000          .0000       .10000E+07
    14 'norm      '    .10755E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .51147E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .74662E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .18014E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .34491E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .16504       1.0000          .0000       .10000E+07
    20 'Prefactor '    .60968       1.0000          .0000       .10000E+07
    21 'norm      '    .35587E-01   1.0000          .0000       .10000E+07
    22 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3993       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=   1485.562     FROM MIGRAD    STATUS=CONVERGED    233 CALLS     2047 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.945        75.678       -.38881E-06   -.36982E-01
   2  norm           .0000        2.3961       -.21924E-07** at limit **
   3  Prefactor     62.136        38.221       -.36690E-06   -.36326E-02
   4  Prefactor      .0000        34.162        .35756E-07** at limit **
   5  norm          .55511E-10    5.8675        .29830E-07** at limit **
   6  Prefactor     .55511E-10    5.0612        .10986E-06** at limit **
   7  Prefactor     18.188        19.901        .14749E-06   -.27858E-03
   8  Prefactor      .0000        28.540        .16332E-06** at limit **
   9  norm          2.4634        15.044        .83938E-06   -.15539E-01
  10  norm          .31303        4.2667        .60064E-06    .73034E-03
  11  norm          1188.6        43.570        .90315E-07    .37360    
  12  Prefactor     113.08        132.01        .86559E-06   -.23356    
  13  Prefactor     107.19        188.81       -.12989E-05   -.13446    
  14  norm           .0000        19.302       -.68871E-07** at limit **
  15  Prefactor     .78920E-06    110.95        .45141E-06** at limit **
  16  norm          .16653E-09    5.0646        .48795E-07** at limit **
  17  Prefactor      .0000        48.089        .11716E-07** at limit **
  18  Prefactor      .0000        102.17        .49680E-07** at limit **
  19  Prefactor      .0000        80.317        .38624E-07** at limit **
  20  Prefactor     .16006E-05    248.34       -.34589E-05** at limit **
  21  norm           .0000        52.887       -.92706E-07** at limit **
  22  Normalizat    .10000E-01    .56850        .11263E-04** at limit **
  23  Prefactor     1.3991        .17182        .26586E-05   -.31137E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.9452
  norm       = 0
  Prefactor  = 62.1356
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 18.1883
  Prefactor  = 0
  norm       = 2.46335
  norm       = 0.313029
  norm       = 1188.64
  Prefactor  = 113.078
  Prefactor  = 107.194
  norm       = 0
  Prefactor  = 7.89202e-07
  norm       = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.60061e-06
  norm       = 0
  Normalizat = 0.01
  Prefactor  = 1.39908
 **********
 **   18 **HESSE 
 **********

 FCN=   1485.562     FROM HESSE     STATUS=OK           412 CALLS     2459 TOTAL
                     EDM=   .79E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.945        79.245        .26305E-03   -1.5631    
   2  norm           .0000        1.4134        .16662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     62.136        38.332        .12663E-03   -1.5550    
   4  Prefactor      .0000        34.193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .55511E-10    5.8713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    5.0595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.188        20.063        .23581E-03   -1.5623    
   8  Prefactor      .0000        28.136        .16256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.4634        14.898        .63085E-03   -1.5677    
  10  norm          .31303        2.4705        .10348E-02   -1.5719    
  11  norm          1188.6        659.42        .29014E-04   -1.5018    
  12  Prefactor     113.08        168.53        .93107E-04   -1.5495    
  13  Prefactor     107.19        262.96        .98022E-04   -1.5501    
  14  norm           .0000        19.176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .78920E-06    112.35        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .16653E-09    4.9560        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        48.193        .17171E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        101.19        .16222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        80.377        .12434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .16006E-05    264.87        .68365E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        52.912        .16169E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .10000E-01    .36635        .32262       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.3991        .21122        .31072E-01   -.80407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.86777e-05
Minuit parameter uncertainties:
  1  68.8297
  2  9.34413e-06
  3  38.332
  4  1.73764e-05
  5  3.53004e-05
  6  3.95155e-05
  7  20.0633
  8  2.5883e-05
  9  12.1159
  10  1.7588
  11  659.462
  12  168.54
  13  262.986
  14  2.65662e-06
  15  0.0188323
  16  5.35903e-05
  17  2.02653e-05
  18  2.22214e-05
  19  3.89714e-05
  20  0.0411821
  21  2.20545e-05
  22  1.20915e-07
  23  0.211355
Done.

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

Extracting fit parameters...

4FGL J0221.5+2513
   Spectrum: LogParabola
231         norm:  1.189e+03  6.595e+02  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.399e+00  2.114e-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.000e-02  1.209e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.87
Ra Dec: 35.381 25.230
Photon Index (Fixed Index): 1.74 +/- 0.00
Photon Flux (Fixed Index): 1.23e-07 +/- 6.82e-08
Energy Flux (Fixed Index): 2.50e-04 +/- 1.39e-04

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) = 1484.63065469
delta logL = 0.931814996933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1484.60630505
delta logL = 0.95616463121

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1338.4       1.0000          .0000       .10000E+07
     2 'alpha     '    .94282       1.0000          .0000       5.0000    
     3 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4059       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=   1484.606     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      187 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1338.4        713.99        .27353E-04   -.31402E-02
   2  alpha         .94310        .51879        .22845        .73749E-06
   3  Normalizat    .10000E-01    .34146        .32212    ** at limit **
   4  Prefactor     1.4058        .19587        .30980E-01    .91345E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1338.37
  alpha      = 0.943104
  Normalizat = 0.01
  Prefactor  = 1.40583
 **********
 **   18 **HESSE 
 **********

 FCN=   1484.606     FROM HESSE     STATUS=OK            27 CALLS      214 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1338.4        736.66        .54706E-05   -1.4976    
   2  alpha         .94310        .53462        .10097E-02   -.67226    
   3  Normalizat    .10000E-01    .53452        .11123E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.4058        .15589        .16838E-03   -.80212    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.0511e-09
Minuit parameter uncertainties:
  1  736.71
  2  0.541513
  3  4.29443e-10
  4  0.155945
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/822896': 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) = 1484.60630335
delta logL = 0.956166332715

Extracting fit parameters...

4FGL J0221.5+2513
   Spectrum: LogParabola
231         norm:  1.338e+03  7.367e+02  0.000e+00  1.000e+06 ( 1.000e-14)
232        alpha:  9.431e-01  5.415e-01  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.406e+00  1.559e-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.000e-02  4.294e-10  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.74
Ra Dec: 35.381 25.230
Photon Index (Free Index): 0.94 +/- 0.54
Photon Flux (Free Index): 1.00e-07 +/- 5.44e-08
Energy Flux (Free Index): 5.27e-04 +/- 3.99e-04

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/822896/cmap_HighResolution_690336001_690595201_4FGL_J0221.5+2513_daily_bin1740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-07', energy_flux2='5.27e-04', photon_flux_error='6.82e-08', dlogl='9.56e-01', energy_flux='2.50e-04', photon_flux2='1.00e-07', job_status='DONE', time_completed='2022-11-20 00:18:59.253412', photon_index_error2='0.54', photon_index2='0.94', ts='10.87', fit_tolerance='1e-08', GAL='1.40', photon_index_error='0.00', energy_flux_error2='3.99e-04', EG='0.01', time_epoch_completed='1668932339.25', return_code='0', job_id='822896', GAL2='1.41', EG2='0.01', return_code2='0', energy_flux_error='1.39e-04', photon_flux_error2='5.44e-08', ts2='12.74', photon_index='1.74' WHERE bin_id='1740' AND source_name='4FGL J0221.5+2513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 20 00:18:59 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 822869: <4FGL_J0221.5+2513_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0221.5+2513_daily_bin1740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:18 2022
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:09:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:09:32 2022
Terminated at Sun Nov 20 00:18:35 2022
Results reported at Sun Nov 20 00:18:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0221.5+2513_daily_bin1740 35.3809 25.2305 690336001 690595201 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 :                                   376.60 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   543 sec.
    Turnaround time :                            797 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 822896: <4FGL_J0221.5+2513_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0221.5+2513_daily_bin1740> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:19 2022
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:09:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:09:48 2022
Terminated at Sun Nov 20 00:19:00 2022
Results reported at Sun Nov 20 00:19:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0221.5+2513_daily_bin1740 35.3809 25.2305 690336001 690595201 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 :                                   372.19 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             182.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   551 sec.
    Turnaround time :                            821 sec.

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

