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 60 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0120.4-2701_daily_bin1764
RA = 20.1227, Dec = -27.0229
tmin = 696556801, tmax = 696816001
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='434268', job_status='RUN', time_executed='2023-01-31 00:08:01.585243', time_epoch_executed='1675152481.59' WHERE source_name='4FGL J0120.4-2701' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434268

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434268/ft1_4FGL_J0120.4-2701_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434268/ft2_4FGL_J0120.4-2701_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434268/ft1_4FGL_J0120.4-2701_daily_bin1764.fits outfile=/scratch/kocevski/434268/ft1_filteredMKT_4FGL_J0120.4-2701_daily_bin1764.fits ra=20.1227 dec=-27.0229 rad=12.0 tmin=696556801.0 tmax=696816001.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.74
user 3.48
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/434268/ft2_4FGL_J0120.4-2701_daily_bin1764.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/434268/ft1_filteredMKT_4FGL_J0120.4-2701_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/434268/ft1_filtered_4FGL_J0120.4-2701_daily_bin1764.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.55
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 346

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434268/ft1_filtered_4FGL_J0120.4-2701_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/434268/ft2_4FGL_J0120.4-2701_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/434268/ltcube_696556801_696816001_4FGL_J0120.4-2701_daily_bin1764.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/434268/ft2_4FGL_J0120.4-2701_daily_bin1764.fits
.....................!
real 18.60
user 18.08
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434268/ft1_filtered_4FGL_J0120.4-2701_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/434268/ft2_4FGL_J0120.4-2701_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/434268/ltcube_696556801_696816001_4FGL_J0120.4-2701_daily_bin1764.fits outfile=/scratch/kocevski/434268/expmap_696556801_696816001_4FGL_J0120.4-2701_daily_bin1764.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/434268/ltcube_696556801_696816001_4FGL_J0120.4-2701_daily_bin1764.fits
.....................!
real 192.86
user 186.64
sys 5.28

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/434268/ft1_filtered_4FGL_J0120.4-2701_daily_bin1764.fits scfile=/scratch/kocevski/434268/ft2_4FGL_J0120.4-2701_daily_bin1764.fits outfile=/scratch/kocevski/434268/cmap_696556801_696816001_4FGL_J0120.4-2701_daily_bin1764.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434268/ft1_filtered_4FGL_J0120.4-2701_daily_bin1764.fits scfile=/scratch/kocevski/434268/ft2_4FGL_J0120.4-2701_daily_bin1764.fits outfile=/scratch/kocevski/434268/cmap_HighResolution_696556801_696816001_4FGL_J0120.4-2701_daily_bin1764.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.60
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/434268/ft1_filtered_4FGL_J0120.4-2701_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/434268/ft2_4FGL_J0120.4-2701_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434268/Model_4FGL_J0120.4-2701_daily_bin1764.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/434268/ft1_filtered_4FGL_J0120.4-2701_daily_bin1764.fits.....................!
real 37.87
user 35.84
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/434268/ft1_filtered_4FGL_J0120.4-2701_daily_bin1764.fits', '/scratch/kocevski/434268/ft2_4FGL_J0120.4-2701_daily_bin1764.fits', expMap='/scratch/kocevski/434268/expmap_696556801_696816001_4FGL_J0120.4-2701_daily_bin1764.fits', expCube='/scratch/kocevski/434268/ltcube_696556801_696816001_4FGL_J0120.4-2701_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/434268/Model_4FGL_J0120.4-2701_daily_bin1764.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  0.000e+00  1.000e+06 ( 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 -5.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/434268/ft1_filtered_4FGL_J0120.4-2701_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/434268/ft2_4FGL_J0120.4-2701_daily_bin1764.fits
Exposure map: /scratch/kocevski/434268/expmap_696556801_696816001_4FGL_J0120.4-2701_daily_bin1764.fits
Exposure cube: /scratch/kocevski/434268/ltcube_696556801_696816001_4FGL_J0120.4-2701_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/434268/Model_4FGL_J0120.4-2701_daily_bin1764.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) = 3972.36238323

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .69295E-06   1.0000          .0000       .10000E+07
     2 'norm      '    29.791       1.0000          .0000       .10000E+07
     3 'norm      '    .94924       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.3434       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18221E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .22569E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .28558E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .91026       1.0000          .0000       .10000E+07
     9 'norm      '    .18889E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .15589E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .63695       1.0000          .0000       .10000E+07
    12 'norm      '    .30967       1.0000          .0000       .10000E+07
    13 'norm      '    2.1485       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.3438       1.0000          .0000       .10000E+07
    15 'norm      '    .94835E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .29483E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    13.491       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2911       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .39828       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5670E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3972.317     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1202 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27756E-09    5.5217        .47640E-07** at limit **
   2  norm          29.747        1.0810        .24452E-08   -.31389E-02
   3  norm          .95128        3.0743       -.87947E-07    .24582E-03
   4  Prefactor     1.3749        6.9822       -.13021E-07    .25224E-01
   5  Prefactor     .55511E-10    14.683        .21358E-07** at limit **
   6  Prefactor     .55511E-09    2.7071        .30034E-07** at limit **
   7  Prefactor     .24464E-06    280.21        .26031E-05** at limit **
   8  norm          .92474        2.0238        .14024E-06    .38412E-02
   9  norm          .55511E-10    1.1585        .10519E-06** at limit **
  10  Prefactor      .0000        26.030       -.24551E-06** at limit **
  11  Prefactor     .57025        6.9145       -.56322E-06   -.11269E-01
  12  norm          .31405        1.0886        .35016E-07    .14042E-02
  13  norm          2.1495        1.7410        .17997E-07    .10765E-02
  14  Prefactor     5.3593        5.1790       -.13769E-07    .36081E-02
  15  norm           .0000        .76929        .30972E-07** at limit **
  16  Prefactor     .26645E-08    15.402        .24074E-06** at limit **
  17  Prefactor     13.576        8.1155        .15874E-06   -.59481E-01
  18  Normalizat    1.2913        .21602        .99245E-06    .72171E-04
  19  Prefactor     .39820        .22953        .37658E-06    .43818E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.77556e-10
  norm       = 29.7471
  norm       = 0.951282
  Prefactor  = 1.37491
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-10
  Prefactor  = 2.44638e-07
  norm       = 0.924744
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0.570252
  norm       = 0.314051
  norm       = 2.14955
  Prefactor  = 5.35927
  norm       = 0
  Prefactor  = 2.66454e-09
  Prefactor  = 13.5757
  Normalizat = 1.29127
  Prefactor  = 0.398197
 **********
 **   18 **HESSE 
 **********

 FCN=   3972.317     FROM HESSE     STATUS=OK           320 CALLS     1522 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27756E-09    5.5516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          29.747        16.494        .18324E-03   -1.5599    
   3  norm          .95128        3.0730        .42414E-03   -1.5688    
   4  Prefactor     1.3749        13.243        .94481E-03   -1.5685    
   5  Prefactor     .55511E-10    14.686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-09    2.7063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .24464E-06    8.7734        .56836E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .92474        2.4751        .45054E-03   -1.5689    
   9  norm          .55511E-10    1.1618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        13.077        .74239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .57025        8.0915        .65981E-03   -1.5693    
  12  norm          .31405        1.0893        .10080E-02   -1.5697    
  13  norm          2.1495        1.7506        .70272E-03   -1.5679    
  14  Prefactor     5.3593        5.1799        .43451E-03   -1.5662    
  15  norm           .0000        .76162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .26645E-08    15.521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     13.576        10.531        .27244E-03   -1.5634    
  18  Normalizat    1.2913        .19493        .32966E-01   -.83827    
  19  Prefactor     .39820        .20824        .76577E-01   -1.1690    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26668e-06
