aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 157 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0212.9+2244_weekly_bin588
RA = 33.2427, Dec = 22.7466
tmin = 594604801, tmax = 595209601
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='414919', job_status='RUN', time_executed='2021-07-04 11:35:06.793147', time_epoch_executed='1625423706.79' WHERE source_name='4FGL J0212.9+2244' and cadence='weekly' and bin_id='588'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/414919

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/414919/ft1_4FGL_J0212.9+2244_weekly_bin588.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/414919/ft2_4FGL_J0212.9+2244_weekly_bin588.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/414919/ft1_4FGL_J0212.9+2244_weekly_bin588.fits outfile=/scratch/kocevski/414919/ft1_filteredMKT_4FGL_J0212.9+2244_weekly_bin588.fits ra=33.2427 dec=22.7466 rad=12.0 tmin=594604801.0 tmax=595209601.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 6.50
user 5.93
sys 0.28

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/414919/ft2_4FGL_J0212.9+2244_weekly_bin588.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/414919/ft2_4FGL_J0212.9+2244_weekly_bin588.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/414919/ft1_filteredMKT_4FGL_J0212.9+2244_weekly_bin588.fits evtable="EVENTS" outfile="/scratch/kocevski/414919/ft1_filtered_4FGL_J0212.9+2244_weekly_bin588.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 1.17
user 0.39
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/414919/ft1_filtered_4FGL_J0212.9+2244_weekly_bin588.fits" evtable="EVENTS" scfile=/scratch/kocevski/414919/ft2_4FGL_J0212.9+2244_weekly_bin588.fits sctable="SC_DATA" outfile=/scratch/kocevski/414919/ltcube_594604801_595209601_4FGL_J0212.9+2244_weekly_bin588.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/414919/ft2_4FGL_J0212.9+2244_weekly_bin588.fits
.....................!
real 28.16
user 27.44
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/414919/ft1_filtered_4FGL_J0212.9+2244_weekly_bin588.fits evtable="EVENTS" scfile=/scratch/kocevski/414919/ft2_4FGL_J0212.9+2244_weekly_bin588.fits sctable="SC_DATA" expcube=/scratch/kocevski/414919/ltcube_594604801_595209601_4FGL_J0212.9+2244_weekly_bin588.fits outfile=/scratch/kocevski/414919/expmap_594604801_595209601_4FGL_J0212.9+2244_weekly_bin588.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/414919/ltcube_594604801_595209601_4FGL_J0212.9+2244_weekly_bin588.fits
.....................!
real 191.42
user 185.91
sys 4.24

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

Setting source of interest to:
4FGL J0212.9+2244 @ 33.2427 22.7466

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/414919/ft1_filtered_4FGL_J0212.9+2244_weekly_bin588.fits scfile=/scratch/kocevski/414919/ft2_4FGL_J0212.9+2244_weekly_bin588.fits outfile=/scratch/kocevski/414919/cmap_594604801_595209601_4FGL_J0212.9+2244_weekly_bin588.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=33.2427 yref=22.7466 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.62
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/414919/ft1_filtered_4FGL_J0212.9+2244_weekly_bin588.fits scfile=/scratch/kocevski/414919/ft2_4FGL_J0212.9+2244_weekly_bin588.fits outfile=/scratch/kocevski/414919/cmap_HighResolution_594604801_595209601_4FGL_J0212.9+2244_weekly_bin588.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=33.2427 yref=22.7466 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.86
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/414919/ft1_filtered_4FGL_J0212.9+2244_weekly_bin588.fits evtable="EVENTS" scfile=/scratch/kocevski/414919/ft2_4FGL_J0212.9+2244_weekly_bin588.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/414919/Model_4FGL_J0212.9+2244_weekly_bin588.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/414919/ft1_filtered_4FGL_J0212.9+2244_weekly_bin588.fits.....................!
real 18.55
user 15.10
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/414919/ft1_filtered_4FGL_J0212.9+2244_weekly_bin588.fits', '/scratch/kocevski/414919/ft2_4FGL_J0212.9+2244_weekly_bin588.fits', expMap='/scratch/kocevski/414919/expmap_594604801_595209601_4FGL_J0212.9+2244_weekly_bin588.fits', expCube='/scratch/kocevski/414919/ltcube_594604801_595209601_4FGL_J0212.9+2244_weekly_bin588.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/414919/Model_4FGL_J0212.9+2244_weekly_bin588.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0212.9+2244'

4FGL J0212.9+2244
   Spectrum: PowerLaw
