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 22 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_J1428.8+7429_monthly_bin169
RA = 217.203, Dec = 74.485
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='172470', job_status='RUN', time_executed='2022-06-23 02:30:10.823504', time_epoch_executed='1655976610.82' WHERE source_name='4FGL J1428.8+7429' and cadence='monthly' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/172470

Creating custom pfile directory:
/scratch/kocevski/172470/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/172470/ft1_4FGL_J1428.8+7429_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/172470/ft2_4FGL_J1428.8+7429_monthly_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/172470/ft1_4FGL_J1428.8+7429_monthly_bin169.fits outfile=/scratch/kocevski/172470/ft1_filteredMKT_4FGL_J1428.8+7429_monthly_bin169.fits ra=217.203 dec=74.485 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.41
user 26.97
sys 0.70

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/172470/ft2_4FGL_J1428.8+7429_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/172470/ft1_filteredMKT_4FGL_J1428.8+7429_monthly_bin169.fits evtable="EVENTS" outfile="/scratch/kocevski/172470/ft1_filtered_4FGL_J1428.8+7429_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.67
sys 0.19

Number of photons that the gtmktime cut: 10373

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/172470/ft1_filtered_4FGL_J1428.8+7429_monthly_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/172470/ft2_4FGL_J1428.8+7429_monthly_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/172470/ltcube_675043201_677635201_4FGL_J1428.8+7429_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/172470/ft2_4FGL_J1428.8+7429_monthly_bin169.fits
.....................!
real 129.70
user 128.94
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/172470/ft1_filtered_4FGL_J1428.8+7429_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/172470/ft2_4FGL_J1428.8+7429_monthly_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/172470/ltcube_675043201_677635201_4FGL_J1428.8+7429_monthly_bin169.fits outfile=/scratch/kocevski/172470/expmap_675043201_677635201_4FGL_J1428.8+7429_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/172470/ltcube_675043201_677635201_4FGL_J1428.8+7429_monthly_bin169.fits
.....................!
real 193.12
user 187.35
sys 5.16

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/172470/ft1_filtered_4FGL_J1428.8+7429_monthly_bin169.fits scfile=/scratch/kocevski/172470/ft2_4FGL_J1428.8+7429_monthly_bin169.fits outfile=/scratch/kocevski/172470/cmap_675043201_677635201_4FGL_J1428.8+7429_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=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.62
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/172470/ft1_filtered_4FGL_J1428.8+7429_monthly_bin169.fits scfile=/scratch/kocevski/172470/ft2_4FGL_J1428.8+7429_monthly_bin169.fits outfile=/scratch/kocevski/172470/cmap_HighResolution_675043201_677635201_4FGL_J1428.8+7429_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=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.83
user 0.63
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/172470/ft1_filtered_4FGL_J1428.8+7429_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/172470/ft2_4FGL_J1428.8+7429_monthly_bin169.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/172470/Model_4FGL_J1428.8+7429_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/172470/ft1_filtered_4FGL_J1428.8+7429_monthly_bin169.fits.....................!
real 965.14
user 961.08
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/172470/ft1_filtered_4FGL_J1428.8+7429_monthly_bin169.fits', '/scratch/kocevski/172470/ft2_4FGL_J1428.8+7429_monthly_bin169.fits', expMap='/scratch/kocevski/172470/expmap_675043201_677635201_4FGL_J1428.8+7429_monthly_bin169.fits', expCube='/scratch/kocevski/172470/ltcube_675043201_677635201_4FGL_J1428.8+7429_monthly_bin169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/172470/Model_4FGL_J1428.8+7429_monthly_bin169.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/172470/ft1_filtered_4FGL_J1428.8+7429_monthly_bin169.fits
Spacecraft file(s): /scratch/kocevski/172470/ft2_4FGL_J1428.8+7429_monthly_bin169.fits
Exposure map: /scratch/kocevski/172470/expmap_675043201_677635201_4FGL_J1428.8+7429_monthly_bin169.fits
Exposure cube: /scratch/kocevski/172470/ltcube_675043201_677635201_4FGL_J1428.8+7429_monthly_bin169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/172470/Model_4FGL_J1428.8+7429_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) = 111073.534103

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2674       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .99850       1.0000         .10000E-03   10000.    
     4 'norm      '    1.3217       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .25108E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5697       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.0412       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.577       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .67452       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.2461       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.3800       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10386E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10275E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .47723       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .33741E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .52493       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.111       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.916       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .23179E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.763       1.0000         .10000E-03   10000.    
    22 'norm      '    2.8383       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10934E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .23612       1.0000         .10000E-03   10000.    
    26 'Prefactor '    38.058       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .96826       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0136       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   111073.4     FROM MIGRAD    STATUS=CONVERGED    703 CALLS     3077 TOTAL
                     EDM=   .23E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2680        2.4511         .0000        .45389E-01
   2  Prefactor     .10000E-03    1.7623         .0000    ** at limit **
   3  norm          .99865        .75796         .0000        .11370E-01
   4  norm          1.3214        .54537         .0000        .37826E-02
   5  Prefactor     .10000E-03    3.1775         .0000    ** at limit **
   6  Prefactor     2.6003        5.7915         .0000       -.15301E-02
   7  Prefactor     1.0465        2.4853         .0000        .22212    
   8  Prefactor     11.578        5.6063         .0000        .11632E-02
   9  Prefactor     .67503        .80862         .0000        .19881E-01
  10  Prefactor     2.2472        2.7413         .0000        .75512E-02
  11  Prefactor     2.3793        1.7012         .0000        .14526    
  12  Prefactor     .10000E-03    .31241         .0000    ** at limit **
  13  Prefactor     .10000E-03    1.1480         .0000    ** at limit **
  14  Prefactor     .47241        3.8755         .0000        .93581E-01
  15  Prefactor     .10000E-03    3.7400         .0000    ** at limit **
  16  Prefactor     .10000E-03    .60736         .0000    ** at limit **
  17  Prefactor     .52622        1.5563         .0000        .46291E-02
  18  Prefactor     12.118        6.3587         .0000       -.79878E-03
  19  Prefactor     13.877        10.497         .0000        .13193E-02
  20  Prefactor     .10001E-03    .57364         .0000    ** at limit **
  21  Prefactor     12.770        4.9238         .0000       -.26256E-03
  22  norm          2.8465        2.0840         .0000        .19528E-01
  23  Prefactor     .10000E-03    4.9819         .0000    ** at limit **
  24  Prefactor     .10000E-03    1.1964         .0000    ** at limit **
  25  Prefactor     .23625        .52926         .0000        .40704E-01
  26  Prefactor     38.051        8.2831         .0000       -.12335E-02
  27  Normalizat    .96824        .40369E-01     .0000       -.40315E-03
  28  Prefactor     1.0136        .33825E-01     .0000       -.42587E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.26797
  Prefactor  = 0.0001
  norm       = 0.998652
  norm       = 1.32135
  Prefactor  = 0.000100004
  Prefactor  = 2.60026
  Prefactor  = 1.04649
  Prefactor  = 11.5785
  Prefactor  = 0.67503
  Prefactor  = 2.24715
  Prefactor  = 2.37929
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.472411
  Prefactor  = 0.000100005
  Prefactor  = 0.000100001
  Prefactor  = 0.52622
  Prefactor  = 12.1177
  Prefactor  = 13.877
  Prefactor  = 0.00010001
  Prefactor  = 12.7701
  norm       = 2.84654
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.236246
  Prefactor  = 38.0509
  Normalizat = 0.968242
  Prefactor  = 1.0136
 **********
 **   18 **HESSE 
 **********

 FCN=   111073.4     FROM HESSE     STATUS=OK           549 CALLS     3626 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2680        2.4243        .80171E-03   -1.5207    
   2  Prefactor     .10000E-03    1.7642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .99865        .68924        .24284E-02   -1.5508    
   4  norm          1.3214        .53734        .14793E-03   -1.5478    
   5  Prefactor     .10000E-03    3.1929        .21463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.6003        5.7866        .25463E-03   -1.5385    
   7  Prefactor     1.0465        2.5037        .24518E-02   -1.5503    
   8  Prefactor     11.578        5.5797        .11774E-03   -1.5027    
   9  Prefactor     .67503        .74964        .27613E-03   -1.5544    
  10  Prefactor     2.2472        2.7160        .27420E-03   -1.5408    
  11  Prefactor     2.3793        1.6104        .13277E-02   -1.5399    
  12  Prefactor     .10000E-03    1.1347        .35414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.1723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .47241        3.8973        .22355E-02   -1.5571    
  15  Prefactor     .10000E-03    3.7707        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.0986        .50469E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .52622        7.9413        .68062E-02   -1.5563    
  18  Prefactor     12.118        6.3569        .11511E-03   -1.5012    
  19  Prefactor     13.877        10.491        .10737E-03   -1.4963    
  20  Prefactor     .10001E-03    3.9626        .47704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     12.770        4.8467        .11212E-03   -1.4993    
  22  norm          2.8465        2.0788        .12068E-02   -1.5371    
  23  Prefactor     .10000E-03    4.9854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    1.2281        .13996       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .23625        .49557        .30175E-03   -1.5611    
  26  Prefactor     38.051        7.7012        .64969E-04   -1.4473    
  27  Normalizat    .96824        .44579E-01    .24581E-03   -.94102    
  28  Prefactor     1.0136        .38607E-01    .21145E-03   -.92278    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28843e-06