Minuit parameter uncertainties:
  1  7.7777e-05
  2  16.4944
  3  3.07298
  4  8.53417
  5  5.83786e-05
  6  7.65347e-05
  7  0.00293005
  8  2.47515
  9  1.196e-05
  10  1.99227e-05
  11  4.29616
  12  1.08926
  13  1.75061
  14  5.17992
  15  8.30883e-07
  16  0.000406767
  17  10.5313
  18  0.195037
  19  0.208635
Done.

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

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  5.551e-11  1.196e-05  0.000e+00  1.000e+06 ( 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 -5.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:  3.982e-01  2.086e-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:  1.291e+00  1.950e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 20.123 -27.023
Photon Flux Upper Limit: 4.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.33e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/434268/likelihoodResults_696556801_696816001_4FGL_J0120.4-2701_daily_bin1764.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) = 3972.317629
delta logL = -0.000239348907598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3972.31739131
delta logL = -1.65785922945e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30198E-07   1.0000          .0000       .10000E+07
     2 'alpha     '    .76449       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2914       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .39786       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=   3972.317     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      294 TOTAL
                     EDM=   .31E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16653E-09    .58144E-03    .12832E-02** at limit **
   2  alpha         3.2770        3.8117        .50000        .45475E-09
   3  Normalizat    1.2913        .18199E-03    .32960E-01   -.12357E-03
   4  Prefactor     .39820        .20175E-03    .76577E-01    .46352E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66533e-10
  alpha      = 3.27703
  Normalizat = 1.29127
  Prefactor  = 0.398199
 **********
 **   18 **HESSE 
 **********

 FCN=   3972.317     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      321 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16653E-09    .26218        .70846E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.2770        4.1360        .20000E-01    .31605    
   3  Normalizat    1.2913        .27359E-02    .17910E-03   -.83827    
   4  Prefactor     .39820        .30245E-02    .33918E-03   -1.1690    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.94018e-11
Minuit parameter uncertainties:
  1  1.28196e-05
  2  22190.3
  3  0.00273588
  4  0.00302447
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434268': 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) = 3972.31738965
delta logL = -1.40971678775e-10

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  1.665e-10  1.282e-05  0.000e+00  1.000e+06 ( 1.000e-12)
264        alpha:  3.277e+00  2.219e+04  0.000e+00  5.000e+00 ( 1.000e+00)
265         beta:  5.214e-02  0.000e+00 -5.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:  3.982e-01  3.024e-03  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:  1.291e+00  2.736e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 20.123 -27.023

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/434268/cmap_HighResolution_696556801_696816001_4FGL_J0120.4-2701_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.33e-05', job_status='DONE', photon_flux_upper_limit='4.46e-08', time_completed='2023-01-31 00:16:10.163511', job_id='434268', GAL2='0.40', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1675152970.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.40', dlogl='-1.41e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1764' AND source_name='4FGL J0120.4-2701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:16:10 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 434268: <4FGL_J0120.4-2701_daily_bin1764> in cluster <slac> Done

Job <4FGL_J0120.4-2701_daily_bin1764> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 31 00:04:43 2023
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:06:43 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:06:43 2023
Terminated at Tue Jan 31 00:16:10 2023
Results reported at Tue Jan 31 00:16:10 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0120.4-2701_daily_bin1764 20.1227 -27.0229 696556801 696816001 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 :                                   456.29 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             325.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   567 sec.
    Turnaround time :                            687 sec.

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

