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


Performing analysis on: 4FGL_J1428.8+7429_monthly_bin168
RA = 217.203, Dec = 74.485
tmin = 672451201, tmax = 675043201
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='635440', job_status='RUN', time_executed='2022-05-24 03:17:11.235730', time_epoch_executed='1653387431.24' WHERE source_name='4FGL J1428.8+7429' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/635440

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/635440/ft1_4FGL_J1428.8+7429_monthly_bin168.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/635440/ft2_4FGL_J1428.8+7429_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/635440/ft1_4FGL_J1428.8+7429_monthly_bin168.fits outfile=/scratch/kocevski/635440/ft1_filteredMKT_4FGL_J1428.8+7429_monthly_bin168.fits ra=217.203 dec=74.485 rad=12.0 tmin=672451201.0 tmax=675043201.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.95
user 28.19
sys 0.68

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/635440/ft2_4FGL_J1428.8+7429_monthly_bin168.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/635440/ft2_4FGL_J1428.8+7429_monthly_bin168.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/635440/ft1_filteredMKT_4FGL_J1428.8+7429_monthly_bin168.fits evtable="EVENTS" outfile="/scratch/kocevski/635440/ft1_filtered_4FGL_J1428.8+7429_monthly_bin168.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.83
user 0.66
sys 0.16

Number of photons that the gtmktime cut: 10563

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/635440/ft1_filtered_4FGL_J1428.8+7429_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/635440/ft2_4FGL_J1428.8+7429_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/635440/ltcube_672451201_675043201_4FGL_J1428.8+7429_monthly_bin168.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/635440/ft2_4FGL_J1428.8+7429_monthly_bin168.fits
.....................!
real 125.78
user 125.09
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/635440/ft1_filtered_4FGL_J1428.8+7429_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/635440/ft2_4FGL_J1428.8+7429_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/635440/ltcube_672451201_675043201_4FGL_J1428.8+7429_monthly_bin168.fits outfile=/scratch/kocevski/635440/expmap_672451201_675043201_4FGL_J1428.8+7429_monthly_bin168.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/635440/ltcube_672451201_675043201_4FGL_J1428.8+7429_monthly_bin168.fits
.....................!
real 192.43
user 186.32
sys 5.10

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

