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


Performing analysis on: 4FGL_J0120.4-2701_daily_bin1686
RA = 20.1227, Dec = -27.0229
tmin = 676339201, tmax = 676598401
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='508749', job_status='RUN', time_executed='2022-06-11 00:09:01.711811', time_epoch_executed='1654931341.71' WHERE source_name='4FGL J0120.4-2701' and cadence='daily' and bin_id='1686'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/508749

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/508749/ft1_4FGL_J0120.4-2701_daily_bin1686.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/508749/ft2_4FGL_J0120.4-2701_daily_bin1686.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/508749/ft1_4FGL_J0120.4-2701_daily_bin1686.fits outfile=/scratch/kocevski/508749/ft1_filteredMKT_4FGL_J0120.4-2701_daily_bin1686.fits ra=20.1227 dec=-27.0229 rad=12.0 tmin=676339201.0 tmax=676598401.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 2.82
user 2.58
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/508749/ft2_4FGL_J0120.4-2701_daily_bin1686.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/508749/ft2_4FGL_J0120.4-2701_daily_bin1686.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/508749/ft1_filteredMKT_4FGL_J0120.4-2701_daily_bin1686.fits evtable="EVENTS" outfile="/scratch/kocevski/508749/ft1_filtered_4FGL_J0120.4-2701_daily_bin1686.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 794

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/508749/ft1_filtered_4FGL_J0120.4-2701_daily_bin1686.fits" evtable="EVENTS" scfile=/scratch/kocevski/508749/ft2_4FGL_J0120.4-2701_daily_bin1686.fits sctable="SC_DATA" outfile=/scratch/kocevski/508749/ltcube_676339201_676598401_4FGL_J0120.4-2701_daily_bin1686.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/508749/ft2_4FGL_J0120.4-2701_daily_bin1686.fits
.....................!
real 13.60
user 13.11
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/508749/ft1_filtered_4FGL_J0120.4-2701_daily_bin1686.fits evtable="EVENTS" scfile=/scratch/kocevski/508749/ft2_4FGL_J0120.4-2701_daily_bin1686.fits sctable="SC_DATA" expcube=/scratch/kocevski/508749/ltcube_676339201_676598401_4FGL_J0120.4-2701_daily_bin1686.fits outfile=/scratch/kocevski/508749/expmap_676339201_676598401_4FGL_J0120.4-2701_daily_bin1686.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/508749/ltcube_676339201_676598401_4FGL_J0120.4-2701_daily_bin1686.fits
.....................!
real 192.14
user 185.26
sys 6.20

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

