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


Performing analysis on: 4FGL_J0120.4-2701_daily_bin1441
RA = 20.1227, Dec = -27.0229
tmin = 612835201, tmax = 613094401
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='550182', job_status='RUN', time_executed='2021-08-13 23:33:36.592707', time_epoch_executed='1628922816.59' WHERE source_name='4FGL J0120.4-2701' and cadence='daily' and bin_id='1441'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/550182

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/550182/ft1_4FGL_J0120.4-2701_daily_bin1441.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/550182/ft2_4FGL_J0120.4-2701_daily_bin1441.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/550182/ft1_4FGL_J0120.4-2701_daily_bin1441.fits outfile=/scratch/kocevski/550182/ft1_filteredMKT_4FGL_J0120.4-2701_daily_bin1441.fits ra=20.1227 dec=-27.0229 rad=12.0 tmin=612835201.0 tmax=613094401.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.46
user 2.72
sys 5.64

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/550182/ft1_filtered_4FGL_J0120.4-2701_daily_bin1441.fits" evtable="EVENTS" scfile=/scratch/kocevski/550182/ft2_4FGL_J0120.4-2701_daily_bin1441.fits sctable="SC_DATA" outfile=/scratch/kocevski/550182/ltcube_612835201_613094401_4FGL_J0120.4-2701_daily_bin1441.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/550182/ft2_4FGL_J0120.4-2701_daily_bin1441.fits
.....................!
real 19.55
user 13.00
sys 6.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/550182/ft1_filtered_4FGL_J0120.4-2701_daily_bin1441.fits evtable="EVENTS" scfile=/scratch/kocevski/550182/ft2_4FGL_J0120.4-2701_daily_bin1441.fits sctable="SC_DATA" expcube=/scratch/kocevski/550182/ltcube_612835201_613094401_4FGL_J0120.4-2701_daily_bin1441.fits outfile=/scratch/kocevski/550182/expmap_612835201_613094401_4FGL_J0120.4-2701_daily_bin1441.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/550182/ltcube_612835201_613094401_4FGL_J0120.4-2701_daily_bin1441.fits
.....................!
real 198.73
user 185.77
sys 12.14

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/550182/ft1_filtered_4FGL_J0120.4-2701_daily_bin1441.fits scfile=/scratch/kocevski/550182/ft2_4FGL_J0120.4-2701_daily_bin1441.fits outfile=/scratch/kocevski/550182/cmap_612835201_613094401_4FGL_J0120.4-2701_daily_bin1441.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 6.01
user 0.36
sys 5.47

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/550182/ft1_filtered_4FGL_J0120.4-2701_daily_bin1441.fits scfile=/scratch/kocevski/550182/ft2_4FGL_J0120.4-2701_daily_bin1441.fits outfile=/scratch/kocevski/550182/cmap_HighResolution_612835201_613094401_4FGL_J0120.4-2701_daily_bin1441.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.97
user 0.39
sys 5.47

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/550182/ft1_filtered_4FGL_J0120.4-2701_daily_bin1441.fits evtable="EVENTS" scfile=/scratch/kocevski/550182/ft2_4FGL_J0120.4-2701_daily_bin1441.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/550182/Model_4FGL_J0120.4-2701_daily_bin1441.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/550182/ft1_filtered_4FGL_J0120.4-2701_daily_bin1441.fits.....................!
real 67.60
user 58.11
sys 8.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/550182/ft1_filtered_4FGL_J0120.4-2701_daily_bin1441.fits', '/scratch/kocevski/550182/ft2_4FGL_J0120.4-2701_daily_bin1441.fits', expMap='/scratch/kocevski/550182/expmap_612835201_613094401_4FGL_J0120.4-2701_daily_bin1441.fits', expCube='/scratch/kocevski/550182/ltcube_612835201_613094401_4FGL_J0120.4-2701_daily_bin1441.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/550182/Model_4FGL_J0120.4-2701_daily_bin1441.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/550182/ft1_filtered_4FGL_J0120.4-2701_daily_bin1441.fits
Spacecraft file(s): /scratch/kocevski/550182/ft2_4FGL_J0120.4-2701_daily_bin1441.fits
Exposure map: /scratch/kocevski/550182/expmap_612835201_613094401_4FGL_J0120.4-2701_daily_bin1441.fits
Exposure cube: /scratch/kocevski/550182/ltcube_612835201_613094401_4FGL_J0120.4-2701_daily_bin1441.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/550182/Model_4FGL_J0120.4-2701_daily_bin1441.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 7762.57165439

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.8216       1.0000         .10000E-03   10000.    
     3 'norm      '    7.0612       1.0000         .10000E-03   10000.    
     4 'norm      '    .57526E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.3472       1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.289       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.2958       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.8887       1.0000         .10000E-03   10000.    
    10 'norm      '    2.1239       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10710E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10470E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .80478       1.0000         .10000E-03   10000.    
    14 'norm      '    1.2754       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0061       1.0000         .10000E-03   10000.    
    16 'norm      '    .42318       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .33285E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.7233       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .88720       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1422       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5670E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7761.548     FROM MIGRAD    STATUS=CONVERGED    112 CALLS     1175 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7344        .17739E-05** at limit **
   2  Prefactor     14.852        124.10        .10867E-04   -.11708E-03
   3  norm          7.0070        6.9668        .10262E-04   -.79369E-04
   4  norm          .62442E-01    .91155       -.11376E-04   -.20224E-03
   5  Prefactor     4.3782        4.9399        .27867E-05   -.10739E-03
   6  Prefactor     20.288        11.586        .49913E-05    .13565E-03
   7  Prefactor     4.2962        3.0756       -.37532E-05   -.16523E-03
   8  Prefactor     .10000E-03    5.1062       -.53632E-05** at limit **
   9  norm          3.8880        1.9535       -.68336E-07   -.40833E-04
  10  norm          2.1254        1.3485        .28498E-07    .15965E-04
  11  Prefactor     .10000E-03    15.696       -.15562E-04** at limit **
  12  Prefactor     .10000E-03    2.3940       -.33221E-05** at limit **
  13  norm          .80669        .82247        .12982E-05    .12070E-03
  14  norm          1.2771        1.1561       -.51499E-06   -.14849E-04
  15  Prefactor     3.0190        3.7448       -.63556E-06    .51807E-04
  16  norm          .42809        1.8060        .68584E-05    .19620E-03
  17  Prefactor     .10000E-03    7.8360        .38340E-05** at limit **
  18  Prefactor     4.7680        7.7009       -.22320E-04    .11064E-03
  19  Normalizat    .88596        .16242        .47165E-05   -.10905E-03
  20  Prefactor     1.1416        .19113       -.26249E-05   -.86128E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 14.852
  norm       = 7.00703
  norm       = 0.0624415
  Prefactor  = 4.37821
  Prefactor  = 20.2882
  Prefactor  = 4.29615
  Prefactor  = 0.0001
  norm       = 3.88797
  norm       = 2.12541
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.806691
  norm       = 1.27715
  Prefactor  = 3.01897
  norm       = 0.428093
  Prefactor  = 0.0001
  Prefactor  = 4.76799
  Normalizat = 0.885959
  Prefactor  = 1.14163
 **********
 **   18 **HESSE 
 **********

 FCN=   7761.548     FROM HESSE     STATUS=OK           347 CALLS     1522 TOTAL
                     EDM=   .73E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.7154        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.852        121.53        .35844E-02   -1.4937    
   3  norm          7.0070        6.9725        .37741E-02   -1.5178    
   4  norm          .62442E-01    1.0234        .51632E-01   -1.5658    
   5  Prefactor     4.3782        4.9617        .48298E-02   -1.5289    
   6  Prefactor     20.288        11.597        .22230E-02   -1.4807    
   7  Prefactor     4.2962        3.0731        .48594E-02   -1.5293    
   8  Prefactor     .10000E-03    5.0731        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.8880        1.9616        .51153E-02   -1.5314    
  10  norm          2.1254        1.3466        .70740E-02   -1.5416    
  11  Prefactor     .10000E-03    15.061        .90765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.3601        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .80669        .84308        .12458E-01   -1.5528    
  14  norm          1.2771        1.1609        .98377E-02   -1.5482    
  15  Prefactor     3.0190        3.7510        .58525E-02   -1.5360    
  16  norm          .42809        1.7582        .10953E-01   -1.5577    
  17  Prefactor     .10000E-03    7.8140        .98565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.7680        7.9107        .46287E-02   -1.5271    
  19  Normalizat    .88596        .13814        .44738E-01   -.96955    
  20  Prefactor     1.1416        .16155        .56254E-01   -.88147    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.28774e-08
