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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin1086
RA = 183.001, Dec = -23.4494
tmin = 520819201, tmax = 521078401
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='408811', job_status='RUN', time_executed='2021-09-05 03:56:59.535128', time_epoch_executed='1630839419.54' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='1086'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/408811

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/408811/ft1_4FGL_J1212.0-2326_daily_bin1086.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/408811/ft2_4FGL_J1212.0-2326_daily_bin1086.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/408811/ft1_4FGL_J1212.0-2326_daily_bin1086.fits outfile=/scratch/kocevski/408811/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1086.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=520819201.0 tmax=521078401.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.47
user 3.24
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/408811/ft2_4FGL_J1212.0-2326_daily_bin1086.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/408811/ft2_4FGL_J1212.0-2326_daily_bin1086.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/408811/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1086.fits evtable="EVENTS" outfile="/scratch/kocevski/408811/ft1_filtered_4FGL_J1212.0-2326_daily_bin1086.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.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/408811/ft1_filtered_4FGL_J1212.0-2326_daily_bin1086.fits" evtable="EVENTS" scfile=/scratch/kocevski/408811/ft2_4FGL_J1212.0-2326_daily_bin1086.fits sctable="SC_DATA" outfile=/scratch/kocevski/408811/ltcube_520819201_521078401_4FGL_J1212.0-2326_daily_bin1086.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/408811/ft2_4FGL_J1212.0-2326_daily_bin1086.fits
.....................!
real 11.91
user 11.53
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/408811/ft1_filtered_4FGL_J1212.0-2326_daily_bin1086.fits evtable="EVENTS" scfile=/scratch/kocevski/408811/ft2_4FGL_J1212.0-2326_daily_bin1086.fits sctable="SC_DATA" expcube=/scratch/kocevski/408811/ltcube_520819201_521078401_4FGL_J1212.0-2326_daily_bin1086.fits outfile=/scratch/kocevski/408811/expmap_520819201_521078401_4FGL_J1212.0-2326_daily_bin1086.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/408811/ltcube_520819201_521078401_4FGL_J1212.0-2326_daily_bin1086.fits
.....................!
real 191.25
user 187.15
sys 3.73

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 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J1212.0-2326 @ 183.001 -23.4494

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/408811/ft1_filtered_4FGL_J1212.0-2326_daily_bin1086.fits scfile=/scratch/kocevski/408811/ft2_4FGL_J1212.0-2326_daily_bin1086.fits outfile=/scratch/kocevski/408811/cmap_520819201_521078401_4FGL_J1212.0-2326_daily_bin1086.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=183.001 yref=-23.4494 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/408811/ft1_filtered_4FGL_J1212.0-2326_daily_bin1086.fits scfile=/scratch/kocevski/408811/ft2_4FGL_J1212.0-2326_daily_bin1086.fits outfile=/scratch/kocevski/408811/cmap_HighResolution_520819201_521078401_4FGL_J1212.0-2326_daily_bin1086.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=183.001 yref=-23.4494 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.54
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/408811/ft1_filtered_4FGL_J1212.0-2326_daily_bin1086.fits evtable="EVENTS" scfile=/scratch/kocevski/408811/ft2_4FGL_J1212.0-2326_daily_bin1086.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/408811/Model_4FGL_J1212.0-2326_daily_bin1086.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/408811/ft1_filtered_4FGL_J1212.0-2326_daily_bin1086.fits.....................!
real 56.19
user 54.80
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/408811/ft1_filtered_4FGL_J1212.0-2326_daily_bin1086.fits', '/scratch/kocevski/408811/ft2_4FGL_J1212.0-2326_daily_bin1086.fits', expMap='/scratch/kocevski/408811/expmap_520819201_521078401_4FGL_J1212.0-2326_daily_bin1086.fits', expCube='/scratch/kocevski/408811/ltcube_520819201_521078401_4FGL_J1212.0-2326_daily_bin1086.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/408811/Model_4FGL_J1212.0-2326_daily_bin1086.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1212.0-2326'

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.799e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.897e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  4.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/408811/ft1_filtered_4FGL_J1212.0-2326_daily_bin1086.fits
Spacecraft file(s): /scratch/kocevski/408811/ft2_4FGL_J1212.0-2326_daily_bin1086.fits
Exposure map: /scratch/kocevski/408811/expmap_520819201_521078401_4FGL_J1212.0-2326_daily_bin1086.fits
Exposure cube: /scratch/kocevski/408811/ltcube_520819201_521078401_4FGL_J1212.0-2326_daily_bin1086.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/408811/Model_4FGL_J1212.0-2326_daily_bin1086.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) = 6222.99120639

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3119       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .23658E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10756E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.918       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10646E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .22636E-01   1.0000         .10000E-03   10000.    
     9 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10502E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.8057       1.0000         .10000E-03   10000.    
    12 'Prefactor '    50.642       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .27235E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.655       1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.951       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.4843       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.4918       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11757E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .96818       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.1438       1.0000         .10000E-03   10000.    
    21 'norm      '    6.9103       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.2083       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0027       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1659       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6222.928     FROM MIGRAD    STATUS=CONVERGED    586 CALLS     2828 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3179        18.505        .56379E-06    .84170E-07
   2  Prefactor     .10000E-03    55.538       -.92092E-06** at limit **
   3  norm          .10000E-03    .59713       -.12097E-07** at limit **
   4  Prefactor     .10000E-03    41.889       -.22218E-05** at limit **
   5  Prefactor     12.931        10.572        .14755E-05   -.48943E-04
   6  Prefactor     .10000E-03    33.869        .33730E-06** at limit **
   7  norm          .10000E-03    26.108       -.38418E-06** at limit **
   8  Prefactor     .11444E-01    11.238       -.20124E-05    .77240E-04
   9  norm          .10000E-03    2.3344       -.30155E-07** at limit **
  10  Prefactor     .10031E-03    8.6460       -.77881E-06** at limit **
  11  Prefactor     2.7992        241.87        .14460E-04    .68692E-05
  12  Prefactor     50.722        50.824       -.59113E-06   -.18242E-03
  13  Prefactor     .10000E-03    37.478        .25140E-06** at limit **
  14  Prefactor     15.594        37.078       -.15632E-05   -.20123E-04
  15  Prefactor     12.947        27.936        .49141E-05   -.71835E-05
  16  Prefactor     2.4831        5.4264        .48885E-07   -.50420E-04
  17  Prefactor     9.4913        3.2227       -.69721E-07    .15063E-05
  18  Prefactor     .10000E-03    20.553       -.55066E-07** at limit **
  19  norm          .96752        1.4988       -.14917E-06   -.66778E-03
  20  Prefactor     2.6662        829.87        .27158E-04    .75474E-06
  21  norm          6.8971        7.5769       -.11271E-06   -.26241E-03
  22  Prefactor     3.2066        4.2757        .21595E-06   -.20639E-03
  23  Normalizat    1.0025        .31062        .60688E-05   -.39374E-04
  24  Prefactor     1.1661        .14499       -.88717E-06    .22902E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.31786
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.9305
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0114438
  norm       = 0.0001
  Prefactor  = 0.000100313
  Prefactor  = 2.79917
  Prefactor  = 50.7222
  Prefactor  = 0.0001
  Prefactor  = 15.5937
  Prefactor  = 12.9475
  Prefactor  = 2.48306
  Prefactor  = 9.49134
  Prefactor  = 0.0001
  norm       = 0.967517
  Prefactor  = 2.66619
  norm       = 6.89707
  Prefactor  = 3.20661
  Normalizat = 1.00249
  Prefactor  = 1.16608
 **********
 **   18 **HESSE 
 **********

 FCN=   6222.928     FROM HESSE     STATUS=OK           409 CALLS     3237 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3179        18.483        .14833E-03   -1.5167    
   2  Prefactor     .10000E-03    55.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .61478        .11903E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    42.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.931        10.617        .11145E-03   -1.4989    
   6  Prefactor     .10000E-03    33.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    26.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11444E-01    12.878        .80635E-01   -1.5687    
   9  norm          .10000E-03    2.3540        .11741E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10031E-03    60.988        .39654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.7992        240.49        .24286E-03   -1.5373    
  12  Prefactor     50.722        51.438        .56354E-04   -1.4282    
  13  Prefactor     .10000E-03    37.520        .21430E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.594        36.913        .10123E-03   -1.4918    
  15  Prefactor     12.947        27.864        .11131E-03   -1.4988    
  16  Prefactor     2.4831        5.3969        .25914E-03   -1.5393    
  17  Prefactor     9.4913        3.2186        .79176E-04   -1.5092    
  18  Prefactor     .10000E-03    20.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .96752        1.4657        .11079E-03   -1.5511    
  20  Prefactor     2.6662        792.05        .28148E-03   -1.5381    
  21  norm          6.8971        7.4470        .76310E-03   -1.5183    
  22  Prefactor     3.2066        4.2556        .89069E-03   -1.5350    
  23  Normalizat    1.0025        .35452        .40362E-03   -.92947    
  24  Prefactor     1.1661        .16863        .18643E-03   -.87382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.44465e-09
