/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 236 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 = 7485
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0127.2+0324_daily_bin117
RA = 21.8237, Dec = 3.413
tmin = 269654401, tmax = 269913601
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='580425', job_status='RUN', time_executed='2021-08-14 01:06:21.888345', time_epoch_executed='1628928381.89' WHERE source_name='4FGL J0127.2+0324' and cadence='daily' and bin_id='117'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/580425

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/580425/ft1_4FGL_J0127.2+0324_daily_bin117.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/580425/ft2_4FGL_J0127.2+0324_daily_bin117.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/580425/ft1_4FGL_J0127.2+0324_daily_bin117.fits outfile=/scratch/kocevski/580425/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin117.fits ra=21.8237 dec=3.413 rad=12.0 tmin=269654401.0 tmax=269913601.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.68
user 3.23
sys 5.36

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/580425/ft2_4FGL_J0127.2+0324_daily_bin117.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/580425/ft2_4FGL_J0127.2+0324_daily_bin117.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/580425/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin117.fits evtable="EVENTS" outfile="/scratch/kocevski/580425/ft1_filtered_4FGL_J0127.2+0324_daily_bin117.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.75
user 0.32
sys 5.41

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/580425/ft1_filtered_4FGL_J0127.2+0324_daily_bin117.fits" evtable="EVENTS" scfile=/scratch/kocevski/580425/ft2_4FGL_J0127.2+0324_daily_bin117.fits sctable="SC_DATA" outfile=/scratch/kocevski/580425/ltcube_269654401_269913601_4FGL_J0127.2+0324_daily_bin117.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/580425/ft2_4FGL_J0127.2+0324_daily_bin117.fits
.....................!
real 18.46
user 12.30
sys 6.12

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/580425/ft1_filtered_4FGL_J0127.2+0324_daily_bin117.fits evtable="EVENTS" scfile=/scratch/kocevski/580425/ft2_4FGL_J0127.2+0324_daily_bin117.fits sctable="SC_DATA" expcube=/scratch/kocevski/580425/ltcube_269654401_269913601_4FGL_J0127.2+0324_daily_bin117.fits outfile=/scratch/kocevski/580425/expmap_269654401_269913601_4FGL_J0127.2+0324_daily_bin117.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/580425/ltcube_269654401_269913601_4FGL_J0127.2+0324_daily_bin117.fits
.....................!
real 197.74
user 185.71
sys 11.70

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 176 point sources and 0 extended sources

