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


Performing analysis on: 4FGL_J0912.2+4127_daily_bin1406
RA = 138.056, Dec = 41.4563
tmin = 603763201, tmax = 604022401
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='89048', job_status='RUN', time_executed='2021-08-31 04:54:35.757294', time_epoch_executed='1630410875.76' WHERE source_name='4FGL J0912.2+4127' and cadence='daily' and bin_id='1406'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/89048

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/89048/ft1_4FGL_J0912.2+4127_daily_bin1406.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/89048/ft2_4FGL_J0912.2+4127_daily_bin1406.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/89048/ft1_4FGL_J0912.2+4127_daily_bin1406.fits outfile=/scratch/kocevski/89048/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin1406.fits ra=138.056 dec=41.4563 rad=12.0 tmin=603763201.0 tmax=604022401.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 6.23
user 3.96
sys 2.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/89048/ft1_filtered_4FGL_J0912.2+4127_daily_bin1406.fits" evtable="EVENTS" scfile=/scratch/kocevski/89048/ft2_4FGL_J0912.2+4127_daily_bin1406.fits sctable="SC_DATA" outfile=/scratch/kocevski/89048/ltcube_603763201_604022401_4FGL_J0912.2+4127_daily_bin1406.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/89048/ft2_4FGL_J0912.2+4127_daily_bin1406.fits
.....................!
real 15.07
user 12.46
sys 2.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/89048/ft1_filtered_4FGL_J0912.2+4127_daily_bin1406.fits evtable="EVENTS" scfile=/scratch/kocevski/89048/ft2_4FGL_J0912.2+4127_daily_bin1406.fits sctable="SC_DATA" expcube=/scratch/kocevski/89048/ltcube_603763201_604022401_4FGL_J0912.2+4127_daily_bin1406.fits outfile=/scratch/kocevski/89048/expmap_603763201_604022401_4FGL_J0912.2+4127_daily_bin1406.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/89048/ltcube_603763201_604022401_4FGL_J0912.2+4127_daily_bin1406.fits
.....................!
real 193.37
user 185.45
sys 6.90

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/89048/ft1_filtered_4FGL_J0912.2+4127_daily_bin1406.fits scfile=/scratch/kocevski/89048/ft2_4FGL_J0912.2+4127_daily_bin1406.fits outfile=/scratch/kocevski/89048/cmap_603763201_604022401_4FGL_J0912.2+4127_daily_bin1406.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 2.49
user 0.35
sys 2.11

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/89048/ft1_filtered_4FGL_J0912.2+4127_daily_bin1406.fits scfile=/scratch/kocevski/89048/ft2_4FGL_J0912.2+4127_daily_bin1406.fits outfile=/scratch/kocevski/89048/cmap_HighResolution_603763201_604022401_4FGL_J0912.2+4127_daily_bin1406.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 2.49
user 0.39
sys 2.04

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

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

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 3574.41122954

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17328E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.7714       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.4772       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .25654E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12992E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    19.189       1.0000         .10000E-03   10000.    
     8 'norm      '    8.1479       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.9428       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.3268       1.0000         .10000E-03   10000.    
    11 'Prefactor '    38.898       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .35007E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .53455       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .16973E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .14598       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.6978       1.0000         .10000E-03   10000.    
    19 'norm      '    32.030       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .53002       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .91603       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11738E-02   1.0000         .10000E-03   10000.    
    23 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .11470E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    8.4221       1.0000         .10000E-03   10000.    
    26 'Prefactor '    26.924       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .14611E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .51498E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .37921E-02   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .80248       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .80259       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.

 FCN=   3572.553     FROM MIGRAD    STATUS=CONVERGED    855 CALLS     3058 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.4969        .24364E-06** at limit **
   2  norm          1.7712        .77765       -.55379E-07   -.10083E-03
   3  Prefactor     .10000E-03    4.5002       -.45185E-07** at limit **
   4  Prefactor     9.4719        4.2871       -.30733E-06   -.72009E-04
   5  Prefactor     .10000E-03    23.164        .74156E-05** at limit **
   6  Prefactor     .10000E-03    9.6057       -.55185E-06** at limit **
   7  norm          19.060        9.8190       -.64698E-07    .27601E-04
   8  norm          8.2316        9.2517        .20125E-05   -.37281E-04
   9  Prefactor     2.9432        3.2804       -.25591E-06   -.26972E-03
  10  Prefactor     8.2863        22.771       -.19870E-04   -.15224E-04
  11  Prefactor     39.545        100.62        .69882E-05    .24503E-04
  12  Prefactor     .10000E-03    2.4546       -.94871E-07** at limit **
  13  Prefactor     .10000E-03    21.273       -.74342E-06** at limit **
  14  Prefactor     .53515        3.2197       -.13435E-05   -.94296E-03
  15  norm          .10000E-03    1.7761       -.58318E-07** at limit **
  16  Prefactor     .10000E-03    9.8175        .12772E-06** at limit **
  17  norm          .14572        1.0053        .59959E-06   -.12914E-02
  18  Prefactor     5.6983        5.6876       -.11281E-05   -.30988E-03
  19  norm          31.901        13.186        .25610E-06    .10306E-03
  20  Prefactor     .53356        2.5842       -.62827E-06   -.80912E-03
  21  Prefactor     .70903        9.9703       -.11889E-05    .14905E-03
  22  Prefactor     .10000E-03    37.661        .28585E-05** at limit **
  23  norm          .10000E-03    7.6616        .18225E-05** at limit **
  24  Prefactor     .10000E-03    7.7413       -.17259E-05** at limit **
  25  Prefactor     8.3504        9.5743       -.14708E-05    .63607E-04
  26  Prefactor     26.942        33.566       -.23994E-04    .87702E-05
  27  Prefactor     .10000E-03    6.2563       -.47641E-07** at limit **
  28  norm          .10000E-03    31.939       -.38139E-05** at limit **
  29  Prefactor     .10000E-03    15.120        .71251E-06** at limit **
  30  Normalizat    .80334        .20176        .53823E-05   -.62302E-04
  31  Prefactor     .80237        .20328       -.71856E-06    .12742E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.77115
  Prefactor  = 0.0001
  Prefactor  = 9.47185
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.0598
  norm       = 8.23156
  Prefactor  = 2.94322
  Prefactor  = 8.28626
  Prefactor  = 39.5445
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.535155
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.145715
  Prefactor  = 5.69826
  norm       = 31.9007
  Prefactor  = 0.533562
  Prefactor  = 0.709031
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.35042
  Prefactor  = 26.9416
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.803337
  Prefactor  = 0.80237
 **********
 **   18 **HESSE 
 **********

 FCN=   3572.553     FROM HESSE     STATUS=OK           622 CALLS     3680 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.6464        .16999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.7712        .77855        .33653E-04   -1.5442    
   3  Prefactor     .10000E-03    4.5014        .12382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.4719        4.2860        .79210E-04   -1.5092    
   5  Prefactor     .10000E-03    23.218        .19992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.6522        .18090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          19.060        9.8132        .91431E-04   -1.4835    
   8  norm          8.2316        9.2330        .14046E-03   -1.5134    
   9  Prefactor     2.9432        3.2630        .10677E-03   -1.5365    
  10  Prefactor     8.2863        22.737        .13893E-03   -1.5132    
  11  Prefactor     39.545        100.19        .64266E-04   -1.4449    
  12  Prefactor     .10000E-03    2.4985        .91419E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    21.281        .19655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .53515        3.0909        .19854E-03   -1.5562    
  15  norm          .10000E-03    1.8056        .77783E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.8235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .14572        1.2000        .66910E-03   -1.5632    
  18  Prefactor     5.6983        5.5567        .78795E-04   -1.5231    
  19  norm          31.901        13.106        .70799E-04   -1.4578    
  20  Prefactor     .53356        2.4544        .17348E-03   -1.5562    
  21  Prefactor     .70903        58.840        .34785E-02   -1.5540    
  22  Prefactor     .10000E-03    38.011        .20653E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    7.6743        .16168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    7.7359        .16234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     8.3504        9.5676        .13813E-03   -1.5130    
  26  Prefactor     26.942        33.441        .77206E-04   -1.4669    
  27  Prefactor     .10000E-03    6.3293        .14601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    32.764        .42286E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    15.126        .19560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .80334        .22983        .23506E-03   -.99945    
  31  Prefactor     .80237        .23151        .25092E-03   -.99641    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90508e-09