Minuit parameter uncertainties:
  1  18.4977
  2  6.48662e-05
  3  3.16831e-06
  4  6.80744e-05
  5  10.6185
  6  0.000123453
  7  4.34939e-05
  8  0.764575
  9  5.55384e-06
  10  0.00875005
  11  52.1083
  12  51.4833
  13  0.000120388
  14  36.9668
  15  27.8923
  16  5.39799
  17  3.21868
  18  0.000148624
  19  1.46573
  20  93.1775
  21  7.44798
  22  4.25603
  23  0.355359
  24  0.168707
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  1.204e-04  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.897e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  4.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  1.166e+00  1.687e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.002e+00  3.554e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 183.001 -23.449
Photon Flux Upper Limit: 8.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/408811/likelihoodResults_520819201_521078401_4FGL_J1212.0-2326_daily_bin1086.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) = 6222.92789768
delta logL = -0.000126972333419

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6222.92777085
delta logL = -1.42531462188e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10265E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9961       1.0000          .0000       10.000    
     3 'Normalizat'    1.0025       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1661       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6222.928     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      239 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.5429        .90712E-02** at limit **
   2  Index         1.9719        7.2622        .50000        .49510E-05
   3  Normalizat    1.0025        .27763E-02    .91138E-01    .26884E-04
   4  Prefactor     1.1661        .13773E-02    .35487E-01    .29825E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.97192
  Normalizat = 1.00249
  Prefactor  = 1.16607
 **********
 **   18 **HESSE 
 **********

 FCN=   6222.928     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      272 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    77.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9719        5.9767        .50000       -.65054    
   3  Normalizat    1.0025        .10337E-01    .40362E-03   -.92947    
   4  Prefactor     1.1661        .51412E-02    .18643E-03   -.87382    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.83931e-09
Minuit parameter uncertainties:
  1  0.000305833
  2  79.002
  3  0.0103369
  4  0.00514116
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/408811': 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) = 6222.92777078
delta logL = -7.27677615942e-08

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  3.058e-04  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.972e+00  7.900e+01  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  4.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  1.166e+00  5.141e-03  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.002e+00  1.034e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 183.001 -23.449

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/408811/cmap_HighResolution_520819201_521078401_4FGL_J1212.0-2326_daily_bin1086.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.68e-03', job_status='DONE', photon_flux_upper_limit='8.98e-08', time_completed='2021-09-05 04:08:27.531975', job_id='408811', GAL2='1.17', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1630840107.53', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='-7.28e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1086' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:08:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 408811: <4FGL_J1212.0-2326_daily_bin1086> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin1086> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep  5 03:55:57 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 03:55:59 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 03:55:59 2021
Terminated at Sun Sep  5 04:08:28 2021
Results reported at Sun Sep  5 04:08:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin1086 183.001 -23.4494 520819201 521078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1212.0-2326 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   680.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            751 sec.

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