Minuit parameter uncertainties:
  1  2.7576e-06
  2  85.208
  3  6.97327
  4  0.505179
  5  4.96217
  6  11.5979
  7  3.07322
  8  1.2794e-05
  9  1.96166
  10  1.34662
  11  5.931e-05
  12  1.06772e-06
  13  0.843094
  14  1.16092
  15  3.75132
  16  1.73501
  17  2.69622e-05
  18  7.91239
  19  0.1382
  20  0.161622
Done.

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

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  2.125e+00  1.347e+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.142e+00  1.616e-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.860e-01  1.382e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.76
Ra Dec: 20.123 -27.023
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 1.84e-08 +/- 1.17e-08
Energy Flux (Fixed Index): 1.79e-05 +/- 1.13e-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) = 7761.29923402
delta logL = 0.248841328553

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7761.29236925
delta logL = 0.255706091588

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0345       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4822       1.0000          .0000       5.0000    
     3 'Normalizat'    .89083       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1395       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=   7761.292     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      205 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0345        1.3973        .72497E-02   -.21223E-02
   2  alpha         1.4822        .40374        .36331       -.78698E-05
   3  Normalizat    .89083        .13216        .44784E-01    .98124E-04
   4  Prefactor     1.1395        .16059        .56305E-01    .21237E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.0345
  alpha      = 1.48218
  Normalizat = 0.890832
  Prefactor  = 1.13946
 **********
 **   18 **HESSE 
 **********

 FCN=   7761.292     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0345        1.3716        .78702E-04   -1.5423    
   2  alpha         1.4822        .44473        .14249E-01   -.41931    
   3  Normalizat    .89083        .15641        .22953E-03   -.96783    
   4  Prefactor     1.1395        .19025        .24897E-03   -.88215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.36271e-10
