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


Performing analysis on: 4FGL_J0120.4-2701_daily_bin1472
RA = 20.1227, Dec = -27.0229
tmin = 620870401, tmax = 621129601
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='550229', job_status='RUN', time_executed='2021-08-13 23:35:59.437590', time_epoch_executed='1628922959.44' WHERE source_name='4FGL J0120.4-2701' and cadence='daily' and bin_id='1472'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/550229

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/550229/ft1_4FGL_J0120.4-2701_daily_bin1472.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/550229/ft2_4FGL_J0120.4-2701_daily_bin1472.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/550229/ft1_4FGL_J0120.4-2701_daily_bin1472.fits outfile=/scratch/kocevski/550229/ft1_filteredMKT_4FGL_J0120.4-2701_daily_bin1472.fits ra=20.1227 dec=-27.0229 rad=12.0 tmin=620870401.0 tmax=621129601.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 8.52
user 3.00
sys 5.39

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/550229/ft2_4FGL_J0120.4-2701_daily_bin1472.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/550229/ft1_filteredMKT_4FGL_J0120.4-2701_daily_bin1472.fits evtable="EVENTS" outfile="/scratch/kocevski/550229/ft1_filtered_4FGL_J0120.4-2701_daily_bin1472.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 5.78
user 0.36
sys 5.34

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/550229/ft1_filtered_4FGL_J0120.4-2701_daily_bin1472.fits" evtable="EVENTS" scfile=/scratch/kocevski/550229/ft2_4FGL_J0120.4-2701_daily_bin1472.fits sctable="SC_DATA" outfile=/scratch/kocevski/550229/ltcube_620870401_621129601_4FGL_J0120.4-2701_daily_bin1472.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/550229/ft2_4FGL_J0120.4-2701_daily_bin1472.fits
.....................!
real 20.33
user 14.05
sys 6.16

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/550229/ft1_filtered_4FGL_J0120.4-2701_daily_bin1472.fits evtable="EVENTS" scfile=/scratch/kocevski/550229/ft2_4FGL_J0120.4-2701_daily_bin1472.fits sctable="SC_DATA" expcube=/scratch/kocevski/550229/ltcube_620870401_621129601_4FGL_J0120.4-2701_daily_bin1472.fits outfile=/scratch/kocevski/550229/expmap_620870401_621129601_4FGL_J0120.4-2701_daily_bin1472.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/550229/ltcube_620870401_621129601_4FGL_J0120.4-2701_daily_bin1472.fits
.....................!
real 198.22
user 185.42
sys 11.24

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/550229/ft1_filtered_4FGL_J0120.4-2701_daily_bin1472.fits scfile=/scratch/kocevski/550229/ft2_4FGL_J0120.4-2701_daily_bin1472.fits outfile=/scratch/kocevski/550229/cmap_620870401_621129601_4FGL_J0120.4-2701_daily_bin1472.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 5.68
user 0.37
sys 5.28

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/550229/ft1_filtered_4FGL_J0120.4-2701_daily_bin1472.fits scfile=/scratch/kocevski/550229/ft2_4FGL_J0120.4-2701_daily_bin1472.fits outfile=/scratch/kocevski/550229/cmap_HighResolution_620870401_621129601_4FGL_J0120.4-2701_daily_bin1472.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 5.67
user 0.39
sys 5.26

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/550229/ft1_filtered_4FGL_J0120.4-2701_daily_bin1472.fits evtable="EVENTS" scfile=/scratch/kocevski/550229/ft2_4FGL_J0120.4-2701_daily_bin1472.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/550229/Model_4FGL_J0120.4-2701_daily_bin1472.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/550229/ft1_filtered_4FGL_J0120.4-2701_daily_bin1472.fits.......................!
real 30.42
user 22.30
sys 7.99

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    45.200       1.0000         .10000E-03   10000.    
     2 'Prefactor '    208.39       1.0000         .10000E-03   10000.    
     3 'norm      '    .22439E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    .41449       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.865       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.5424       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .26758E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.5452       1.0000         .10000E-03   10000.    
    10 'norm      '    6.1491       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .32668E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.5145       1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.253       1.0000         .10000E-03   10000.    
    16 'norm      '    6.1500       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .88045       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1357       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=   1613.084     FROM MIGRAD    STATUS=CONVERGED    450 CALLS     2465 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          45.155        36.089       -.54830E-07    .14508E-04
   2  Prefactor     207.11        533.45        .18287E-05    .51086E-05
   3  norm          .10006E-03    377.04       -.28928E-04** at limit **
   4  norm          .34073        15.803        .21648E-05   -.44852E-03
   5  Prefactor     .10000E-03    18.816       -.32375E-06** at limit **
   6  Prefactor     17.868        42.454       -.19564E-06    .14002E-04
   7  Prefactor     3.5387        12.918        .16792E-06   -.10694E-03
   8  Prefactor     .10013E-03    31.982        .40945E-05** at limit **
   9  norm          3.5551        6.0355       -.24490E-05    .30690E-03
  10  norm          6.1517        5.2530       -.16666E-07   -.62434E-05
  11  Prefactor     .10000E-03    9.3057        .15438E-07** at limit **
  12  Prefactor     .10037E-03    11.163        .11699E-05** at limit **
  13  norm          .10000E-03    .84001        .45250E-07** at limit **
  14  norm          1.5153        2.5408       -.85002E-07    .51106E-04
  15  Prefactor     12.254        8.9474        .10360E-06   -.11045E-03
  16  norm          6.1488        6.4480        .71220E-07   -.19630E-04
  17  Prefactor     .10000E-03    36.703        .25066E-06** at limit **
  18  Prefactor     .10000E-03    33.832        .93480E-06** at limit **
  19  Normalizat    .88033        .34829       -.34938E-05    .25694E-04
  20  Prefactor     1.1361        .39287        .21879E-05   -.45170E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 45.1546
  Prefactor  = 207.11
  norm       = 0.000100058
  norm       = 0.340732
  Prefactor  = 0.0001
  Prefactor  = 17.8676
  Prefactor  = 3.5387
  Prefactor  = 0.000100126
  norm       = 3.55514
  norm       = 6.15168
  Prefactor  = 0.0001
  Prefactor  = 0.000100372
  norm       = 0.0001
  norm       = 1.51527
  Prefactor  = 12.2539
  norm       = 6.14882
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.880332
  Prefactor  = 1.13613
 **********
 **   18 **HESSE 
 **********

 FCN=   1613.084     FROM HESSE     STATUS=OK           297 CALLS     2762 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          45.155        36.089        .59635E-04   -1.4363    
   2  Prefactor     207.11        536.08        .14001E-03   -1.2820    
   3  norm          .10006E-03    383.09        .20123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .34073        140.54        .28689E-02   -1.5591    
   5  Prefactor     .10000E-03    18.850        .17011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.868        42.426        .94759E-04   -1.4862    
   7  Prefactor     3.5387        12.855        .21476E-03   -1.5332    
   8  Prefactor     .10013E-03    120.23        .38037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.5551        6.2164        .12358E-03   -1.5331    
  10  norm          6.1517        5.2532        .80745E-04   -1.5212    
  11  Prefactor     .10000E-03    9.3062        .11968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10037E-03    87.801        .22838E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .85089        .35947E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.5153        2.4999        .79750E-04   -1.5462    
  15  Prefactor     12.254        8.9557        .97654E-04   -1.5008    
  16  norm          6.1488        6.4562        .95844E-04   -1.5212    
  17  Prefactor     .10000E-03    36.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    34.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .88033        .40342        .25968E-03   -.97155    
  20  Prefactor     1.1361        .46479        .26888E-03   -.88320    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55765e-08
