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


Performing analysis on: 4FGL_J0127.2+0324_daily_bin1679
RA = 21.8237, Dec = 3.413
tmin = 674524801, tmax = 674784001
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='424733', job_status='RUN', time_executed='2022-05-21 00:08:33.683886', time_epoch_executed='1653116913.68' WHERE source_name='4FGL J0127.2+0324' and cadence='daily' and bin_id='1679'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/424733

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/424733/ft1_4FGL_J0127.2+0324_daily_bin1679.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/424733/ft2_4FGL_J0127.2+0324_daily_bin1679.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/424733/ft1_4FGL_J0127.2+0324_daily_bin1679.fits outfile=/scratch/kocevski/424733/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin1679.fits ra=21.8237 dec=3.413 rad=12.0 tmin=674524801.0 tmax=674784001.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 3.68
user 3.35
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/424733/ft2_4FGL_J0127.2+0324_daily_bin1679.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/424733/ft2_4FGL_J0127.2+0324_daily_bin1679.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/424733/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin1679.fits evtable="EVENTS" outfile="/scratch/kocevski/424733/ft1_filtered_4FGL_J0127.2+0324_daily_bin1679.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.59
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 798

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/424733/ft1_filtered_4FGL_J0127.2+0324_daily_bin1679.fits" evtable="EVENTS" scfile=/scratch/kocevski/424733/ft2_4FGL_J0127.2+0324_daily_bin1679.fits sctable="SC_DATA" outfile=/scratch/kocevski/424733/ltcube_674524801_674784001_4FGL_J0127.2+0324_daily_bin1679.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/424733/ft2_4FGL_J0127.2+0324_daily_bin1679.fits
.....................!
real 14.57
user 14.12
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/424733/ft1_filtered_4FGL_J0127.2+0324_daily_bin1679.fits evtable="EVENTS" scfile=/scratch/kocevski/424733/ft2_4FGL_J0127.2+0324_daily_bin1679.fits sctable="SC_DATA" expcube=/scratch/kocevski/424733/ltcube_674524801_674784001_4FGL_J0127.2+0324_daily_bin1679.fits outfile=/scratch/kocevski/424733/expmap_674524801_674784001_4FGL_J0127.2+0324_daily_bin1679.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/424733/ltcube_674524801_674784001_4FGL_J0127.2+0324_daily_bin1679.fits
.....................!
real 192.00
user 186.13
sys 4.21

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

