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


Performing analysis on: 4FGL_J0912.2+4127_daily_bin1214
RA = 138.056, Dec = 41.4563
tmin = 553996801, tmax = 554256001
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='86806', job_status='RUN', time_executed='2021-08-31 04:46:04.802425', time_epoch_executed='1630410364.8' WHERE source_name='4FGL J0912.2+4127' and cadence='daily' and bin_id='1214'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/86806

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/86806/ft1_4FGL_J0912.2+4127_daily_bin1214.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/86806/ft2_4FGL_J0912.2+4127_daily_bin1214.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/86806/ft1_4FGL_J0912.2+4127_daily_bin1214.fits outfile=/scratch/kocevski/86806/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1214.fits ra=138.056 dec=41.4563 rad=12.0 tmin=553996801.0 tmax=554256001.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 2.90
user 2.44
sys 0.44

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/86806/ft2_4FGL_J0912.2+4127_daily_bin1214.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/86806/ft2_4FGL_J0912.2+4127_daily_bin1214.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/86806/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1214.fits evtable="EVENTS" outfile="/scratch/kocevski/86806/ft1_filtered_4FGL_J0912.2+4127_daily_bin1214.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 0.72
user 0.33
sys 0.37

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/86806/ft1_filtered_4FGL_J0912.2+4127_daily_bin1214.fits" evtable="EVENTS" scfile=/scratch/kocevski/86806/ft2_4FGL_J0912.2+4127_daily_bin1214.fits sctable="SC_DATA" outfile=/scratch/kocevski/86806/ltcube_553996801_554256001_4FGL_J0912.2+4127_daily_bin1214.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/86806/ft2_4FGL_J0912.2+4127_daily_bin1214.fits
.....................!
real 12.94
user 12.25
sys 0.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/86806/ft1_filtered_4FGL_J0912.2+4127_daily_bin1214.fits evtable="EVENTS" scfile=/scratch/kocevski/86806/ft2_4FGL_J0912.2+4127_daily_bin1214.fits sctable="SC_DATA" expcube=/scratch/kocevski/86806/ltcube_553996801_554256001_4FGL_J0912.2+4127_daily_bin1214.fits outfile=/scratch/kocevski/86806/expmap_553996801_554256001_4FGL_J0912.2+4127_daily_bin1214.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/86806/ltcube_553996801_554256001_4FGL_J0912.2+4127_daily_bin1214.fits
.....................!
real 191.40
user 185.36
sys 4.77

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

