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


Performing analysis on: 4FGL_J0205.2+3212_daily_bin1749
RA = 31.3089, Dec = 32.203
tmin = 692668801, tmax = 692928001
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='941303', job_status='RUN', time_executed='2022-12-17 00:06:54.231184', time_epoch_executed='1671264414.23' WHERE source_name='4FGL J0205.2+3212' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941303

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941303/ft1_4FGL_J0205.2+3212_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941303/ft2_4FGL_J0205.2+3212_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941303/ft1_4FGL_J0205.2+3212_daily_bin1749.fits outfile=/scratch/kocevski/941303/ft1_filteredMKT_4FGL_J0205.2+3212_daily_bin1749.fits ra=31.3089 dec=32.203 rad=12.0 tmin=692668801.0 tmax=692928001.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 4.59
user 3.43
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/941303/ft2_4FGL_J0205.2+3212_daily_bin1749.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/941303/ft2_4FGL_J0205.2+3212_daily_bin1749.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/941303/ft1_filteredMKT_4FGL_J0205.2+3212_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/941303/ft1_filtered_4FGL_J0205.2+3212_daily_bin1749.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.66
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 813

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941303/ft1_filtered_4FGL_J0205.2+3212_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/941303/ft2_4FGL_J0205.2+3212_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/941303/ltcube_692668801_692928001_4FGL_J0205.2+3212_daily_bin1749.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/941303/ft2_4FGL_J0205.2+3212_daily_bin1749.fits
.....................!
real 16.34
user 15.52
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941303/ft1_filtered_4FGL_J0205.2+3212_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/941303/ft2_4FGL_J0205.2+3212_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/941303/ltcube_692668801_692928001_4FGL_J0205.2+3212_daily_bin1749.fits outfile=/scratch/kocevski/941303/expmap_692668801_692928001_4FGL_J0205.2+3212_daily_bin1749.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/941303/ltcube_692668801_692928001_4FGL_J0205.2+3212_daily_bin1749.fits
.....................!
real 191.87
user 185.26
sys 5.41

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

Setting source of interest to:
4FGL J0205.2+3212 @ 31.3089 32.203

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/941303/ft1_filtered_4FGL_J0205.2+3212_daily_bin1749.fits scfile=/scratch/kocevski/941303/ft2_4FGL_J0205.2+3212_daily_bin1749.fits outfile=/scratch/kocevski/941303/cmap_692668801_692928001_4FGL_J0205.2+3212_daily_bin1749.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=31.3089 yref=32.203 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941303/ft1_filtered_4FGL_J0205.2+3212_daily_bin1749.fits scfile=/scratch/kocevski/941303/ft2_4FGL_J0205.2+3212_daily_bin1749.fits outfile=/scratch/kocevski/941303/cmap_HighResolution_692668801_692928001_4FGL_J0205.2+3212_daily_bin1749.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=31.3089 yref=32.203 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/941303/ft1_filtered_4FGL_J0205.2+3212_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/941303/ft2_4FGL_J0205.2+3212_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/941303/Model_4FGL_J0205.2+3212_daily_bin1749.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/941303/ft1_filtered_4FGL_J0205.2+3212_daily_bin1749.fits.....................!
real 97.31
user 95.30
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/941303/ft1_filtered_4FGL_J0205.2+3212_daily_bin1749.fits', '/scratch/kocevski/941303/ft2_4FGL_J0205.2+3212_daily_bin1749.fits', expMap='/scratch/kocevski/941303/expmap_692668801_692928001_4FGL_J0205.2+3212_daily_bin1749.fits', expCube='/scratch/kocevski/941303/ltcube_692668801_692928001_4FGL_J0205.2+3212_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/941303/Model_4FGL_J0205.2+3212_daily_bin1749.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0205.2+3212'

4FGL J0205.2+3212
   Spectrum: PowerLaw