Minuit parameter uncertainties:
  1  36.1065
  2  549.623
  3  0.00951111
  4  13.8709
  5  1.72523e-05
  6  42.4978
  7  12.8653
  8  0.00781399
  9  6.21748
  10  5.25354
  11  4.37864e-06
  12  0.0114428
  13  2.2248e-06
  14  2.50007
  15  8.95667
  16  6.4569
  17  4.42912e-05
  18  0.000268843
  19  0.404813
  20  0.466471
Done.

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

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  6.152e+00  5.254e+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.136e+00  4.665e-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:  8.803e-01  4.048e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.67
Ra Dec: 20.123 -27.023
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 5.33e-08 +/- 4.55e-08
Energy Flux (Fixed Index): 5.18e-05 +/- 4.42e-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) = 1613.05034725
delta logL = 0.0341263669211

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1613.04934757
delta logL = 0.0351260449561

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9441       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6376       1.0000          .0000       5.0000    
     3 'Normalizat'    .88522       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1369       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=   1613.049     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      202 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9527        5.2565        .41176E-02   -.24249E-04
   2  alpha         1.6397        .60955        .24114       -.14144E-05
   3  Normalizat    .88551        .32731        .44712E-01    .38811E-05
   4  Prefactor     1.1366        .38105        .60816E-01    .99448E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.9527
  alpha      = 1.63975
  Normalizat = 0.885507
  Prefactor  = 1.13655
 **********
 **   18 **HESSE 
 **********

 FCN=   1613.049     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9527        5.3117        .82098E-04   -1.5220    
   2  alpha         1.6397        .65577        .99725E-02   -.35128    
   3  Normalizat    .88551        .38387        .25909E-03   -.96971    
   4  Prefactor     1.1366        .44737        .26897E-03   -.88307    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3914e-12
Minuit parameter uncertainties:
  1  5.31211
  2  0.66461
  3  0.385065
  4  0.448865
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/550229': 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) = 1613.04934163
delta logL = 0.0351319835192

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  5.953e+00  5.312e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  1.640e+00  6.646e-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.137e+00  4.489e-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:  8.855e-01  3.851e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.74
Ra Dec: 20.123 -27.023
Photon Index (Free Index): 1.64 +/- 0.66
Photon Flux (Free Index): 4.28e-08 +/- 5.19e-08
Energy Flux (Free Index): 6.61e-05 +/- 8.70e-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/550229/cmap_HighResolution_620870401_621129601_4FGL_J0120.4-2701_daily_bin1472.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.33e-08', energy_flux2='6.61e-05', photon_flux_error='4.55e-08', dlogl='3.51e-02', energy_flux='5.18e-05', photon_flux2='4.28e-08', job_status='DONE', time_completed='2021-08-13 23:43:48.288474', photon_index_error2='0.66', photon_index2='1.64', ts='9.67', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', energy_flux_error2='8.70e-05', EG='0.88', time_epoch_completed='1628923428.29', return_code='0', job_id='550229', GAL2='1.14', EG2='0.89', return_code2='0', energy_flux_error='4.42e-05', photon_flux_error2='5.19e-08', ts2='9.74', photon_index='1.82' WHERE bin_id='1472' AND source_name='4FGL J0120.4-2701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 23:43:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 550229: <4FGL_J0120.4-2701_daily_bin1472> in cluster <slac> Done

Job <4FGL_J0120.4-2701_daily_bin1472> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Aug 13 23:30:33 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 23:31:24 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:31:24 2021
Terminated at Fri Aug 13 23:43:50 2021
Results reported at Fri Aug 13 23:43:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0120.4-2701_daily_bin1472 20.1227 -27.0229 620870401 621129601 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 :                                   544.09 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             223.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            797 sec.

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

