/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 21 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 = 7650
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0120.4-2701_daily_bin1214
RA = 20.1227, Dec = -27.0229
tmin = 553996801, tmax = 554256001
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='549075', job_status='RUN', time_executed='2021-08-13 23:29:02.908261', time_epoch_executed='1628922542.91' WHERE source_name='4FGL J0120.4-2701' and cadence='daily' and bin_id='1214'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/549075

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/549075/ft1_4FGL_J0120.4-2701_daily_bin1214.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/549075/ft2_4FGL_J0120.4-2701_daily_bin1214.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/549075/ft1_4FGL_J0120.4-2701_daily_bin1214.fits outfile=/scratch/kocevski/549075/ft1_filteredMKT_4FGL_J0120.4-2701_daily_bin1214.fits ra=20.1227 dec=-27.0229 rad=12.0 tmin=553996801.0 tmax=554256001.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.27
user 2.48
sys 3.70

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/549075/ft1_filtered_4FGL_J0120.4-2701_daily_bin1214.fits" evtable="EVENTS" scfile=/scratch/kocevski/549075/ft2_4FGL_J0120.4-2701_daily_bin1214.fits sctable="SC_DATA" outfile=/scratch/kocevski/549075/ltcube_553996801_554256001_4FGL_J0120.4-2701_daily_bin1214.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/549075/ft2_4FGL_J0120.4-2701_daily_bin1214.fits
.....................!
real 17.32
user 12.98
sys 4.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/549075/ft1_filtered_4FGL_J0120.4-2701_daily_bin1214.fits evtable="EVENTS" scfile=/scratch/kocevski/549075/ft2_4FGL_J0120.4-2701_daily_bin1214.fits sctable="SC_DATA" expcube=/scratch/kocevski/549075/ltcube_553996801_554256001_4FGL_J0120.4-2701_daily_bin1214.fits outfile=/scratch/kocevski/549075/expmap_553996801_554256001_4FGL_J0120.4-2701_daily_bin1214.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/549075/ltcube_553996801_554256001_4FGL_J0120.4-2701_daily_bin1214.fits
.....................!
real 195.21
user 185.56
sys 9.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/549075/ft1_filtered_4FGL_J0120.4-2701_daily_bin1214.fits scfile=/scratch/kocevski/549075/ft2_4FGL_J0120.4-2701_daily_bin1214.fits outfile=/scratch/kocevski/549075/cmap_553996801_554256001_4FGL_J0120.4-2701_daily_bin1214.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.98
user 0.38
sys 3.57

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/549075/ft1_filtered_4FGL_J0120.4-2701_daily_bin1214.fits scfile=/scratch/kocevski/549075/ft2_4FGL_J0120.4-2701_daily_bin1214.fits outfile=/scratch/kocevski/549075/cmap_HighResolution_553996801_554256001_4FGL_J0120.4-2701_daily_bin1214.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.39
sys 3.23

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/549075/ft1_filtered_4FGL_J0120.4-2701_daily_bin1214.fits evtable="EVENTS" scfile=/scratch/kocevski/549075/ft2_4FGL_J0120.4-2701_daily_bin1214.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/549075/Model_4FGL_J0120.4-2701_daily_bin1214.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/549075/ft1_filtered_4FGL_J0120.4-2701_daily_bin1214.fits.....................!
real 47.61
user 41.67
sys 5.83

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    68.344       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .21815E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    29.890       1.0000         .10000E-03   10000.    
     4 'norm      '    2.2180       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.785       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.2053       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.0579       1.0000         .10000E-03   10000.    
    10 'norm      '    2.8385       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.646       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .43823       1.0000         .10000E-03   10000.    
    13 'norm      '    2.1453       1.0000         .10000E-03   10000.    
    14 'norm      '    .10231E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.0017       1.0000         .10000E-03   10000.    
    16 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1663       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .86887       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=   4660.880     FROM MIGRAD    STATUS=CONVERGED     80 CALLS     1436 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          68.344        1.0377        .17352E-06   -.10854E-02
   2  Prefactor     .10164E-03    138.97       -.37761E-04** at limit **
   3  norm          29.853        9.2517        .79269E-05   -.14377E-01
   4  norm          2.2183        2.9550        .37305E-06    .11518E-03
   5  Prefactor     11.782        7.4750       -.11607E-04   -.84573E-02
   6  Prefactor     .10005E-03    14.503       -.20084E-04** at limit **
   7  Prefactor     7.2052        1.4457       -.21473E-05   -.25454E-02
   8  Prefactor     .10000E-03    2.3528       -.56344E-06** at limit **
   9  norm          1.0578        1.1208       -.81088E-06   -.23690E-04
  10  norm          2.8388        2.8058        .38922E-06    .63651E-04
  11  Prefactor     11.646        1.1677       -.91564E-06    .22329E-04
  12  Prefactor     .43851        4.2699        .16702E-04    .55571E-03
  13  norm          2.1454        1.3521        .14656E-06    .17848E-03
  14  norm          .10000E-03    2.1990       -.82502E-06** at limit **
  15  Prefactor     2.0031        1.2327        .11462E-05    .17409E-02
  16  norm          .10000E-03    2.7766        .10624E-05** at limit **
  17  Prefactor     .10008E-03    14.441        .11186E-04** at limit **
  18  Prefactor     .10000E-03    4.9174       -.44657E-06** at limit **
  19  Normalizat    1.1663        .23656        .49028E-05    .26825E-04
  20  Prefactor     .86866        .26881       -.50278E-05    .42229E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 68.3437
  Prefactor  = 0.000101637
  norm       = 29.8529
  norm       = 2.21835
  Prefactor  = 11.7816
  Prefactor  = 0.000100052
  Prefactor  = 7.20516
  Prefactor  = 0.0001
  norm       = 1.05782
  norm       = 2.83882
  Prefactor  = 11.6458
  Prefactor  = 0.438512
  norm       = 2.14544
  norm       = 0.0001
  Prefactor  = 2.0031
  norm       = 0.0001
  Prefactor  = 0.000100083
  Prefactor  = 0.0001
  Normalizat = 1.16631
  Prefactor  = 0.868664
 **********
 **   18 **HESSE 
 **********

 FCN=   4660.880     FROM HESSE     STATUS=OK           345 CALLS     1781 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          68.344        14.099        .12138E-02   -1.4053    
   2  Prefactor     .10164E-03    144.07        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          29.853        17.786        .18321E-02   -1.4615    
   4  norm          2.2183        2.9695        .69034E-02   -1.5410    
   5  Prefactor     11.782        9.6654        .29173E-02   -1.5021    
   6  Prefactor     .10005E-03    24.035        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.2052        6.7335        .37358E-02   -1.5171    
   8  Prefactor     .10000E-03    2.3515        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.0578        1.1145        .11941E-01   -1.5502    
  10  norm          2.8388        2.8878        .60339E-02   -1.5371    
  11  Prefactor     11.646        14.738        .29347E-02   -1.5025    
  12  Prefactor     .43851        4.3431        .11016E-01   -1.5576    
  13  norm          2.1454        1.3565        .70340E-02   -1.5415    
  14  norm          .10000E-03    1.4430        .32059E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.0031        6.5390        .73178E-02   -1.5425    
  16  norm          .10000E-03    2.7155        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10008E-03    24.734        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.9105        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1663        .20343        .52656E-01   -.87650    
  20  Prefactor     .86866        .22477        .68711E-01   -.97245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05941e-07