Minuit parameter uncertainties:
  1  2.42433
  2  6.50929e-07
  3  0.689241
  4  0.537346
  5  0.000211747
  6  5.78786
  7  2.5039
  8  5.57996
  9  0.749653
  10  2.71619
  11  1.61041
  12  2.98778e-06
  13  6.80447e-06
  14  2.71373
  15  0.000264685
  16  0.00011927
  17  4.08872
  18  6.35724
  19  10.492
  20  0.000395616
  21  4.84682
  22  2.07881
  23  8.87178e-05
  24  7.40569e-05
  25  0.495582
  26  7.7014
  27  0.0445809
  28  0.0386081
Done.

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

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.000e-04  2.647e-04  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.014e+00  3.861e-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:  9.682e-01  4.458e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/172470/likelihoodResults_675043201_677635201_4FGL_J1428.8+7429_monthly_bin169.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) = 111073.398671
delta logL = -0.00126444247144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 111073.397406
delta logL = 1.2259115465e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8083       1.0000          .0000       10.000    
     3 'Normalizat'    .96824       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0136       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=   111073.4     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      245 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10052E-03    10.502        .18142E-02** at limit **
   2  Index         1.7554        5.6638        .50000        .69396E-04
   3  Normalizat    .96824        .15089E-02    .24581E-03    .18574E-03
   4  Prefactor     1.0136        .13318E-02    .21145E-03   -.17997E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100523
  Index      = 1.75542
  Normalizat = 0.968243
  Prefactor  = 1.0136
 **********
 **   18 **HESSE 
 **********

 FCN=   111073.4     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10052E-03    53.120        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7554        8.8743        .50000       -.70616    
   3  Normalizat    .96824        .34283E-02    .98325E-05   -.94102    
   4  Prefactor     1.0136        .30260E-02    .84578E-05   -.92278    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.45859e-09
