/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 136 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 = 7349
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0120.4-2701_daily_bin1250
RA = 20.1227, Dec = -27.0229
tmin = 563328001, tmax = 563587201
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='549129', job_status='RUN', time_executed='2021-08-13 23:31:15.513252', time_epoch_executed='1628922675.51' WHERE source_name='4FGL J0120.4-2701' and cadence='daily' and bin_id='1250'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/549129

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/549129/ft1_4FGL_J0120.4-2701_daily_bin1250.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/549129/ft2_4FGL_J0120.4-2701_daily_bin1250.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/549129/ft1_4FGL_J0120.4-2701_daily_bin1250.fits outfile=/scratch/kocevski/549129/ft1_filteredMKT_4FGL_J0120.4-2701_daily_bin1250.fits ra=20.1227 dec=-27.0229 rad=12.0 tmin=563328001.0 tmax=563587201.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 6.24
user 2.77
sys 3.35

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/549129/ft1_filtered_4FGL_J0120.4-2701_daily_bin1250.fits" evtable="EVENTS" scfile=/scratch/kocevski/549129/ft2_4FGL_J0120.4-2701_daily_bin1250.fits sctable="SC_DATA" outfile=/scratch/kocevski/549129/ltcube_563328001_563587201_4FGL_J0120.4-2701_daily_bin1250.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/549129/ft2_4FGL_J0120.4-2701_daily_bin1250.fits
.....................!
real 16.60
user 12.56
sys 3.86

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/549129/ft1_filtered_4FGL_J0120.4-2701_daily_bin1250.fits evtable="EVENTS" scfile=/scratch/kocevski/549129/ft2_4FGL_J0120.4-2701_daily_bin1250.fits sctable="SC_DATA" expcube=/scratch/kocevski/549129/ltcube_563328001_563587201_4FGL_J0120.4-2701_daily_bin1250.fits outfile=/scratch/kocevski/549129/expmap_563328001_563587201_4FGL_J0120.4-2701_daily_bin1250.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/549129/ltcube_563328001_563587201_4FGL_J0120.4-2701_daily_bin1250.fits
.....................!
real 195.28
user 185.53
sys 9.19

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/549129/ft1_filtered_4FGL_J0120.4-2701_daily_bin1250.fits scfile=/scratch/kocevski/549129/ft2_4FGL_J0120.4-2701_daily_bin1250.fits outfile=/scratch/kocevski/549129/cmap_563328001_563587201_4FGL_J0120.4-2701_daily_bin1250.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 3.66
user 0.38
sys 3.22

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/549129/ft1_filtered_4FGL_J0120.4-2701_daily_bin1250.fits scfile=/scratch/kocevski/549129/ft2_4FGL_J0120.4-2701_daily_bin1250.fits outfile=/scratch/kocevski/549129/cmap_HighResolution_563328001_563587201_4FGL_J0120.4-2701_daily_bin1250.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 3.64
user 0.38
sys 3.22

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/549129/ft1_filtered_4FGL_J0120.4-2701_daily_bin1250.fits evtable="EVENTS" scfile=/scratch/kocevski/549129/ft2_4FGL_J0120.4-2701_daily_bin1250.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/549129/Model_4FGL_J0120.4-2701_daily_bin1250.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/549129/ft1_filtered_4FGL_J0120.4-2701_daily_bin1250.fits.....................!
real 43.65
user 38.01
sys 5.34

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/549129/ft1_filtered_4FGL_J0120.4-2701_daily_bin1250.fits', '/scratch/kocevski/549129/ft2_4FGL_J0120.4-2701_daily_bin1250.fits', expMap='/scratch/kocevski/549129/expmap_563328001_563587201_4FGL_J0120.4-2701_daily_bin1250.fits', expCube='/scratch/kocevski/549129/ltcube_563328001_563587201_4FGL_J0120.4-2701_daily_bin1250.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/549129/Model_4FGL_J0120.4-2701_daily_bin1250.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/549129/ft1_filtered_4FGL_J0120.4-2701_daily_bin1250.fits
Spacecraft file(s): /scratch/kocevski/549129/ft2_4FGL_J0120.4-2701_daily_bin1250.fits
Exposure map: /scratch/kocevski/549129/expmap_563328001_563587201_4FGL_J0120.4-2701_daily_bin1250.fits
Exposure cube: /scratch/kocevski/549129/ltcube_563328001_563587201_4FGL_J0120.4-2701_daily_bin1250.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/549129/Model_4FGL_J0120.4-2701_daily_bin1250.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) = 4231.63725386

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.173       1.0000         .10000E-03   10000.    
     2 'Prefactor '    100.04       1.0000         .10000E-03   10000.    
     3 'norm      '    9.2418       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.4834       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .20087E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .40461E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.1263       1.0000         .10000E-03   10000.    
    10 'norm      '    1.1798       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.853       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .28866E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    3.7444       1.0000         .10000E-03   10000.    
    14 'norm      '    2.4838       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.7889       1.0000         .10000E-03   10000.    
    16 'norm      '    .85885       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    23.514       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3763       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .55287       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=   4231.627     FROM MIGRAD    STATUS=CONVERGED     67 CALLS     1767 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.173        2.7552        .23947E-05   -.10335E-02
   2  Prefactor     100.04        1.0002        .74977E-08   -.13857E-04
   3  norm          9.2418        1.0218        .20948E-06   -.12297E-03
   4  norm          .10000E-03    1.0420       -.83300E-07** at limit **
   5  Prefactor     3.4824        2.7945        .47124E-05   -.66574E-03
   6  Prefactor     .10000E-03    6.5551       -.44474E-06** at limit **
   7  Prefactor     .10275E-03    43.907       -.96473E-05** at limit **
   8  Prefactor     .10009E-03    1.7799       -.17860E-05** at limit **
   9  norm          1.1274        1.6185        .84325E-07    .30108E-03
  10  norm          1.1798        3.0561        .14855E-05    .19563E-03
  11  Prefactor     13.851        1.0633       -.28670E-06    .75945E-03
  12  Prefactor     .12165E-03    18.273       -.21450E-04** at limit **
  13  norm          3.7444        2.4018        .63435E-06    .17249E-03
  14  norm          2.4834        3.3392       -.31655E-05   -.12244E-02
  15  Prefactor     8.7882        4.2721       -.46694E-05   -.98606E-02
  16  norm          .85868        2.9633       -.92824E-06   -.17868E-03
  17  Prefactor     .10002E-03    24.053       -.32469E-06** at limit **
  18  Prefactor     23.515        1.0099       -.88952E-07    .52073E-03
  19  Normalizat    1.3763        .23440        .25082E-05    .38808E-04
  20  Prefactor     .55292        .25326       -.35468E-05    .38907E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.1732
  Prefactor  = 100.036
  norm       = 9.24178
  norm       = 0.0001
  Prefactor  = 3.48244
  Prefactor  = 0.0001
  Prefactor  = 0.000102754
  Prefactor  = 0.000100091
  norm       = 1.12739
  norm       = 1.17983
  Prefactor  = 13.8511
  Prefactor  = 0.000121652
  norm       = 3.74436
  norm       = 2.48342
  Prefactor  = 8.78821
  norm       = 0.85868
  Prefactor  = 0.000100017
  Prefactor  = 23.5153
  Normalizat = 1.3763
  Prefactor  = 0.552924
 **********
 **   18 **HESSE 
 **********

 FCN=   4231.627     FROM HESSE     STATUS=OK           363 CALLS     2130 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.173        7.7552        .27590E-02   -1.4982    
   2  Prefactor     100.04        112.18        .10049E-02   -1.3704    
   3  norm          9.2418        10.782        .32958E-02   -1.5100    
   4  norm          .10000E-03    1.0387        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.4824        8.0838        .54163E-02   -1.5335    
   6  Prefactor     .10000E-03    6.5481        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10275E-03    2.1128        .63928E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10009E-03    10.487        .67002E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1274        2.1093        .22438E-01   -1.5496    
  10  norm          1.1798        3.4571        .10525E-01   -1.5491    
  11  Prefactor     13.851        22.532        .26903E-02   -1.4963    
  12  Prefactor     .12165E-03    4.5637        .79540E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.7444        2.4071        .52164E-02   -1.5321    
  14  norm          2.4834        3.4931        .64847E-02   -1.5393    
  15  Prefactor     8.7882        5.1185        .33801E-02   -1.5115    
  16  norm          .85868        3.0524        .12657E-01   -1.5523    
  17  Prefactor     .10002E-03    24.085        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     23.515        17.978        .20651E-02   -1.4738    
  19  Normalizat    1.3763        .21128        .46745E-01   -.81317    
  20  Prefactor     .55292        .22161        .76779E-01   -1.0961    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.85236e-08
