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


Performing analysis on: 4FGL_J0912.2+4127_daily_bin1402
RA = 138.056, Dec = 41.4563
tmin = 602726401, tmax = 602985601
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='89040', job_status='RUN', time_executed='2021-08-31 04:52:59.608833', time_epoch_executed='1630410779.61' WHERE source_name='4FGL J0912.2+4127' and cadence='daily' and bin_id='1402'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/89040

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/89040/ft1_4FGL_J0912.2+4127_daily_bin1402.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/89040/ft2_4FGL_J0912.2+4127_daily_bin1402.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/89040/ft1_4FGL_J0912.2+4127_daily_bin1402.fits outfile=/scratch/kocevski/89040/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1402.fits ra=138.056 dec=41.4563 rad=12.0 tmin=602726401.0 tmax=602985601.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 3.12
user 2.86
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/89040/ft2_4FGL_J0912.2+4127_daily_bin1402.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/89040/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1402.fits evtable="EVENTS" outfile="/scratch/kocevski/89040/ft1_filtered_4FGL_J0912.2+4127_daily_bin1402.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.57
user 0.32
sys 0.23

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/89040/ft1_filtered_4FGL_J0912.2+4127_daily_bin1402.fits" evtable="EVENTS" scfile=/scratch/kocevski/89040/ft2_4FGL_J0912.2+4127_daily_bin1402.fits sctable="SC_DATA" outfile=/scratch/kocevski/89040/ltcube_602726401_602985601_4FGL_J0912.2+4127_daily_bin1402.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/89040/ft2_4FGL_J0912.2+4127_daily_bin1402.fits
.....................!
real 14.10
user 13.51
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/89040/ft1_filtered_4FGL_J0912.2+4127_daily_bin1402.fits evtable="EVENTS" scfile=/scratch/kocevski/89040/ft2_4FGL_J0912.2+4127_daily_bin1402.fits sctable="SC_DATA" expcube=/scratch/kocevski/89040/ltcube_602726401_602985601_4FGL_J0912.2+4127_daily_bin1402.fits outfile=/scratch/kocevski/89040/expmap_602726401_602985601_4FGL_J0912.2+4127_daily_bin1402.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/89040/ltcube_602726401_602985601_4FGL_J0912.2+4127_daily_bin1402.fits
.....................!
real 190.74
user 185.11
sys 4.62

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/89040/ft1_filtered_4FGL_J0912.2+4127_daily_bin1402.fits scfile=/scratch/kocevski/89040/ft2_4FGL_J0912.2+4127_daily_bin1402.fits outfile=/scratch/kocevski/89040/cmap_602726401_602985601_4FGL_J0912.2+4127_daily_bin1402.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 0.62
user 0.38
sys 0.20

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/89040/ft1_filtered_4FGL_J0912.2+4127_daily_bin1402.fits scfile=/scratch/kocevski/89040/ft2_4FGL_J0912.2+4127_daily_bin1402.fits outfile=/scratch/kocevski/89040/cmap_HighResolution_602726401_602985601_4FGL_J0912.2+4127_daily_bin1402.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 0.61
user 0.39
sys 0.21

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28280       1.0000         .10000E-03   10000.    
     2 'norm      '    2.3135       1.0000         .10000E-03   10000.    
     3 'Prefactor '    146.13       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .14275E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.251       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13863       1.0000         .10000E-03   10000.    
     7 'norm      '    .10403E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    15.134       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    39.060       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12990       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .54485       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.1524       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .57844E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    1.0628       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.3574       1.0000         .10000E-03   10000.    
    17 'norm      '    .10852E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .19031E-01   1.0000         .10000E-03   10000.    
    19 'norm      '    3.4383       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .17726       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .63983E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.0459       1.0000         .10000E-03   10000.    
    23 'norm      '    1.9958       1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.7984       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .79977E-02   1.0000         .10000E-03   10000.    
    26 'Prefactor '    7.1922       1.0000         .10000E-03   10000.    
    27 'Prefactor '    1.4647       1.0000         .10000E-03   10000.    
    28 'norm      '    6.9150       1.0000         .10000E-03   10000.    
    29 'Prefactor '    5.8976       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .10002E-01   1.0000         .10000E-01   10.000    
    31 'Prefactor '    .82678       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=   210.5256     FROM MIGRAD    STATUS=CONVERGED    345 CALLS      739 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16995        47.085        .79696E-01   -.74538    
   2  norm          2.3495        2.3757        .49764E-02    .42630E-01
   3  Prefactor     148.23        99.543        .83336E-03    .45012E-02
   4  Prefactor     .10000E-03    40.192        .90712E-02** at limit **
   5  Prefactor     .63175E-02    1164.3        .28612E-02   -.32513E-02
   6  Prefactor     .10000E-03    60.059        .96938E-02** at limit **
   7  norm          .10000E-03    11.398        .90712E-02** at limit **
   8  norm          12.376        23.723        .25739E-02    .56441E-02
   9  Prefactor     .10000E-03    19.037        .90712E-02** at limit **
  10  Prefactor     58.986        133.10        .16033E-02   -.66794E-02
  11  Prefactor     .10023E-03    223.38        .96529E-02** at limit **
  12  Prefactor     .32241E-03    1131.1        .11453E-01** at limit **
  13  Prefactor     .43532E-02    6195.8        .44278E-02   -.12520E-02
  14  Prefactor     .10000E-03    108.64        .94972E-02** at limit **
  15  norm          1.0628        1.2223         .0000         .0000    
  16  Prefactor     .16904E-02    .39596E-01    .51060E-04** at limit **
  17  norm          .10000E-03    .20571       -.88578E-07** at limit **
  18  Prefactor     .10000E-03    .20784        .67840E-06** at limit **
  19  norm          5.6565        1.2966       -.20195E-04   -.36424E-02
  20  Prefactor     .11324E-03    .24371       -.66607E-05** at limit **
  21  Prefactor     .10000E-03    .27640        .37638E-05** at limit **
  22  Prefactor     .17766E-02    .84444E-01   -.14466E-04** at limit **
  23  norm          2.5205        1.1636       -.64901E-05   -.60980E-03
  24  Prefactor     3.2477        1.0955       -.47618E-05   -.63828E-03
  25  Prefactor     .10195E-03    .21339       -.49297E-05** at limit **
  26  Prefactor     7.1950        1.0026       -.19037E-07   -.65093E-05
  27  Prefactor     1.4647        1.0750         .0000         .0000    
  28  norm          9.7552        1.1907       -.18527E-04   -.65838E-02
  29  Prefactor     5.8981        1.0037       -.34480E-08   -.96450E-06
  30  Normalizat    .10000E-01    .25665        .20958E-04** at limit **
  31  Prefactor     .82555        1.1738       -.38995E-05   -.17859E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.169955
  norm       = 2.34947
  Prefactor  = 148.234
  Prefactor  = 0.0001
  Prefactor  = 0.0063175
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 12.3755
  Prefactor  = 0.0001
  Prefactor  = 58.9861
  Prefactor  = 0.000100233
  Prefactor  = 0.000322414
  Prefactor  = 0.0043532
  Prefactor  = 0.000100003
  norm       = 1.06285
  Prefactor  = 0.0016904
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.65652
  Prefactor  = 0.000113242
  Prefactor  = 0.000100001
  Prefactor  = 0.00177664
  norm       = 2.52046
  Prefactor  = 3.24775
  Prefactor  = 0.000101946
  Prefactor  = 7.19504
  Prefactor  = 1.46472
  norm       = 9.75517
  Prefactor  = 5.8981
  Normalizat = 0.01
  Prefactor  = 0.825551
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   210.5256     FROM HESSE     STATUS=FAILED        37 CALLS      776 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16995        47.085        .79696E-01   -1.5790    
   2  norm          2.3495        2.3757        .49764E-02   -1.5401    
   3  Prefactor     148.23        99.543        .83336E-03   -1.3267    
   4  Prefactor     .10000E-03    40.192        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .63175E-02    1164.3        .28612E-02   -1.5724    
   6  Prefactor     .10000E-03    60.059        .96938E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    11.398        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          12.376        23.723        .25739E-02   -1.5004    
   9  Prefactor     .10000E-03    19.037        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     58.986        133.10        .16033E-02   -1.4170    
  11  Prefactor     .10023E-03    223.38        .96529E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .32241E-03    1131.1        .11453E-01   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .43532E-02    6195.8        .44278E-02   -1.5721    
  14  Prefactor     .10000E-03    108.64        .94972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          586.88        585.47         .0000       -1.5502    
  16  Prefactor     .16904E-02    .39596E-01    .51060E-04   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .20571       -.88578E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    .20784        .67840E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.6565        1.2966       -.20195E-04   -1.5232    
  20  Prefactor     .11324E-03    .24371       -.66607E-05   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    .27640        .37638E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .17766E-02    .84444E-01   -.14466E-04   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.5205        1.1636       -.64901E-05   -1.5390    
  24  Prefactor     3.2477        1.0955       -.47618E-05   -1.5348    
  25  Prefactor     .10195E-03    .21339       -.49297E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     7.1950        1.0026       -.19037E-07   -1.5171    
  27  Prefactor     1.4647        1.0750         .0000       -1.5466    
  28  norm          9.7552        1.1907       -.18527E-04   -1.5083    
  29  Prefactor     5.8981        1.0037       -.34480E-08   -1.5222    
  30  Normalizat    .10000E-01    .25665        .20958E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .82555        1.1738       -.38995E-05   -.98793    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.20199e-09