Setting source of interest to:
4FGL J1428.8+7429 @ 217.203 74.485

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/635440/ft1_filtered_4FGL_J1428.8+7429_monthly_bin168.fits scfile=/scratch/kocevski/635440/ft2_4FGL_J1428.8+7429_monthly_bin168.fits outfile=/scratch/kocevski/635440/cmap_672451201_675043201_4FGL_J1428.8+7429_monthly_bin168.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=217.203 yref=74.485 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.61
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/635440/ft1_filtered_4FGL_J1428.8+7429_monthly_bin168.fits scfile=/scratch/kocevski/635440/ft2_4FGL_J1428.8+7429_monthly_bin168.fits outfile=/scratch/kocevski/635440/cmap_HighResolution_672451201_675043201_4FGL_J1428.8+7429_monthly_bin168.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=217.203 yref=74.485 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.62
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/635440/ft1_filtered_4FGL_J1428.8+7429_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/635440/ft2_4FGL_J1428.8+7429_monthly_bin168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/635440/Model_4FGL_J1428.8+7429_monthly_bin168.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/635440/ft1_filtered_4FGL_J1428.8+7429_monthly_bin168.fits.....................!
real 979.62
user 970.93
sys 1.55

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/635440/ft1_filtered_4FGL_J1428.8+7429_monthly_bin168.fits', '/scratch/kocevski/635440/ft2_4FGL_J1428.8+7429_monthly_bin168.fits', expMap='/scratch/kocevski/635440/expmap_672451201_675043201_4FGL_J1428.8+7429_monthly_bin168.fits', expCube='/scratch/kocevski/635440/ltcube_672451201_675043201_4FGL_J1428.8+7429_monthly_bin168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/635440/Model_4FGL_J1428.8+7429_monthly_bin168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1428.8+7429'

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  2.627e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-15)
369        Index:  1.859e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  6.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/635440/ft1_filtered_4FGL_J1428.8+7429_monthly_bin168.fits
Spacecraft file(s): /scratch/kocevski/635440/ft2_4FGL_J1428.8+7429_monthly_bin168.fits
Exposure map: /scratch/kocevski/635440/expmap_672451201_675043201_4FGL_J1428.8+7429_monthly_bin168.fits
Exposure cube: /scratch/kocevski/635440/ltcube_672451201_675043201_4FGL_J1428.8+7429_monthly_bin168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/635440/Model_4FGL_J1428.8+7429_monthly_bin168.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) = 113651.116971

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.899       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.561       1.0000         .10000E-03   10000.    
     3 'norm      '    1.5944       1.0000         .10000E-03   10000.    
     4 'norm      '    .67470       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10248E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13698E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.6955       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.0947       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .59039       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .29205       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.4285       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.3492       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .50279       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.7024       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.7137       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .29470E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .30714E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10906E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.815       1.0000         .10000E-03   10000.    
    22 'norm      '    10.845       1.0000         .10000E-03   10000.    
    23 'Prefactor '    12.042       1.0000         .10000E-03   10000.    
    24 'Prefactor '    7.1772       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .39299       1.0000         .10000E-03   10000.    
    26 'Prefactor '    18.842       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .84673       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0810       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   113651.0     FROM MIGRAD    STATUS=CONVERGED    719 CALLS     3111 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.884        2.5763        .25647E-07    .72019E-05
   2  Prefactor     11.538        8.9656       -.40554E-05   -.72789E-06
   3  norm          1.5947        .74391        .76176E-08    .48273E-04
   4  norm          .67516        .52277        .92769E-08    .26830E-03
   5  Prefactor     .10000E-03    3.2549       -.33510E-06** at limit **
   6  Prefactor     .10000E-03    3.0068        .16444E-06** at limit **
   7  Prefactor     2.6912        2.4050       -.26558E-07   -.91201E-04
   8  Prefactor     7.0941        4.2998        .20166E-07    .75716E-05
   9  Prefactor     .58919        .96259       -.14954E-07   -.35888E-04
  10  Prefactor     .28245        .77184       -.51698E-08   -.45405E-04
  11  Prefactor     6.4319        2.4625       -.93906E-08    .63523E-04
  12  Prefactor     3.3456        1.8647        .11025E-07   -.80882E-04
  13  Prefactor     .50583        .52202        .15254E-07   -.25291E-03
  14  Prefactor     .10000E-03    2.6304       -.29046E-07** at limit **
  15  Prefactor     1.7030        7.3058       -.73735E-06    .15256E-05
  16  Prefactor     .10000E-03    .71998       -.11438E-07** at limit **
  17  Prefactor     2.7124        4.8057       -.23510E-06    .22820E-04
  18  Prefactor     .10000E-03    2.1383       -.78233E-07** at limit **
  19  Prefactor     .10000E-03    8.8114        .13015E-05** at limit **
  20  Prefactor     .10000E-03    .48978       -.23237E-06** at limit **
  21  Prefactor     13.823        4.9957        .13129E-05    .23233E-03
  22  norm          10.839        4.0044       -.55752E-08    .10686E-03
  23  Prefactor     11.993        10.297        .21904E-05    .82808E-05
  24  Prefactor     7.1746        5.5634       -.90766E-07    .80031E-05
  25  Prefactor     .39515        .51557       -.10102E-06   -.27311E-04
  26  Prefactor     18.808        7.8427        .27133E-06    .27749E-03
  27  Normalizat    .84684        .39675E-01    .64228E-07    .61446E-03
  28  Prefactor     1.0810        .33604E-01    .44873E-07    .59491E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.8838
  Prefactor  = 11.5382
  norm       = 1.59472
  norm       = 0.675158
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.69121
  Prefactor  = 7.09412
  Prefactor  = 0.589195
  Prefactor  = 0.282453
  Prefactor  = 6.43191
  Prefactor  = 3.34564
  Prefactor  = 0.505826
  Prefactor  = 0.0001
  Prefactor  = 1.70301
  Prefactor  = 0.0001
  Prefactor  = 2.71244
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 13.823
  norm       = 10.8389
  Prefactor  = 11.9926
  Prefactor  = 7.17459
  Prefactor  = 0.395153
  Prefactor  = 18.8084
  Normalizat = 0.846843
  Prefactor  = 1.08101
 **********
 **   18 **HESSE 
 **********

 FCN=   113651.0     FROM HESSE     STATUS=OK           551 CALLS     3662 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.884        2.4694        .11613E-03   -1.5018    
   2  Prefactor     11.538        8.9453        .11782E-03   -1.5028    
   3  norm          1.5947        .74171        .19254E-03   -1.5455    
   4  norm          .67516        .46211        .19382E-02   -1.5544    
   5  Prefactor     .10000E-03    3.2719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.0299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.6912        2.4511        .12407E-02   -1.5380    
   8  Prefactor     7.0941        4.3096        .75302E-03   -1.5175    
   9  Prefactor     .58919        .85501        .32133E-03   -1.5554    
  10  Prefactor     .28245        4.3952        .45472E-02   -1.5602    
  11  Prefactor     6.4319        2.2343        .15830E-03   -1.5201    
  12  Prefactor     3.3456        1.8900        .11057E-02   -1.5342    
  13  Prefactor     .50583        1.6670        .22564E-02   -1.5566    
  14  Prefactor     .10000E-03    2.6838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.7030        7.3190        .32236E-03   -1.5447    
  16  Prefactor     .10000E-03    .72782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.7124        4.8025        .24724E-03   -1.5379    
  18  Prefactor     .10000E-03    2.1065        .14430       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.9606        .21380E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.9482        .44893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     13.823        4.9637        .10776E-03   -1.4964    
  22  norm          10.839        3.9795        .60829E-03   -1.5049    
  23  Prefactor     11.993        10.287        .11544E-03   -1.5015    
  24  Prefactor     7.1746        5.5621        .14973E-03   -1.5172    
  25  Prefactor     .39515        .63495        .21395E-02   -1.5582    
  26  Prefactor     18.808        7.2682        .92271E-04   -1.4840    
  27  Normalizat    .84684        .44478E-01    .25648E-03   -.98354    
  28  Prefactor     1.0810        .38118E-01    .20417E-03   -.90076    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53989e-06
