/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 158 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 = 7410
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0120.4-2701_daily_bin388
RA = 20.1227, Dec = -27.0229
tmin = 339897601, tmax = 340156801
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='545812', job_status='RUN', time_executed='2021-08-13 23:21:37.682753', time_epoch_executed='1628922097.68' WHERE source_name='4FGL J0120.4-2701' and cadence='daily' and bin_id='388'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/545812

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/545812/ft1_4FGL_J0120.4-2701_daily_bin388.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/545812/ft2_4FGL_J0120.4-2701_daily_bin388.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/545812/ft1_4FGL_J0120.4-2701_daily_bin388.fits outfile=/scratch/kocevski/545812/ft1_filteredMKT_4FGL_J0120.4-2701_daily_bin388.fits ra=20.1227 dec=-27.0229 rad=12.0 tmin=339897601.0 tmax=340156801.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 5.64
user 3.09
sys 2.49

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/545812/ft2_4FGL_J0120.4-2701_daily_bin388.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/545812/ft1_filteredMKT_4FGL_J0120.4-2701_daily_bin388.fits evtable="EVENTS" outfile="/scratch/kocevski/545812/ft1_filtered_4FGL_J0120.4-2701_daily_bin388.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 2.56
user 0.33
sys 2.21

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/545812/ft1_filtered_4FGL_J0120.4-2701_daily_bin388.fits" evtable="EVENTS" scfile=/scratch/kocevski/545812/ft2_4FGL_J0120.4-2701_daily_bin388.fits sctable="SC_DATA" outfile=/scratch/kocevski/545812/ltcube_339897601_340156801_4FGL_J0120.4-2701_daily_bin388.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/545812/ft2_4FGL_J0120.4-2701_daily_bin388.fits
.....................!
real 14.82
user 11.91
sys 2.87

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/545812/ft1_filtered_4FGL_J0120.4-2701_daily_bin388.fits evtable="EVENTS" scfile=/scratch/kocevski/545812/ft2_4FGL_J0120.4-2701_daily_bin388.fits sctable="SC_DATA" expcube=/scratch/kocevski/545812/ltcube_339897601_340156801_4FGL_J0120.4-2701_daily_bin388.fits outfile=/scratch/kocevski/545812/expmap_339897601_340156801_4FGL_J0120.4-2701_daily_bin388.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/545812/ltcube_339897601_340156801_4FGL_J0120.4-2701_daily_bin388.fits
.....................!
real 193.86
user 185.72
sys 7.79

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/545812/ft1_filtered_4FGL_J0120.4-2701_daily_bin388.fits scfile=/scratch/kocevski/545812/ft2_4FGL_J0120.4-2701_daily_bin388.fits outfile=/scratch/kocevski/545812/cmap_339897601_340156801_4FGL_J0120.4-2701_daily_bin388.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 2.79
user 0.38
sys 2.38

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/545812/ft1_filtered_4FGL_J0120.4-2701_daily_bin388.fits scfile=/scratch/kocevski/545812/ft2_4FGL_J0120.4-2701_daily_bin388.fits outfile=/scratch/kocevski/545812/cmap_HighResolution_339897601_340156801_4FGL_J0120.4-2701_daily_bin388.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 2.84
user 0.41
sys 2.39

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/545812/ft1_filtered_4FGL_J0120.4-2701_daily_bin388.fits evtable="EVENTS" scfile=/scratch/kocevski/545812/ft2_4FGL_J0120.4-2701_daily_bin388.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/545812/Model_4FGL_J0120.4-2701_daily_bin388.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/545812/ft1_filtered_4FGL_J0120.4-2701_daily_bin388.fits......................!
real 37.85
user 33.51
sys 4.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.6727       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .17299E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    .10064E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.6102       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12737E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    27.540       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.590       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10439E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .45965       1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.6772       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.3458       1.0000         .10000E-03   10000.    
    14 'norm      '    1.7559       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.6622       1.0000         .10000E-03   10000.    
    16 'norm      '    .10107E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    81.220       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.874       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .51137       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1037       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=   3687.285     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1769 TOTAL
                     EDM=   .84E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.6725        6.2734       -.97118E-07   -.87184E-05
   2  Prefactor     .10000E-03    1021.6       -.18002E-04** at limit **
   3  norm          .10000E-03    12.017        .23881E-05** at limit **
   4  norm          3.6101        3.4804        .21284E-06    .79753E-05
   5  Prefactor     .10001E-03    7.8392       -.26925E-05** at limit **
   6  Prefactor     27.549        15.846       -.30609E-05    .50193E-04
   7  Prefactor     13.590        5.4856        .82620E-06    .56961E-05
   8  Prefactor     .10000E-03    17.722        .89547E-05** at limit **
   9  norm          .46089        1.7008        .22280E-05   -.18114E-04
  10  norm          .10001E-03    8.5377       -.44215E-05** at limit **
  11  Prefactor     7.6828        11.670        .15129E-05   -.75400E-04
  12  Prefactor     .10000E-03    1.9568        .61266E-06** at limit **
  13  norm          2.3459        1.6298       -.81391E-07    .22759E-04
  14  norm          1.7558        1.5960        .13756E-05   -.21307E-04
  15  Prefactor     1.6617        3.6698        .82508E-07    .23643E-05
  16  norm          .10000E-03    2.1568       -.65105E-06** at limit **
  17  Prefactor     81.217        1.3173       -.16985E-07   -.11684E-03
  18  Prefactor     11.873        1.9773       -.36337E-06   -.52455E-03
  19  Normalizat    .51139        .20714       -.65692E-05   -.61610E-05
  20  Prefactor     1.1037        .24598       -.44296E-05   -.97492E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.67251
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 3.61008
  Prefactor  = 0.000100006
  Prefactor  = 27.5487
  Prefactor  = 13.5902
  Prefactor  = 0.0001
  norm       = 0.460894
  norm       = 0.000100006
  Prefactor  = 7.68283
  Prefactor  = 0.0001
  norm       = 2.34586
  norm       = 1.75579
  Prefactor  = 1.66169
  norm       = 0.0001
  Prefactor  = 81.2166
  Prefactor  = 11.873
  Normalizat = 0.511392
  Prefactor  = 1.10369
 **********
 **   18 **HESSE 
 **********

 FCN=   3687.285     FROM HESSE     STATUS=OK           353 CALLS     2122 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.6725        6.2877        .42164E-02   -1.5232    
   2  Prefactor     .10000E-03    1004.5        .91092E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    12.005        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.6101        3.4846        .53163E-02   -1.5328    
   5  Prefactor     .10001E-03    5.5699        .46036E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.549        16.104        .19085E-02   -1.4658    
   7  Prefactor     13.590        5.4951        .27163E-02   -1.4971    
   8  Prefactor     .10000E-03    17.843        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .46089        1.7521        .11105E-01   -1.5572    
  10  norm          .10001E-03    1.3426        .37549E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.6828        11.968        .36182E-02   -1.5154    
  12  Prefactor     .10000E-03    1.9464        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.3459        1.6355        .66915E-02   -1.5402    
  14  norm          1.7558        1.5994        .79076E-02   -1.5443    
  15  Prefactor     1.6617        3.7002        .81796E-02   -1.5450    
  16  norm          .10000E-03    2.0623        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     81.217        62.496        .11142E-02   -1.3903    
  18  Prefactor     11.873        12.233        .29064E-02   -1.5019    
  19  Normalizat    .51139        .18219        .58708E-01   -1.1189    
  20  Prefactor     1.1037        .21281        .37450E-01   -.89349    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39696e-09