262    Prefactor:  5.295e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
263        Index:  2.657e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  5.669e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/941303/ft1_filtered_4FGL_J0205.2+3212_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/941303/ft2_4FGL_J0205.2+3212_daily_bin1749.fits
Exposure map: /scratch/kocevski/941303/expmap_692668801_692928001_4FGL_J0205.2+3212_daily_bin1749.fits
Exposure cube: /scratch/kocevski/941303/ltcube_692668801_692928001_4FGL_J0205.2+3212_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/941303/Model_4FGL_J0205.2+3212_daily_bin1749.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) = 8678.88627073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.166       1.0000          .0000       .10000E+07
     2 'Prefactor '    24.838       1.0000          .0000       .10000E+07
     3 'norm      '    .47930E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .50460E-07   1.0000          .0000       .10000E+07
     5 'norm      '    .28033E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .93850E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .84622       1.0000          .0000       .10000E+07
     8 'Prefactor '    .29675E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .78535E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    34.764       1.0000          .0000       .10000E+07
    11 'norm      '    .40129E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.0783       1.0000          .0000       .10000E+07
    13 'Prefactor '    .80821E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .51568E-03   1.0000          .0000       .10000E+07
    15 'norm      '    1.9573       1.0000          .0000       .10000E+07
    16 'norm      '    66.183       1.0000          .0000       .10000E+07
    17 'norm      '    .77514       1.0000          .0000       .10000E+07
    18 'Prefactor '    .11122E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .34054E-01   1.0000          .0000       .10000E+07
    20 'norm      '    2.9913       1.0000          .0000       .10000E+07
    21 'norm      '    4.4368       1.0000          .0000       .10000E+07
    22 'Prefactor '    .87990E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .93730E-02   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2312       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .85404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8678.854     FROM MIGRAD    STATUS=CONVERGED    188 CALLS     2156 TOTAL
                     EDM=   .47E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.169        2.5354        .17765E-07   -.22134E-02
   2  Prefactor     24.776        1.9575       -.93769E-08   -.10996E-01
   3  norm           .0000        2.7598       -.10444E-06** at limit **
   4  Prefactor      .0000        15.931       -.44274E-06** at limit **
   5  norm           .0000        .19801       -.12340E-06** at limit **
   6  Prefactor     .22204E-09    11.651       -.74665E-06** at limit **
   7  Prefactor     .86447        .56226        .20588E-07    .27391E-02
   8  Prefactor      .0000        1.3020        .16440E-06** at limit **
   9  Prefactor      .0000        5.7420       -.57289E-07** at limit **
  10  Prefactor     35.009        36.671       -.21985E-06    .49372E-03
  11  norm           .0000        1.4057        .36471E-07** at limit **
  12  Prefactor     3.0846        6.7391        .16843E-06   -.71420E-03
  13  Prefactor      .0000        2.5118       -.13907E-06** at limit **
  14  norm           .0000        4.9414       -.11680E-06** at limit **
  15  norm          1.9582        .68527        .79920E-08   -.30640E-02
  16  norm          65.086        60.934       -.39202E-06    .26455E-03
  17  norm          .77507        .34720        .24586E-08   -.10690E-02
  18  Prefactor      .0000        3.1862       -.31408E-06** at limit **
  19  Prefactor      .0000        24.391        .17354E-06** at limit **
  20  norm          3.0264        5.7813       -.67493E-07   -.73710E-05
  21  norm          4.4345        2.0305        .13049E-07   -.11594E-02
  22  Prefactor     .22204E-09    15.181       -.31192E-06** at limit **
  23  Prefactor      .0000        20.084        .41032E-07** at limit **
  24  Normalizat    1.2305        .23420        .48700E-05   -.11468E-03
  25  Prefactor     .85427        .12147       -.75972E-06   -.14042E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.169
  Prefactor  = 24.776
  norm       = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 0.86447
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 35.0087
  norm       = 0
  Prefactor  = 3.08459
  Prefactor  = 0
  norm       = 0
  norm       = 1.95818
  norm       = 65.0863
  norm       = 0.775067
  Prefactor  = 0
  Prefactor  = 0
  norm       = 3.02641
  norm       = 4.43454
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Normalizat = 1.23054
  Prefactor  = 0.854272
 **********
 **   18 **HESSE 
 **********

 FCN=   8678.854     FROM HESSE     STATUS=OK           479 CALLS     2635 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.169        2.5322        .26586E-03   -1.5633    
   2  Prefactor     24.776        17.244        .20069E-03   -1.5608    
   3  norm           .0000        .55844        .25014E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        15.983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .19575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .22204E-09    11.601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .86447        17.059        .49552E-03   -1.5689    
   8  Prefactor      .0000        1.2954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.7424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     35.009        36.694        .16962E-03   -1.5590    
  11  norm           .0000        1.4042        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.0846        6.7506        .57785E-03   -1.5673    
  13  Prefactor      .0000        2.5122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        4.8983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.9582        .69069        .74127E-03   -1.5680    
  16  norm          65.086        60.897        .12293E-03   -1.5547    
  17  norm          .77507        .34742        .54807E-03   -1.5690    
  18  Prefactor      .0000        3.1782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        24.299        .16244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.0264        5.8160        .58669E-03   -1.5673    
  21  norm          4.4345        2.0333        .47783E-03   -1.5666    
  22  Prefactor     .22204E-09    15.208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        20.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.2305        .20338        .72434E-01   -.85664    
  25  Prefactor     .85427        .10382        .44416E-01   -.97758    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.54174e-07
