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


Performing analysis on: 4FGL_J0120.4-2701_daily_bin1510
RA = 20.1227, Dec = -27.0229
tmin = 630720001, tmax = 630979201
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='550288', job_status='RUN', time_executed='2021-08-13 23:34:21.536259', time_epoch_executed='1628922861.54' WHERE source_name='4FGL J0120.4-2701' and cadence='daily' and bin_id='1510'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/550288

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/550288/ft1_4FGL_J0120.4-2701_daily_bin1510.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/550288/ft2_4FGL_J0120.4-2701_daily_bin1510.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/550288/ft1_4FGL_J0120.4-2701_daily_bin1510.fits outfile=/scratch/kocevski/550288/ft1_filteredMKT_4FGL_J0120.4-2701_daily_bin1510.fits ra=20.1227 dec=-27.0229 rad=12.0 tmin=630720001.0 tmax=630979201.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.56
user 2.73
sys 0.79

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/550288/ft1_filtered_4FGL_J0120.4-2701_daily_bin1510.fits" evtable="EVENTS" scfile=/scratch/kocevski/550288/ft2_4FGL_J0120.4-2701_daily_bin1510.fits sctable="SC_DATA" outfile=/scratch/kocevski/550288/ltcube_630720001_630979201_4FGL_J0120.4-2701_daily_bin1510.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/550288/ft2_4FGL_J0120.4-2701_daily_bin1510.fits
.....................!
real 15.39
user 14.35
sys 0.95

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/550288/ft1_filtered_4FGL_J0120.4-2701_daily_bin1510.fits evtable="EVENTS" scfile=/scratch/kocevski/550288/ft2_4FGL_J0120.4-2701_daily_bin1510.fits sctable="SC_DATA" expcube=/scratch/kocevski/550288/ltcube_630720001_630979201_4FGL_J0120.4-2701_daily_bin1510.fits outfile=/scratch/kocevski/550288/expmap_630720001_630979201_4FGL_J0120.4-2701_daily_bin1510.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/550288/ltcube_630720001_630979201_4FGL_J0120.4-2701_daily_bin1510.fits
.....................!
real 194.50
user 187.42
sys 5.75

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/550288/ft1_filtered_4FGL_J0120.4-2701_daily_bin1510.fits scfile=/scratch/kocevski/550288/ft2_4FGL_J0120.4-2701_daily_bin1510.fits outfile=/scratch/kocevski/550288/cmap_630720001_630979201_4FGL_J0120.4-2701_daily_bin1510.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 1.13
user 0.38
sys 0.74

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/550288/ft1_filtered_4FGL_J0120.4-2701_daily_bin1510.fits scfile=/scratch/kocevski/550288/ft2_4FGL_J0120.4-2701_daily_bin1510.fits outfile=/scratch/kocevski/550288/cmap_HighResolution_630720001_630979201_4FGL_J0120.4-2701_daily_bin1510.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 1.14
user 0.39
sys 0.74

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/550288/ft1_filtered_4FGL_J0120.4-2701_daily_bin1510.fits evtable="EVENTS" scfile=/scratch/kocevski/550288/ft2_4FGL_J0120.4-2701_daily_bin1510.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/550288/Model_4FGL_J0120.4-2701_daily_bin1510.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/550288/ft1_filtered_4FGL_J0120.4-2701_daily_bin1510.fits.....................!
real 68.98
user 66.78
sys 2.06

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    77.205       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .29566E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .11966E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .35776E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.7044       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.8849       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.4528       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.227       1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .53915       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .17288E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .17839E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.6515       1.0000         .10000E-03   10000.    
    14 'norm      '    .69401       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.796       1.0000         .10000E-03   10000.    
    16 'norm      '    .10232E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.020       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.821       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .82447       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0048       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=   8941.859     FROM MIGRAD    STATUS=CONVERGED    441 CALLS     2068 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          77.224        9.5883        .32825E-06   -.34588E-03
   2  Prefactor     .10000E-03    37.135        .28360E-05** at limit **
   3  norm          .10000E-03    2.6501        .24026E-07** at limit **
   4  norm          .10001E-03    .82706        .37331E-07** at limit **
   5  Prefactor     1.6905        4.8003       -.26336E-05   -.96772E-03
   6  Prefactor     6.8979        7.0690        .14243E-05   -.21818E-03
   7  Prefactor     3.4525        2.1637        .33434E-08   -.19048E-03
   8  Prefactor     15.207        7.6156        .12067E-05   -.46811E-03
   9  norm          .10000E-03    .56699       -.41245E-07** at limit **
  10  norm          .54049        1.1524       -.37468E-06   -.20273E-02
  11  Prefactor     .10000E-03    2.9002       -.92183E-07** at limit **
  12  Prefactor     .10000E-03    1.7422       -.32674E-07** at limit **
  13  norm          1.6516        .83544        .11460E-07   -.13105E-03
  14  norm          .69374        1.0152       -.65229E-07   -.12000E-03
  15  Prefactor     13.797        4.1301        .66965E-07   -.18199E-03
  16  norm          .10000E-03    .84784        .21385E-07** at limit **
  17  Prefactor     19.036        29.150        .72526E-05   -.30081E-03
  18  Prefactor     12.779        11.158       -.10313E-05    .23492E-04
  19  Normalizat    .82460        .13420       -.23543E-06    .79013E-04
  20  Prefactor     1.0048        .15590       -.16963E-06    .48774E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 77.2244
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.000100012
  Prefactor  = 1.69049
  Prefactor  = 6.89789
  Prefactor  = 3.45252
  Prefactor  = 15.2066
  norm       = 0.0001
  norm       = 0.540491
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.6516
  norm       = 0.693736
  Prefactor  = 13.7971
  norm       = 0.0001
  Prefactor  = 19.0356
  Prefactor  = 12.779
  Normalizat = 0.8246
  Prefactor  = 1.00485
 **********
 **   18 **HESSE 
 **********

 FCN=   8941.859     FROM HESSE     STATUS=OK           305 CALLS     2373 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          77.224        9.5642        .45701E-04   -1.3948    
   2  Prefactor     .10000E-03    37.020        .21396E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.6517        .15034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10001E-03    1.3310        .32025E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.6905        5.3655        .32213E-03   -1.5448    
   6  Prefactor     6.8979        7.0973        .15290E-03   -1.5183    
   7  Prefactor     3.4525        2.1638        .10614E-03   -1.5336    
   8  Prefactor     15.207        7.5172        .10264E-03   -1.4928    
   9  norm          .10000E-03    .57100        .69325E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .54049        1.0079        .14852E-02   -1.5561    
  11  Prefactor     .10000E-03    2.9049        .15724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.7920        .24336E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.6516        .83601        .59553E-04   -1.5451    
  14  norm          .69374        1.0159        .48155E-04   -1.5541    
  15  Prefactor     13.797        4.1352        .10027E-03   -1.4965    
  16  norm          .10000E-03    .87278        .16984E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.036        27.612        .91836E-04   -1.4835    
  18  Prefactor     12.779        11.166        .11187E-03   -1.4993    
  19  Normalizat    .82460        .15676        .23952E-03   -.99163    
  20  Prefactor     1.0048        .18222        .26257E-03   -.92568    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74799e-09
