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


Performing analysis on: 4FGL_J1213.7+6423_monthly_bin169
RA = 183.437, Dec = 64.3961
tmin = 675043201, tmax = 677635201
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='166094', job_status='RUN', time_executed='2022-06-23 02:17:47.881108', time_epoch_executed='1655975867.88' WHERE source_name='4FGL J1213.7+6423' and cadence='monthly' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/166094

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/166094/ft1_4FGL_J1213.7+6423_monthly_bin169.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/166094/ft2_4FGL_J1213.7+6423_monthly_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/166094/ft1_4FGL_J1213.7+6423_monthly_bin169.fits outfile=/scratch/kocevski/166094/ft1_filteredMKT_4FGL_J1213.7+6423_monthly_bin169.fits ra=183.437 dec=64.3961 rad=12.0 tmin=675043201.0 tmax=677635201.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 28.02
user 26.89
sys 0.71

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/166094/ft2_4FGL_J1213.7+6423_monthly_bin169.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/166094/ft2_4FGL_J1213.7+6423_monthly_bin169.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/166094/ft1_filteredMKT_4FGL_J1213.7+6423_monthly_bin169.fits evtable="EVENTS" outfile="/scratch/kocevski/166094/ft1_filtered_4FGL_J1213.7+6423_monthly_bin169.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.86
user 0.65
sys 0.19

Number of photons that the gtmktime cut: 8838

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/166094/ft1_filtered_4FGL_J1213.7+6423_monthly_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/166094/ft2_4FGL_J1213.7+6423_monthly_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/166094/ltcube_675043201_677635201_4FGL_J1213.7+6423_monthly_bin169.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/166094/ft2_4FGL_J1213.7+6423_monthly_bin169.fits
.....................!
real 136.08
user 134.04
sys 0.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/166094/ft1_filtered_4FGL_J1213.7+6423_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/166094/ft2_4FGL_J1213.7+6423_monthly_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/166094/ltcube_675043201_677635201_4FGL_J1213.7+6423_monthly_bin169.fits outfile=/scratch/kocevski/166094/expmap_675043201_677635201_4FGL_J1213.7+6423_monthly_bin169.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/166094/ltcube_675043201_677635201_4FGL_J1213.7+6423_monthly_bin169.fits
.....................!
real 197.54
user 189.71
sys 5.45

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

Setting source of interest to:
4FGL J1213.7+6423 @ 183.437 64.3961

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/166094/ft1_filtered_4FGL_J1213.7+6423_monthly_bin169.fits scfile=/scratch/kocevski/166094/ft2_4FGL_J1213.7+6423_monthly_bin169.fits outfile=/scratch/kocevski/166094/cmap_675043201_677635201_4FGL_J1213.7+6423_monthly_bin169.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=183.437 yref=64.3961 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.79
user 0.59
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/166094/ft1_filtered_4FGL_J1213.7+6423_monthly_bin169.fits scfile=/scratch/kocevski/166094/ft2_4FGL_J1213.7+6423_monthly_bin169.fits outfile=/scratch/kocevski/166094/cmap_HighResolution_675043201_677635201_4FGL_J1213.7+6423_monthly_bin169.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=183.437 yref=64.3961 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.80
user 0.63
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/166094/ft1_filtered_4FGL_J1213.7+6423_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/166094/ft2_4FGL_J1213.7+6423_monthly_bin169.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/166094/Model_4FGL_J1213.7+6423_monthly_bin169.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/166094/ft1_filtered_4FGL_J1213.7+6423_monthly_bin169.fits.....................!
real 783.34
user 773.05
sys 1.51

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/166094/ft1_filtered_4FGL_J1213.7+6423_monthly_bin169.fits', '/scratch/kocevski/166094/ft2_4FGL_J1213.7+6423_monthly_bin169.fits', expMap='/scratch/kocevski/166094/expmap_675043201_677635201_4FGL_J1213.7+6423_monthly_bin169.fits', expCube='/scratch/kocevski/166094/ltcube_675043201_677635201_4FGL_J1213.7+6423_monthly_bin169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/166094/Model_4FGL_J1213.7+6423_monthly_bin169.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1213.7+6423'