Setting source of interest to:
4FGL J0120.4-2701 @ 20.1227 -27.0229

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/508749/ft1_filtered_4FGL_J0120.4-2701_daily_bin1686.fits scfile=/scratch/kocevski/508749/ft2_4FGL_J0120.4-2701_daily_bin1686.fits outfile=/scratch/kocevski/508749/cmap_676339201_676598401_4FGL_J0120.4-2701_daily_bin1686.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=20.1227 yref=-27.0229 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.53
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/508749/ft1_filtered_4FGL_J0120.4-2701_daily_bin1686.fits scfile=/scratch/kocevski/508749/ft2_4FGL_J0120.4-2701_daily_bin1686.fits outfile=/scratch/kocevski/508749/cmap_HighResolution_676339201_676598401_4FGL_J0120.4-2701_daily_bin1686.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=20.1227 yref=-27.0229 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.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/508749/ft1_filtered_4FGL_J0120.4-2701_daily_bin1686.fits evtable="EVENTS" scfile=/scratch/kocevski/508749/ft2_4FGL_J0120.4-2701_daily_bin1686.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/508749/Model_4FGL_J0120.4-2701_daily_bin1686.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/508749/ft1_filtered_4FGL_J0120.4-2701_daily_bin1686.fits.....................!
real 63.92
user 62.55
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/508749/ft1_filtered_4FGL_J0120.4-2701_daily_bin1686.fits', '/scratch/kocevski/508749/ft2_4FGL_J0120.4-2701_daily_bin1686.fits', expMap='/scratch/kocevski/508749/expmap_676339201_676598401_4FGL_J0120.4-2701_daily_bin1686.fits', expCube='/scratch/kocevski/508749/ltcube_676339201_676598401_4FGL_J0120.4-2701_daily_bin1686.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/508749/Model_4FGL_J0120.4-2701_daily_bin1686.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0120.4-2701'

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  2.525e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  1.816e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
265         beta:  5.214e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  1.130e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/508749/ft1_filtered_4FGL_J0120.4-2701_daily_bin1686.fits
Spacecraft file(s): /scratch/kocevski/508749/ft2_4FGL_J0120.4-2701_daily_bin1686.fits
Exposure map: /scratch/kocevski/508749/expmap_676339201_676598401_4FGL_J0120.4-2701_daily_bin1686.fits
Exposure cube: /scratch/kocevski/508749/ltcube_676339201_676598401_4FGL_J0120.4-2701_daily_bin1686.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/508749/Model_4FGL_J0120.4-2701_daily_bin1686.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) = 8755.21447593

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.956       1.0000         .10000E-03   10000.    
     2 'Prefactor '    72.368       1.0000         .10000E-03   10000.    
     3 'norm      '    .11419E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11158E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.5899       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.7212       1.0000         .10000E-03   10000.    
     9 'norm      '    .10225E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.0509       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .56268E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13059E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .11344E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .73790       1.0000         .10000E-03   10000.    
    16 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.9172       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .74395       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1960       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5670E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8755.211     FROM MIGRAD    STATUS=CONVERGED    438 CALLS     2120 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.956        5.2924        .44089E-07   -.19338E-05
   2  Prefactor     72.307        74.613       -.11416E-04   -.28748E-03
   3  norm          .10000E-03    8.9625       -.23597E-05** at limit **
   4  norm          .10000E-03    .42577        .16536E-07** at limit **
   5  Prefactor     .10000E-03    3.2664        .22137E-06** at limit **
   6  Prefactor     9.5831        9.4945        .37768E-06    .47935E-04
   7  Prefactor     .10000E-03    1.1914        .82135E-07** at limit **
   8  Prefactor     5.7213        5.9757        .45046E-05   -.78012E-03
   9  norm          .10000E-03    .73135       -.18018E-05** at limit **
  10  norm          5.0508        2.0221       -.15883E-07    .86630E-03
  11  Prefactor     .10004E-03    5.5571       -.72780E-06** at limit **
  12  Prefactor     .10000E-03    1.1998       -.51031E-06** at limit **
  13  norm          .10000E-03    .29712        .36597E-08** at limit **
  14  norm          .10000E-03    .70820        .15635E-06** at limit **
  15  Prefactor     .73830        2.1161        .59365E-06   -.80623E-03
  16  norm          .10000E-03    .87743        .66574E-07** at limit **
  17  Prefactor     .10000E-03    10.059        .11868E-05** at limit **
  18  Prefactor     1.9168        6.1134        .53531E-06   -.27721E-03
  19  Normalizat    .74386        .12211        .57223E-06    .43032E-03
  20  Prefactor     1.1960        .14468       -.43222E-06    .58446E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.9561
  Prefactor  = 72.3068
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 9.58311
  Prefactor  = 0.0001
  Prefactor  = 5.72127
  norm       = 0.0001
  norm       = 5.05078
  Prefactor  = 0.000100035
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.738295
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.91678
  Normalizat = 0.743859
  Prefactor  = 1.196
 **********
 **   18 **HESSE 
 **********

 FCN=   8755.211     FROM HESSE     STATUS=OK           295 CALLS     2415 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.956        5.2909        .94519E-04   -1.4860    
   2  Prefactor     72.307        77.953        .23596E-03   -1.4005    
   3  norm          .10000E-03    8.9897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .42656        .59621E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.7968        .31036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.5831        9.1218        .12941E-03   -1.5089    
   7  Prefactor     .10000E-03    1.2228        .19926E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.7213        6.4992        .83964E-03   -1.5230    
   9  norm          .10000E-03    1.1778        .15115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.0508        1.9803        .79135E-04   -1.5258    
  11  Prefactor     .10004E-03    37.977        .40835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.9146        .19176E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .57642        .99234E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.1768        .15012E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .73830        2.0957        .22106E-03   -1.5536    
  16  norm          .10000E-03    .91326        .17096E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.9168        6.1130        .30015E-03   -1.5431    
  19  Normalizat    .74386        .14311        .23012E-03   -1.0219    
  20  Prefactor     1.1960        .17243        .22952E-03   -.86455    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.06705e-09
