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


Performing analysis on: 4FGL_J0120.4-2701_daily_bin1034
RA = 20.1227, Dec = -27.0229
tmin = 507340801, tmax = 507600001
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='548813', job_status='RUN', time_executed='2021-08-13 23:27:25.830751', time_epoch_executed='1628922445.83' WHERE source_name='4FGL J0120.4-2701' and cadence='daily' and bin_id='1034'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/548813

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/548813/ft1_4FGL_J0120.4-2701_daily_bin1034.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/548813/ft2_4FGL_J0120.4-2701_daily_bin1034.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/548813/ft1_4FGL_J0120.4-2701_daily_bin1034.fits outfile=/scratch/kocevski/548813/ft1_filteredMKT_4FGL_J0120.4-2701_daily_bin1034.fits ra=20.1227 dec=-27.0229 rad=12.0 tmin=507340801.0 tmax=507600001.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 7.66
user 2.96
sys 4.53

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/548813/ft2_4FGL_J0120.4-2701_daily_bin1034.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/548813/ft1_filteredMKT_4FGL_J0120.4-2701_daily_bin1034.fits evtable="EVENTS" outfile="/scratch/kocevski/548813/ft1_filtered_4FGL_J0120.4-2701_daily_bin1034.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.97
user 0.28
sys 4.67

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/548813/ft1_filtered_4FGL_J0120.4-2701_daily_bin1034.fits" evtable="EVENTS" scfile=/scratch/kocevski/548813/ft2_4FGL_J0120.4-2701_daily_bin1034.fits sctable="SC_DATA" outfile=/scratch/kocevski/548813/ltcube_507340801_507600001_4FGL_J0120.4-2701_daily_bin1034.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/548813/ft2_4FGL_J0120.4-2701_daily_bin1034.fits
.....................!
real 16.72
user 11.32
sys 5.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/548813/ft1_filtered_4FGL_J0120.4-2701_daily_bin1034.fits evtable="EVENTS" scfile=/scratch/kocevski/548813/ft2_4FGL_J0120.4-2701_daily_bin1034.fits sctable="SC_DATA" expcube=/scratch/kocevski/548813/ltcube_507340801_507600001_4FGL_J0120.4-2701_daily_bin1034.fits outfile=/scratch/kocevski/548813/expmap_507340801_507600001_4FGL_J0120.4-2701_daily_bin1034.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/548813/ltcube_507340801_507600001_4FGL_J0120.4-2701_daily_bin1034.fits
.....................!
real 164.94
user 154.17
sys 10.38

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/548813/ft1_filtered_4FGL_J0120.4-2701_daily_bin1034.fits scfile=/scratch/kocevski/548813/ft2_4FGL_J0120.4-2701_daily_bin1034.fits outfile=/scratch/kocevski/548813/cmap_507340801_507600001_4FGL_J0120.4-2701_daily_bin1034.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.35
user 0.35
sys 4.97

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/548813/ft1_filtered_4FGL_J0120.4-2701_daily_bin1034.fits scfile=/scratch/kocevski/548813/ft2_4FGL_J0120.4-2701_daily_bin1034.fits outfile=/scratch/kocevski/548813/cmap_HighResolution_507340801_507600001_4FGL_J0120.4-2701_daily_bin1034.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.12
user 0.33
sys 4.75

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/548813/ft1_filtered_4FGL_J0120.4-2701_daily_bin1034.fits evtable="EVENTS" scfile=/scratch/kocevski/548813/ft2_4FGL_J0120.4-2701_daily_bin1034.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/548813/Model_4FGL_J0120.4-2701_daily_bin1034.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/548813/ft1_filtered_4FGL_J0120.4-2701_daily_bin1034.fits.....................!
real 43.21
user 36.23
sys 6.90

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.8665       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .62299       1.0000         .10000E-03   10000.    
     4 'norm      '    4.0821       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .59874E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.0063       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.4967       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.4798       1.0000         .10000E-03   10000.    
    10 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.6202       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .93026       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.0918       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.368       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0074       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .77311       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=   5390.658     FROM MIGRAD    STATUS=CONVERGED    722 CALLS     2118 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.8665        5.4380        .12894E-03    .77274E-03
   2  Prefactor     .10001E-03    65.400        .18142E-02** at limit **
   3  norm          .61861        16.265        .47052E-03    .11206E-03
   4  norm          4.0820        2.9126        .10223E-03   -.22141E-03
   5  Prefactor     .49314E-01    8.1241        .40105E-01    .40258E-03
   6  Prefactor     4.0099        9.5969        .20149E-03    .31231E-03
   7  Prefactor     3.4965        3.1407        .11802E-03    .17589E-03
   8  Prefactor     .10000E-03    9.8418        .36285E-03** at limit **
   9  norm          1.4789        1.6190        .94891E-04    .40914E-03
  10  norm          .10000E-03    .69934        .59670E-03** at limit **
  11  Prefactor     1.6191        11.571        .33251E-03    .45849E-04
  12  Prefactor     .10000E-03    2.3172        .10802E-02** at limit **
  13  norm          .93015        1.1739        .87382E-04    .27712E-03
  14  norm          .10000E-03    .91417        .13390E-03** at limit **
  15  Prefactor     9.0915        4.2426        .99481E-04   -.51083E-03
  16  norm          .10000E-03    1.5999        .17830E-03** at limit **
  17  Prefactor     11.365        37.001        .11882E-03    .85729E-04
  18  Prefactor     .10000E-03    5.0839        .16145E-02** at limit **
  19  Normalizat    1.0075        .18035        .19763E-03    .82939E-03
  20  Prefactor     .77304        .20808        .26315E-03    .61059E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.86646
  Prefactor  = 0.000100011
  norm       = 0.618612
  norm       = 4.08204
  Prefactor  = 0.0493136
  Prefactor  = 4.0099
  Prefactor  = 3.49647
  Prefactor  = 0.0001
  norm       = 1.47892
  norm       = 0.0001
  Prefactor  = 1.61912
  Prefactor  = 0.0001
  norm       = 0.930147
  norm       = 0.0001
  Prefactor  = 9.09152
  norm       = 0.0001
  Prefactor  = 11.3651
  Prefactor  = 0.0001
  Normalizat = 1.0075
  Prefactor  = 0.773038
 **********
 **   18 **HESSE 
 **********

 FCN=   5390.658     FROM HESSE     STATUS=OK           281 CALLS     2399 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.8665        5.4381        .51575E-05   -1.5112    
   2  Prefactor     .10001E-03    65.404        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .61861        16.262        .18821E-04   -1.5551    
   4  norm          4.0820        2.9125        .40892E-05   -1.5304    
   5  Prefactor     .49314E-01    5.9857        .48262E-01   -1.5664    
   6  Prefactor     4.0099        9.5390        .80594E-05   -1.5307    
   7  Prefactor     3.4965        3.1404        .47209E-05   -1.5334    
   8  Prefactor     .10000E-03    9.8418        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.4789        1.6189        .37957E-05   -1.5465    
  10  norm          .10000E-03    .69936        .11934E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.6191        11.567        .13300E-04   -1.5453    
  12  Prefactor     .10000E-03    2.3178        .21604E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .93015        1.1737        .34953E-05   -1.5515    
  14  norm          .10000E-03    .91418        .26781E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.0915        4.2423        .39793E-05   -1.5105    
  16  norm          .10000E-03    1.5999        .35660E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.365        36.997        .47528E-05   -1.5034    
  18  Prefactor     .10000E-03    5.0843        .32291E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0075        .18025        .39527E-04   -.92779    
  20  Prefactor     .77304        .20821        .52629E-04   -1.0073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38584e-09