4FGL J1213.7+6423
   Spectrum: PowerLaw
370    Prefactor:  3.253e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
371        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
372        Scale:  8.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/166094/ft1_filtered_4FGL_J1213.7+6423_monthly_bin169.fits
Spacecraft file(s): /scratch/kocevski/166094/ft2_4FGL_J1213.7+6423_monthly_bin169.fits
Exposure map: /scratch/kocevski/166094/expmap_675043201_677635201_4FGL_J1213.7+6423_monthly_bin169.fits
Exposure cube: /scratch/kocevski/166094/ltcube_675043201_677635201_4FGL_J1213.7+6423_monthly_bin169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/166094/Model_4FGL_J1213.7+6423_monthly_bin169.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) = 95102.432453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9871       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.3006       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.3481       1.0000         .10000E-03   10000.    
     5 'norm      '    .34948       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.0663       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.3887       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.1966       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.452       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .36085E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.2266       1.0000         .10000E-03   10000.    
    12 'norm      '    .97559       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.2807       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.4221       1.0000         .10000E-03   10000.    
    16 'norm      '    1.1923       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.316       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.6315       1.0000         .10000E-03   10000.    
    20 'norm      '    .84610       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.0414       1.0000         .10000E-03   10000.    
    22 'norm      '    4.6325       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.3376       1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.3157       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    11.090       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .57187       1.0000         .10000E-03   10000.    
    28 'Prefactor '    1.8203       1.0000         .10000E-03   10000.    
    29 'Prefactor '    2.2006       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .74435       1.0000         .10000E-03   10000.    
    31 'Normalizat'    1.0328       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .98364       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   95102.35     FROM MIGRAD    STATUS=CONVERGED    852 CALLS     3874 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9871        .75618         .0000        .25549E-02
   2  Prefactor     2.2526        30.264         .0000       -.92858E-03
   3  Prefactor     .10000E-03    .17215         .0000    ** at limit **
   4  norm          1.3481        .20144         .0000       -.16459E-02
   5  norm          .34950        1.2045         .0000        .18117E-01
   6  Prefactor     9.0653        4.1691         .0000        .69924E-01
   7  Prefactor     7.3888        4.9756         .0000        .92774E-02
   8  Prefactor     3.1966        1.3555         .0000        .13513    
   9  Prefactor     11.452        4.6223         .0000       -.73784E-03
  10  Prefactor     .20571E-01    .86403         .0000        .20104E-02
  11  Prefactor     2.2267        .72732         .0000        .13633E-02
  12  norm          .97556        1.2724         .0000       -.70804E-03
  13  norm          .10000E-03    .19838         .0000    ** at limit **
  14  Prefactor     3.2807        1.5749         .0000        .10947    
  15  Prefactor     5.4220        4.3170         .0000        .14290E-01
  16  norm          1.1924        .46532         .0000        .11454E-01
  17  Prefactor     .10000E-03    2.1612         .0000    ** at limit **
  18  Prefactor     10.316        4.2638         .0000        .85663E-02
  19  Prefactor     6.6317        7.8198         .0000        .98553E-03
  20  norm          .84616        .70077         .0000        .11439E-01
  21  Prefactor     1.0414        .86333         .0000        .52165E-02
  22  norm          4.6326        .62674         .0000        .66110E-03
  23  Prefactor     2.3328        6.0429         .0000       -.48149E-02
  24  Prefactor     1.3157        1.5255         .0000        .27975    
  25  Prefactor     .10000E-03    2.8093         .0000    ** at limit **
  26  Prefactor     11.088        5.4590         .0000       -.37303E-02
  27  Prefactor     .57213        .76727         .0000        .19248E-01
  28  Prefactor     1.8211        2.6303         .0000        .90853E-01
  29  Prefactor     2.2002        1.6403         .0000        .15990    
  30  Prefactor     .74409        3.0596         .0000        .10519    
  31  Normalizat    1.0327        .42037E-01     .0000       -.82450E-03
  32  Prefactor     .98367        .48272E-01     .0000       -.79331E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.9871
  Prefactor  = 2.25263
  Prefactor  = 0.0001
  norm       = 1.34805
  norm       = 0.349498
  Prefactor  = 9.06534
  Prefactor  = 7.38883
  Prefactor  = 3.19659
  Prefactor  = 11.4517
  Prefactor  = 0.0205709
  Prefactor  = 2.22668
  norm       = 0.975556
  norm       = 0.0001
  Prefactor  = 3.2807
  Prefactor  = 5.42202
  norm       = 1.19237
  Prefactor  = 0.0001
  Prefactor  = 10.3159
  Prefactor  = 6.63172
  norm       = 0.84616
  Prefactor  = 1.04144
  norm       = 4.63257
  Prefactor  = 2.33278
  Prefactor  = 1.31573
  Prefactor  = 0.0001
  Prefactor  = 11.0885
  Prefactor  = 0.572133
  Prefactor  = 1.82105
  Prefactor  = 2.20016
  Prefactor  = 0.744089
  Normalizat = 1.03275
  Prefactor  = 0.983668
 **********
 **   18 **HESSE 
 **********

 FCN=   95102.35     FROM HESSE     STATUS=OK           701 CALLS     4575 TOTAL
                     EDM=   .77E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9871        .75484        .13092E-03   -1.5362    
   2  Prefactor     2.2526        30.179        .27056E-03   -1.5408    
   3  Prefactor     .10000E-03    .30359        .41865E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.3481        .19488        .44445E-04   -1.5476    
   5  norm          .34950        1.1527        .19242E-02   -1.5590    
   6  Prefactor     9.0653        3.0147        .66554E-03   -1.5106    
   7  Prefactor     7.3888        4.9729        .73775E-03   -1.5164    
   8  Prefactor     3.1966        1.3522        .11109E-02   -1.5350    
   9  Prefactor     11.452        4.6189        .11838E-03   -1.5031    
  10  Prefactor     .20571E-01    .80908        .98580E-01   -1.5679    
  11  Prefactor     2.2267        .72680        .14555E-03   -1.5410    
  12  norm          .97556        1.2721        .52316E-04   -1.5510    
  13  norm          .10000E-03    .19854        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.2807        1.5646        .11178E-02   -1.5346    
  15  Prefactor     5.4220        4.2915        .86286E-03   -1.5242    
  16  norm          1.1924        .45794        .12564E-03   -1.5490    
  17  Prefactor     .10000E-03    2.1633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.316        4.2664        .62376E-03   -1.5065    
  19  Prefactor     6.6317        7.8068        .15583E-03   -1.5193    
  20  norm          .84616        .64130        .22484E-02   -1.5524    
  21  Prefactor     1.0414        .85276        .24641E-03   -1.5504    
  22  norm          4.6326        .62202        .84305E-04   -1.5277    
  23  Prefactor     2.3328        6.0348        .26819E-03   -1.5402    
  24  Prefactor     1.3157        1.5046        .19200E-02   -1.5479    
  25  Prefactor     .10000E-03    2.8177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     11.088        5.4355        .12030E-03   -1.5042    
  27  Prefactor     .57213        .70931        .26559E-03   -1.5557    
  28  Prefactor     1.8211        2.6081        .15475E-02   -1.5438    
  29  Prefactor     2.2002        1.5522        .13868E-02   -1.5411    
  30  Prefactor     .74409        2.9695        .24462E-02   -1.5535    
  31  Normalizat    1.0327        .48562E-01    .22188E-03   -.91941    
  32  Prefactor     .98367        .55959E-01    .27013E-03   -.93276    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.70092e-08