Minuit parameter uncertainties:
  1  9.5644
  2  0.000283383
  3  3.27305e-07
  4  0.000248805
  5  5.36699
  6  7.09821
  7  2.16387
  8  7.51768
  9  4.73551e-06
  10  1.00796
  11  4.02158e-06
  12  7.36798e-06
  13  0.836013
  14  1.01593
  15  4.13527
  16  1.10017e-06
  17  27.6302
  18  11.1673
  19  0.156847
  20  0.182335
Done.

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

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  5.405e-01  1.008e+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.005e+00  1.823e-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.246e-01  1.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/550288/likelihoodResults_630720001_630979201_4FGL_J0120.4-2701_daily_bin1510.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) = 8941.79875347
delta logL = 0.05977714047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8941.79866926
delta logL = 0.0598613589664

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .54587       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1613       1.0000          .0000       5.0000    
     3 'Normalizat'    .82224       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0054       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=   8941.799     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      238 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .54654        20.971        .26709E-01    .16051E-02
   2  alpha         2.1629        3.4704        .41639        .33048E-04
   3  Normalizat    .82223        .21646E-01    .43900E-01    .13546E-04
   4  Prefactor     1.0053        .26161E-01    .44117E-01    .15415E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.54654
  alpha      = 2.16291
  Normalizat = 0.82223
  Prefactor  = 1.00534
 **********
 **   18 **HESSE 
 **********

 FCN=   8941.799     FROM HESSE     STATUS=OK            35 CALLS      273 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .54654        1.0158        .12994E-02   -1.5560    
   2  alpha         2.1629        1.0302        .26381E-01   -.13525    
   3  Normalizat    .82223        .15076        .23983E-03   -.99249    
   4  Prefactor     1.0053        .18159        .26249E-03   -.92552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.52435e-09
Minuit parameter uncertainties:
  1  1.01585
  2  1.06253
  3  0.150833
  4  0.181702
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/550288': 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) = 8941.79866708
delta logL = 0.0598635301085

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  5.465e-01  1.016e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  2.163e+00  1.063e+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:  1.005e+00  1.817e-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.222e-01  1.508e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/550288/cmap_HighResolution_630720001_630979201_4FGL_J0120.4-2701_daily_bin1510.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.11e-05', job_status='DONE', photon_flux_upper_limit='3.21e-08', time_completed='2021-08-13 23:46:48.734349', job_id='550288', GAL2='1.01', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1628923608.73', return_code2='0', ts='0.43', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='5.99e-02', ts2='0.55', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1510' AND source_name='4FGL J0120.4-2701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 23:46:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 550288: <4FGL_J0120.4-2701_daily_bin1510> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0120.4-2701_daily_bin1510 20.1227 -27.0229 630720001 630979201 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 :                                   750.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             324.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            972 sec.

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