Setting source of interest to:
4FGL J0127.2+0324 @ 21.8237 3.413

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/580425/ft1_filtered_4FGL_J0127.2+0324_daily_bin117.fits scfile=/scratch/kocevski/580425/ft2_4FGL_J0127.2+0324_daily_bin117.fits outfile=/scratch/kocevski/580425/cmap_269654401_269913601_4FGL_J0127.2+0324_daily_bin117.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=21.8237 yref=3.413 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.18
user 0.37
sys 4.78

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/580425/ft1_filtered_4FGL_J0127.2+0324_daily_bin117.fits scfile=/scratch/kocevski/580425/ft2_4FGL_J0127.2+0324_daily_bin117.fits outfile=/scratch/kocevski/580425/cmap_HighResolution_269654401_269913601_4FGL_J0127.2+0324_daily_bin117.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=21.8237 yref=3.413 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.68
user 0.38
sys 5.28

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/580425/ft1_filtered_4FGL_J0127.2+0324_daily_bin117.fits evtable="EVENTS" scfile=/scratch/kocevski/580425/ft2_4FGL_J0127.2+0324_daily_bin117.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/580425/Model_4FGL_J0127.2+0324_daily_bin117.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/580425/ft1_filtered_4FGL_J0127.2+0324_daily_bin117.fits.....................!
real 59.61
user 51.48
sys 8.01

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/580425/ft1_filtered_4FGL_J0127.2+0324_daily_bin117.fits', '/scratch/kocevski/580425/ft2_4FGL_J0127.2+0324_daily_bin117.fits', expMap='/scratch/kocevski/580425/expmap_269654401_269913601_4FGL_J0127.2+0324_daily_bin117.fits', expCube='/scratch/kocevski/580425/ltcube_269654401_269913601_4FGL_J0127.2+0324_daily_bin117.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/580425/Model_4FGL_J0127.2+0324_daily_bin117.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0127.2+0324'

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  8.781e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.967e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.374e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/580425/ft1_filtered_4FGL_J0127.2+0324_daily_bin117.fits
Spacecraft file(s): /scratch/kocevski/580425/ft2_4FGL_J0127.2+0324_daily_bin117.fits
Exposure map: /scratch/kocevski/580425/expmap_269654401_269913601_4FGL_J0127.2+0324_daily_bin117.fits
Exposure cube: /scratch/kocevski/580425/ltcube_269654401_269913601_4FGL_J0127.2+0324_daily_bin117.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/580425/Model_4FGL_J0127.2+0324_daily_bin117.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) = 4744.00192746

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10207E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10088E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.918       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.623       1.0000         .10000E-03   10000.    
     6 'norm      '    4.3956       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13665E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.396       1.0000         .10000E-03   10000.    
    11 'Prefactor '    116.14       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .89121E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    28.760       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.7866       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .90971       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .87216       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4743.999     FROM MIGRAD    STATUS=CONVERGED    334 CALLS     1584 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .70998        .25517E-08** at limit **
   2  Prefactor     .10000E-03    9.3103       -.25699E-06** at limit **
   3  norm          .10000E-03    5.6442       -.15373E-06** at limit **
   4  Prefactor     13.847        53.755       -.14786E-03   -.26360E-04
   5  Prefactor     13.584        77.883       -.89028E-04    .11518E-04
   6  norm          4.3957        1.8928        .12890E-05    .14225E-03
   7  Prefactor     .10000E-03    25.971       -.26692E-04** at limit **
   8  Prefactor     .10002E-03    22.045        .16331E-04** at limit **
   9  Prefactor     .10000E-03    7.6313       -.51894E-06** at limit **
  10  Prefactor     25.396        11.697       -.72131E-06    .80598E-04
  11  Prefactor     116.14        63.486        .17536E-05    .40284E-04
  12  Prefactor     .10000E-03    35.629        .18615E-04** at limit **
  13  Prefactor     .10000E-03    3.4802       -.20296E-05** at limit **
  14  norm          28.762        17.328       -.76350E-06    .34165E-04
  15  Prefactor     2.7867        3.1049       -.11333E-06    .99124E-04
  16  Normalizat    .90954        .19723        .10562E-04    .90093E-04
  17  Prefactor     .87235        .15905       -.45839E-06    .53537E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.8469
  Prefactor  = 13.5843
  norm       = 4.39574
  Prefactor  = 0.0001
  Prefactor  = 0.000100022
  Prefactor  = 0.000100001
  Prefactor  = 25.396
  Prefactor  = 116.138
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  norm       = 28.7621
  Prefactor  = 2.78673
  Normalizat = 0.909542
  Prefactor  = 0.872346
 **********
 **   18 **HESSE 
 **********

 FCN=   4743.999     FROM HESSE     STATUS=OK           223 CALLS     1807 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .71905        .56662E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.3122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    5.6464        .15982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.847        53.921        .10736E-03   -1.4964    
   5  Prefactor     13.584        78.098        .10852E-03   -1.4971    
   6  norm          4.3957        1.8941        .55623E-04   -1.5289    
   7  Prefactor     .10000E-03    26.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10002E-03    22.477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.7969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.396        11.696        .79491E-04   -1.4700    
  11  Prefactor     116.14        63.491        .37335E-04   -1.3548    
  12  Prefactor     .10000E-03    35.625        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    66.339        .24549E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          28.762        17.332        .74706E-04   -1.4635    
  15  Prefactor     2.7867        3.1072        .12496E-03   -1.5374    
  16  Normalizat    .90954        .22810        .25425E-03   -.96126    
  17  Prefactor     .87235        .18617        .21402E-03   -.97114    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01108e-09