Minuit parameter uncertainties:
  1  0.754842
  2  16.5
  3  1.04769e-05
  4  0.194879
  5  1.1528
  6  3.01474
  7  4.97321
  8  1.35222
  9  4.61909
  10  0.257395
  11  0.726803
  12  1.27215
  13  9.29436e-07
  14  1.56463
  15  4.2917
  16  0.45794
  17  3.78982e-05
  18  4.26653
  19  7.80799
  20  0.641304
  21  0.852774
  22  0.622017
  23  6.03634
  24  1.50467
  25  3.11077e-06
  26  5.43569
  27  0.709321
  28  2.6083
  29  1.55219
  30  2.9701
  31  0.0485639
  32  0.0559625
Done.

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

Extracting fit parameters...

4FGL J1213.7+6423
   Spectrum: PowerLaw
370    Prefactor:  1.032e+01  4.267e+00  1.000e-04  1.000e+04 ( 1.000e-13)
371        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
372        Scale:  8.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.837e-01  5.596e-02  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  1.033e+00  4.856e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.38
Ra Dec: 183.437 64.396
Photon Index (Fixed Index): 2.47 +/- 0.00
Photon Flux (Fixed Index): 1.59e-08 +/- 6.59e-09
Energy Flux (Fixed Index): 4.78e-06 +/- 1.98e-06

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) = 95102.3502372
delta logL = 0.000270098636975

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 95102.3501703
delta logL = 0.000337000339641

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   95102.35     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      241 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.367        4.9470        .12444E-03   -.10524E-02
   2  Index         2.4621        .37192        .12821E-01   -.25001E-03
   3  Normalizat    1.0329        .46978E-01    .22186E-03   -.36321E-03
   4  Prefactor     .98352        .55370E-01    .27015E-03   -.93727E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.3673
  Index      = 2.46207
  Normalizat = 1.03295
  Prefactor  = 0.983522
 **********
 **   18 **HESSE 
 **********

 FCN=   95102.35     FROM HESSE     STATUS=OK            25 CALLS      266 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.367        4.7023        .49776E-05   -1.5064    
   2  Index         2.4621        .35317        .51285E-03   -.53238    
   3  Normalizat    1.0329        .46956E-01    .88743E-05   -.91935    
   4  Prefactor     .98352        .55372E-01    .10806E-04   -.93281    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.25998e-10