Minuit parameter uncertainties:
  1  3.26135e-05
  2  0.778555
  3  3.8637e-06
  4  4.28612
  5  7.31598e-05
  6  4.04964e-05
  7  9.81405
  8  9.23461
  9  3.26322
  10  22.7609
  11  100.626
  12  1.50435e-05
  13  6.04456e-06
  14  2.57222
  15  6.76069e-06
  16  4.48451e-07
  17  0.836056
  18  5.55721
  19  13.1072
  20  2.2887
  21  12.9303
  22  7.423e-05
  23  6.11322e-05
  24  5.83617e-05
  25  9.56936
  26  33.4641
  27  7.66874e-06
  28  1.8637e-05
  29  2.24114e-05
  30  0.230108
  31  0.231788
Done.

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

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  5.352e-01  2.572e+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.024e-01  2.318e-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:  8.033e-01  2.301e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 138.056 41.456
Photon Flux Upper Limit: 9.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/89048/likelihoodResults_603763201_604022401_4FGL_J0912.2+4127_daily_bin1406.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) = 3572.54633392
delta logL = 0.00635669364829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3572.54495456
delta logL = 0.00773605945869

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68221       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1729       1.0000          .0000       10.000    
     3 'Normalizat'    .80494       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80080       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=   3572.545     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      210 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .67987        67.125        .11993E-01    .74360E-03
   2  Index         2.1741        3.2677        .50000        .27333E-05
   3  Normalizat    .80487        .23659E-01    .43675E-01    .86919E-05
   4  Prefactor     .80088        .25235E-01    .43728E-01   -.59033E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.679875
  Index      = 2.17408
  Normalizat = 0.804874
  Prefactor  = 0.800884
 **********
 **   18 **HESSE 
 **********

 FCN=   3572.545     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .44E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .67987        3.0933        .20277E-03   -1.5543    
   2  Index         2.1741        2.0137        .11302E-01   -.60066    
   3  Normalizat    .80487        .21083        .23486E-03   -.99888    
   4  Prefactor     .80088        .22609        .25113E-03   -.99696    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.4004e-12
Minuit parameter uncertainties:
  1  2.90041
  2  2.10373
  3  0.211043
  4  0.226352
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/89048': 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) = 3572.54495407
delta logL = 0.00773654872091

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  6.799e-01  2.900e+00  1.000e-04  1.000e+04 ( 1.000e-12)
330        Index:  2.174e+00  2.104e+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.009e-01  2.264e-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:  8.049e-01  2.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/89048/cmap_HighResolution_603763201_604022401_4FGL_J0912.2+4127_daily_bin1406.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.25e-03', job_status='DONE', photon_flux_upper_limit='9.35e-08', time_completed='2021-08-31 05:06:46.501158', job_id='89048', GAL2='0.80', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1630411606.5', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='7.74e-03', ts2='0.07', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1406' AND source_name='4FGL J0912.2+4127' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:06:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 89048: <4FGL_J0912.2+4127_daily_bin1406> in cluster <slac> Done

Job <4FGL_J0912.2+4127_daily_bin1406> 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) <bullet0076>, 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 05:06:47 2021
Results reported at Tue Aug 31 05:06:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0912.2+4127_daily_bin1406 138.056 41.4563 603763201 604022401 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 :                                   723.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             270.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   980 sec.
    Turnaround time :                            982 sec.

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

