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


Performing analysis on: 4FGL_J0120.4-2701_daily_bin1410
RA = 20.1227, Dec = -27.0229
tmin = 604800001, tmax = 605059201
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='550134', job_status='RUN', time_executed='2021-08-13 23:34:22.205523', time_epoch_executed='1628922862.21' WHERE source_name='4FGL J0120.4-2701' and cadence='daily' and bin_id='1410'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/550134

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/550134/ft1_4FGL_J0120.4-2701_daily_bin1410.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/550134/ft2_4FGL_J0120.4-2701_daily_bin1410.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/550134/ft1_4FGL_J0120.4-2701_daily_bin1410.fits outfile=/scratch/kocevski/550134/ft1_filteredMKT_4FGL_J0120.4-2701_daily_bin1410.fits ra=20.1227 dec=-27.0229 rad=12.0 tmin=604800001.0 tmax=605059201.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 13.81
user 4.84
sys 8.80

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/550134/ft2_4FGL_J0120.4-2701_daily_bin1410.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/550134/ft1_filteredMKT_4FGL_J0120.4-2701_daily_bin1410.fits evtable="EVENTS" outfile="/scratch/kocevski/550134/ft1_filtered_4FGL_J0120.4-2701_daily_bin1410.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 9.15
user 0.35
sys 8.69

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/550134/ft1_filtered_4FGL_J0120.4-2701_daily_bin1410.fits" evtable="EVENTS" scfile=/scratch/kocevski/550134/ft2_4FGL_J0120.4-2701_daily_bin1410.fits sctable="SC_DATA" outfile=/scratch/kocevski/550134/ltcube_604800001_605059201_4FGL_J0120.4-2701_daily_bin1410.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/550134/ft2_4FGL_J0120.4-2701_daily_bin1410.fits
.....................!
real 24.26
user 13.88
sys 10.14

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/550134/ft1_filtered_4FGL_J0120.4-2701_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/550134/ft2_4FGL_J0120.4-2701_daily_bin1410.fits sctable="SC_DATA" expcube=/scratch/kocevski/550134/ltcube_604800001_605059201_4FGL_J0120.4-2701_daily_bin1410.fits outfile=/scratch/kocevski/550134/expmap_604800001_605059201_4FGL_J0120.4-2701_daily_bin1410.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/550134/ltcube_604800001_605059201_4FGL_J0120.4-2701_daily_bin1410.fits
.....................!
real 202.83
user 186.25
sys 15.58

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/550134/ft1_filtered_4FGL_J0120.4-2701_daily_bin1410.fits scfile=/scratch/kocevski/550134/ft2_4FGL_J0120.4-2701_daily_bin1410.fits outfile=/scratch/kocevski/550134/cmap_604800001_605059201_4FGL_J0120.4-2701_daily_bin1410.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 8.88
user 0.39
sys 8.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/550134/ft1_filtered_4FGL_J0120.4-2701_daily_bin1410.fits scfile=/scratch/kocevski/550134/ft2_4FGL_J0120.4-2701_daily_bin1410.fits outfile=/scratch/kocevski/550134/cmap_HighResolution_604800001_605059201_4FGL_J0120.4-2701_daily_bin1410.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 8.82
user 0.39
sys 8.33

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/550134/ft1_filtered_4FGL_J0120.4-2701_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/550134/ft2_4FGL_J0120.4-2701_daily_bin1410.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/550134/Model_4FGL_J0120.4-2701_daily_bin1410.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/550134/ft1_filtered_4FGL_J0120.4-2701_daily_bin1410.fits.....................!
real 43.43
user 30.81
sys 12.01

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    54.264       1.0000         .10000E-03   10000.    
     2 'Prefactor '    103.33       1.0000         .10000E-03   10000.    
     3 'norm      '    .10536E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.3519       1.0000         .10000E-03   10000.    
     9 'norm      '    .10706E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    38.962       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.1542       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.8753       1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.084       1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.9986       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2262       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .52497       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=   2836.069     FROM MIGRAD    STATUS=CONVERGED    392 CALLS     2012 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          54.267        16.408        .11298E-05    .43150E-04
   2  Prefactor     103.41        177.21        .84965E-04    .58758E-04
   3  norm          .10001E-03    23.910       -.20733E-04** at limit **
   4  norm          .10000E-03    1.6005        .19972E-07** at limit **
   5  Prefactor     .10000E-03    3.2648       -.17948E-05** at limit **
   6  Prefactor     .10000E-03    22.944        .61829E-06** at limit **
   7  Prefactor     .10000E-03    2.7199        .15386E-06** at limit **
   8  Prefactor     2.3553        17.207        .84695E-05    .18150E-03
   9  norm          .10004E-03    3.4088       -.13004E-05** at limit **
  10  norm          .10000E-03    3.2245        .17184E-05** at limit **
  11  Prefactor     38.964        32.762        .33725E-05    .74275E-05
  12  Prefactor     7.1575        9.0266       -.44527E-05    .28470E-03
  13  norm          .10000E-03    .72492        .48477E-07** at limit **
  14  norm          2.8757        4.3919       -.19226E-05   -.19287E-03
  15  Prefactor     11.085        6.8734        .96994E-06   -.33618E-04
  16  norm          .10000E-03    4.8982        .36740E-06** at limit **
  17  Prefactor     .10000E-03    21.057        .21101E-04** at limit **
  18  Prefactor     4.9994        18.085        .24598E-05   -.56170E-04
  19  Normalizat    1.2258        .25410       -.27962E-05    .21690E-03
  20  Prefactor     .52544        .26499       -.29258E-05    .69375E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 54.2669
  Prefactor  = 103.414
  norm       = 0.000100008
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.3553
  norm       = 0.00010004
  norm       = 0.0001
  Prefactor  = 38.9636
  Prefactor  = 7.15753
  norm       = 0.0001
  norm       = 2.87565
  Prefactor  = 11.0853
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.99938
  Normalizat = 1.22576
  Prefactor  = 0.525438
 **********
 **   18 **HESSE 
 **********

 FCN=   2836.069     FROM HESSE     STATUS=OK           287 CALLS     2299 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          54.267        16.426        .54451E-04   -1.4233    
   2  Prefactor     103.41        177.83        .19778E-03   -1.3671    
   3  norm          .10001E-03    24.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.6036        .65793E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.2680        .93989E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    23.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.7477        .85738E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.3553        13.307        .26728E-03   -1.5401    
   9  norm          .10004E-03    15.953        .15769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.2788        .93059E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     38.964        32.591        .64213E-04   -1.4459    
  12  Prefactor     7.1575        8.7189        .14997E-03   -1.5173    
  13  norm          .10000E-03    .73353        .44260E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.8757        4.3509        .12343E-03   -1.5369    
  15  Prefactor     11.085        6.8847        .10524E-03   -1.5042    
  16  norm          .10000E-03    5.0589        .22965E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.9994        18.107        .17987E-03   -1.5261    
  19  Normalizat    1.2258        .29028        .20967E-03   -.85811    
  20  Prefactor     .52544        .29855        .33204E-03   -1.1082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28477e-09