Minuit parameter uncertainties:
  1  5.6605
  2  2.37581
  3  99.6562
  4  0.000188768
  5  5.4913
  6  6.05846e-05
  7  1.11488e-05
  8  23.7409
  9  1.91586e-05
  10  133.776
  11  0.0144924
  12  1.02306
  13  6.65644
  14  0.00108639
  15  1.22236
  16  0.0158712
  17  4.94767e-07
  18  9.10498e-06
  19  1.29658
  20  0.00359286
  21  3.89828e-05
  22  0.0237977
  23  1.16358
  24  1.09552
  25  0.00128871
  26  1.00263
  27  1.075
  28  1.19071
  29  1.00368
  30  5.10662e-06
  31  1.2127
Done.

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

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  1.000e-04  1.086e-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:  8.256e-01  1.213e+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  5.107e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 138.056 41.456
Photon Flux Upper Limit: 6.91e-06 ph cm-2 s-1
Energy Flux Upper Limit: 5.36e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/89040/likelihoodResults_602726401_602985601_4FGL_J0912.2+4127_daily_bin1402.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) = 210.525599279
delta logL = -4.33834951252e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 210.525559979
delta logL = -4.08354975434e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0536       1.0000          .0000       10.000    
     3 'Normalizat'    .10009E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82563       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=   210.5256     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      278 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10890E-03    151.29        .11376E-01** at limit **
   2  Index         2.8831        6.7477        .50000        .34640E-05
   3  Normalizat    .10000E-01    .47869E-02    .78520E-02** at limit **
   4  Prefactor     .82555        .24519E-01    .19868E-03    .71113E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000108904
  Index      = 2.88309
  Normalizat = 0.01
  Prefactor  = 0.825552
 **********
 **   18 **HESSE 
 **********

 FCN=   210.5256     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      307 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10890E-03    1204.9        .12309E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8831        5.5417        .50000       -.43717    
   3  Normalizat    .10000E-01    .40737E-01    .15704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .82555        .71536E-01    .39737E-04   -.98793    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.34325e-08