Minuit parameter uncertainties:
  1  6.28848
  2  0.0029177
  3  3.7331e-05
  4  3.48475
  5  0.000375209
  6  16.1068
  7  5.49533
  8  0.00011977
  9  1.75232
  10  0.000183045
  11  11.9714
  12  5.82157e-07
  13  1.63554
  14  1.59942
  15  3.70066
  16  9.93138e-07
  17  62.5469
  18  12.236
  19  0.182403
  20  0.212976
Done.

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

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  1.000e-04  1.830e-04  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.104e+00  2.130e-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:  5.114e-01  1.824e-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: 4.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.46e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/545812/likelihoodResults_339897601_340156801_4FGL_J0120.4-2701_daily_bin388.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) = 3687.28524653
delta logL = -0.000315977223636

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3687.03428139
delta logL = 0.250649167506

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .88466E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8040       1.0000          .0000       5.0000    
     3 'Normalizat'    .48581       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1191       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=   3687.034     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      265 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .89420E-01    2.6631        .62536E-02    .45486E-02
   2  alpha         3.7996        4.3872        .50000        .58187E-04
   3  Normalizat    .48571        .29607E-01    .60085E-01   -.31662E-03
   4  Prefactor     1.1193        .35760E-01    .36903E-01   -.20154E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0894198
  alpha      = 3.79958
  Normalizat = 0.485709
  Prefactor  = 1.11926
 **********
 **   18 **HESSE 
 **********

 FCN=   3687.034     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      298 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .89420E-01    11.346        .29291E-03   -1.5648    
   2  alpha         3.7996        3.0423        .17729E-01    .54666    
   3  Normalizat    .48571        .14575        .26586E-03   -1.1308    
   4  Prefactor     1.1193        .17308        .21667E-03   -.88853    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.78532e-10
Minuit parameter uncertainties:
  1  2.0138
  2  11.8839
  3  0.145866
  4  0.173165
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/545812': 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): 102
logL (Free Index) = 3687.03427854
delta logL = 0.250652017668

Extracting fit parameters...

4FGL J0120.4-2701
   Spectrum: LogParabola
263         norm:  8.942e-02  2.014e+00  1.000e-04  1.000e+04 ( 1.000e-12)
264        alpha:  3.800e+00  1.188e+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.119e+00  1.732e-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:  4.857e-01  1.459e-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/545812/cmap_HighResolution_339897601_340156801_4FGL_J0120.4-2701_daily_bin388.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.46e-05', job_status='DONE', photon_flux_upper_limit='4.59e-08', time_completed='2021-08-13 23:30:00.714507', job_id='545812', GAL2='1.12', fit_tolerance='1e-08', EG2='0.49', EG='0.51', time_epoch_completed='1628922600.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.51e-01', ts2='0.52', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='388' AND source_name='4FGL J0120.4-2701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 23:30:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0010>
Subject: Job 545812: <4FGL_J0120.4-2701_daily_bin388> in cluster <slac> Done

Job <4FGL_J0120.4-2701_daily_bin388> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Aug 13 23:15:31 2021
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 23:18:13 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:18:13 2021
Terminated at Fri Aug 13 23:30:02 2021
Results reported at Fri Aug 13 23:30:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0120.4-2701_daily_bin388 20.1227 -27.0229 339897601 340156801 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 :                                   536.53 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             287.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            871 sec.

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

