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


Performing analysis on: 4FGL_J0912.2+4127_daily_bin1527
RA = 138.056, Dec = 41.4563
tmin = 635126401, tmax = 635385601
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='89254', job_status='RUN', time_executed='2021-08-31 04:56:44.331416', time_epoch_executed='1630411004.33' WHERE source_name='4FGL J0912.2+4127' and cadence='daily' and bin_id='1527'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/89254

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/89254/ft1_4FGL_J0912.2+4127_daily_bin1527.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/89254/ft2_4FGL_J0912.2+4127_daily_bin1527.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/89254/ft1_4FGL_J0912.2+4127_daily_bin1527.fits outfile=/scratch/kocevski/89254/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1527.fits ra=138.056 dec=41.4563 rad=12.0 tmin=635126401.0 tmax=635385601.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 14.73
user 2.79
sys 10.70

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/89254/ft2_4FGL_J0912.2+4127_daily_bin1527.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/89254/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1527.fits evtable="EVENTS" outfile="/scratch/kocevski/89254/ft1_filtered_4FGL_J0912.2+4127_daily_bin1527.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 11.55
user 0.35
sys 9.90

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/89254/ft1_filtered_4FGL_J0912.2+4127_daily_bin1527.fits" evtable="EVENTS" scfile=/scratch/kocevski/89254/ft2_4FGL_J0912.2+4127_daily_bin1527.fits sctable="SC_DATA" outfile=/scratch/kocevski/89254/ltcube_635126401_635385601_4FGL_J0912.2+4127_daily_bin1527.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/89254/ft2_4FGL_J0912.2+4127_daily_bin1527.fits
.....................!
real 34.01
user 14.81
sys 12.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/89254/ft1_filtered_4FGL_J0912.2+4127_daily_bin1527.fits evtable="EVENTS" scfile=/scratch/kocevski/89254/ft2_4FGL_J0912.2+4127_daily_bin1527.fits sctable="SC_DATA" expcube=/scratch/kocevski/89254/ltcube_635126401_635385601_4FGL_J0912.2+4127_daily_bin1527.fits outfile=/scratch/kocevski/89254/expmap_635126401_635385601_4FGL_J0912.2+4127_daily_bin1527.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/89254/ltcube_635126401_635385601_4FGL_J0912.2+4127_daily_bin1527.fits
.....................!
real 217.18
user 186.82
sys 17.44

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/89254/ft1_filtered_4FGL_J0912.2+4127_daily_bin1527.fits scfile=/scratch/kocevski/89254/ft2_4FGL_J0912.2+4127_daily_bin1527.fits outfile=/scratch/kocevski/89254/cmap_635126401_635385601_4FGL_J0912.2+4127_daily_bin1527.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 10.23
user 0.39
sys 9.68

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/89254/ft1_filtered_4FGL_J0912.2+4127_daily_bin1527.fits scfile=/scratch/kocevski/89254/ft2_4FGL_J0912.2+4127_daily_bin1527.fits outfile=/scratch/kocevski/89254/cmap_HighResolution_635126401_635385601_4FGL_J0912.2+4127_daily_bin1527.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 11.74
user 0.41
sys 11.26

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/89254/ft1_filtered_4FGL_J0912.2+4127_daily_bin1527.fits', '/scratch/kocevski/89254/ft2_4FGL_J0912.2+4127_daily_bin1527.fits', expMap='/scratch/kocevski/89254/expmap_635126401_635385601_4FGL_J0912.2+4127_daily_bin1527.fits', expCube='/scratch/kocevski/89254/ltcube_635126401_635385601_4FGL_J0912.2+4127_daily_bin1527.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/89254/Model_4FGL_J0912.2+4127_daily_bin1527.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/89254/ft1_filtered_4FGL_J0912.2+4127_daily_bin1527.fits
Spacecraft file(s): /scratch/kocevski/89254/ft2_4FGL_J0912.2+4127_daily_bin1527.fits
Exposure map: /scratch/kocevski/89254/expmap_635126401_635385601_4FGL_J0912.2+4127_daily_bin1527.fits
Exposure cube: /scratch/kocevski/89254/ltcube_635126401_635385601_4FGL_J0912.2+4127_daily_bin1527.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/89254/Model_4FGL_J0912.2+4127_daily_bin1527.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 114.568345017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 103.904668492

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.036       1.0000         .10000E-03   10000.    
     2 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12789E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .77002       1.0000         .10000E-03   10000.    
     5 'Prefactor '    144.79       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .28269E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10113E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    .19290E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .17368E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.8198       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .22615       1.0000         .10000E-03   10000.    
    12 'Prefactor '    144.90       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.7172       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.208       1.0000         .10000E-03   10000.    
    15 'norm      '    1.0628       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.5181       1.0000         .10000E-03   10000.    
    17 'norm      '    9998.9       1.0000         .10000E-03   10000.    
    18 'Prefactor '    49.439       1.0000         .10000E-03   10000.    
    19 'norm      '    3.7995       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.7948       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.0487       1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.6053       1.0000         .10000E-03   10000.    
    23 'norm      '    1.9974       1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.8027       1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.3882       1.0000         .10000E-03   10000.    
    26 'Prefactor '    7.1977       1.0000         .10000E-03   10000.    
    27 'Prefactor '    1.4647       1.0000         .10000E-03   10000.    
    28 'norm      '    6.0947       1.0000         .10000E-03   10000.    
    29 'Prefactor '    4.3254       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    31 'Prefactor '    .30202E-08   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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   103.3450     FROM MIGRAD    STATUS=CONVERGED    628 CALLS     1105 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.952        16.406        .20426E-02   -.51880E-02
   2  norm          .10000E-03    .60242        .34960E-02** at limit **
   3  Prefactor     .10000E-03    33.613        .90869E-02** at limit **
   4  Prefactor     .72408        22.296        .12328E-01    .40694    
   5  Prefactor     143.88        134.73        .83714E-03   -.16902E-04
   6  Prefactor     .10000E-03    24.819        .10707E-01** at limit **
   7  norm          .10000E-03    16.141        .90735E-02** at limit **
   8  norm          .10000E-03    17.875        .91191E-02** at limit **
   9  Prefactor     .10000E-03    49.789        .90712E-02** at limit **
  10  Prefactor     .10000E-03    306.39        .77388E-02** at limit **
  11  Prefactor     .10001E-03    1027.5        .10096E-01** at limit **
  12  Prefactor     .10001E-03    7123.9        .83684E-03** at limit **
  13  Prefactor     .10002E-03    9607.5        .38705E-02** at limit **
  14  Prefactor     .10000E-03    822.27        .28663E-02** at limit **
  15  norm          1.0628        1.2223         .0000         .0000    
  16  Prefactor    10000.0        .26364E-01   -.31105E-03** at limit **
  17  norm         10000.0        .34586        .14973E-03** at limit **
  18  Prefactor    10000.0        .50824E-02   -.50476E-03** at limit **
  19  norm         10000.0        .67006E-01   -.11475E-03** at limit **
  20  Prefactor    10000.0        .25616E-01   -.44163E-04** at limit **
  21  Prefactor     .10074E-03    .41643E-01   -.17159E-03** at limit **
  22  Prefactor    10000.0        .54967E-01    .63718E-03** at limit **
  23  norm         10000.0        .13421        .18041E-02** at limit **
  24  Prefactor    10000.0        .92263E-01    .12657E-02** at limit **
  25  Prefactor    10000.0        .10975       -.16616E-03** at limit **
  26  Prefactor    10000.0        .34928E-01    .49938E-02** at limit **
  27  Prefactor     1.4647        1.0750         .0000         .0000    
  28  norm          .10003E-03    .41325E-01    .66264E-04** at limit **
  29  Prefactor     .10000E-03    .58618E-01   -.29163E-04** at limit **
  30  Normalizat    .10000E-01    .25505       -.26621E-05** at limit **
  31  Prefactor     .22149E-12    .25504        .81902E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.9525
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.724078
  Prefactor  = 143.878
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.000100005
  Prefactor  = 0.000100006
  Prefactor  = 0.000100021
  Prefactor  = 0.0001
  norm       = 1.06285
  Prefactor  = 10000
  norm       = 10000
  Prefactor  = 10000
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 0.000100743
  Prefactor  = 10000
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 1.46472
  norm       = 0.000100028
  Prefactor  = 0.000100003
  Normalizat = 0.01
  Prefactor  = 2.21489e-13
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   103.3450     FROM HESSE     STATUS=FAILED        37 CALLS     1142 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.952        16.406        .20426E-02   -1.4729    
   2  norm          .10000E-03    .60242        .34960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    33.613        .90869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .72408        22.296        .12328E-01   -1.5538    
   5  Prefactor     143.88        134.73        .83714E-03   -1.3303    
   6  Prefactor     .10000E-03    24.819        .10707E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    16.141        .90735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    17.875        .91191E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    49.789        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    306.39        .77388E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    1027.5        .10096E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    7123.9        .83684E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10002E-03    9607.5        .38705E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    822.27        .28663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          586.88        585.47         .0000       -1.5502    
  16  Prefactor    10000.0        .26364E-01   -.31105E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm         10000.0        .34586        .14973E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor    10000.0        .50824E-02   -.50476E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm         10000.0        .67006E-01   -.11475E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor    10000.0        .25616E-01   -.44163E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10074E-03    .41643E-01   -.17159E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor    10000.0        .54967E-01    .63718E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm         10000.0        .13421        .18041E-02   -36.128    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor    10000.0        .92263E-01    .12657E-02    51.836    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor    10000.0        .10975       -.16616E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor    10000.0        .34928E-01    .49938E-02   -111.53    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.4647        1.0750         .0000       -1.5466    
  28  norm          .10003E-03    .41325E-01    .66264E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    .58618E-01   -.29163E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .10000E-01    .25505       -.26621E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .22149E-12    .25504        .81902E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.16424e-10
