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


Performing analysis on: 4FGL_J0120.4-2701_daily_bin1386
RA = 20.1227, Dec = -27.0229
tmin = 598579201, tmax = 598838401
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='550098', job_status='RUN', time_executed='2021-08-13 23:33:51.439110', time_epoch_executed='1628922831.44' WHERE source_name='4FGL J0120.4-2701' and cadence='daily' and bin_id='1386'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/550098

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/550098/ft1_4FGL_J0120.4-2701_daily_bin1386.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/550098/ft2_4FGL_J0120.4-2701_daily_bin1386.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/550098/ft1_4FGL_J0120.4-2701_daily_bin1386.fits outfile=/scratch/kocevski/550098/ft1_filteredMKT_4FGL_J0120.4-2701_daily_bin1386.fits ra=20.1227 dec=-27.0229 rad=12.0 tmin=598579201.0 tmax=598838401.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 12.58
user 2.66
sys 9.68

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/550098/ft2_4FGL_J0120.4-2701_daily_bin1386.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/550098/ft1_filteredMKT_4FGL_J0120.4-2701_daily_bin1386.fits evtable="EVENTS" outfile="/scratch/kocevski/550098/ft1_filtered_4FGL_J0120.4-2701_daily_bin1386.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.22
user 0.32
sys 8.63

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/550098/ft1_filtered_4FGL_J0120.4-2701_daily_bin1386.fits" evtable="EVENTS" scfile=/scratch/kocevski/550098/ft2_4FGL_J0120.4-2701_daily_bin1386.fits sctable="SC_DATA" outfile=/scratch/kocevski/550098/ltcube_598579201_598838401_4FGL_J0120.4-2701_daily_bin1386.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/550098/ft2_4FGL_J0120.4-2701_daily_bin1386.fits
.....................!
real 24.18
user 12.83
sys 11.01

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/550098/ft1_filtered_4FGL_J0120.4-2701_daily_bin1386.fits evtable="EVENTS" scfile=/scratch/kocevski/550098/ft2_4FGL_J0120.4-2701_daily_bin1386.fits sctable="SC_DATA" expcube=/scratch/kocevski/550098/ltcube_598579201_598838401_4FGL_J0120.4-2701_daily_bin1386.fits outfile=/scratch/kocevski/550098/expmap_598579201_598838401_4FGL_J0120.4-2701_daily_bin1386.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/550098/ltcube_598579201_598838401_4FGL_J0120.4-2701_daily_bin1386.fits
.....................!
real 206.38
user 187.39
sys 17.08

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/550098/ft1_filtered_4FGL_J0120.4-2701_daily_bin1386.fits scfile=/scratch/kocevski/550098/ft2_4FGL_J0120.4-2701_daily_bin1386.fits outfile=/scratch/kocevski/550098/cmap_598579201_598838401_4FGL_J0120.4-2701_daily_bin1386.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 9.97
user 0.39
sys 9.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/550098/ft1_filtered_4FGL_J0120.4-2701_daily_bin1386.fits scfile=/scratch/kocevski/550098/ft2_4FGL_J0120.4-2701_daily_bin1386.fits outfile=/scratch/kocevski/550098/cmap_HighResolution_598579201_598838401_4FGL_J0120.4-2701_daily_bin1386.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 9.85
user 0.38
sys 9.34

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/550098/ft1_filtered_4FGL_J0120.4-2701_daily_bin1386.fits evtable="EVENTS" scfile=/scratch/kocevski/550098/ft2_4FGL_J0120.4-2701_daily_bin1386.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/550098/Model_4FGL_J0120.4-2701_daily_bin1386.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/550098/ft1_filtered_4FGL_J0120.4-2701_daily_bin1386.fits.....................!
real 78.78
user 63.44
sys 13.48

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.328       1.0000         .10000E-03   10000.    
     2 'Prefactor '    51.080       1.0000         .10000E-03   10000.    
     3 'norm      '    6.4371       1.0000         .10000E-03   10000.    
     4 'norm      '    1.2923       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.6978       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10515E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .67470       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.4429       1.0000         .10000E-03   10000.    
     9 'norm      '    .10748E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.1861       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.041       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10188E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.1163       1.0000         .10000E-03   10000.    
    14 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.9623       1.0000         .10000E-03   10000.    
    16 'norm      '    1.7562       1.0000         .10000E-03   10000.    
    17 'Prefactor '    27.648       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14431E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .70994       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96661       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=   8664.808     FROM MIGRAD    STATUS=CONVERGED    103 CALLS     1712 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.327        4.8556        .15645E-04    .24403E-02
   2  Prefactor     51.737        56.087        .35530E-04    .36633E-04
   3  norm          6.4290        1.3462       -.30801E-06   -.29984E-02
   4  norm          1.2941        1.9137        .29536E-05   -.10288E-04
   5  Prefactor     2.6982        4.7450        .55732E-05    .89797E-03
   6  Prefactor     .10000E-03    3.8325       -.17712E-04** at limit **
   7  Prefactor     .67470        1.9471       -.53075E-05    .54291E-03
   8  Prefactor     8.4364        6.5497       -.23692E-05   -.21371E-03
   9  norm          .10000E-03    2.7064       -.10358E-04** at limit **
  10  norm          5.1854        1.9281        .15623E-06    .31126E-03
  11  Prefactor     12.085        9.3854        .30341E-05    .10183E-03
  12  Prefactor     .10000E-03    1.2818        .14292E-04** at limit **
  13  norm          1.1164        .81383        .32166E-06    .40977E-03
  14  norm          .10000E-03    .38693       -.18722E-05** at limit **
  15  Prefactor     3.9625        2.1845        .40294E-05   -.72041E-03
  16  norm          1.7559        1.9355        .76492E-06    .35634E-03
  17  Prefactor     27.763        23.355       -.10739E-04   -.13455E-03
  18  Prefactor     .10000E-03    6.9468       -.14798E-04** at limit **
  19  Normalizat    .70979        .13579       -.31739E-05    .67423E-03
  20  Prefactor     .96657        .15954       -.22504E-04    .79753E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.3274
  Prefactor  = 51.7374
  norm       = 6.42905
  norm       = 1.29408
  Prefactor  = 2.69815
  Prefactor  = 0.000100001
  Prefactor  = 0.674698
  Prefactor  = 8.43636
  norm       = 0.0001
  norm       = 5.18541
  Prefactor  = 12.0854
  Prefactor  = 0.0001
  norm       = 1.11637
  norm       = 0.0001
  Prefactor  = 3.96248
  norm       = 1.75594
  Prefactor  = 27.7635
  Prefactor  = 0.0001
  Normalizat = 0.709791
  Prefactor  = 0.966569
 **********
 **   18 **HESSE 
 **********

 FCN=   8664.808     FROM HESSE     STATUS=OK           345 CALLS     2057 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.327        4.8591        .26454E-02   -1.4951    
   2  Prefactor     51.737        56.043        .14028E-02   -1.4268    
   3  norm          6.4290        6.3166        .39548E-02   -1.5201    
   4  norm          1.2941        1.9440        .97347E-02   -1.5480    
   5  Prefactor     2.6982        4.7734        .62007E-02   -1.5379    
   6  Prefactor     .10000E-03    3.8232        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .67470        1.9683        .11964E-01   -1.5544    
   8  Prefactor     8.4364        7.7381        .34491E-02   -1.5127    
   9  norm          .10000E-03    .90612        .39782E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.1854        1.9293        .44131E-02   -1.5252    
  11  Prefactor     12.085        9.3927        .28860E-02   -1.5013    
  12  Prefactor     .10000E-03    1.2595        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.1164        .81962        .11139E-01   -1.5497    
  14  norm          .10000E-03    .38183        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.9625        2.1858        .50659E-02   -1.5310    
  16  norm          1.7559        1.9515        .79066E-02   -1.5443    
  17  Prefactor     27.763        23.359        .19048E-02   -1.4654    
  18  Prefactor     .10000E-03    6.8160        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .70979        .11634        .42423E-01   -1.0351    
  20  Prefactor     .96657        .13601        .45848E-01   -.93852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46612e-08