Minuit parameter uncertainties:
  1  16.4277
  2  178.759
  3  0.000897519
  4  4.56229e-06
  5  1.01717e-05
  6  1.09141e-05
  7  1.4565e-05
  8  11.2002
  9  0.00160064
  10  4.63272e-06
  11  32.6057
  12  8.72044
  13  4.75471e-06
  14  4.35142
  15  6.8852
  16  9.65687e-05
  17  1.61169e-05
  18  18.1271
  19  0.290666
  20  0.299452
Done.

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

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  1.000e-04  4.633e-06  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  1.816e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
265         beta:  5.214e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  1.130e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
564    Prefactor:  5.254e-01  2.995e-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.226e+00  2.907e-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: 8.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 8.02e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/550134/likelihoodResults_604800001_605059201_4FGL_J0120.4-2701_daily_bin1410.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) = 2836.07074096
delta logL = -0.00144487896978

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2835.62108073
delta logL = 0.448215348284

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24909E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1322       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .59077       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=   2835.621     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      306 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .24940E-01    1.3920        .20693E-02   -.18670E-03
   2  alpha         5.0000        3.1928        .46267    ** at limit **
   3  Normalizat    1.1321        .12236        .36820E-01    .75088E-04
   4  Prefactor     .59080        .12496        .70999E-01    .52259E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0249402
  alpha      = 5
  Normalizat = 1.13213
  Prefactor  = 0.590802
 **********
 **   18 **HESSE 
 **********

 FCN=   2835.621     FROM HESSE     STATUS=OK            35 CALLS      341 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .24940E-01    .33605E-01    .93422E-04   -1.5676    
   2  alpha         5.0000        3.3375        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1321        .29620        .21645E-03   -.88727    
   4  Prefactor     .59080        .30835        .31429E-03   -1.0797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.4224e-11
Minuit parameter uncertainties:
  1  0.033605
  2  3.67678e-05
  3  0.296636
  4  0.309233
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/550134': 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) = 2835.62108014
delta logL = 0.448215942014

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  2.494e-02  3.361e-02  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  5.000e+00  3.677e-05  0.000e+00  5.000e+00 ( 1.000e+00)
265         beta:  5.214e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
266           Eb:  1.130e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
564    Prefactor:  5.908e-01  3.092e-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.132e+00  2.966e-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/550134/cmap_HighResolution_604800001_605059201_4FGL_J0120.4-2701_daily_bin1410.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.02e-05', job_status='DONE', photon_flux_upper_limit='8.26e-08', time_completed='2021-08-13 23:44:22.814162', job_id='550134', GAL2='0.59', fit_tolerance='1e-08', EG2='1.13', EG='1.23', time_epoch_completed='1628923462.81', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.53', dlogl='4.48e-01', ts2='0.97', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1410' AND source_name='4FGL J0120.4-2701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 23:44:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0176>
Subject: Job 550134: <4FGL_J0120.4-2701_daily_bin1410> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0120.4-2701_daily_bin1410 20.1227 -27.0229 604800001 605059201 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 :                                   715.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             238.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   39 MB
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   816 sec.
    Turnaround time :                            840 sec.

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