Setting source of interest to:
4FGL J0127.2+0324 @ 21.8237 3.413

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/424733/ft1_filtered_4FGL_J0127.2+0324_daily_bin1679.fits scfile=/scratch/kocevski/424733/ft2_4FGL_J0127.2+0324_daily_bin1679.fits outfile=/scratch/kocevski/424733/cmap_674524801_674784001_4FGL_J0127.2+0324_daily_bin1679.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=21.8237 yref=3.413 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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/424733/ft1_filtered_4FGL_J0127.2+0324_daily_bin1679.fits scfile=/scratch/kocevski/424733/ft2_4FGL_J0127.2+0324_daily_bin1679.fits outfile=/scratch/kocevski/424733/cmap_HighResolution_674524801_674784001_4FGL_J0127.2+0324_daily_bin1679.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=21.8237 yref=3.413 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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/424733/ft1_filtered_4FGL_J0127.2+0324_daily_bin1679.fits evtable="EVENTS" scfile=/scratch/kocevski/424733/ft2_4FGL_J0127.2+0324_daily_bin1679.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/424733/Model_4FGL_J0127.2+0324_daily_bin1679.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/424733/ft1_filtered_4FGL_J0127.2+0324_daily_bin1679.fits.....................!
real 94.59
user 91.67
sys 1.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/424733/ft1_filtered_4FGL_J0127.2+0324_daily_bin1679.fits', '/scratch/kocevski/424733/ft2_4FGL_J0127.2+0324_daily_bin1679.fits', expMap='/scratch/kocevski/424733/expmap_674524801_674784001_4FGL_J0127.2+0324_daily_bin1679.fits', expCube='/scratch/kocevski/424733/ltcube_674524801_674784001_4FGL_J0127.2+0324_daily_bin1679.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/424733/Model_4FGL_J0127.2+0324_daily_bin1679.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0127.2+0324'

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  8.781e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.967e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.374e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/424733/ft1_filtered_4FGL_J0127.2+0324_daily_bin1679.fits
Spacecraft file(s): /scratch/kocevski/424733/ft2_4FGL_J0127.2+0324_daily_bin1679.fits
Exposure map: /scratch/kocevski/424733/expmap_674524801_674784001_4FGL_J0127.2+0324_daily_bin1679.fits
Exposure cube: /scratch/kocevski/424733/ltcube_674524801_674784001_4FGL_J0127.2+0324_daily_bin1679.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/424733/Model_4FGL_J0127.2+0324_daily_bin1679.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) = 8535.23620507

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8448       1.0000         .10000E-03   10000.    
     2 'Prefactor '    68.941       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    81.901       1.0000         .10000E-03   10000.    
     6 'norm      '    43.854       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.159       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.8912       1.0000         .10000E-03   10000.    
    14 'norm      '    1.5942       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.9672       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.3877       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .77978       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8535.232     FROM MIGRAD    STATUS=CONVERGED    341 CALLS     1593 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8447        2.4568        .16907E-08   -.24105E-04
   2  Prefactor     68.941        42.373        .26314E-06    .24966E-04
   3  norm          .10000E-03    10.954        .28007E-06** at limit **
   4  Prefactor     .10000E-03    22.741        .28335E-05** at limit **
   5  Prefactor     81.864        98.691        .44470E-05   -.35258E-05
   6  norm          43.855        3.9921       -.70604E-07    .25381E-03
   7  Prefactor     .10000E-03    27.264       -.32695E-05** at limit **
   8  Prefactor     .10000E-03    6.4295       -.14967E-07** at limit **
   9  Prefactor     .10000E-03    4.8107        .91069E-07** at limit **
  10  Prefactor     .10000E-03    12.511       -.44557E-06** at limit **
  11  Prefactor     21.132        42.652        .50316E-05   -.54945E-05
  12  Prefactor     .10000E-03    62.733        .10691E-05** at limit **
  13  Prefactor     1.8911        4.3080        .41651E-06    .17800E-06
  14  norm          1.5891        23.665        .15629E-04    .14059E-04
  15  Prefactor     2.9664        5.4565       -.79457E-07   -.55462E-06
  16  Normalizat    1.3876        .19023        .94925E-06    .29536E-04
  17  Prefactor     .77991        .14401       -.19096E-05    .64868E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.8447
  Prefactor  = 68.9405
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 81.8637
  norm       = 43.8547
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.1317
  Prefactor  = 0.0001
  Prefactor  = 1.89113
  norm       = 1.58912
  Prefactor  = 2.96635
  Normalizat = 1.38759
  Prefactor  = 0.779914
 **********
 **   18 **HESSE 
 **********

 FCN=   8535.232     FROM HESSE     STATUS=OK           221 CALLS     1814 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8447        2.4546        .11203E-03   -1.5316    
   2  Prefactor     68.941        42.404        .48343E-04   -1.4045    
   3  norm          .10000E-03    11.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    22.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     81.864        98.738        .44382E-04   -1.3896    
   6  norm          43.855        4.0026        .50216E-04   -1.4383    
   7  Prefactor     .10000E-03    27.298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.4541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.8677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.844        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     21.132        42.666        .87075E-04   -1.4788    
  12  Prefactor     .10000E-03    62.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.8911        4.2894        .27814E-03   -1.5433    
  14  norm          1.5891        23.692        .16798E-02   -1.5456    
  15  Prefactor     2.9664        5.4445        .23573E-03   -1.5363    
  16  Normalizat    1.3876        .22510        .29366E-03   -.80988    
  17  Prefactor     .77991        .16925        .28692E-03   -1.0047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24612e-11