Minuit parameter uncertainties:
  1  2.4694
  2  8.94629
  3  0.741718
  4  0.462113
  5  2.13293e-07
  6  8.7728e-07
  7  2.45123
  8  4.30979
  9  0.855027
  10  2.22821
  11  2.2343
  12  1.88998
  13  1.66716
  14  6.49388e-07
  15  7.06223
  16  5.70379e-07
  17  4.80315
  18  0.000140511
  19  1.13752e-05
  20  0.000100647
  21  4.96381
  22  3.97964
  23  10.2886
  24  5.56247
  25  0.634959
  26  7.26852
  27  0.0444803
  28  0.0381193
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.703e+00  7.062e+00  1.000e-04  1.000e+04 ( 1.000e-15)
369        Index:  1.859e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  6.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
694    Prefactor:  1.081e+00  3.812e-02  0.000e+00  1.000e+01 ( 1.000e+00)
695        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
696        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
693   Normalization:  8.468e-01  4.448e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 217.203 74.485
Photon Flux Upper Limit: 5.38e-09 ph cm-2 s-1
Energy Flux Upper Limit: 3.98e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/635440/likelihoodResults_672451201_675043201_4FGL_J1428.8+7429_monthly_bin168.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) = 113651.005216
delta logL = 0.00282130442793

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 113651.004925
delta logL = 0.00311208298081

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5369       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9647       1.0000          .0000       10.000    
     3 'Normalizat'    .84674       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0810       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6970E+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=   113651.0     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      251 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5367        7.9932        .34405E-03   -.29607E-04
   2  Index         1.9684        1.3992        .28915E-02   -.83795E-04
   3  Normalizat    .84674        .41502E-01    .25649E-03   -.62054E-03
   4  Prefactor     1.0810        .37070E-01    .20417E-03   -.92656E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.53674
  Index      = 1.96844
  Normalizat = 0.846744
  Prefactor  = 1.08102
 **********
 **   18 **HESSE 
 **********

 FCN=   113651.0     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5367        7.5903        .13762E-04   -1.5460    
   2  Index         1.9684        1.3650        .11566E-03   -.65142    
   3  Normalizat    .84674        .41537E-01    .10260E-04   -.98358    
   4  Prefactor     1.0810        .37102E-01    .81668E-05   -.90075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.50195e-10
Minuit parameter uncertainties:
  1  6.83177
  2  1.39334
  3  0.041539
  4  0.0371028
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/635440': 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) = 113651.00492
delta logL = 0.00311676178535

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.537e+00  6.832e+00  1.000e-04  1.000e+04 ( 1.000e-15)
369        Index:  1.968e+00  1.393e+00  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  6.277e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
694    Prefactor:  1.081e+00  3.710e-02  0.000e+00  1.000e+01 ( 1.000e+00)
695        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
696        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
693   Normalization:  8.467e-01  4.154e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 217.203 74.485

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/635440/cmap_HighResolution_672451201_675043201_4FGL_J1428.8+7429_monthly_bin168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.98e-04', job_status='DONE', photon_flux_upper_limit='5.38e-09', time_completed='2022-05-24 06:21:04.430355', job_id='635440', GAL2='1.08', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1653398464.43', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='3.12e-03', ts2='0.07', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='168' AND source_name='4FGL J1428.8+7429' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue May 24 06:21:04 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 635440: <4FGL_J1428.8+7429_monthly_bin168> in cluster <slac> Done

Job <4FGL_J1428.8+7429_monthly_bin168> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue May 24 03:10:32 2022
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 03:16:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 03:16:22 2022
Terminated at Tue May 24 06:21:05 2022
Results reported at Tue May 24 06:21:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_monthly_bin168 217.203 74.485 672451201 675043201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1428.8+7429 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   10978.00 sec.
    Max Memory :                                 633 MB
    Average Memory :                             483.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11083 sec.
    Turnaround time :                            11433 sec.

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