Minuit parameter uncertainties:
  1  7.75578
  2  112.423
  3  10.7838
  4  5.17464e-06
  5  8.08638
  6  1.00127e-05
  7  0.00482492
  8  0.00195192
  9  2.10945
  10  3.4577
  11  22.5454
  12  0.0198824
  13  2.40716
  14  3.49343
  15  5.11875
  16  3.05297
  17  0.00126887
  18  17.9819
  19  0.211419
  20  0.221959
Done.

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

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  1.180e+00  3.458e+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:  5.529e-01  2.220e-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.376e+00  2.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/549129/likelihoodResults_563328001_563587201_4FGL_J0120.4-2701_daily_bin1250.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) = 4231.4263035
delta logL = 0.200387029189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4231.4123416
delta logL = 0.214348925218

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5863       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4140       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3613       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55356       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4231.412     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      250 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5865        2.6972        .11052E-03   -.15426E-02
   2  alpha         2.4139        .88873        .15545E-01   -.10017E-03
   3  Normalizat    1.3613        .23251        .20747E-03    .11555E-03
   4  Prefactor     .55355        .25209        .33946E-03    .10235E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.58647
  alpha      = 2.41391
  Normalizat = 1.36133
  Prefactor  = 0.553553
 **********
 **   18 **HESSE 
 **********

 FCN=   4231.412     FROM HESSE     STATUS=OK            23 CALLS      273 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5865        2.5770        .44208E-05   -1.5456    
   2  alpha         2.4139        .85013        .62179E-03   -.34441E-01
   3  Normalizat    1.3613        .23254        .41494E-04   -.81754    
   4  Prefactor     .55355        .25204        .13578E-04   -1.0958    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30507e-09