Minuit parameter uncertainties:
  1  5.43835
  2  0.00172929
  3  6.34492
  4  2.91259
  5  1.08561
  6  9.54265
  7  3.14052
  8  1.53567e-05
  9  1.61897
  10  1.83637e-05
  11  8.65721
  12  9.54993e-06
  13  1.17376
  14  4.15859e-06
  15  4.24246
  16  7.72376e-06
  17  37.0713
  18  2.6879e-05
  19  0.180363
  20  0.208421
Done.

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

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  1.000e-04  1.836e-05  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:  7.730e-01  2.084e-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.008e+00  1.804e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/548813/likelihoodResults_507340801_507600001_4FGL_J0120.4-2701_daily_bin1034.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5390.66428995
delta logL = -0.00666913748319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5390.6576212
delta logL = -3.88274202123e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8130       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0077       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77289       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=   5390.658     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      234 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    100.67        .59695E-03** at limit **
   2  alpha         1.7574        2.7152        .50000        .77966E-07
   3  Normalizat    1.0075        .56010E-01    .19763E-03    .34917E-04
   4  Prefactor     .77304        .66493E-01    .26315E-03    .32834E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.7574
  Normalizat = 1.0075
  Prefactor  = 0.773037
 **********
 **   18 **HESSE 
 **********

 FCN=   5390.658     FROM HESSE     STATUS=OK            29 CALLS      263 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .93012        .11939E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7574        4.0791        .50000       -.30159    
   3  Normalizat    1.0075        .17375        .79053E-05   -.92780    
   4  Prefactor     .77304        .20619        .10526E-04   -1.0073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62665e-11
Minuit parameter uncertainties:
  1  2.97745e-06
  2  71.1476
  3  0.17385
  4  0.206398
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/548813': 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) = 5390.65762054
delta logL = 2.73884324997e-07

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  1.000e-04  2.977e-06  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  1.757e+00  7.115e+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:  7.730e-01  2.064e-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.008e+00  1.739e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.92e-05', job_status='DONE', photon_flux_upper_limit='3.00e-08', time_completed='2021-08-13 23:36:26.884129', job_id='548813', GAL2='0.77', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1628922986.88', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='2.74e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1034' AND source_name='4FGL J0120.4-2701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 23:36:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0026>
Subject: Job 548813: <4FGL_J0120.4-2701_daily_bin1034> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0120.4-2701_daily_bin1034 20.1227 -27.0229 507340801 507600001 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 :                                   599.11 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             237.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   645 sec.
    Turnaround time :                            661 sec.

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

