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 55 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_J2010.0+7229_monthly_bin169
RA = 302.516, Dec = 72.4874
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='187832', job_status='RUN', time_executed='2022-06-23 03:03:54.083228', time_epoch_executed='1655978634.08' WHERE source_name='4FGL J2010.0+7229' and cadence='monthly' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/187832

Creating custom pfile directory:
/scratch/kocevski/187832/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/187832/ft1_4FGL_J2010.0+7229_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/187832/ft2_4FGL_J2010.0+7229_monthly_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/187832/ft1_4FGL_J2010.0+7229_monthly_bin169.fits outfile=/scratch/kocevski/187832/ft1_filteredMKT_4FGL_J2010.0+7229_monthly_bin169.fits ra=302.516 dec=72.4874 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.45
user 27.55
sys 0.79

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/187832/ft2_4FGL_J2010.0+7229_monthly_bin169.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/187832/ft2_4FGL_J2010.0+7229_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/187832/ft1_filteredMKT_4FGL_J2010.0+7229_monthly_bin169.fits evtable="EVENTS" outfile="/scratch/kocevski/187832/ft1_filtered_4FGL_J2010.0+7229_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.96
user 0.69
sys 0.24

Number of photons that the gtmktime cut: 26273

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/187832/ft1_filtered_4FGL_J2010.0+7229_monthly_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/187832/ft2_4FGL_J2010.0+7229_monthly_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/187832/ltcube_675043201_677635201_4FGL_J2010.0+7229_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/187832/ft2_4FGL_J2010.0+7229_monthly_bin169.fits
.....................!
real 136.76
user 136.06
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/187832/ft1_filtered_4FGL_J2010.0+7229_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/187832/ft2_4FGL_J2010.0+7229_monthly_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/187832/ltcube_675043201_677635201_4FGL_J2010.0+7229_monthly_bin169.fits outfile=/scratch/kocevski/187832/expmap_675043201_677635201_4FGL_J2010.0+7229_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/187832/ltcube_675043201_677635201_4FGL_J2010.0+7229_monthly_bin169.fits
.....................!
real 192.96
user 187.25
sys 5.04

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
Extended source FHES J2208.4+6443 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 197 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2010.0+7229 @ 302.516 72.4874

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/187832/ft1_filtered_4FGL_J2010.0+7229_monthly_bin169.fits scfile=/scratch/kocevski/187832/ft2_4FGL_J2010.0+7229_monthly_bin169.fits outfile=/scratch/kocevski/187832/cmap_675043201_677635201_4FGL_J2010.0+7229_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=302.516 yref=72.4874 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.85
user 0.67
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/187832/ft1_filtered_4FGL_J2010.0+7229_monthly_bin169.fits scfile=/scratch/kocevski/187832/ft2_4FGL_J2010.0+7229_monthly_bin169.fits outfile=/scratch/kocevski/187832/cmap_HighResolution_675043201_677635201_4FGL_J2010.0+7229_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=302.516 yref=72.4874 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.84
user 0.67
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/187832/ft1_filtered_4FGL_J2010.0+7229_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/187832/ft2_4FGL_J2010.0+7229_monthly_bin169.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/187832/Model_4FGL_J2010.0+7229_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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2208.4+6443
adding source GAL_V02
Working on...
/scratch/kocevski/187832/ft1_filtered_4FGL_J2010.0+7229_monthly_bin169.fits.....................!
real 3279.11
user 3269.68
sys 1.42

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/187832/ft1_filtered_4FGL_J2010.0+7229_monthly_bin169.fits', '/scratch/kocevski/187832/ft2_4FGL_J2010.0+7229_monthly_bin169.fits', expMap='/scratch/kocevski/187832/expmap_675043201_677635201_4FGL_J2010.0+7229_monthly_bin169.fits', expCube='/scratch/kocevski/187832/ltcube_675043201_677635201_4FGL_J2010.0+7229_monthly_bin169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/187832/Model_4FGL_J2010.0+7229_monthly_bin169.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2010.0+7229'

4FGL J2010.0+7229
   Spectrum: LogParabola
