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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin898
RA = 183.001, Dec = -23.4494
tmin = 472089601, tmax = 472348801
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='408505', job_status='RUN', time_executed='2021-09-05 03:55:49.011442', time_epoch_executed='1630839349.01' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='898'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/408505

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/408505/ft1_4FGL_J1212.0-2326_daily_bin898.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/408505/ft2_4FGL_J1212.0-2326_daily_bin898.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/408505/ft1_4FGL_J1212.0-2326_daily_bin898.fits outfile=/scratch/kocevski/408505/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin898.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=472089601.0 tmax=472348801.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.53
user 3.31
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/408505/ft2_4FGL_J1212.0-2326_daily_bin898.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/408505/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin898.fits evtable="EVENTS" outfile="/scratch/kocevski/408505/ft1_filtered_4FGL_J1212.0-2326_daily_bin898.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/408505/ft1_filtered_4FGL_J1212.0-2326_daily_bin898.fits" evtable="EVENTS" scfile=/scratch/kocevski/408505/ft2_4FGL_J1212.0-2326_daily_bin898.fits sctable="SC_DATA" outfile=/scratch/kocevski/408505/ltcube_472089601_472348801_4FGL_J1212.0-2326_daily_bin898.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/408505/ft2_4FGL_J1212.0-2326_daily_bin898.fits
.....................!
real 11.98
user 11.40
sys 0.52

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/408505/ft1_filtered_4FGL_J1212.0-2326_daily_bin898.fits evtable="EVENTS" scfile=/scratch/kocevski/408505/ft2_4FGL_J1212.0-2326_daily_bin898.fits sctable="SC_DATA" expcube=/scratch/kocevski/408505/ltcube_472089601_472348801_4FGL_J1212.0-2326_daily_bin898.fits outfile=/scratch/kocevski/408505/expmap_472089601_472348801_4FGL_J1212.0-2326_daily_bin898.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/408505/ltcube_472089601_472348801_4FGL_J1212.0-2326_daily_bin898.fits
.....................!
real 192.70
user 187.21
sys 4.95

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/408505/ft1_filtered_4FGL_J1212.0-2326_daily_bin898.fits scfile=/scratch/kocevski/408505/ft2_4FGL_J1212.0-2326_daily_bin898.fits outfile=/scratch/kocevski/408505/cmap_472089601_472348801_4FGL_J1212.0-2326_daily_bin898.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/408505/ft1_filtered_4FGL_J1212.0-2326_daily_bin898.fits scfile=/scratch/kocevski/408505/ft2_4FGL_J1212.0-2326_daily_bin898.fits outfile=/scratch/kocevski/408505/cmap_HighResolution_472089601_472348801_4FGL_J1212.0-2326_daily_bin898.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/408505/ft1_filtered_4FGL_J1212.0-2326_daily_bin898.fits evtable="EVENTS" scfile=/scratch/kocevski/408505/ft2_4FGL_J1212.0-2326_daily_bin898.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/408505/Model_4FGL_J1212.0-2326_daily_bin898.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/408505/ft1_filtered_4FGL_J1212.0-2326_daily_bin898.fits.....................!
real 90.93
user 89.47
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.205       1.0000         .10000E-03   10000.    
     3 'norm      '    2.3783       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.4132       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10786E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.3022       1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.770       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.5169       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.5768       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.5037       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.675       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.2290       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.6185       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.3943       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.0374       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    4.9890       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3728       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .82746       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=   11499.30     FROM MIGRAD    STATUS=CONVERGED    556 CALLS     2318 TOTAL
                     EDM=   .27E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.6712        .98411E-07** at limit **
   2  Prefactor     11.202        25.146        .11456E-05   -.12833E-05
   3  norm          2.3782        1.0305       -.18856E-07   -.30224E-04
   4  Prefactor     .10000E-03    8.4174        .15966E-06** at limit **
   5  Prefactor     8.4126        5.5327        .18774E-05   -.34280E-05
   6  Prefactor     .10000E-03    30.466       -.78157E-06** at limit **
   7  norm          6.3017        11.208        .38869E-07   -.33726E-04
   8  Prefactor     17.769        10.505       -.68252E-06   -.42015E-04
   9  norm          .10000E-03    2.3109        .14491E-06** at limit **
  10  Prefactor     2.5129        .76970       -.22340E-08   -.78817E-03
  11  Prefactor     6.4612        38.745       -.14186E-05   -.94900E-06
  12  Prefactor     8.5007        19.860        .24377E-05   -.61223E-05
  13  Prefactor     11.677        10.968       -.40456E-06    .99811E-07
  14  Prefactor     .10000E-03    15.908       -.32901E-06** at limit **
  15  Prefactor     9.2245        13.155        .94020E-06   -.80000E-05
  16  Prefactor     7.6180        4.8235       -.67772E-06   -.94865E-05
  17  Prefactor     5.3942        1.9763        .13138E-06   -.19270E-04
  18  Prefactor     .10000E-03    2.6876       -.10402E-06** at limit **
  19  norm          2.0372        .79104        .18888E-07   -.31228E-04
  20  Prefactor     .10000E-03    14.359        .33740E-06** at limit **
  21  norm          4.9892        3.0054        .24593E-07   -.11176E-04
  22  Prefactor     .10000E-03    1.4721        .12740E-07** at limit **
  23  Normalizat    1.3729        .17639       -.84815E-06    .13764E-04
  24  Prefactor     .82743        .87030E-01   -.34113E-07   -.74771E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 11.2022
  norm       = 2.37818
  Prefactor  = 0.0001
  Prefactor  = 8.41263
  Prefactor  = 0.0001
  norm       = 6.30165
  Prefactor  = 17.7685
  norm       = 0.0001
  Prefactor  = 2.51286
  Prefactor  = 6.46123
  Prefactor  = 8.50072
  Prefactor  = 11.6774
  Prefactor  = 0.0001
  Prefactor  = 9.22455
  Prefactor  = 7.61803
  Prefactor  = 5.39423
  Prefactor  = 0.0001
  norm       = 2.03724
  Prefactor  = 0.0001
  norm       = 4.98918
  Prefactor  = 0.0001
  Normalizat = 1.37293
  Prefactor  = 0.827426
 **********
 **   18 **HESSE 
 **********

 FCN=   11499.30     FROM HESSE     STATUS=OK           405 CALLS     2723 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.6747        .17115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.202        25.135        .11968E-03   -1.5038    
   3  norm          2.3782        1.0315        .26564E-04   -1.5400    
   4  Prefactor     .10000E-03    8.4235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.4126        5.5462        .13821E-03   -1.5128    
   6  Prefactor     .10000E-03    30.760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.3017        11.241        .79947E-03   -1.5206    
   8  Prefactor     17.769        10.463        .95012E-04   -1.4865    
   9  norm          .10000E-03    2.3580        .31612E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.5129        4.0553        .12193E-02   -1.5391    
  11  Prefactor     6.4612        38.562        .15648E-03   -1.5200    
  12  Prefactor     8.5007        21.147        .13747E-03   -1.5125    
  13  Prefactor     11.677        10.960        .11724E-03   -1.5024    
  14  Prefactor     .10000E-03    15.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.2245        13.145        .13192E-03   -1.5100    
  16  Prefactor     7.6180        4.8296        .14529E-03   -1.5156    
  17  Prefactor     5.3942        1.9777        .85574E-04   -1.5243    
  18  Prefactor     .10000E-03    2.6930        .17166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.0372        .78995        .56966E-04   -1.5422    
  20  Prefactor     .10000E-03    14.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.9892        2.9984        .13976E-03   -1.5261    
  22  Prefactor     .10000E-03    1.5105        .25343E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3729        .20802        .30599E-03   -.81415    
  24  Prefactor     .82743        .10273        .19373E-03   -.98725    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95496e-10