212    Prefactor:  1.178e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
213        Index:  2.054e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
214        Scale:  2.189e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/414919/ft1_filtered_4FGL_J0212.9+2244_weekly_bin588.fits
Spacecraft file(s): /scratch/kocevski/414919/ft2_4FGL_J0212.9+2244_weekly_bin588.fits
Exposure map: /scratch/kocevski/414919/expmap_594604801_595209601_4FGL_J0212.9+2244_weekly_bin588.fits
Exposure cube: /scratch/kocevski/414919/ltcube_594604801_595209601_4FGL_J0212.9+2244_weekly_bin588.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/414919/Model_4FGL_J0212.9+2244_weekly_bin588.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 294.136742141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 292.238855067

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95578E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .66574       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.1643       1.0000         .10000E-03   10000.    
     4 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    59.533       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .61920E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .18952E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.8150       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .18545E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    69.074       1.0000         .10000E-03   10000.    
    11 'norm      '    6.3680       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .76238E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.284       1.0000         .10000E-03   10000.    
    14 'norm      '    4.2494       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.8687       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.0302       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .33242       1.0000         .10000E-03   10000.    
    19 'norm      '    8.8491       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .70801E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10116E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.8222       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.4950       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.1506       1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.1825       1.0000         .10000E-03   10000.    
    26 'norm      '    1.0397       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    28 'Prefactor '    .78079       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   292.2165     FROM MIGRAD    STATUS=CONVERGED    323 CALLS      682 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.418        .10396E-01** at limit **
   2  Prefactor     .10000E-03    75.188        .11930E-01** at limit **
   3  Prefactor     .28005E-01    6376.7        .33098E-02    .27085E-02
   4  norm          .10000E-03    1.6013        .90712E-02** at limit **
   5  Prefactor     58.694        76.450        .13000E-02   -.43311E-02
   6  Prefactor     .10000E-03    91.064        .10524E-01** at limit **
   7  norm          .10000E-03    23.708        .91174E-02** at limit **
   8  Prefactor     .18070E-01    1050.3        .41637E-02    .61535E-02
   9  Prefactor     .10000E-03    116.99        .10148E-01** at limit **
  10  Prefactor     68.608        62.792        .12074E-02   -.22022E-02
  11  norm          7.7178        28.227        .39764E-02    .91806E-02
  12  Prefactor     .10000E-03    229.21        .92795E-02** at limit **
  13  Prefactor     12.755        293.24        .31237E-02    .23562E-02
  14  norm          .10888E-01    7223.5        .48866E-02    .97178E-03
  15  Prefactor     .21412E-01    1078.0        .33648E-02   -.65226E-02
  16  Prefactor     .10000E-03    30.085        .90712E-02** at limit **
  17  Prefactor     2.8225        9965.0        .44823E-02    .30147E-02
  18  Prefactor     .10000E-03    67.520        .10566E-01** at limit **
  19  norm          8.8491        1.0016         .0000         .0000    
  20  Prefactor     .10000E-03    .27492       -.46603E-05** at limit **
  21  norm          .10000E-03    .20571       -.13777E-05** at limit **
  22  Prefactor     .10000E-03    .14949        .52853E-06** at limit **
  23  Prefactor     .14782E-03    .10462       -.87868E-06** at limit **
  24  Prefactor     3.1506        1.0132         .0000         .0000    
  25  Prefactor     .12451E-01    .12132       -.79290E-05   -.28781E-02
  26  norm          1.0397        1.2531         .0000         .0000    
  27  Normalizat    .10000E-01    .25505        .11830E-04** at limit **
  28  Prefactor     .78119        1.1301       -.12060E-04   -.12928E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.028005
  norm       = 0.0001
  Prefactor  = 58.694
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0180703
  Prefactor  = 0.0001
  Prefactor  = 68.6081
  norm       = 7.71783
  Prefactor  = 0.0001
  Prefactor  = 12.7549
  norm       = 0.0108881
  Prefactor  = 0.0214123
  Prefactor  = 0.0001
  Prefactor  = 2.82255
  Prefactor  = 0.0001
  norm       = 8.84905
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.000147822
  Prefactor  = 3.15065
  Prefactor  = 0.0124508
  norm       = 1.03974
  Normalizat = 0.01
  Prefactor  = 0.78119
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   292.2165     FROM HESSE     STATUS=FAILED        47 CALLS      729 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.418        .10396E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    75.188        .11930E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .28005E-01    6376.7        .33098E-02   -1.5675    
   4  norm          .10000E-03    1.6013        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     58.694        76.450        .13000E-02   -1.4174    
   6  Prefactor     .10000E-03    91.064        .10524E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    23.708        .91174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .18070E-01    1050.3        .41637E-02   -1.5681    
   9  Prefactor     .10000E-03    116.99        .10148E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     68.608        62.792        .12074E-02   -1.4049    
  11  norm          7.7178        28.227        .39764E-02   -1.5152    
  12  Prefactor     .10000E-03    229.21        .92795E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.755        293.24        .31237E-02   -1.4994    
  14  norm          .10888E-01    7223.5        .48866E-02   -1.5687    
  15  Prefactor     .21412E-01    1078.0        .33648E-02   -1.5737    
  16  Prefactor     .10000E-03    30.085        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.8225        9965.0        .44823E-02   -1.5372    
  18  Prefactor     .10000E-03    67.520        .10566E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          498.85        489.97         .0000       -1.5113    
  20  Prefactor     .10000E-03    .27492       -.46603E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .20571       -.13777E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    .14949        .52853E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .14782E-03    .10462       -.87868E-06   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.1506        1.0132         .0000       -1.5353    
  25  Prefactor     .12451E-01    .12132       -.79290E-05   -1.5730    
  26  norm          1.0397        1.2531         .0000       -1.5504    
  27  Normalizat    .10000E-01    .25505        .11830E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .78119        1.1301       -.12060E-04   -1.0043    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.39167e-09