403         norm:  2.347e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
404        alpha:  2.198e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
405         beta:  1.036e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
406           Eb:  9.954e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/187832/ft1_filtered_4FGL_J2010.0+7229_monthly_bin169.fits
Spacecraft file(s): /scratch/kocevski/187832/ft2_4FGL_J2010.0+7229_monthly_bin169.fits
Exposure map: /scratch/kocevski/187832/expmap_675043201_677635201_4FGL_J2010.0+7229_monthly_bin169.fits
Exposure cube: /scratch/kocevski/187832/ltcube_675043201_677635201_4FGL_J2010.0+7229_monthly_bin169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/187832/Model_4FGL_J2010.0+7229_monthly_bin169.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) = 261642.462603

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6783       1.0000         .10000E-03   10000.    
     2 'norm      '    2.9868       1.0000         .10000E-03   10000.    
     3 'norm      '    7.4625       1.0000         .10000E-03   10000.    
     4 'norm      '    4.7645       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.3092       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.0687       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.384       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.4126       1.0000         .10000E-03   10000.    
    10 'norm      '    1.6209       1.0000         .10000E-03   10000.    
    11 'norm      '    .41678       1.0000         .10000E-03   10000.    
    12 'norm      '    5.4165       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.9411       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.8473       1.0000         .10000E-03   10000.    
    15 'norm      '    2.8882       1.0000         .10000E-03   10000.    
    16 'norm      '    10.859       1.0000         .10000E-03   10000.    
    17 'norm      '    1.9174       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.563       1.0000         .10000E-03   10000.    
    20 'norm      '    1.2671       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.6808       1.0000         .10000E-03   10000.    
    22 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10366E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    11.796       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0169       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0182       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   261642.4     FROM MIGRAD    STATUS=CONVERGED     65 CALLS     2223 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6779        1.0017        .75426E-09   -.86259E-04
   2  norm          2.9868        .57176        .50680E-07    .26634E-04
   3  norm          7.4625        .30199       -.47039E-07   -.91080E-03
   4  norm          4.7644        1.0533       -.31098E-06   -.31007E-03
   5  Prefactor     .10000E-03    8.5835        .25024E-06** at limit **
   6  Prefactor     3.3091        1.3456       -.68133E-07   -.41424E-04
   7  Prefactor     2.0688        1.0371       -.16976E-07    .32912E-04
   8  Prefactor     15.384        1.0018       -.75054E-08    .73289E-03
   9  Prefactor     7.4110        1.0647       -.78202E-07    .37926E-02
  10  norm          1.6208        .53712        .20278E-07   -.29226E-04
  11  norm          .41693        .55817        .17252E-06    .54597E-04
  12  norm          5.4164        1.0047        .18278E-07   -.24280E-03
  13  Prefactor     4.9409        1.0064       -.34807E-08   -.24680E-04
  14  Prefactor     1.8474        1.1537        .11728E-06    .51097E-04
  15  norm          2.8882        .34720        .48908E-08    .59598E-04
  16  norm          10.859        1.0011       -.12531E-08    .70686E-04
  17  norm          1.9174        .61994       -.42256E-07   -.36514E-04
  18  norm          .10000E-03    1.1639        .12561E-06** at limit **
  19  Prefactor     15.562        1.0033       -.93281E-08    .75849E-03
  20  norm          1.2672        .65607       -.12019E-07   -.10674E-05
  21  Prefactor     4.6807        2.1938        .32898E-06    .39540E-03
  22  norm          .10000E-03    2.9660        .26656E-06** at limit **
  23  Prefactor     .10000E-03    1.8051        .80500E-08** at limit **
  24  Prefactor     11.795        1.0050       -.13904E-07    .10375E-02
  25  Normalizat    1.0169        .51968E-01    .53337E-06   -.15077E-04
  26  Prefactor     1.0182        .12691E-01   -.14338E-06   -.23050E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.67792
  norm       = 2.9868
  norm       = 7.46246
  norm       = 4.76443
  Prefactor  = 0.0001
  Prefactor  = 3.3091
  Prefactor  = 2.06877
  Prefactor  = 15.3841
  Prefactor  = 7.41104
  norm       = 1.62077
  norm       = 0.416931
  norm       = 5.41637
  Prefactor  = 4.94091
  Prefactor  = 1.84741
  norm       = 2.88819
  norm       = 10.8587
  norm       = 1.91741
  norm       = 0.0001
  Prefactor  = 15.5623
  norm       = 1.26724
  Prefactor  = 4.68073
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.7953
  Normalizat = 1.01692
  Prefactor  = 1.01823
 **********
 **   18 **HESSE 
 **********

 FCN=   261642.4     FROM HESSE     STATUS=OK           540 CALLS     2763 TOTAL
                     EDM=   .25E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6779        6.0619        .34017E-02   -1.5119    
   2  norm          2.9868        .57272        .58725E-02   -1.5362    
   3  norm          7.4625        .30572        .36703E-02   -1.5162    
   4  norm          4.7644        1.0568        .46082E-03   -1.5271    
   5  Prefactor     .10000E-03    8.5640        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.3091        1.4135        .55636E-02   -1.5344    
   7  Prefactor     2.0688        3.5546        .71807E-02   -1.5420    
   8  Prefactor     15.384        13.041        .25529E-02   -1.4923    
   9  Prefactor     7.4110        13.925        .36828E-02   -1.5163    
  10  norm          1.6208        .56886        .83104E-02   -1.5453    
  11  norm          .41693        .47674        .73342E-01   -1.5579    
  12  norm          5.4164        2.4293        .43166E-02   -1.5242    
  13  Prefactor     4.9409        3.5209        .45233E-02   -1.5263    
  14  Prefactor     1.8474        1.1691        .76699E-02   -1.5436    
  15  norm          2.8882        .35750        .59783E-02   -1.5368    
  16  norm          10.859        6.2000        .30396E-02   -1.5049    
  17  norm          1.9174        .62473        .75033E-02   -1.5431    
  18  norm          .10000E-03    1.1312        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.562        5.0375        .25382E-02   -1.4919    
  20  norm          1.2672        .66488        .98897E-02   -1.5483    
  21  Prefactor     4.6807        2.2034        .46502E-02   -1.5275    
  22  norm          .10000E-03    .28338        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    .11447        .60968E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     11.795        7.3219        .29160E-02   -1.5021    
  25  Normalizat    1.0169        .52450E-01    .11773       -.92466    
  26  Prefactor     1.0182        .12345E-01    .31084E-01   -.92124    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52099e-05