Minuit parameter uncertainties:
  1  0.211553
  2  1708.84
  3  2.04092e-08
  4  0.071544
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/89040': 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) = 210.52555616
delta logL = -2.64648491566e-07

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  1.089e-04  2.116e-01  1.000e-04  1.000e+04 ( 1.000e-12)
330        Index:  2.883e+00  1.709e+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:  8.256e-01  7.154e-02  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.041e-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/89040/cmap_HighResolution_602726401_602985601_4FGL_J0912.2+4127_daily_bin1402.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-01', job_status='DONE', photon_flux_upper_limit='6.91e-06', time_completed='2021-08-31 04:58:52.028565', job_id='89040', GAL2='0.83', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630411132.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.83', dlogl='-2.65e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1402' AND source_name='4FGL J0912.2+4127' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 04:58:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 89040: <4FGL_J0912.2+4127_daily_bin1402> in cluster <slac> Done

Job <4FGL_J0912.2+4127_daily_bin1402> 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) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 04:50:27 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:27 2021
Terminated at Tue Aug 31 04:58:52 2021
Results reported at Tue Aug 31 04:58:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0912.2+4127_daily_bin1402 138.056 41.4563 602726401 602985601 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 :                                   336.41 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             250.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   505 sec.
    Turnaround time :                            507 sec.

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