Minuit parameter uncertainties:
  1  1.88364e-06
  2  1.5597e-05
  3  2.40127e-06
  4  54.1113
  5  65.2727
  6  1.89418
  7  0.000117596
  8  0.00141009
  9  0.000130496
  10  11.6968
  11  63.5286
  12  8.34169e-05
  13  0.00111658
  14  17.3351
  15  3.10733
  16  0.228347
  17  0.186301
Done.

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

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  1.161e+02  6.353e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.967e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.374e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.723e-01  1.863e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  9.095e-01  2.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.41
Ra Dec: 21.824 3.413
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 6.09e-08 +/- 3.33e-08
Energy Flux (Fixed Index): 4.57e-05 +/- 2.50e-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) = 4743.94058272
delta logL = 0.0588333131564

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4743.90861736
delta logL = 0.0907986709235

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    139.18       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8174       1.0000          .0000       10.000    
     3 'Normalizat'    .91692       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86879       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4743.909     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      301 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     139.13        91.670        .17072E-03    .45948E-05
   2  Index         1.8172        .34969        .45028E-02    .30539E-03
   3  Normalizat    .91702        .22393        .25334E-03    .22797E-04
   4  Prefactor     .86875        .18568        .21441E-03   -.27413E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 139.134
  Index      = 1.81723
  Normalizat = 0.917017
  Prefactor  = 0.868746
 **********
 **   18 **HESSE 
 **********

 FCN=   4743.909     FROM HESSE     STATUS=OK            25 CALLS      326 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     139.13        90.217        .68290E-05   -1.3343    
   2  Index         1.8172        .34411        .90057E-03   -.69002    
   3  Normalizat    .91702        .22414        .10133E-04   -.95865    
   4  Prefactor     .86875        .18588        .85763E-05   -.97242    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28605e-11
Minuit parameter uncertainties:
  1  90.3064
  2  0.344568
  3  0.224366
  4  0.186011
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/580425': 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) = 4743.90861667
delta logL = 0.0907993586397

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  1.391e+02  9.031e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.817e+00  3.446e-01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  2.374e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.687e-01  1.860e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  9.170e-01  2.244e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.59
Ra Dec: 21.824 3.413
Photon Index (Free Index): 1.82 +/- 0.34
Photon Flux (Free Index): 5.36e-08 +/- 3.45e-08
Energy Flux (Free Index): 6.09e-05 +/- 5.36e-05

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/580425/cmap_HighResolution_269654401_269913601_4FGL_J0127.2+0324_daily_bin117.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.09e-08', energy_flux2='6.09e-05', photon_flux_error='3.33e-08', dlogl='9.08e-02', energy_flux='4.57e-05', photon_flux2='5.36e-08', job_status='DONE', time_completed='2021-08-14 01:15:27.712162', photon_index_error2='0.34', photon_index2='1.82', ts='7.41', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='5.36e-05', EG='0.91', time_epoch_completed='1628928927.71', return_code='0', job_id='580425', GAL2='0.87', EG2='0.92', return_code2='0', energy_flux_error='2.50e-05', photon_flux_error2='3.45e-08', ts2='7.59', photon_index='1.97' WHERE bin_id='117' AND source_name='4FGL J0127.2+0324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 14 01:15:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 580425: <4FGL_J0127.2+0324_daily_bin117> in cluster <slac> Done

Job <4FGL_J0127.2+0324_daily_bin117> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Aug 14 01:00:31 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 14 01:00:57 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 14 01:00:57 2021
Terminated at Sat Aug 14 01:15:29 2021
Results reported at Sat Aug 14 01:15:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0127.2+0324_daily_bin117 21.8237 3.413 269654401 269913601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0127.2+0324 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   626.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             204.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   871 sec.
    Turnaround time :                            898 sec.

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

