/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 127 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 = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0912.2+4127_daily_bin61
RA = 138.056, Dec = 41.4563
tmin = 255139201, tmax = 255398401
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='75958', job_status='RUN', time_executed='2021-08-31 04:08:14.172246', time_epoch_executed='1630408094.17' WHERE source_name='4FGL J0912.2+4127' and cadence='daily' and bin_id='61'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/75958

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/75958/ft1_4FGL_J0912.2+4127_daily_bin61.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/75958/ft2_4FGL_J0912.2+4127_daily_bin61.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/75958/ft1_4FGL_J0912.2+4127_daily_bin61.fits outfile=/scratch/kocevski/75958/ft1_filteredMKT_4FGL_J0912.2+4127_daily_bin61.fits ra=138.056 dec=41.4563 rad=12.0 tmin=255139201.0 tmax=255398401.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.46
user 7.14
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/75958/ft1_filtered_4FGL_J0912.2+4127_daily_bin61.fits" evtable="EVENTS" scfile=/scratch/kocevski/75958/ft2_4FGL_J0912.2+4127_daily_bin61.fits sctable="SC_DATA" outfile=/scratch/kocevski/75958/ltcube_255139201_255398401_4FGL_J0912.2+4127_daily_bin61.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/75958/ft2_4FGL_J0912.2+4127_daily_bin61.fits
.....................!
real 12.22
user 11.84
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/75958/ft1_filtered_4FGL_J0912.2+4127_daily_bin61.fits evtable="EVENTS" scfile=/scratch/kocevski/75958/ft2_4FGL_J0912.2+4127_daily_bin61.fits sctable="SC_DATA" expcube=/scratch/kocevski/75958/ltcube_255139201_255398401_4FGL_J0912.2+4127_daily_bin61.fits outfile=/scratch/kocevski/75958/expmap_255139201_255398401_4FGL_J0912.2+4127_daily_bin61.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/75958/ltcube_255139201_255398401_4FGL_J0912.2+4127_daily_bin61.fits
.....................!
real 190.04
user 185.06
sys 4.60

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/75958/ft1_filtered_4FGL_J0912.2+4127_daily_bin61.fits scfile=/scratch/kocevski/75958/ft2_4FGL_J0912.2+4127_daily_bin61.fits outfile=/scratch/kocevski/75958/cmap_255139201_255398401_4FGL_J0912.2+4127_daily_bin61.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.68
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/75958/ft1_filtered_4FGL_J0912.2+4127_daily_bin61.fits scfile=/scratch/kocevski/75958/ft2_4FGL_J0912.2+4127_daily_bin61.fits outfile=/scratch/kocevski/75958/cmap_HighResolution_255139201_255398401_4FGL_J0912.2+4127_daily_bin61.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.53
user 0.37
sys 0.15

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

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

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.187       1.0000         .10000E-03   10000.    
     2 'norm      '    1.1950       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.347       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.4755       1.0000         .10000E-03   10000.    
     7 'norm      '    10.041       1.0000         .10000E-03   10000.    
     8 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .39843       1.0000         .10000E-03   10000.    
    10 'Prefactor '    41.893       1.0000         .10000E-03   10000.    
    11 'Prefactor '    95.709       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.321       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .14107E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.8343       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10776E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.3631       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    28.634       1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .64891E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    39.254       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .99355       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .88035       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=   3845.511     FROM MIGRAD    STATUS=CONVERGED   1418 CALLS     5368 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.189        9.5386        .11030E-03   -.19532E-04
   2  norm          1.1951        .75820        .40390E-04   -.37155E-04
   3  Prefactor     .10000E-03    6.3882        .15296E-02** at limit **
   4  Prefactor     .10000E-03    1.2605        .67693E-03** at limit **
   5  Prefactor     13.353        46.451        .10964E-03   -.24627E-04
   6  Prefactor     2.4840        51.217        .25987E-03    .11746E-04
   7  norm          10.042        7.5938        .12646E-03    .95341E-04
   8  norm          .10000E-03    8.7825        .17824E-02** at limit **
   9  Prefactor     .39923        3.3553        .21630E-03   -.27857E-04
  10  Prefactor     41.895        33.350        .61934E-04    .33959E-05
  11  Prefactor     95.761        87.397        .20542E-03   -.72366E-04
  12  Prefactor     15.323        7.8006        .51163E-03   -.92438E-04
  13  Prefactor     .10000E-03    42.492        .18142E-02** at limit **
  14  Prefactor     .10003E-03    18.924        .17837E-02** at limit **
  15  norm          .10000E-03    2.9645        .20398E-03** at limit **
  16  Prefactor     .10000E-03    8.5833        .17739E-02** at limit **
  17  norm          2.8346        .84755        .29687E-04   -.31980E-03
  18  Prefactor     .10000E-03    5.0470        .26583E-03** at limit **
  19  norm          .10000E-03    3.6302        .11528E-02** at limit **
  20  Prefactor     2.3619        2.4401        .94586E-04   -.32248E-03
  21  Prefactor     .10000E-03    8.2496        .17258E-02** at limit **
  22  Prefactor     28.638        23.008        .74870E-04   -.81997E-05
  23  norm          .10000E-03    32.805        .18142E-02** at limit **
  24  Prefactor     .10004E-03    309.23        .52750E-02** at limit **
  25  Prefactor     .10000E-03    5.0467        .13595E-02** at limit **
  26  Prefactor     .10000E-03    23.606        .18142E-02** at limit **
  27  Prefactor     .10000E-03    13.700        .18142E-02** at limit **
  28  norm          .10000E-03    5.4813        .14169E-02** at limit **
  29  Prefactor     39.264        41.318        .63975E-04   -.45528E-04
  30  Normalizat    .99336        .24726        .24325E-03   -.19735E-03
  31  Prefactor     .88033        .25683        .27423E-03   -.95121E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.1887
  norm       = 1.19513
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.3529
  Prefactor  = 2.48397
  norm       = 10.0422
  norm       = 0.0001
  Prefactor  = 0.399227
  Prefactor  = 41.8953
  Prefactor  = 95.761
  Prefactor  = 15.3231
  Prefactor  = 0.0001
  Prefactor  = 0.000100032
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.83457
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.36194
  Prefactor  = 0.0001
  Prefactor  = 28.6377
  norm       = 0.0001
  Prefactor  = 0.000100039
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 39.264
  Normalizat = 0.99336
  Prefactor  = 0.880333
 **********
 **   18 **HESSE 
 **********

 FCN=   3845.511     FROM HESSE     STATUS=OK           590 CALLS     5958 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.189        9.5382        .44121E-05   -1.4981    
   2  norm          1.1951        .75817        .16156E-05   -1.5489    
   3  Prefactor     .10000E-03    6.3884        .30593E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.2606        .13539E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.353        46.346        .43856E-05   -1.4977    
   6  Prefactor     2.4840        50.971        .10395E-04   -1.5393    
   7  norm          10.042        7.5934        .50582E-05   -1.5074    
   8  norm          .10000E-03    8.7867        .35647E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .39923        3.3537        .86520E-05   -1.5582    
  10  Prefactor     41.895        33.343        .24774E-05   -1.4413    
  11  Prefactor     95.761        87.392        .41085E-04   -1.3748    
  12  Prefactor     15.323        7.8001        .20465E-04   -1.4925    
  13  Prefactor     .10000E-03    42.495        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10003E-03    19.174        .35675E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.9645        .40796E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.5835        .35479E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.8346        .84751        .59374E-05   -1.5371    
  18  Prefactor     .10000E-03    5.0471        .53166E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.6303        .23056E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.3619        2.4396        .37835E-05   -1.5401    
  21  Prefactor     .10000E-03    8.2542        .34516E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     28.638        23.006        .29948E-05   -1.4637    
  23  norm          .10000E-03    32.827        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10004E-03    318.07        .21100E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    5.0469        .27191E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    23.607        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    13.704        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    5.4815        .28337E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     39.264        41.318        .12795E-04   -1.4454    
  30  Normalizat    .99336        .24725        .48649E-04   -.93253    
  31  Prefactor     .88033        .25698        .10969E-04   -.96832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02974e-09
