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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin1470
RA = 183.001, Dec = -23.4494
tmin = 620352001, tmax = 620611201
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='410537', job_status='RUN', time_executed='2021-09-05 04:02:48.354784', time_epoch_executed='1630839768.35' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='1470'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/410537

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/410537/ft1_4FGL_J1212.0-2326_daily_bin1470.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/410537/ft2_4FGL_J1212.0-2326_daily_bin1470.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/410537/ft1_4FGL_J1212.0-2326_daily_bin1470.fits outfile=/scratch/kocevski/410537/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1470.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=620352001.0 tmax=620611201.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 4.86
user 4.59
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/410537/ft2_4FGL_J1212.0-2326_daily_bin1470.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/410537/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1470.fits evtable="EVENTS" outfile="/scratch/kocevski/410537/ft1_filtered_4FGL_J1212.0-2326_daily_bin1470.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.51
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/410537/ft1_filtered_4FGL_J1212.0-2326_daily_bin1470.fits" evtable="EVENTS" scfile=/scratch/kocevski/410537/ft2_4FGL_J1212.0-2326_daily_bin1470.fits sctable="SC_DATA" outfile=/scratch/kocevski/410537/ltcube_620352001_620611201_4FGL_J1212.0-2326_daily_bin1470.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/410537/ft2_4FGL_J1212.0-2326_daily_bin1470.fits
.....................!
real 11.87
user 11.46
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/410537/ft1_filtered_4FGL_J1212.0-2326_daily_bin1470.fits evtable="EVENTS" scfile=/scratch/kocevski/410537/ft2_4FGL_J1212.0-2326_daily_bin1470.fits sctable="SC_DATA" expcube=/scratch/kocevski/410537/ltcube_620352001_620611201_4FGL_J1212.0-2326_daily_bin1470.fits outfile=/scratch/kocevski/410537/expmap_620352001_620611201_4FGL_J1212.0-2326_daily_bin1470.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/410537/ltcube_620352001_620611201_4FGL_J1212.0-2326_daily_bin1470.fits
.....................!
real 191.66
user 185.87
sys 5.11

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/410537/ft1_filtered_4FGL_J1212.0-2326_daily_bin1470.fits scfile=/scratch/kocevski/410537/ft2_4FGL_J1212.0-2326_daily_bin1470.fits outfile=/scratch/kocevski/410537/cmap_620352001_620611201_4FGL_J1212.0-2326_daily_bin1470.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/410537/ft1_filtered_4FGL_J1212.0-2326_daily_bin1470.fits scfile=/scratch/kocevski/410537/ft2_4FGL_J1212.0-2326_daily_bin1470.fits outfile=/scratch/kocevski/410537/cmap_HighResolution_620352001_620611201_4FGL_J1212.0-2326_daily_bin1470.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 2.69
user 0.38
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/410537/ft1_filtered_4FGL_J1212.0-2326_daily_bin1470.fits evtable="EVENTS" scfile=/scratch/kocevski/410537/ft2_4FGL_J1212.0-2326_daily_bin1470.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/410537/Model_4FGL_J1212.0-2326_daily_bin1470.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/410537/ft1_filtered_4FGL_J1212.0-2326_daily_bin1470.fits.....................!
real 51.16
user 49.56
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/410537/ft1_filtered_4FGL_J1212.0-2326_daily_bin1470.fits', '/scratch/kocevski/410537/ft2_4FGL_J1212.0-2326_daily_bin1470.fits', expMap='/scratch/kocevski/410537/expmap_620352001_620611201_4FGL_J1212.0-2326_daily_bin1470.fits', expCube='/scratch/kocevski/410537/ltcube_620352001_620611201_4FGL_J1212.0-2326_daily_bin1470.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/410537/Model_4FGL_J1212.0-2326_daily_bin1470.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/410537/ft1_filtered_4FGL_J1212.0-2326_daily_bin1470.fits
Spacecraft file(s): /scratch/kocevski/410537/ft2_4FGL_J1212.0-2326_daily_bin1470.fits
Exposure map: /scratch/kocevski/410537/expmap_620352001_620611201_4FGL_J1212.0-2326_daily_bin1470.fits
Exposure cube: /scratch/kocevski/410537/ltcube_620352001_620611201_4FGL_J1212.0-2326_daily_bin1470.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/410537/Model_4FGL_J1212.0-2326_daily_bin1470.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) = 5439.77952656

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2934       1.0000         .10000E-03   10000.    
     2 'Prefactor '    52.422       1.0000         .10000E-03   10000.    
     3 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    37.826       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .28089E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    40.476       1.0000         .10000E-03   10000.    
     7 'norm      '    53.224       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    13.976       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.877       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.2300       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .74852E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.762       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.6407       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    11.512       1.0000         .10000E-03   10000.    
    20 'Prefactor '    24.633       1.0000         .10000E-03   10000.    
    21 'norm      '    5.6529       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.8545       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1343       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92025       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=   5439.772     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     2708 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2948        27.738       -.29213E-05   -.25342E-03
   2  Prefactor     52.425        70.378        .41838E-05    .73633E-05
   3  norm          .10000E-03    .36765       -.23891E-09** at limit **
   4  Prefactor     37.826        71.850        .13647E-05   -.24255E-07
   5  Prefactor     .10001E-03    3.8575       -.11243E-05** at limit **
   6  Prefactor     40.492        35.883        .11925E-04    .10896E-03
   7  norm          53.233        37.791        .85291E-05    .12509E-04
   8  Prefactor     .10000E-03    15.123       -.88386E-06** at limit **
   9  norm          13.974        7.1004        .96258E-06    .36287E-03
  10  Prefactor     11.875        8.2054        .69144E-08    .32621E-03
  11  Prefactor     .10000E-03    29.334       -.23525E-05** at limit **
  12  Prefactor     .10000E-03    21.819        .19297E-05** at limit **
  13  Prefactor     1.4361        112.53       -.13878E-04    .98224E-04
  14  Prefactor     .10003E-03    214.92       -.97843E-04** at limit **
  15  Prefactor     .10000E-03    13.598        .40349E-06** at limit **
  16  Prefactor     13.763        10.435        .50607E-07   -.15890E-04
  17  Prefactor     9.6410        4.0448        .52627E-08    .21820E-04
  18  Prefactor     .10000E-03    6.6941       -.17411E-07** at limit **
  19  norm          11.513        2.2827        .54972E-07    .21528E-03
  20  Prefactor     24.634        54.672        .21755E-05    .40302E-05
  21  norm          5.6531        9.5272       -.28750E-06   -.13423E-03
  22  Prefactor     2.8554        7.9055       -.11995E-05   -.33722E-03
  23  Normalizat    1.1344        .29746       -.99517E-06    .31156E-03
  24  Prefactor     .92003        .14491       -.42261E-06    .55977E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.2948
  Prefactor  = 52.4246
  norm       = 0.0001
  Prefactor  = 37.8256
  Prefactor  = 0.000100011
  Prefactor  = 40.4924
  norm       = 53.2334
  Prefactor  = 0.0001
  norm       = 13.9743
  Prefactor  = 11.8748
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.43615
  Prefactor  = 0.000100034
  Prefactor  = 0.0001
  Prefactor  = 13.7632
  Prefactor  = 9.64101
  Prefactor  = 0.0001
  norm       = 11.5126
  Prefactor  = 24.634
  norm       = 5.65311
  Prefactor  = 2.85538
  Normalizat = 1.13444
  Prefactor  = 0.920031
 **********
 **   18 **HESSE 
 **********

 FCN=   5439.772     FROM HESSE     STATUS=OK           395 CALLS     3103 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2948        28.293        .38915E-03   -1.5480    
   2  Prefactor     52.425        70.367        .55394E-04   -1.4259    
   3  norm          .10000E-03    .36806        .43657E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     37.826        71.869        .65167E-04   -1.4477    
   5  Prefactor     .10001E-03    28.415        .27487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     40.492        35.735        .63005E-04   -1.4434    
   7  norm          53.233        37.746        .54977E-04   -1.4247    
   8  Prefactor     .10000E-03    15.167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          13.974        7.0935        .10714E-03   -1.4960    
  10  Prefactor     11.875        8.1909        .11624E-03   -1.5019    
  11  Prefactor     .10000E-03    29.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.4361        113.06        .40554E-03   -1.5468    
  14  Prefactor     .10003E-03    210.37        .20941E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    13.612        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.763        10.443        .10797E-03   -1.4966    
  17  Prefactor     9.6410        4.0486        .89473E-04   -1.5087    
  18  Prefactor     .10000E-03    6.7037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          11.513        2.2827        .47621E-04   -1.5029    
  20  Prefactor     24.634        54.607        .80710E-04   -1.4715    
  21  norm          5.6531        9.3812        .16895E-03   -1.5232    
  22  Prefactor     2.8554        7.7876        .24063E-03   -1.5370    
  23  Normalizat    1.1344        .34817        .37854E-03   -.88654    
  24  Prefactor     .92003        .17131        .20381E-03   -.95445    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29188e-09