Minuit parameter uncertainties:
  1  2.53219
  2  17.2442
  3  2.52946e-06
  4  1.80064e-05
  5  1.82394e-06
  6  0.000105751
  7  7.68046
  8  6.1808e-06
  9  4.83948e-06
  10  36.6937
  11  1.58372e-06
  12  6.75066
  13  7.18052e-06
  14  7.98036e-06
  15  0.690686
  16  60.8973
  17  0.347425
  18  1.80463e-05
  19  2.83724e-05
  20  5.81599
  21  2.0333
  22  0.000121806
  23  9.68306e-06
  24  0.203513
  25  0.103848
Done.

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

Extracting fit parameters...

4FGL J0205.2+3212
   Spectrum: PowerLaw
262    Prefactor:  3.085e+00  6.751e+00  0.000e+00  1.000e+06 ( 1.000e-12)
263        Index:  2.657e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  5.669e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
589    Prefactor:  8.543e-01  1.038e-01  0.000e+00  1.000e+01 ( 1.000e+00)
590        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
591        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.231e+00  2.035e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.24
Ra Dec: 31.309 32.203
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/941303/likelihoodResults_692668801_692928001_4FGL_J0205.2+3212_daily_bin1749.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) = 8678.84602171
delta logL = 0.00764890823302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8678.84344131
delta logL = 0.0102293047476

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6019       1.0000          .0000       .10000E+07
     2 'Index     '    2.9318       1.0000          .0000       10.000    
     3 'Normalizat'    1.2254       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85629       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8678.843     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      279 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6007        8.6635        .12644E-03    .74050E-02
   2  Index         2.9324        2.3460        .86413E-02    .62210E-04
   3  Normalizat    1.2254        .23236        .32113E-03   -.15152E-04
   4  Prefactor     .85633        .12198        .19999E-03   -.32062E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.60071
  Index      = 2.93239
  Normalizat = 1.22536
  Prefactor  = 0.856332
 **********
 **   18 **HESSE 
 **********

 FCN=   8678.843     FROM HESSE     STATUS=OK            27 CALLS      306 TOTAL
                     EDM=   .59E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6007        7.3423        .25288E-04   -1.5676    
   2  Index         2.9324        2.0163        .17283E-02   -.42632    
   3  Normalizat    1.2254        .23263        .12845E-04   -.85823    
   4  Prefactor     .85633        .12193        .79995E-05   -.97684    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.85333e-13
Minuit parameter uncertainties:
  1  7.34228
  2  2.08881
  3  0.232832
  4  0.121973
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941303': 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) = 8678.84344123
delta logL = 0.0102293927321

Extracting fit parameters...

4FGL J0205.2+3212
   Spectrum: PowerLaw
262    Prefactor:  2.601e+00  7.342e+00  0.000e+00  1.000e+06 ( 1.000e-12)
263        Index:  2.932e+00  2.089e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  5.669e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
589    Prefactor:  8.563e-01  1.220e-01  0.000e+00  1.000e+01 ( 1.000e+00)
590        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
591        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.225e+00  2.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.24
Ra Dec: 31.309 32.203

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/941303/cmap_HighResolution_692668801_692928001_4FGL_J0205.2+3212_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.84e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2022-12-17 00:20:15.429349', job_id='941303', GAL2='0.86', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1671265215.43', return_code2='0', ts='0.24', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.02e-02', ts2='0.27', photon_index_error='0.00', photon_index='2.66' WHERE bin_id='1749' AND source_name='4FGL J0205.2+3212' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 00:20:15 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 941303: <4FGL_J0205.2+3212_daily_bin1749> in cluster <slac> Done

Job <4FGL_J0205.2+3212_daily_bin1749> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Dec 17 00:05:14 2022
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:05:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:05:15 2022
Terminated at Sat Dec 17 00:20:16 2022
Results reported at Sat Dec 17 00:20:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0205.2+3212_daily_bin1749 31.3089 32.203 692668801 692928001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0205.2+3212 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   797.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            902 sec.

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