Minuit parameter uncertainties:
  1  9.53931
  2  0.75818
  3  6.22579e-06
  4  2.35475e-06
  5  46.4717
  6  22.5258
  7  7.59413
  8  2.16498e-05
  9  2.31408
  10  33.3581
  11  87.5097
  12  7.80067
  13  7.56453e-05
  14  0.00157233
  15  1.14147e-05
  16  1.31174e-05
  17  0.847511
  18  6.76897e-05
  19  4.22034e-06
  20  2.43969
  21  1.95673e-05
  22  23.0135
  23  0.00015614
  24  0.00711143
  25  1.62581e-06
  26  3.6667e-05
  27  3.57054e-05
  28  1.46211e-05
  29  41.3484
  30  0.247539
  31  0.257332
Done.

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

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  1.000e-04  1.572e-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.803e-01  2.573e-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:  9.934e-01  2.475e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 138.056 41.456
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/75958/likelihoodResults_255139201_255398401_4FGL_J0912.2+4127_daily_bin61.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) = 3845.51169334
delta logL = -0.000252572281624

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3845.51143966
delta logL = 1.1095003174e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14230E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3083       1.0000          .0000       10.000    
     3 'Normalizat'    .99331       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88049       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=   3845.511     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      250 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .74919E-03    1.3560        .61975E-01** at limit **
   2  Index         2.1294        8.5291        .50000        .10875E-04
   3  Normalizat    .99336        .37446E-02    .46083E-01    .63056E-03
   4  Prefactor     .88033        .40192E-02    .44756E-01    .77495E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000749187
  Index      = 2.12937
  Normalizat = 0.993359
  Prefactor  = 0.880335
 **********
 **   18 **HESSE 
 **********

 FCN=   3845.511     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      289 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .74919E-03    4.4010        .36031E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1294        5.7337        .50000       -.61154    
   3  Normalizat    .99336        .47645E-02    .24325E-03   -.93253    
   4  Prefactor     .88033        .51141E-02    .27423E-03   -.96832    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.4306e-09
