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 69 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_J0205.2+3212_daily_bin1740
RA = 31.3089, Dec = 32.203
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='822854', job_status='RUN', time_executed='2022-11-20 00:10:52.926228', time_epoch_executed='1668931852.93' WHERE source_name='4FGL J0205.2+3212' and cadence='daily' and bin_id='1740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/822854

Creating custom pfile directory:
/scratch/kocevski/822854/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/822854/ft1_4FGL_J0205.2+3212_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/822854/ft2_4FGL_J0205.2+3212_daily_bin1740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/822854/ft1_4FGL_J0205.2+3212_daily_bin1740.fits outfile=/scratch/kocevski/822854/ft1_filteredMKT_4FGL_J0205.2+3212_daily_bin1740.fits ra=31.3089 dec=32.203 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.95
user 2.73
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/822854/ft2_4FGL_J0205.2+3212_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/822854/ft1_filteredMKT_4FGL_J0205.2+3212_daily_bin1740.fits evtable="EVENTS" outfile="/scratch/kocevski/822854/ft1_filtered_4FGL_J0205.2+3212_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.50
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 193

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/822854/ft1_filtered_4FGL_J0205.2+3212_daily_bin1740.fits" evtable="EVENTS" scfile=/scratch/kocevski/822854/ft2_4FGL_J0205.2+3212_daily_bin1740.fits sctable="SC_DATA" outfile=/scratch/kocevski/822854/ltcube_690336001_690595201_4FGL_J0205.2+3212_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/822854/ft2_4FGL_J0205.2+3212_daily_bin1740.fits
.....................!
real 13.18
user 12.80
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/822854/ft1_filtered_4FGL_J0205.2+3212_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/822854/ft2_4FGL_J0205.2+3212_daily_bin1740.fits sctable="SC_DATA" expcube=/scratch/kocevski/822854/ltcube_690336001_690595201_4FGL_J0205.2+3212_daily_bin1740.fits outfile=/scratch/kocevski/822854/expmap_690336001_690595201_4FGL_J0205.2+3212_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/822854/ltcube_690336001_690595201_4FGL_J0205.2+3212_daily_bin1740.fits
.....................!
real 191.79
user 185.29
sys 6.01

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/822854/ft1_filtered_4FGL_J0205.2+3212_daily_bin1740.fits scfile=/scratch/kocevski/822854/ft2_4FGL_J0205.2+3212_daily_bin1740.fits outfile=/scratch/kocevski/822854/cmap_690336001_690595201_4FGL_J0205.2+3212_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=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/822854/ft1_filtered_4FGL_J0205.2+3212_daily_bin1740.fits scfile=/scratch/kocevski/822854/ft2_4FGL_J0205.2+3212_daily_bin1740.fits outfile=/scratch/kocevski/822854/cmap_HighResolution_690336001_690595201_4FGL_J0205.2+3212_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=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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/822854/ft1_filtered_4FGL_J0205.2+3212_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/822854/ft2_4FGL_J0205.2+3212_daily_bin1740.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/822854/Model_4FGL_J0205.2+3212_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/822854/ft1_filtered_4FGL_J0205.2+3212_daily_bin1740.fits......................!
real 34.05
user 32.68
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/822854/ft1_filtered_4FGL_J0205.2+3212_daily_bin1740.fits', '/scratch/kocevski/822854/ft2_4FGL_J0205.2+3212_daily_bin1740.fits', expMap='/scratch/kocevski/822854/expmap_690336001_690595201_4FGL_J0205.2+3212_daily_bin1740.fits', expCube='/scratch/kocevski/822854/ltcube_690336001_690595201_4FGL_J0205.2+3212_daily_bin1740.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/822854/Model_4FGL_J0205.2+3212_daily_bin1740.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/822854/ft1_filtered_4FGL_J0205.2+3212_daily_bin1740.fits
Spacecraft file(s): /scratch/kocevski/822854/ft2_4FGL_J0205.2+3212_daily_bin1740.fits
Exposure map: /scratch/kocevski/822854/expmap_690336001_690595201_4FGL_J0205.2+3212_daily_bin1740.fits
Exposure cube: /scratch/kocevski/822854/ltcube_690336001_690595201_4FGL_J0205.2+3212_daily_bin1740.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/822854/Model_4FGL_J0205.2+3212_daily_bin1740.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) = 2287.59565105

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.5532       1.0000          .0000       .10000E+07
     2 'Prefactor '    .26632E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .14649E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    13.944       1.0000          .0000       .10000E+07
     5 'norm      '    .72775E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    49.611       1.0000          .0000       .10000E+07
     7 'Prefactor '    .60693E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .26092E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .56961E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    145.41       1.0000          .0000       .10000E+07
    11 'norm      '    .29018E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    13.427       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12375E-04   1.0000          .0000       .10000E+07
    14 'norm      '    4.4840       1.0000          .0000       .10000E+07
    15 'norm      '    .86900E-04   1.0000          .0000       .10000E+07
    16 'norm      '    1154.0       1.0000          .0000       .10000E+07
    17 'norm      '    .45598       1.0000          .0000       .10000E+07
    18 'Prefactor '    .31561E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    39.080       1.0000          .0000       .10000E+07
    20 'norm      '    24.908       1.0000          .0000       .10000E+07
    21 'norm      '    .43538E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    182.11       1.0000          .0000       .10000E+07
    23 'Prefactor '    .41767       1.0000          .0000       .10000E+07
    24 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.4960       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=   2287.196     FROM MIGRAD    STATUS=CONVERGED    296 CALLS     2292 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.5957        3.1542        .24977E-07    .41853E-03
   2  Prefactor      .0000        37.006        .23586E-06** at limit **
   3  norm           .0000        1.2153        .23238E-07** at limit **
   4  Prefactor     21.870        76.311        .89319E-06   -.46431E-03
   5  norm           .0000        1.5468       -.46439E-07** at limit **
   6  Prefactor     49.330        36.838        .16437E-06    .22973E-02
   7  Prefactor      .0000        10.916       -.13310E-06** at limit **
   8  Prefactor      .0000        1.9530        .11692E-07** at limit **
   9  Prefactor      .0000        31.889        .53394E-06** at limit **
  10  Prefactor     162.10        125.30       -.34613E-07   -.16213E-02
  11  norm           .0000        5.7978       -.29191E-06** at limit **
  12  Prefactor     13.571        18.350       -.10462E-06    .28652E-04
  13  Prefactor     .22204E-09    34.757        .35421E-06** at limit **
  14  norm          4.5787        8.8987        .26401E-07    .15327E-03
  15  norm           .0000        3.4184       -.22615E-06** at limit **
  16  norm          1154.0        32.464       -.11219E-08    .94626    
  17  norm          .45447        .46559       -.19976E-07   -.87910E-03
  18  Prefactor      .0000        58.491        .12671E-05** at limit **
  19  Prefactor     146.71        309.23        .15713E-05   -.95315E-02
  20  norm          24.715        19.459       -.25629E-06   -.14652E-03
  21  norm          .55511E-10    7.4360       -.25926E-06** at limit **
  22  Prefactor     158.33        184.82       -.24696E-06   -.62697E-01
  23  Prefactor     .18763E-07    246.90       -.10418E-05** at limit **
  24  Normalizat    .10000E-01    .26005        .21159E-04** at limit **
  25  Prefactor     1.4844        .15516       -.22817E-05   -.11188E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.59571
  Prefactor  = 0
  norm       = 0
  Prefactor  = 21.8697
  norm       = 0
  Prefactor  = 49.3298
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 162.096
  norm       = 0
  Prefactor  = 13.5712
  Prefactor  = 2.22045e-10
  norm       = 4.57868
  norm       = 0
  norm       = 1154
  norm       = 0.454471
  Prefactor  = 0
  Prefactor  = 146.706
  norm       = 24.7154
  norm       = 5.55112e-11
  Prefactor  = 158.33
  Prefactor  = 1.87628e-08
  Normalizat = 0.01
  Prefactor  = 1.48444
 **********
 **   18 **HESSE 
 **********

 FCN=   2287.196     FROM HESSE     STATUS=OK           475 CALLS     2767 TOTAL
                     EDM=   .33E-03    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.5957        3.1480        .34252E-03   -1.5649    
   2  Prefactor      .0000        36.793        .16634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.2186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.870        76.661        .26797E-03   -1.5614    
   5  norm           .0000        1.5299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     49.330        36.802        .14199E-03   -1.5567    
   7  Prefactor      .0000        10.954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.9456        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        31.992        .15273E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     162.10        125.31        .82936E-04   -1.5453    
  11  norm           .0000        5.8192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.571        18.444        .27309E-03   -1.5634    
  13  Prefactor     .22204E-09    34.663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.5787        10.746        .47525E-03   -1.5665    
  15  norm           .0000        2.3632        .19020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1154.0        649.32        .29454E-04   -1.5028    
  17  norm          .45447        .45599        .72634E-03   -1.5694    
  18  Prefactor      .0000        58.338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     146.71        311.60        .15998E-03   -1.5466    
  20  norm          24.715        19.466        .20041E-03   -1.5609    
  21  norm          .55511E-10    7.6430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     158.33        185.98        .74110E-04   -1.5456    
  23  Prefactor     .18763E-07    247.58        .87467E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .10000E-01    .26223        .32094E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.4844        .15490        .29855E-01   -.77976    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.000329199