Minuit parameter uncertainties:
  1  4.70246
  2  0.353571
  3  0.0469576
  4  0.0553756
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/166094': 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) = 95102.3501703
delta logL = 0.000337000412401

Extracting fit parameters...

4FGL J1213.7+6423
   Spectrum: PowerLaw
370    Prefactor:  1.037e+01  4.702e+00  1.000e-04  1.000e+04 ( 1.000e-13)
371        Index:  2.462e+00  3.536e-01  0.000e+00  1.000e+01 (-1.000e+00)
372        Scale:  8.984e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.835e-01  5.538e-02  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  1.033e+00  4.696e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.35
Ra Dec: 183.437 64.396
Photon Index (Free Index): 2.46 +/- 0.35
Photon Flux (Free Index): 1.58e-08 +/- 8.49e-09
Energy Flux (Free Index): 4.79e-06 +/- 2.01e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/166094/cmap_HighResolution_675043201_677635201_4FGL_J1213.7+6423_monthly_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.59e-08', energy_flux2='4.79e-06', photon_flux_error='6.59e-09', dlogl='3.37e-04', energy_flux='4.78e-06', photon_flux2='1.58e-08', job_status='DONE', time_completed='2022-06-23 04:51:15.956966', photon_index_error2='0.35', photon_index2='2.46', ts='9.38', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='2.01e-06', EG='1.03', time_epoch_completed='1655985075.96', return_code='0', job_id='166094', GAL2='0.98', EG2='1.03', return_code2='0', energy_flux_error='1.98e-06', photon_flux_error2='8.49e-09', ts2='9.35', photon_index='2.47' WHERE bin_id='169' AND source_name='4FGL J1213.7+6423' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jun 23 04:51:16 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 166094: <4FGL_J1213.7+6423_monthly_bin169> in cluster <slac> Done

Job <4FGL_J1213.7+6423_monthly_bin169> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jun 23 01:35:35 2022
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 02:16:08 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 02:16:08 2022
Terminated at Thu Jun 23 04:51:17 2022
Results reported at Thu Jun 23 04:51:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1213.7+6423_monthly_bin169 183.437 64.3961 675043201 677635201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1213.7+6423 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   9095.00 sec.
    Max Memory :                                 1101 MB
    Average Memory :                             453.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   9308 sec.
    Turnaround time :                            11742 sec.

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