Minuit parameter uncertainties:
  1  0.106911
  2  24.3834
  3  0.00476448
  4  0.00511412
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/75958': 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) = 3845.51143807
delta logL = 2.70059535978e-06

Extracting fit parameters...

4FGL J0912.2+4127
   Spectrum: PowerLaw
329    Prefactor:  7.492e-04  1.069e-01  1.000e-04  1.000e+04 ( 1.000e-12)
330        Index:  2.129e+00  2.438e+01  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.803e-01  5.114e-03  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:  9.934e-01  4.764e-03  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/75958/cmap_HighResolution_255139201_255398401_4FGL_J0912.2+4127_daily_bin61.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.09e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2021-08-31 04:22:02.748009', job_id='75958', GAL2='0.88', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1630408922.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='2.70e-06', ts2='0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='61' AND source_name='4FGL J0912.2+4127' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 04:22:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0131>
Subject: Job 75958: <4FGL_J0912.2+4127_daily_bin61> in cluster <slac> Done

Job <4FGL_J0912.2+4127_daily_bin61> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 04:05:48 2021
Job was executed on host(s) <bullet0131>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 04:05:49 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:05:49 2021
Terminated at Tue Aug 31 04:22:03 2021
Results reported at Tue Aug 31 04:22:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0912.2+4127_daily_bin61 138.056 41.4563 255139201 255398401 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 :                                   825.01 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             277.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   974 sec.
    Turnaround time :                            975 sec.

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