Setting source of interest to:
4FGL J0912.2+4127 @ 138.056 41.4563

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/86806/ft1_filtered_4FGL_J0912.2+4127_daily_bin1214.fits scfile=/scratch/kocevski/86806/ft2_4FGL_J0912.2+4127_daily_bin1214.fits outfile=/scratch/kocevski/86806/cmap_553996801_554256001_4FGL_J0912.2+4127_daily_bin1214.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=138.056 yref=41.4563 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 1.04
user 0.37
sys 0.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/86806/ft1_filtered_4FGL_J0912.2+4127_daily_bin1214.fits scfile=/scratch/kocevski/86806/ft2_4FGL_J0912.2+4127_daily_bin1214.fits outfile=/scratch/kocevski/86806/cmap_HighResolution_553996801_554256001_4FGL_J0912.2+4127_daily_bin1214.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=138.056 yref=41.4563 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 3.56
user 0.37
sys 0.43

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/86806/ft1_filtered_4FGL_J0912.2+4127_daily_bin1214.fits evtable="EVENTS" scfile=/scratch/kocevski/86806/ft2_4FGL_J0912.2+4127_daily_bin1214.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/86806/Model_4FGL_J0912.2+4127_daily_bin1214.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/86806/ft1_filtered_4FGL_J0912.2+4127_daily_bin1214.fits.......................!
real 29.15
user 23.73
sys 1.64

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/86806/ft1_filtered_4FGL_J0912.2+4127_daily_bin1214.fits', '/scratch/kocevski/86806/ft2_4FGL_J0912.2+4127_daily_bin1214.fits', expMap='/scratch/kocevski/86806/expmap_553996801_554256001_4FGL_J0912.2+4127_daily_bin1214.fits', expCube='/scratch/kocevski/86806/ltcube_553996801_554256001_4FGL_J0912.2+4127_daily_bin1214.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/86806/Model_4FGL_J0912.2+4127_daily_bin1214.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0912.2+4127'

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  1.422e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
330        Index:  2.461e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
331        Scale:  7.992e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/86806/ft1_filtered_4FGL_J0912.2+4127_daily_bin1214.fits
Spacecraft file(s): /scratch/kocevski/86806/ft2_4FGL_J0912.2+4127_daily_bin1214.fits
Exposure map: /scratch/kocevski/86806/expmap_553996801_554256001_4FGL_J0912.2+4127_daily_bin1214.fits
Exposure cube: /scratch/kocevski/86806/ltcube_553996801_554256001_4FGL_J0912.2+4127_daily_bin1214.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/86806/Model_4FGL_J0912.2+4127_daily_bin1214.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) = 1569.80379015

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10945E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    129.94       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10411E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10364E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .12363E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    35.870       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12544E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.576       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10398E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.7349       1.0000         .10000E-03   10000.    
    15 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10583E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .80914       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.2043       1.0000         .10000E-03   10000.    
    19 'norm      '    5.5470       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10333E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    30.294       1.0000         .10000E-03   10000.    
    28 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10243E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.2587       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .80711       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6680E+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=   1569.776     FROM MIGRAD    STATUS=CONVERGED   1448 CALLS     4722 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    105.69        .18142E-02** at limit **
   2  norm          .10000E-03    1.7541        .51245E-03** at limit **
   3  Prefactor     129.64        134.90        .17661E-03   -.61154E-06
   4  Prefactor     .10000E-03    20.453        .17502E-02** at limit **
   5  Prefactor     .10000E-03    85.308        .18142E-02** at limit **
   6  Prefactor     .10000E-03    23.619        .18142E-02** at limit **
   7  norm          .10000E-03    14.667        .14760E-02** at limit **
   8  norm          35.884        23.847        .66914E-04   -.37762E-03
   9  Prefactor     .10000E-03    6.6263        .19620E-03** at limit **
  10  Prefactor     .10002E-03    150.78        .10759    ** at limit **
  11  Prefactor     .10000E-03    81.559        .18142E-02** at limit **
  12  Prefactor     11.571        14.980        .11775E-03    .34276E-05
  13  Prefactor     .10000E-03    85.887        .18142E-02** at limit **
  14  Prefactor     7.7348        9.6306        .12937E-03   -.14105E-04
  15  norm          .10000E-03    4.0052        .77400E-03** at limit **
  16  Prefactor     .10000E-03    55.318        .18142E-02** at limit **
  17  norm          .80841        1.8234        .45150E-04   -.45827E-03
  18  Prefactor     5.2109        14.445        .13035E-03    .16026E-03
  19  norm          5.5410        19.280        .17059E-03    .15745E-04
  20  Prefactor     .10000E-03    4.0311        .77438E-03** at limit **
  21  Prefactor     .10000E-03    6.7228        .10031E-02** at limit **
  22  Prefactor     .10000E-03    13.293        .14108E-02** at limit **
  23  norm          .10000E-03    11.834        .13314E-02** at limit **
  24  Prefactor     .10000E-03    22.305        .18142E-02** at limit **
  25  Prefactor     .10000E-03    5.7393        .92683E-03** at limit **
  26  Prefactor     .10000E-03    22.186        .18142E-02** at limit **
  27  Prefactor     30.293        27.212        .72794E-04    .15618E-05
  28  norm          .10000E-03    11.382        .13047E-02** at limit **
  29  Prefactor     .10000E-03    49.322        .18142E-02** at limit **
  30  Normalizat    1.2586        .43919        .24432E-03   -.31008E-03
  31  Prefactor     .80759        .44701        .32518E-03   -.12751E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 129.643
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 35.8839
  Prefactor  = 0.0001
  Prefactor  = 0.000100022
  Prefactor  = 0.0001
  Prefactor  = 11.5714
  Prefactor  = 0.0001
  Prefactor  = 7.73477
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.808408
  Prefactor  = 5.21089
  norm       = 5.54104
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.2933
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.2586
  Prefactor  = 0.807586
 **********
 **   18 **HESSE 
 **********

 FCN=   1569.776     FROM HESSE     STATUS=OK           600 CALLS     5322 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    105.69        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.7541        .10249E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     129.64        134.89        .70642E-05   -1.3426    
   4  Prefactor     .10000E-03    20.453        .35005E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    85.308        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    23.619        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    14.670        .29519E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          35.884        23.846        .13383E-04   -1.4509    
   9  Prefactor     .10000E-03    6.6264        .39241E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10002E-03    146.74        .10940       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    81.559        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.571        14.980        .47099E-05   -1.5027    
  13  Prefactor     .10000E-03    85.888        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.7348        9.6299        .51747E-05   -1.5152    
  15  norm          .10000E-03    4.0052        .15480E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    55.319        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .80841        1.8250        .18060E-05   -1.5528    
  18  Prefactor     5.2109        14.457        .52140E-05   -1.5251    
  19  norm          5.5410        19.278        .68234E-05   -1.5237    
  20  Prefactor     .10000E-03    4.0312        .15488E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.7229        .20061E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    13.293        .28215E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    11.834        .26627E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    22.305        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    5.7394        .18537E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    22.186        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     30.293        27.213        .29118E-05   -1.4607    
  28  norm          .10000E-03    11.382        .26094E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    49.323        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.2586        .43952        .48864E-04   -.84811    
  31  Prefactor     .80759        .44735        .65036E-04   -.99449    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59776e-09