Minuit parameter uncertainties:
  1  3.148
  2  5.59146e-06
  3  5.75535e-07
  4  76.6646
  5  3.91152e-06
  6  36.8025
  7  1.00986e-05
  8  7.43271e-07
  9  3.92848e-05
  10  125.312
  11  2.19023e-05
  12  18.4437
  13  0.000181173
  14  10.7458
  15  1.94685e-06
  16  649.357
  17  0.455985
  18  1.36692e-05
  19  311.637
  20  19.4658
  21  3.53393e-05
  22  185.985
  23  0.0043085
  24  1.17524e-06
  25  0.154949
Done.

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

Extracting fit parameters...

4FGL J0205.2+3212
   Spectrum: PowerLaw
262    Prefactor:  1.357e+01  1.844e+01  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:  1.484e+00  1.549e-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.000e-02  1.175e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.73
Ra Dec: 31.309 32.203
Photon Flux Upper Limit: 3.55e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.79e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/822854/likelihoodResults_690336001_690595201_4FGL_J0205.2+3212_daily_bin1740.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) = 2287.19024749
delta logL = 0.00581543751605

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2287.18864073
delta logL = 0.00742219471294

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.463       1.0000          .0000       .10000E+07
     2 'Index     '    2.7815       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4842       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2287.189     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      249 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.464        20.371        .11340E-04   -.42388E-02
   2  Index         2.7811        1.0698        .77821E-02   -.12779E-03
   3  Normalizat    .10000E-01    .26046        .64188E-02** at limit **
   4  Prefactor     1.4841        .13977        .17965E-03    .39032E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4642
  Index      = 2.78109
  Normalizat = 0.01
  Prefactor  = 1.48407
 **********
 **   18 **HESSE 
 **********

 FCN=   2287.189     FROM HESSE     STATUS=OK            23 CALLS      272 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.464        19.721        .45359E-06   -1.5637    
   2  Index         2.7811        1.0363        .31128E-03   -.45981    
   3  Normalizat    .10000E-01    .26048        .12838E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.4841        .13975        .35929E-04   -.77987    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09677e-09