Minuit parameter uncertainties:
  1  0.0105495
  2  64.7559
  3  0.00342835
  4  0.00302601
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/172470': 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) = 111073.397405
delta logL = 2.24390532821e-06

Extracting fit parameters...

4FGL J1428.8+7429
   Spectrum: PowerLaw
368    Prefactor:  1.005e-04  1.055e-02  1.000e-04  1.000e+04 ( 1.000e-15)
369        Index:  1.755e+00  6.476e+01  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.014e+00  3.026e-03  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:  9.682e-01  3.428e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/172470/cmap_HighResolution_675043201_677635201_4FGL_J1428.8+7429_monthly_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.71e-04', job_status='DONE', photon_flux_upper_limit='3.65e-09', time_completed='2022-06-23 05:29:41.437367', job_id='172470', GAL2='1.01', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1655987381.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.24e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='169' AND source_name='4FGL J1428.8+7429' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jun 23 05:29:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 172470: <4FGL_J1428.8+7429_monthly_bin169> in cluster <slac> Done

Job <4FGL_J1428.8+7429_monthly_bin169> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Jun 23 02:00:29 2022
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 02:29:38 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:29:38 2022
Terminated at Thu Jun 23 05:29:42 2022
Results reported at Thu Jun 23 05:29:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1428.8+7429_monthly_bin169 217.203 74.485 675043201 677635201 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 :                                   10719.00 sec.
    Max Memory :                                 790 MB
    Average Memory :                             481.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10806 sec.
    Turnaround time :                            12553 sec.

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