Minuit parameter uncertainties:
  1  1.38971e-06
  2  25.1592
  3  1.03154
  4  1.61967e-06
  5  5.54655
  6  0.000207279
  7  11.2445
  8  10.4637
  9  1.94351e-05
  10  4.05579
  11  31.5997
  12  21.1651
  13  10.9616
  14  1.79065e-05
  15  13.1487
  16  4.82988
  17  1.97775
  18  2.12506e-06
  19  0.789952
  20  3.0069e-06
  21  2.99851
  22  5.80948e-07
  23  0.208144
  24  0.102753
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.168e+01  1.096e+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:  8.274e-01  1.028e-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.373e+00  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.44
Ra Dec: 183.001 -23.449
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.58e-08 +/- 1.48e-08
Energy Flux (Fixed Index): 1.43e-05 +/- 1.34e-05

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) = 11499.0757449
delta logL = 0.220554660016

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11499.0442537
delta logL = 0.252045820793

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.208       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3629       1.0000          .0000       10.000    
     3 'Normalizat'    1.3789       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82775       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11499.04     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      285 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.216        15.301        .10270E-03    .13283E-05
   2  Index         1.3634        .73216        .11685E-01    .13196E-04
   3  Normalizat    1.3788        .19962        .30548E-03   -.36695E-04
   4  Prefactor     .82780        .10167        .19371E-03    .59979E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.2164
  Index      = 1.36344
  Normalizat = 1.37878
  Prefactor  = 0.827796
 **********
 **   18 **HESSE 
 **********

 FCN=   11499.04     FROM HESSE     STATUS=OK            25 CALLS      310 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.216        15.338        .41081E-05   -1.4928    
   2  Index         1.3634        .73407        .23369E-02   -.81440    
   3  Normalizat    1.3788        .19980        .12219E-04   -.81244    
   4  Prefactor     .82780        .10177        .77485E-05   -.98712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76904e-11
Minuit parameter uncertainties:
  1  15.3418
  2  0.739785
  3  0.199917
  4  0.101792
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/408505': 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) = 11499.0442529
delta logL = 0.252046643029

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.522e+01  1.534e+01  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.363e+00  7.398e-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:  8.278e-01  1.018e-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.379e+00  1.999e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.94
Ra Dec: 183.001 -23.449
Photon Index (Free Index): 1.36 +/- 0.74
Photon Flux (Free Index): 6.33e-09 +/- 1.03e-08
Energy Flux (Free Index): 3.16e-05 +/- 4.80e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/408505/cmap_HighResolution_472089601_472348801_4FGL_J1212.0-2326_daily_bin898.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.58e-08', energy_flux2='3.16e-05', photon_flux_error='1.48e-08', dlogl='2.52e-01', energy_flux='1.43e-05', photon_flux2='6.33e-09', job_status='DONE', time_completed='2021-09-05 04:10:00.105718', photon_index_error2='0.74', photon_index2='1.36', ts='4.44', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='4.80e-05', EG='1.37', time_epoch_completed='1630840200.11', return_code='0', job_id='408505', GAL2='0.83', EG2='1.38', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='1.03e-08', ts2='4.94', photon_index='1.90' WHERE bin_id='898' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:10:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 408505: <4FGL_J1212.0-2326_daily_bin898> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin898> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep  5 03:55:32 2021
Job was executed on host(s) <bullet0236>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 03:55:33 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:33 2021
Terminated at Sun Sep  5 04:10:00 2021
Results reported at Sun Sep  5 04:10:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin898 183.001 -23.4494 472089601 472348801 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 :                                   845.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             375.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   867 sec.
    Turnaround time :                            868 sec.

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