Minuit parameter uncertainties:
  1  2.45468
  2  42.4225
  3  4.34699e-06
  4  7.59097e-06
  5  98.9362
  6  4.0026
  7  5.04635e-05
  8  2.77239e-06
  9  9.44681e-06
  10  6.37243e-05
  11  42.7275
  12  1.16978e-05
  13  4.29009
  14  12.2774
  15  5.44539
  16  0.225265
  17  0.169364
Done.

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

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  2.113e+01  4.273e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.967e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.374e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  7.799e-01  1.694e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.388e+00  2.253e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.34
Ra Dec: 21.824 3.413
Photon Flux Upper Limit: 7.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/424733/likelihoodResults_674524801_674784001_4FGL_J0127.2+0324_daily_bin1679.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) = 8535.22777785
delta logL = 0.00420160385329

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8535.22710993
delta logL = 0.00486952725987

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.646       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8271       1.0000          .0000       10.000    
     3 'Normalizat'    1.3899       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77933       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8535.227     FROM MIGRAD    STATUS=FAILED        84 CALLS      263 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.701        46.818        .84171E-04    .47760E-04
   2  Index         1.8149        1.4143        .36137E-02    .32798E-03
   3  Normalizat    1.3899        .21859        .29347E-03    .41877E-02
   4  Prefactor     .77911        .16564        .28706E-03    .45048E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8535.227     FROM SIMPLEX   STATUS=UNCHANGED     70 CALLS      333 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.701        46.818        .34336E-03   -1.4755    
   2  Index         1.8149        1.4143        .14224E-02   -.69063    
   3  Normalizat    1.3899        .21859        .25296E-03   -.80922    
   4  Prefactor     .77911        .16564        .30673E-03   -1.0050    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8535.227     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      361 TOTAL
                     EDM=   .34E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.703        46.696        .16834E-04    .17829E-04
   2  Index         1.8147        1.4102        .72275E-03   -.78649E-06
   3  Normalizat    1.3899        .21873        .58695E-04    .74377E-05
   4  Prefactor     .77910        .16576        .57411E-04    .55446E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.7029
  Index      = 1.81472
  Normalizat = 1.38987
  Prefactor  = 0.779099
 **********
 **   18 **HESSE 
 **********

 FCN=   8535.227     FROM HESSE     STATUS=OK            23 CALLS      384 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.703        46.659        .33668E-05   -1.4755    
   2  Index         1.8147        1.4095        .28910E-04   -.69067    
   3  Normalizat    1.3899        .21877        .11739E-04   -.80922    
   4  Prefactor     .77910        .16579        .11482E-04   -1.0050    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.27857e-12
Minuit parameter uncertainties:
  1  46.7344
  2  1.44301
  3  0.218921
  4  0.165895
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/424733': 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) = 8535.22706717
delta logL = 0.00491228550709

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  2.270e+01  4.673e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.815e+00  1.443e+00  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  2.374e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  7.791e-01  1.659e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.390e+00  2.189e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.34
Ra Dec: 21.824 3.413

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/424733/cmap_HighResolution_674524801_674784001_4FGL_J0127.2+0324_daily_bin1679.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', job_status='DONE', photon_flux_upper_limit='7.63e-08', time_completed='2022-05-21 00:19:56.942569', job_id='424733', GAL2='0.78', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1653117596.94', return_code2='0', ts='0.34', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='4.91e-03', ts2='0.35', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1679' AND source_name='4FGL J0127.2+0324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat May 21 00:19:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 424733: <4FGL_J0127.2+0324_daily_bin1679> in cluster <slac> Done

Job <4FGL_J0127.2+0324_daily_bin1679> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat May 21 00:05:08 2022
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat May 21 00:07:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat May 21 00:07:35 2022
Terminated at Sat May 21 00:19:57 2022
Results reported at Sat May 21 00:19:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0127.2+0324_daily_bin1679 21.8237 3.413 674524801 674784001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0127.2+0324 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   676.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             325.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   742 sec.
    Turnaround time :                            889 sec.

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