Minuit parameter uncertainties:
  1  0.000159102
  2  9.27506e-06
  3  135.216
  4  7.75664e-05
  5  5.99256e-05
  6  5.17804e-05
  7  5.06841e-05
  8  23.8519
  9  1.98942e-05
  10  0.0036273
  11  4.72258e-05
  12  14.9847
  13  0.000130916
  14  9.63178
  15  3.91901e-06
  16  0.000224217
  17  1.82518
  18  14.4669
  19  19.2996
  20  3.56707e-05
  21  6.84089e-06
  22  1.5033e-05
  23  1.23526e-05
  24  4.37798e-05
  25  5.38072e-06
  26  2.42559e-05
  27  27.2242
  28  2.38402e-05
  29  6.84962e-05
  30  0.440825
  31  0.449381
Done.

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

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  7.735e+00  9.632e+00  1.000e-04  1.000e+04 ( 1.000e-12)
330        Index:  2.461e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
331        Scale:  7.992e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
665    Prefactor:  8.076e-01  4.494e-01  0.000e+00  1.000e+01 ( 1.000e+00)
666        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
667        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
664   Normalization:  1.259e+00  4.408e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.16
Ra Dec: 138.056 41.456
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 8.82e-08 +/- 1.10e-07
Energy Flux (Fixed Index): 2.68e-05 +/- 3.33e-05

TS (Fixed Index): 1.16
Ra Dec: 138.056 41.456
Photon Flux Upper Limit: 3.83e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.97e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/86806/likelihoodResults_553996801_554256001_4FGL_J0912.2+4127_daily_bin1214.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): 0
logL (Free Index) = 1569.77301044
delta logL = 0.0029707652011

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1569.77198794
delta logL = 0.00399326116235

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2768       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5503       1.0000          .0000       10.000    
     3 'Normalizat'    1.2549       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81017       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6680E+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=   1569.772     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      235 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2776        10.757        .12494E-03   -.80168E-03
   2  Index         2.5500        1.0327        .65677E-02   -.15589E-03
   3  Normalizat    1.2551        .39833        .24460E-03    .10497E-03
   4  Prefactor     .81008        .43316        .32473E-03    .95758E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.27764
  Index      = 2.55
  Normalizat = 1.25514
  Prefactor  = 0.810076
 **********
 **   18 **HESSE 
 **********

 FCN=   1569.772     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2776        10.500        .24988E-04   -1.5168    
   2  Index         2.5500        1.0080        .26271E-03   -.51209    
   3  Normalizat    1.2551        .39849        .48919E-04   -.84916    
   4  Prefactor     .81008        .43331        .64945E-04   -.99358    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25922e-09
Minuit parameter uncertainties:
  1  10.5024
  2  1.01725
  3  0.399461
  4  0.435153
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/86806': 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) = 1569.7719877
delta logL = 0.00399350326097

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  7.278e+00  1.050e+01  1.000e-04  1.000e+04 ( 1.000e-12)
330        Index:  2.550e+00  1.017e+00  0.000e+00  1.000e+01 (-1.000e+00)
331        Scale:  7.992e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
665    Prefactor:  8.101e-01  4.352e-01  0.000e+00  1.000e+01 ( 1.000e+00)
666        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
667        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
664   Normalization:  1.255e+00  3.995e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.17
Ra Dec: 138.056 41.456
Photon Index (Free Index): 2.55 +/- 1.02
Photon Flux (Free Index): 9.42e-08 +/- 1.32e-07
Energy Flux (Free Index): 2.59e-05 +/- 3.29e-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/86806/cmap_HighResolution_553996801_554256001_4FGL_J0912.2+4127_daily_bin1214.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.97e-02', comment='SUCCESS', photon_flux='8.82e-08', energy_flux2='2.59e-05', photon_flux_error='1.10e-07', dlogl='3.99e-03', energy_flux='2.68e-05', photon_flux2='9.42e-08', job_status='DONE', time_completed='2021-08-31 04:55:52.636396', photon_index_error2='1.02', photon_index2='2.55', ts='1.16', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='3.83e-07', energy_flux_error2='3.29e-05', EG='1.26', time_epoch_completed='1630410952.64', return_code='0', job_id='86806', GAL2='0.81', EG2='1.26', return_code2='0', energy_flux_error='3.33e-05', photon_flux_error2='1.32e-07', ts2='1.17', photon_index='2.46' WHERE bin_id='1214' AND source_name='4FGL J0912.2+4127' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 04:55:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 86806: <4FGL_J0912.2+4127_daily_bin1214> in cluster <slac> Done

Job <4FGL_J0912.2+4127_daily_bin1214> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 04:42:12 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 04:42:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 04:42:13 2021
Terminated at Tue Aug 31 04:55:53 2021
Results reported at Tue Aug 31 04:55:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0912.2+4127_daily_bin1214 138.056 41.4563 553996801 554256001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0912.2+4127 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   503.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             233.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            821 sec.

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