Minuit parameter uncertainties:
  1  5.29105
  2  78.0639
  3  0.000166128
  4  6.18435e-07
  5  0.000237004
  6  9.12311
  7  7.80262e-06
  8  6.50005
  9  4.07726e-05
  10  1.98032
  11  0.00230977
  12  3.59557e-05
  13  6.07827e-06
  14  2.86865e-05
  15  2.09588
  16  5.82496e-06
  17  8.48366e-05
  18  6.11494
  19  0.143181
  20  0.17251
Done.

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

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  5.051e+00  1.980e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  1.816e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
265         beta:  5.214e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  1.130e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
564    Prefactor:  1.196e+00  1.725e-01  0.000e+00  1.000e+01 ( 1.000e+00)
565        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
566        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
563   Normalization:  7.439e-01  1.432e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.35
Ra Dec: 20.123 -27.023
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 4.38e-08 +/- 1.72e-08
Energy Flux (Fixed Index): 4.25e-05 +/- 1.67e-05

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) = 8755.06071167
delta logL = 0.149937910672

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8755.05878658
delta logL = 0.15186300692

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8810       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9849       1.0000          .0000       5.0000    
     3 'Normalizat'    .73542       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2002       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5670E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8755.059     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      236 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8810        32.447        .45517E-02    .34999E-03
   2  alpha         1.9849        3.4860        .24199        .47107E-04
   3  Normalizat    .73542        .10713        .42761E-01   -.25931E-04
   4  Prefactor     1.2002        .89989E-01    .51818E-01   -.46424E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.88096
  alpha      = 1.98488
  Normalizat = 0.735423
  Prefactor  = 1.20017
 **********
 **   18 **HESSE 
 **********

 FCN=   8755.059     FROM HESSE     STATUS=OK            33 CALLS      269 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8810        1.9308        .74669E-04   -1.5266    
   2  alpha         1.9849        .30913        .94948E-02   -.20753    
   3  Normalizat    .73542        .13978        .23124E-03   -1.0251    
   4  Prefactor     1.2002        .17246        .22910E-03   -.86326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.75454e-10
Minuit parameter uncertainties:
  1  1.93085
  2  0.309963
  3  0.139848
  4  0.172543
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/508749': 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) = 8755.05878657
delta logL = 0.151863009471

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  4.881e+00  1.931e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  1.985e+00  3.100e-01  0.000e+00  5.000e+00 ( 1.000e+00)
265         beta:  5.214e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  1.130e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
564    Prefactor:  1.200e+00  1.725e-01  0.000e+00  1.000e+01 ( 1.000e+00)
565        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
566        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
563   Normalization:  7.354e-01  1.398e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.63
Ra Dec: 20.123 -27.023
Photon Index (Free Index): 1.98 +/- 0.31
Photon Flux (Free Index): 5.25e-08 +/- 2.48e-08
Energy Flux (Free Index): 3.47e-05 +/- 1.78e-05

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/508749/cmap_HighResolution_676339201_676598401_4FGL_J0120.4-2701_daily_bin1686.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.38e-08', energy_flux2='3.47e-05', photon_flux_error='1.72e-08', dlogl='1.52e-01', energy_flux='4.25e-05', photon_flux2='5.25e-08', job_status='DONE', time_completed='2022-06-11 00:19:46.412648', photon_index_error2='0.31', photon_index2='1.98', ts='21.35', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='1.78e-05', EG='0.74', time_epoch_completed='1654931986.41', return_code='0', job_id='508749', GAL2='1.20', EG2='0.74', return_code2='0', energy_flux_error='1.67e-05', photon_flux_error2='2.48e-08', ts2='21.63', photon_index='1.82' WHERE bin_id='1686' AND source_name='4FGL J0120.4-2701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jun 11 00:19:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 508749: <4FGL_J0120.4-2701_daily_bin1686> in cluster <slac> Done

Job <4FGL_J0120.4-2701_daily_bin1686> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jun 11 00:04:53 2022
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jun 11 00:05:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jun 11 00:05:46 2022
Terminated at Sat Jun 11 00:19:47 2022
Results reported at Sat Jun 11 00:19:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0120.4-2701_daily_bin1686 20.1227 -27.0229 676339201 676598401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0120.4-2701 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   646.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             310.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            894 sec.

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