Minuit parameter uncertainties:
  1  16.4092
  2  1.86222e-06
  3  0.000149738
  4  8.03857
  5  135.015
  6  6.27449e-05
  7  1.17755e-05
  8  2.63489e-05
  9  0.000192445
  10  0.0023827
  11  0.00480658
  12  0.0111821
  13  0.0373734
  14  0.00125327
  15  1.22236
  16  0.000206938
  17  0.000479752
  18  0.000174799
  19  0.00101109
  20  0.000153215
  21  0.000351745
  22  2.14461e-05
  23  0.000510803
  24  0.00280682
  25  0.000425282
  26  0.00162559
  27  1.075
  28  6.74651e-05
  29  2.80171e-05
  30  2.19248e-07
  31  4.77437e-07
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 103.344991849

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  1.000e-04  1.253e-03  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:  2.215e-13  4.774e-07  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.000e-02  2.192e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 138.056 41.456
Photon Flux Upper Limit: 5.58e-05 ph cm-2 s-1
Energy Flux Upper Limit: 4.33e+00 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/89254/likelihoodResults_635126401_635385601_4FGL_J0912.2+4127_daily_bin1527.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) = 103.344998113
delta logL = -6.26430700379e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 103.344998112
delta logL = -6.26334315257e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96335E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4606       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .40713E-07   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.

 FCN=   103.3450     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      181 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6354.0        .90715E-02** at limit **
   2  Index         2.4439        8.2118        .50000        .16971E-06
   3  Normalizat    .10000E-01    .69523E-03    .32094E-01** at limit **
   4  Prefactor      .0000        .59405E-03    .32078E-01** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.44385
  Normalizat = 0.01
  Prefactor  = 0
 **********
 **   18 **HESSE 
 **********

 FCN=   103.3450     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      210 TOTAL
                     EDM=   .91E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9366.7        .18143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4439        5.3135        .50000       -.53661    
   3  Normalizat    .10000E-01    .34758E-02    .98938E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        .29704E-02    .91410E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.08154e-08