Minuit parameter uncertainties:
  1  4.85919
  2  56.1005
  3  6.3173
  4  1.94413
  5  4.77403
  6  0.000103831
  7  1.96847
  8  7.73906
  9  1.63323e-05
  10  1.9293
  11  9.39382
  12  4.68054e-05
  13  0.819632
  14  3.33194e-06
  15  2.18581
  16  1.95162
  17  23.3664
  18  0.000112121
  19  0.116382
  20  0.136053
Done.

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

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  5.185e+00  1.929e+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:  9.666e-01  1.361e-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:  7.098e-01  1.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 29.60
Ra Dec: 20.123 -27.023
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 4.50e-08 +/- 1.67e-08
Energy Flux (Fixed Index): 4.37e-05 +/- 1.62e-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) = 8664.80363085
delta logL = 0.00463503318679

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8664.80350615
delta logL = 0.00475973622088

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.1867       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7877       1.0000          .0000       5.0000    
     3 'Normalizat'    .71104       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96607       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=   8664.804     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      196 TOTAL
                     EDM=   .59E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.1896        3.3513        .44128E-02   -.34596E-04
   2  alpha         1.7877        .46365        .24659        .10549E-04
   3  Normalizat    .71105        .11230        .42438E-01    .16946E-04
   4  Prefactor     .96606        .13597        .45842E-01    .53832E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.1896
  alpha      = 1.78774
  Normalizat = 0.711048
  Prefactor  = 0.966057
 **********
 **   18 **HESSE 
 **********

 FCN=   8664.804     FROM HESSE     STATUS=OK            33 CALLS      229 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.1896        1.9117        .75712E-04   -1.5252    
   2  alpha         1.7877        .29092        .98617E-02   -.28890    
   3  Normalizat    .71105        .12968        .21913E-03   -1.0346    
   4  Prefactor     .96606        .15869        .23264E-03   -.93870    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.73085e-11