Minuit parameter uncertainties:
  1  19.7211
  2  1.04582
  3  1.03055e-06
  4  0.139789
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/822854': 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) = 2287.18864042
delta logL = 0.00742250437588

Extracting fit parameters...

4FGL J0205.2+3212
   Spectrum: PowerLaw
262    Prefactor:  1.246e+01  1.972e+01  0.000e+00  1.000e+06 ( 1.000e-12)
263        Index:  2.781e+00  1.046e+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:  1.484e+00  1.398e-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.000e-02  1.031e-06  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/822854/cmap_HighResolution_690336001_690595201_4FGL_J0205.2+3212_daily_bin1740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.79e-02', job_status='DONE', photon_flux_upper_limit='3.55e-07', time_completed='2022-11-20 00:18:06.872390', job_id='822854', GAL2='1.48', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1668932286.87', return_code2='0', ts='0.73', comment='SUCCESS', return_code='0', GAL='1.48', dlogl='7.42e-03', ts2='0.73', photon_index_error='0.00', photon_index='2.66' WHERE bin_id='1740' AND source_name='4FGL J0205.2+3212' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 20 00:18:06 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 822770: <4FGL_J0205.2+3212_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0205.2+3212_daily_bin1740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:11 2022
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:08:30 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:08:30 2022
Terminated at Sun Nov 20 00:17:16 2022
Results reported at Sun Nov 20 00:17:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0205.2+3212_daily_bin1740 31.3089 32.203 690336001 690595201 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 :                                   441.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   525 sec.
    Turnaround time :                            725 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 822854: <4FGL_J0205.2+3212_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0205.2+3212_daily_bin1740> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:17 2022
Job was executed on host(s) <bullet0043>, 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:07 2022
Results reported at Sun Nov 20 00:18:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0205.2+3212_daily_bin1740 31.3089 32.203 690336001 690595201 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 :                                   436.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   515 sec.
    Turnaround time :                            770 sec.

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