Minuit parameter uncertainties:
  1  0.00250497
  2  7667.47
  3  2.33473e-12
  4  2.5243e-12
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/89254': 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) = 103.344991848
delta logL = 6.70084432386e-10

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  1.000e-04  2.505e-03  1.000e-04  1.000e+04 ( 1.000e-12)
330        Index:  2.444e+00  7.667e+03  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:  0.000e+00  2.524e-12  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.000e-02  2.335e-12  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 138.056 41.456

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/89254/cmap_HighResolution_635126401_635385601_4FGL_J0912.2+4127_daily_bin1527.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.33e+00', job_status='DONE', photon_flux_upper_limit='5.58e-05', time_completed='2021-08-31 05:05:17.439446', job_id='89254', GAL2='0.00', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630411517.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='6.70e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1527' AND source_name='4FGL J0912.2+4127' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:05:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 89254: <4FGL_J0912.2+4127_daily_bin1527> in cluster <slac> Done

Job <4FGL_J0912.2+4127_daily_bin1527> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Aug 31 04:50:39 2021
Job was executed on host(s) <bullet0296>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 04:50:41 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:50:41 2021
Terminated at Tue Aug 31 05:05:19 2021
Results reported at Tue Aug 31 05:05:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0912.2+4127_daily_bin1527 138.056 41.4563 635126401 635385601 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 :                                   637.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             204.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            880 sec.

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