Minuit parameter uncertainties:
  1  1.91173
  2  0.291638
  3  0.129736
  4  0.158764
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/550098': 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) = 8664.80350497
delta logL = 0.00476091694145

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  5.190e+00  1.912e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  1.788e+00  2.916e-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:  9.661e-01  1.588e-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:  7.110e-01  1.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 29.62
Ra Dec: 20.123 -27.023
Photon Index (Free Index): 1.79 +/- 0.29
Photon Flux (Free Index): 4.35e-08 +/- 2.14e-08
Energy Flux (Free Index): 4.54e-05 +/- 2.50e-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/550098/cmap_HighResolution_598579201_598838401_4FGL_J0120.4-2701_daily_bin1386.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.50e-08', energy_flux2='4.54e-05', photon_flux_error='1.67e-08', dlogl='4.76e-03', energy_flux='4.37e-05', photon_flux2='4.35e-08', job_status='DONE', time_completed='2021-08-13 23:46:24.952023', photon_index_error2='0.29', photon_index2='1.79', ts='29.60', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='2.50e-05', EG='0.71', time_epoch_completed='1628923584.95', return_code='0', job_id='550098', GAL2='0.97', EG2='0.71', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='2.14e-08', ts2='29.62', photon_index='1.82' WHERE bin_id='1386' AND source_name='4FGL J0120.4-2701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 23:46:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 550098: <4FGL_J0120.4-2701_daily_bin1386> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0120.4-2701_daily_bin1386 20.1227 -27.0229 598579201 598838401 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 :                                   889.30 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             291.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            965 sec.

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