Minuit parameter uncertainties:
  1  14.0994
  2  0.0307854
  3  17.7887
  4  2.96975
  5  9.66672
  6  0.00224671
  7  6.73426
  8  7.74877e-06
  9  1.11454
  10  2.88791
  11  14.7427
  12  2.76001
  13  1.35651
  14  4.62419e-06
  15  6.54129
  16  1.97145e-06
  17  0.00286416
  18  5.06585e-07
  19  0.203571
  20  0.225006
Done.

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

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  2.839e+00  2.888e+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:  8.687e-01  2.250e-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.166e+00  2.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.71
Ra Dec: 20.123 -27.023
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 2.46e-08 +/- 2.50e-08
Energy Flux (Fixed Index): 2.39e-05 +/- 2.43e-05

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

Saving results to:
/scratch/kocevski/549075/likelihoodResults_553996801_554256001_4FGL_J0120.4-2701_daily_bin1214.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) = 4660.01256893
delta logL = 0.867069903565

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4660.01116439
delta logL = 0.868474443238

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7542       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8617       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1029       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90967       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=   4660.011     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      240 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7542        22.422        .79124E-02    .14598E-02
   2  alpha         2.8618        3.9100        .24848        .44667E-04
   3  Normalizat    1.1029        .70128E-01    .37882E-01    .61547E-05
   4  Prefactor     .90968        .74003E-01    .67244E-01    .13539E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.7542
  alpha      = 2.86182
  Normalizat = 1.10294
  Prefactor  = 0.909684
 **********
 **   18 **HESSE 
 **********

 FCN=   4660.011     FROM HESSE     STATUS=OK            33 CALLS      273 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7542        2.8506        .58716E-04   -1.5443    
   2  alpha         2.8618        .99360        .94800E-02    .14524    
   3  Normalizat    1.1029        .24159        .23799E-03   -.89658    
   4  Prefactor     .90968        .27262        .29745E-03   -.95804    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93532e-09
Minuit parameter uncertainties:
  1  2.8508
  2  1.02247
  3  0.241833
  4  0.273032
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/549075': 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) = 4660.01116432
delta logL = 0.86847451666

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  1.754e+00  2.851e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  2.862e+00  1.022e+00  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:  9.097e-01  2.730e-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.103e+00  2.418e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.47
Ra Dec: 20.123 -27.023
Photon Index (Free Index): 2.86 +/- 1.02
Photon Flux (Free Index): 8.00e-08 +/- 6.35e-08
Energy Flux (Free Index): 1.82e-05 +/- 1.30e-05

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/549075/cmap_HighResolution_553996801_554256001_4FGL_J0120.4-2701_daily_bin1214.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.39e-05', comment='SUCCESS', photon_flux='2.46e-08', energy_flux2='1.82e-05', photon_flux_error='2.50e-08', dlogl='8.68e-01', energy_flux='2.39e-05', photon_flux2='8.00e-08', job_status='DONE', time_completed='2021-08-13 23:38:12.776405', photon_index_error2='1.02', photon_index2='2.86', ts='1.71', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='8.64e-08', energy_flux_error2='1.30e-05', EG='1.17', time_epoch_completed='1628923092.78', return_code='0', job_id='549075', GAL2='0.91', EG2='1.10', return_code2='0', energy_flux_error='2.43e-05', photon_flux_error2='6.35e-08', ts2='3.47', photon_index='1.82' WHERE bin_id='1214' AND source_name='4FGL J0120.4-2701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 23:38:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 549075: <4FGL_J0120.4-2701_daily_bin1214> in cluster <slac> Done

Job <4FGL_J0120.4-2701_daily_bin1214> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Aug 13 23:25:45 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 23:27:30 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:30 2021
Terminated at Fri Aug 13 23:38:13 2021
Results reported at Fri Aug 13 23:38:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0120.4-2701_daily_bin1214 20.1227 -27.0229 553996801 554256001 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 :                                   600.42 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             249.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   643 sec.
    Turnaround time :                            748 sec.

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