Minuit parameter uncertainties:
  1  12.1111
  2  70.4787
  3  6.97278e-07
  4  72.0341
  5  0.00113672
  6  35.7538
  7  37.7628
  8  7.13468e-05
  9  7.09395
  10  8.19165
  11  6.60053e-05
  12  2.34679e-06
  13  25.534
  14  0.00536399
  15  6.46093e-06
  16  10.4439
  17  4.04867
  18  5.46732e-06
  19  2.28272
  20  54.7185
  21  9.38363
  22  7.79039
  23  0.348878
  24  0.171415
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.436e+00  2.553e+01  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:  9.200e-01  1.714e-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.134e+00  3.489e-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: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/410537/likelihoodResults_620352001_620611201_4FGL_J1212.0-2326_daily_bin1470.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) = 5439.71654794
delta logL = 0.0558047085015

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5439.70382623
delta logL = 0.0685264225049

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22693       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4011       1.0000          .0000       10.000    
     3 'Normalizat'    1.1077       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92585       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=   5439.704     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      270 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21087        15.516        .10100E-01    .21979E-02
   2  Index         3.4231        3.6747        .72152E-01    .21849E-03
   3  Normalizat    1.1078        .50724E-01    .86343E-01    .14160E-04
   4  Prefactor     .92587        .25014E-01    .45334E-01    .12489E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.210872
  Index      = 3.42312
  Normalizat = 1.10778
  Prefactor  = 0.925874
 **********
 **   18 **HESSE 
 **********

 FCN=   5439.704     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      303 TOTAL
                     EDM=   .46E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21087        74.100        .87126E-04   -1.5616    
   2  Index         3.4231        5.0727        .97946E-02   -.32085    
   3  Normalizat    1.1078        .22829        .38235E-03   -.89502    
   4  Prefactor     .92587        .10797        .20318E-03   -.95243    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.62288e-06
Minuit parameter uncertainties:
  1  7.91386
  2  11.7155
  3  0.228493
  4  0.107998
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/410537': 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) = 5439.70381556
delta logL = 0.0685370916108

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  2.109e-01  7.914e+00  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  3.423e+00  1.172e+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:  9.259e-01  1.080e-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.108e+00  2.285e-01  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/410537/cmap_HighResolution_620352001_620611201_4FGL_J1212.0-2326_daily_bin1470.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.82e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-09-05 04:16:12.559466', job_id='410537', GAL2='0.93', fit_tolerance='1e-08', EG2='1.11', EG='1.13', time_epoch_completed='1630840572.56', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='6.85e-02', ts2='0.15', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1470' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:16:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 410537: <4FGL_J1212.0-2326_daily_bin1470> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin1470> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep  5 04:01:06 2021
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:01:08 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 04:01:08 2021
Terminated at Sun Sep  5 04:16:13 2021
Results reported at Sun Sep  5 04:16:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin1470 183.001 -23.4494 620352001 620611201 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 :                                   640.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            907 sec.

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