Minuit parameter uncertainties:
  1  2.57716
  2  0.867452
  3  0.232718
  4  0.25255
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/549129': 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) = 4231.4123416
delta logL = 0.214348928092

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  1.586e+00  2.577e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  2.414e+00  8.675e-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:  5.536e-01  2.525e-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.361e+00  2.327e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
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/549129/cmap_HighResolution_563328001_563587201_4FGL_J0120.4-2701_daily_bin1250.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.55e-05', job_status='DONE', photon_flux_upper_limit='7.78e-08', time_completed='2021-08-13 23:40:23.102959', job_id='549129', GAL2='0.55', fit_tolerance='1e-08', EG2='1.36', EG='1.38', time_epoch_completed='1628923223.1', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='0.55', dlogl='2.14e-01', ts2='0.60', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1250' AND source_name='4FGL J0120.4-2701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 23:40:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 549129: <4FGL_J0120.4-2701_daily_bin1250> in cluster <slac> Done

Job <4FGL_J0120.4-2701_daily_bin1250> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Aug 13 23:25:48 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 23:27:57 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 23:27:57 2021
Terminated at Fri Aug 13 23:40:24 2021
Results reported at Fri Aug 13 23:40:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0120.4-2701_daily_bin1250 20.1227 -27.0229 563328001 563587201 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 :                                   588.38 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             262.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            876 sec.

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