Minuit parameter uncertainties:
  1  4.4472e-07
  2  3.762e-05
  3  18.5111
  4  2.19186e-06
  5  76.5784
  6  8.9696e-05
  7  2.98887e-05
  8  8.84847
  9  1.9404e-05
  10  62.8531
  11  28.2763
  12  5.08661e-05
  13  123.002
  14  15.1859
  15  9.76738
  16  8.04921e-06
  17  560.912
  18  4.11393e-05
  19  1.0016
  20  2.02206e-06
  21  5.67452e-07
  22  4.79063e-05
  23  0.00447345
  24  1.01318
  25  0.0774181
  26  1.25317
  27  2.26243e-08
  28  1.16647
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 292.216523437

Extracting fit parameters...

4FGL J0212.9+2244
   Spectrum: PowerLaw
212    Prefactor:  1.000e-04  5.087e-05  1.000e-04  1.000e+04 ( 1.000e-13)
213        Index:  2.054e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
214        Scale:  2.189e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
515    Prefactor:  7.812e-01  1.166e+00  0.000e+00  1.000e+01 ( 1.000e+00)
516        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
517        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
514   Normalization:  1.000e-02  2.262e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 33.243 22.747
Photon Flux Upper Limit: 7.39e-06 ph cm-2 s-1
Energy Flux Upper Limit: 5.57e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/414919/likelihoodResults_594604801_595209601_4FGL_J0212.9+2244_weekly_bin588.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) = 292.216544188
delta logL = -2.07509513643e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 292.216523727
delta logL = -2.89565548428e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16525E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2921       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78119       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   292.2165     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      243 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10014E-03    201.71        .90712E-02** at limit **
   2  Index         2.2538        5.9798        .50000        .18705E-05
   3  Normalizat    .10000E-01    .53804E-03    .11708    ** at limit **
   4  Prefactor     .78119        .10392E-01    .30231E-01   -.27541E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100145
  Index      = 2.25375
  Normalizat = 0.01
  Prefactor  = 0.78119
 **********
 **   18 **HESSE 
 **********

 FCN=   292.2165     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      274 TOTAL
                     EDM=   .61E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10014E-03    966.98        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2538        7.1906        .50000       -.58147    
   3  Normalizat    .10000E-01    .28013E-02    .50641E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .78119        .23168E-01    .13361E-03   -1.0043    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.06861e-08
Minuit parameter uncertainties:
  1  0.0240435
  2  705.009
  3  6.10491e-08
  4  0.0231679
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/414919': 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): 102
logL (Free Index) = 292.21652351
delta logL = -7.24022584109e-08

Extracting fit parameters...

4FGL J0212.9+2244
   Spectrum: PowerLaw
212    Prefactor:  1.001e-04  2.404e-02  1.000e-04  1.000e+04 ( 1.000e-13)
213        Index:  2.254e+00  7.050e+02  0.000e+00  1.000e+01 (-1.000e+00)
214        Scale:  2.189e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
515    Prefactor:  7.812e-01  2.317e-02  0.000e+00  1.000e+01 ( 1.000e+00)
516        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
517        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
514   Normalization:  1.000e-02  6.105e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 33.243 22.747

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/414919/cmap_HighResolution_594604801_595209601_4FGL_J0212.9+2244_weekly_bin588.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.57e-01', job_status='DONE', photon_flux_upper_limit='7.39e-06', time_completed='2021-07-04 11:41:33.217841', job_id='414919', GAL2='0.78', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1625424093.22', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.78', dlogl='-7.24e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='588' AND source_name='4FGL J0212.9+2244' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Jul  4 11:41:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 414919: <4FGL_J0212.9+2244_weekly_bin588> in cluster <slac> Done

Job <4FGL_J0212.9+2244_weekly_bin588> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Jul  4 11:31:22 2021
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul  4 11:31:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul  4 11:31:24 2021
Terminated at Sun Jul  4 11:41:36 2021
Results reported at Sun Jul  4 11:41:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0212.9+2244_weekly_bin588 33.2427 22.7466 594604801 595209601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0212.9+2244 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   359.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   612 sec.
    Turnaround time :                            614 sec.

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