Minuit parameter uncertainties:
  1  6.06238
  2  0.572725
  3  0.30572
  4  1.05678
  5  1.64098e-05
  6  1.41347
  7  3.55492
  8  13.0437
  9  13.931
  10  0.568859
  11  0.476746
  12  2.42934
  13  3.52103
  14  1.16914
  15  0.357503
  16  6.2004
  17  0.624728
  18  1.34451e-06
  19  5.03765
  20  0.664884
  21  2.20348
  22  7.63404e-07
  23  1.30384e-07
  24  7.32241
  25  0.0524522
  26  0.0123446
Done.

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

Extracting fit parameters...

4FGL J2010.0+7229
   Spectrum: LogParabola
403         norm:  1.267e+00  6.649e-01  1.000e-04  1.000e+04 ( 1.000e-12)
404        alpha:  2.198e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
405         beta:  1.036e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
406           Eb:  9.954e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  1.018e+00  1.234e-02  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
654   Normalization:  1.017e+00  5.245e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.21
Ra Dec: 302.516 72.487
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 1.25e-08 +/- 6.56e-09
Energy Flux (Fixed Index): 5.50e-06 +/- 2.89e-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) = 261642.163778
delta logL = 0.246266877919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 261642.154641
delta logL = 0.255404746102

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2670       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4594       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0132       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0182       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+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=   261642.2     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      281 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2671        .65835        .25232E-03    .50463E-04
   2  alpha         2.4594        .38289        .43830E-01    .18451E-03
   3  Normalizat    1.0132        .47130E-01    .52303E-03    .11824E-04
   4  Prefactor     1.0182        .12403E-01    .13736E-03   -.26484E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.26712
  alpha      = 2.45935
  Normalizat = 1.01315
  Prefactor  = 1.01822
 **********
 **   18 **HESSE 
 **********

 FCN=   261642.2     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .51E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2671        .60456        .10093E-04   -1.5483    
   2  alpha         2.4594        .35252        .17532E-02   -.16259E-01
   3  Normalizat    1.0132        .47078E-01    .20921E-04   -.92591    
   4  Prefactor     1.0182        .12402E-01    .54945E-05   -.92125    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07514e-14
Minuit parameter uncertainties:
  1  0.604567
  2  0.353704
  3  0.0470801
  4  0.0124017
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/187832': 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) = 261642.154641
delta logL = 0.255404768861

Extracting fit parameters...

4FGL J2010.0+7229
   Spectrum: LogParabola
403         norm:  1.267e+00  6.046e-01  1.000e-04  1.000e+04 ( 1.000e-12)
404        alpha:  2.459e+00  3.537e-01  0.000e+00  5.000e+00 ( 1.000e+00)
405         beta:  1.036e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
406           Eb:  9.954e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  1.018e+00  1.240e-02  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
654   Normalization:  1.013e+00  4.708e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.73
Ra Dec: 302.516 72.487
Photon Index (Free Index): 2.46 +/- 0.35
Photon Flux (Free Index): 1.82e-08 +/- 1.09e-08
Energy Flux (Free Index): 5.91e-06 +/- 2.70e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /scratch/kocevski/187832/cmap_HighResolution_675043201_677635201_4FGL_J2010.0+7229_monthly_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.25e-08', energy_flux2='5.91e-06', photon_flux_error='6.56e-09', dlogl='2.55e-01', energy_flux='5.50e-06', photon_flux2='1.82e-08', job_status='DONE', time_completed='2022-06-23 07:42:15.028261', photon_index_error2='0.35', photon_index2='2.46', ts='7.21', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.70e-06', EG='1.02', time_epoch_completed='1655995335.03', return_code='0', job_id='187832', GAL2='1.02', EG2='1.01', return_code2='0', energy_flux_error='2.89e-06', photon_flux_error2='1.09e-08', ts2='7.73', photon_index='2.20' WHERE bin_id='169' AND source_name='4FGL J2010.0+7229' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jun 23 07:42:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 187832: <4FGL_J2010.0+7229_monthly_bin169> in cluster <slac> Done

Job <4FGL_J2010.0+7229_monthly_bin169> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jun 23 03:00:26 2022
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 03:02:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 03:02:50 2022
Terminated at Thu Jun 23 07:42:17 2022
Results reported at Thu Jun 23 07:42:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2010.0+7229_monthly_bin169 302.516 72.4874 675043201 677635201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2010.0+7229 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   16666.00 sec.
    Max Memory :                                 757 MB
    Average Memory :                             703.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   16766 sec.
    Turnaround time :                            16911 sec.

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

