/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 92 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 = 7520
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0912.2+4127_daily_bin1401
RA = 138.056, Dec = 41.4563
tmin = 602467201, tmax = 602726401
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='89039', job_status='RUN', time_executed='2021-08-31 04:54:30.449125', time_epoch_executed='1630410870.45' WHERE source_name='4FGL J0912.2+4127' and cadence='daily' and bin_id='1401'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/89039

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/89039/ft1_4FGL_J0912.2+4127_daily_bin1401.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/89039/ft2_4FGL_J0912.2+4127_daily_bin1401.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/89039/ft1_4FGL_J0912.2+4127_daily_bin1401.fits outfile=/scratch/kocevski/89039/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1401.fits ra=138.056 dec=41.4563 rad=12.0 tmin=602467201.0 tmax=602726401.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 7.34
user 2.93
sys 4.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/89039/ft2_4FGL_J0912.2+4127_daily_bin1401.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/89039/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1401.fits evtable="EVENTS" outfile="/scratch/kocevski/89039/ft1_filtered_4FGL_J0912.2+4127_daily_bin1401.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 4.63
user 0.34
sys 4.24

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/89039/ft1_filtered_4FGL_J0912.2+4127_daily_bin1401.fits" evtable="EVENTS" scfile=/scratch/kocevski/89039/ft2_4FGL_J0912.2+4127_daily_bin1401.fits sctable="SC_DATA" outfile=/scratch/kocevski/89039/ltcube_602467201_602726401_4FGL_J0912.2+4127_daily_bin1401.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/89039/ft2_4FGL_J0912.2+4127_daily_bin1401.fits
.....................!
real 17.10
user 11.88
sys 4.93

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/89039/ft1_filtered_4FGL_J0912.2+4127_daily_bin1401.fits evtable="EVENTS" scfile=/scratch/kocevski/89039/ft2_4FGL_J0912.2+4127_daily_bin1401.fits sctable="SC_DATA" expcube=/scratch/kocevski/89039/ltcube_602467201_602726401_4FGL_J0912.2+4127_daily_bin1401.fits outfile=/scratch/kocevski/89039/expmap_602467201_602726401_4FGL_J0912.2+4127_daily_bin1401.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/89039/ltcube_602467201_602726401_4FGL_J0912.2+4127_daily_bin1401.fits
.....................!
real 196.13
user 186.27
sys 9.35

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/89039/ft1_filtered_4FGL_J0912.2+4127_daily_bin1401.fits scfile=/scratch/kocevski/89039/ft2_4FGL_J0912.2+4127_daily_bin1401.fits outfile=/scratch/kocevski/89039/cmap_602467201_602726401_4FGL_J0912.2+4127_daily_bin1401.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 6.56
user 0.36
sys 4.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/89039/ft1_filtered_4FGL_J0912.2+4127_daily_bin1401.fits scfile=/scratch/kocevski/89039/ft2_4FGL_J0912.2+4127_daily_bin1401.fits outfile=/scratch/kocevski/89039/cmap_HighResolution_602467201_602726401_4FGL_J0912.2+4127_daily_bin1401.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 7.22
user 0.38
sys 4.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/89039/ft1_filtered_4FGL_J0912.2+4127_daily_bin1401.fits', '/scratch/kocevski/89039/ft2_4FGL_J0912.2+4127_daily_bin1401.fits', expMap='/scratch/kocevski/89039/expmap_602467201_602726401_4FGL_J0912.2+4127_daily_bin1401.fits', expCube='/scratch/kocevski/89039/ltcube_602467201_602726401_4FGL_J0912.2+4127_daily_bin1401.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/89039/Model_4FGL_J0912.2+4127_daily_bin1401.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/89039/ft1_filtered_4FGL_J0912.2+4127_daily_bin1401.fits
Spacecraft file(s): /scratch/kocevski/89039/ft2_4FGL_J0912.2+4127_daily_bin1401.fits
Exposure map: /scratch/kocevski/89039/expmap_602467201_602726401_4FGL_J0912.2+4127_daily_bin1401.fits
Exposure cube: /scratch/kocevski/89039/ltcube_602467201_602726401_4FGL_J0912.2+4127_daily_bin1401.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/89039/Model_4FGL_J0912.2+4127_daily_bin1401.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) = 194.377122854

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.8414       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .43182E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .15175E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.8133       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .86613E-01   1.0000         .10000E-03   10000.    
     7 'norm      '    .15284       1.0000         .10000E-03   10000.    
     8 'norm      '    6.2856       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .27838E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10477       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1075       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.9002       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.2480       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .40079E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    1.0628       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.9401       1.0000         .10000E-03   10000.    
    17 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .42881E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    3.3766       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .48484E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .20139E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.4862       1.0000         .10000E-03   10000.    
    23 'norm      '    1.9778       1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.7820       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .90803E-01   1.0000         .10000E-03   10000.    
    26 'Prefactor '    7.1921       1.0000         .10000E-03   10000.    
    27 'Prefactor '    1.4647       1.0000         .10000E-03   10000.    
    28 'norm      '    6.8651       1.0000         .10000E-03   10000.    
    29 'Prefactor '    5.8976       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.3863       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   193.7444     FROM MIGRAD    STATUS=CONVERGED    219 CALLS      491 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.207       -.11529E-05** at limit **
   2  norm          1.8466        2.2124       -.24307E-05   -.27672E-03
   3  Prefactor     .10000E-03    140.80        .11084E-03** at limit **
   4  Prefactor     .10000E-03    11.395       -.16859E-05** at limit **
   5  Prefactor     .10000E-03    109.66        .13281E-04** at limit **
   6  Prefactor     .10000E-03    48.203       -.21086E-05** at limit **
   7  norm          .10000E-03    41.370       -.63788E-07** at limit **
   8  norm          6.6403        53.816       -.32785E-05   -.68013E-03
   9  Prefactor     .10000E-03    21.611       -.35035E-05** at limit **
  10  Prefactor     .10000E-03    84.378       -.94052E-05** at limit **
  11  Prefactor     .10000E-03    208.08       -.25849E-04** at limit **
  12  Prefactor     1.9002        1.0396         .0000         .0000    
  13  Prefactor     .12387E-03    1251.2        .39264E-04** at limit **
  14  Prefactor     .10000E-03    71.231        .28231E-05** at limit **
  15  norm          1.0628        1.2223         .0000         .0000    
  16  Prefactor     .97732E-02    6564.0       -.83629E-04   -.14104E-02
  17  norm          .10000E-03    6.2318        .35152E-06** at limit **
  18  Prefactor     .10000E-03    42.944        .47703E-05** at limit **
  19  norm          3.3766        1.0114         .0000         .0000    
  20  Prefactor     .10015E-03    626.38        .26143E-04** at limit **
  21  Prefactor     .10000E-03    57.813       -.43670E-05** at limit **
  22  Prefactor     .10013E-03    248.04       -.59377E-04** at limit **
  23  norm          1.9778        1.0362         .0000         .0000    
  24  Prefactor     2.7820        1.0171         .0000         .0000    
  25  Prefactor     .10000E-03    110.59       -.18502E-04** at limit **
  26  Prefactor     7.1921        1.0024         .0000         .0000    
  27  Prefactor     1.4647        1.0750         .0000         .0000    
  28  norm          10.046        179.94        .21480E-04   -.62394E-02
  29  Prefactor     5.8976        1.0036         .0000         .0000    
  30  Normalizat    .10000E-01    .84921        .13166E-03** at limit **
  31  Prefactor     1.3859        .54966        .29396E-05   -.23322E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.84658
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.6403
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.9002
  Prefactor  = 0.000123873
  Prefactor  = 0.0001
  norm       = 1.06285
  Prefactor  = 0.00977318
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.37659
  Prefactor  = 0.000100148
  Prefactor  = 0.0001
  Prefactor  = 0.000100129
  norm       = 1.97778
  Prefactor  = 2.78201
  Prefactor  = 0.0001
  Prefactor  = 7.19212
  Prefactor  = 1.46472
  norm       = 10.0462
  Prefactor  = 5.89762
  Normalizat = 0.01
  Prefactor  = 1.38594
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   193.7444     FROM HESSE     STATUS=FAILED        53 CALLS      544 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.195        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.8466        2.1486        .48645E-02   -1.5436    
   3  Prefactor     .10000E-03    139.93        .96988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.397        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    109.71        .60627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    48.165        .94472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    41.174        .97602E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.6403        41.492        .40027E-02   -1.5193    
   9  Prefactor     .10000E-03    21.563        .10711E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    84.396        .95340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    208.11        .11240E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     570.65        568.61         .0000       -1.5432    
  13  Prefactor     .12387E-03    .48103E-01    .39264E-04   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .23746        .28231E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.0628        1.2223         .0000       -1.5502    
  16  Prefactor     .97732E-02    .37445E-01   -.83629E-04   -1.5728    
  17  norm          .10000E-03    .20571        .35152E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    .23538        .47703E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.3766        1.0114         .0000       -1.5340    
  20  Prefactor     .10015E-03    .21449        .26143E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    .25560       -.43670E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10013E-03    .19342       -.59377E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.9778        1.0362         .0000       -1.5427    
  24  Prefactor     2.7820        1.0171         .0000       -1.5374    
  25  Prefactor     .10000E-03    .22407       -.18502E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     7.1921        1.0024         .0000       -1.5172    
  27  Prefactor     1.4647        1.0750         .0000       -1.5466    
  28  norm          10.046        1.2127        .21480E-04   -1.5074    
  29  Prefactor     5.8976        1.0036         .0000       -1.5222    
  30  Normalizat    .10000E-01    .25743        .13166E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     1.3859        1.0624        .29396E-05   -.80786    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.85821e-10