Minuit parameter uncertainties:
  1  1.37158
  2  0.447591
  3  0.156486
  4  0.19036
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/550182': 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) = 7761.29236925
delta logL = 0.255706091877

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  2.034e+00  1.372e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  1.482e+00  4.476e-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.139e+00  1.904e-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.908e-01  1.565e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.28
Ra Dec: 20.123 -27.023
Photon Index (Free Index): 1.48 +/- 0.45
Photon Flux (Free Index): 1.29e-08 +/- 1.04e-08
Energy Flux (Free Index): 3.13e-05 +/- 3.28e-05

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/550182/cmap_HighResolution_612835201_613094401_4FGL_J0120.4-2701_daily_bin1441.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.84e-08', energy_flux2='3.13e-05', photon_flux_error='1.17e-08', dlogl='2.56e-01', energy_flux='1.79e-05', photon_flux2='1.29e-08', job_status='DONE', time_completed='2021-08-13 23:43:49.908040', photon_index_error2='0.45', photon_index2='1.48', ts='8.76', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', energy_flux_error2='3.28e-05', EG='0.89', time_epoch_completed='1628923429.91', return_code='0', job_id='550182', GAL2='1.14', EG2='0.89', return_code2='0', energy_flux_error='1.13e-05', photon_flux_error2='1.04e-08', ts2='9.28', photon_index='1.82' WHERE bin_id='1441' AND source_name='4FGL J0120.4-2701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 23:43:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 550182: <4FGL_J0120.4-2701_daily_bin1441> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0120.4-2701_daily_bin1441 20.1227 -27.0229 612835201 613094401 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 :                                   692.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             303.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            802 sec.

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