Minuit parameter uncertainties:
  1  1.07167e-05
  2  2.1487
  3  0.00107765
  4  4.18624e-06
  5  0.00121351
  6  6.56305e-05
  7  1.10909e-05
  8  33.2315
  9  3.74576e-05
  10  0.000153291
  11  0.000470621
  12  1.03966
  13  0.00214326
  14  2.80553e-06
  15  1.22236
  16  0.0374447
  17  1.77944e-07
  18  3.8414e-06
  19  1.01141
  20  0.000356733
  21  3.89087e-06
  22  0.000315777
  23  1.03618
  24  1.01714
  25  1.14088e-05
  26  1.00244
  27  1.075
  28  1.21275
  29  1.00364
  30  1.35584e-07
  31  1.0799
Done.

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

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  1.000e-04  2.806e-06  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:  1.386e+00  1.080e+00  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  1.356e-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: 4.87e-06 ph cm-2 s-1
Energy Flux Upper Limit: 3.78e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/89039/likelihoodResults_602467201_602726401_4FGL_J0912.2+4127_daily_bin1401.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) = 193.744508207
delta logL = -6.54144432986e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 193.744443537
delta logL = -7.44957446841e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10444E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.1111       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3859       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=   193.7444     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      286 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10819E-03    134.75        .85437E-02** at limit **
   2  Index         2.9306        8.3782        .50000        .55804E-05
   3  Normalizat    .10000E-01    .51090E-02    .73571E-02** at limit **
   4  Prefactor     1.3859        .35631E-01    .18375E-03   -.24999E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000108188
  Index      = 2.93056
  Normalizat = 0.01
  Prefactor  = 1.38594
 **********
 **   18 **HESSE 
 **********

 FCN=   193.7444     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      315 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10819E-03    1039.2        .92913E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9306        5.4532        .50000       -.42672    
   3  Normalizat    .10000E-01    .42346E-01    .14714E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3859        .10262        .73501E-05   -.80786    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.72906e-08
Minuit parameter uncertainties:
  1  0.187849
  2  1753.98
  3  1.13179e-08
  4  0.102631
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/89039': 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) = 193.744443253
delta logL = -4.60570873884e-07

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  1.082e-04  1.878e-01  1.000e-04  1.000e+04 ( 1.000e-12)
330        Index:  2.931e+00  1.754e+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:  1.386e+00  1.026e-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.000e-02  1.132e-08  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/89039/cmap_HighResolution_602467201_602726401_4FGL_J0912.2+4127_daily_bin1401.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.78e-01', job_status='DONE', photon_flux_upper_limit='4.87e-06', time_completed='2021-08-31 05:01:56.186776', job_id='89039', GAL2='1.39', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630411316.19', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='1.39', dlogl='-4.61e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1401' AND source_name='4FGL J0912.2+4127' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:01:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 89039: <4FGL_J0912.2+4127_daily_bin1401> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0912.2+4127_daily_bin1401 138.056 41.4563 602467201 602726401 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 :                                   458.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            692 sec.

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

