/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 46 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 = 7598
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1212.0-2326_daily_bin1364
RA = 183.001, Dec = -23.4494
tmin = 592876801, tmax = 593136001
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='410405', job_status='RUN', time_executed='2021-09-05 04:02:05.196615', time_epoch_executed='1630839725.2' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='1364'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/410405

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/410405/ft1_4FGL_J1212.0-2326_daily_bin1364.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/410405/ft2_4FGL_J1212.0-2326_daily_bin1364.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/410405/ft1_4FGL_J1212.0-2326_daily_bin1364.fits outfile=/scratch/kocevski/410405/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1364.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=592876801.0 tmax=593136001.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.87
user 3.61
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/410405/ft2_4FGL_J1212.0-2326_daily_bin1364.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/410405/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1364.fits evtable="EVENTS" outfile="/scratch/kocevski/410405/ft1_filtered_4FGL_J1212.0-2326_daily_bin1364.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.54
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/410405/ft1_filtered_4FGL_J1212.0-2326_daily_bin1364.fits" evtable="EVENTS" scfile=/scratch/kocevski/410405/ft2_4FGL_J1212.0-2326_daily_bin1364.fits sctable="SC_DATA" outfile=/scratch/kocevski/410405/ltcube_592876801_593136001_4FGL_J1212.0-2326_daily_bin1364.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/410405/ft2_4FGL_J1212.0-2326_daily_bin1364.fits
.....................!
real 11.85
user 11.44
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/410405/ft1_filtered_4FGL_J1212.0-2326_daily_bin1364.fits evtable="EVENTS" scfile=/scratch/kocevski/410405/ft2_4FGL_J1212.0-2326_daily_bin1364.fits sctable="SC_DATA" expcube=/scratch/kocevski/410405/ltcube_592876801_593136001_4FGL_J1212.0-2326_daily_bin1364.fits outfile=/scratch/kocevski/410405/expmap_592876801_593136001_4FGL_J1212.0-2326_daily_bin1364.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/410405/ltcube_592876801_593136001_4FGL_J1212.0-2326_daily_bin1364.fits
.....................!
real 190.70
user 186.32
sys 3.99

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/410405/ft1_filtered_4FGL_J1212.0-2326_daily_bin1364.fits scfile=/scratch/kocevski/410405/ft2_4FGL_J1212.0-2326_daily_bin1364.fits outfile=/scratch/kocevski/410405/cmap_592876801_593136001_4FGL_J1212.0-2326_daily_bin1364.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/410405/ft1_filtered_4FGL_J1212.0-2326_daily_bin1364.fits scfile=/scratch/kocevski/410405/ft2_4FGL_J1212.0-2326_daily_bin1364.fits outfile=/scratch/kocevski/410405/cmap_HighResolution_592876801_593136001_4FGL_J1212.0-2326_daily_bin1364.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/410405/ft1_filtered_4FGL_J1212.0-2326_daily_bin1364.fits evtable="EVENTS" scfile=/scratch/kocevski/410405/ft2_4FGL_J1212.0-2326_daily_bin1364.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/410405/Model_4FGL_J1212.0-2326_daily_bin1364.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/410405/ft1_filtered_4FGL_J1212.0-2326_daily_bin1364.fits.....................!
real 57.45
user 55.97
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .85536       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.6770       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.4248       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.470       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.0404       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    40.187       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.377       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.3415       1.0000         .10000E-03   10000.    
    20 'Prefactor '    105.13       1.0000         .10000E-03   10000.    
    21 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2789       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89584       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=   6546.985     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2659 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.0620        .99610E-06** at limit **
   2  Prefactor     .10000E-03    13.154       -.37126E-05** at limit **
   3  norm          .85541        .84984       -.25882E-07   -.24247E-03
   4  Prefactor     7.6753        31.111       -.43284E-05   -.10714E-04
   5  Prefactor     .10000E-03    3.5510       -.14256E-06** at limit **
   6  Prefactor     .10000E-03    15.045       -.14912E-06** at limit **
   7  norm          .10000E-03    13.817       -.29676E-05** at limit **
   8  Prefactor     .10000E-03    6.0606       -.19829E-05** at limit **
   9  norm          .10000E-03    1.7757       -.80994E-09** at limit **
  10  Prefactor     5.4250        7.0822        .13056E-05   -.14400E-03
  11  Prefactor     .10000E-03    28.332       -.11441E-04** at limit **
  12  Prefactor     14.464        37.672       -.11127E-04   -.11482E-04
  13  Prefactor     8.0343        17.140       -.42238E-05   -.42105E-04
  14  Prefactor     .10000E-03    22.310        .14881E-04** at limit **
  15  Prefactor     40.186        27.929       -.81989E-06    .31311E-05
  16  Prefactor     .10000E-03    7.2104        .52949E-06** at limit **
  17  Prefactor     16.377        4.0521        .10502E-05   -.37472E-04
  18  Prefactor     .10000E-03    9.6455        .29576E-05** at limit **
  19  norm          5.3415        1.7372        .61103E-08   -.14518E-03
  20  Prefactor     105.12        82.590       -.16307E-05   -.44722E-05
  21  norm          .10000E-03    1.9970       -.22261E-07** at limit **
  22  Prefactor     .10000E-03    1.7876        .84973E-08** at limit **
  23  Normalizat    1.2790        .25167        .67198E-06   -.22535E-04
  24  Prefactor     .89577        .12332        .14618E-06   -.30059E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.855407
  Prefactor  = 7.67534
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.42503
  Prefactor  = 0.0001
  Prefactor  = 14.4644
  Prefactor  = 8.03431
  Prefactor  = 0.0001
  Prefactor  = 40.1858
  Prefactor  = 0.0001
  Prefactor  = 16.3768
  Prefactor  = 0.0001
  norm       = 5.34151
  Prefactor  = 105.124
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.27902
  Prefactor  = 0.895775
 **********
 **   18 **HESSE 
 **********

 FCN=   6546.985     FROM HESSE     STATUS=OK           395 CALLS     3054 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.0769        .17778E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    13.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .85541        .81071        .72388E-03   -1.5523    
   4  Prefactor     7.6753        31.154        .14473E-03   -1.5154    
   5  Prefactor     .10000E-03    3.6002        .14883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    13.840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.0668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.7827        .10527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.4250        7.0196        .17253E-03   -1.5242    
  11  Prefactor     .10000E-03    28.296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.464        37.399        .10529E-03   -1.4947    
  13  Prefactor     8.0343        17.178        .14140E-03   -1.5141    
  14  Prefactor     .10000E-03    22.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     40.186        27.928        .63231E-04   -1.4439    
  16  Prefactor     .10000E-03    7.2818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.377        4.0464        .78444E-04   -1.4898    
  18  Prefactor     .10000E-03    9.6684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.3415        1.7369        .57852E-04   -1.5246    
  20  Prefactor     105.12        82.577        .39220E-04   -1.3654    
  21  norm          .10000E-03    1.9999        .11163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.7902        .10564E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2790        .29948        .34347E-03   -.84195    
  24  Prefactor     .89577        .14724        .19766E-03   -.96289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.931e-11
Minuit parameter uncertainties:
  1  2.08516e-06
  2  5.15165e-07
  3  0.810723
  4  30.9547
  5  2.29926e-08
  6  2.08245e-07
  7  1.11343e-06
  8  3.7199e-06
  9  1.31046e-06
  10  7.02068
  11  2.95307e-05
  12  37.4597
  13  17.1881
  14  4.4419e-05
  15  27.9368
  16  8.88142e-05
  17  4.04644
  18  7.48177e-06
  19  1.7369
  20  82.6671
  21  1.38135e-06
  22  4.88027e-07
  23  0.299885
  24  0.147305
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  8.034e+00  1.719e+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.958e-01  1.473e-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.279e+00  2.999e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/410405/likelihoodResults_592876801_593136001_4FGL_J1212.0-2326_daily_bin1364.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6546.98453167
delta logL = 5.46460159967e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6546.98450375
delta logL = 8.257000718e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.1864       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8810       1.0000          .0000       10.000    
     3 'Normalizat'    1.2791       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89586       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=   6546.985     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      254 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1950        22.644        .14012E-03    .25955E-03
   2  Index         1.8790        1.4693        .10123E-01    .19017E-03
   3  Normalizat    1.2794        .29694        .34343E-03   -.36607E-03
   4  Prefactor     .89570        .14675        .19767E-03   -.18486E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.19498
  Index      = 1.87902
  Normalizat = 1.27936
  Prefactor  = 0.895699
 **********
 **   18 **HESSE 
 **********

 FCN=   6546.985     FROM HESSE     STATUS=OK            23 CALLS      277 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1950        21.334        .56049E-05   -1.5135    
   2  Index         1.8790        1.3870        .40490E-03   -.67410    
   3  Normalizat    1.2794        .29676        .68686E-04   -.84184    
   4  Prefactor     .89570        .14680        .39533E-04   -.96292    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41715e-09
Minuit parameter uncertainties:
  1  21.354
  2  1.41793
  3  0.297153
  4  0.146868
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/410405': 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) = 6546.98450182
delta logL = 8.44969590617e-05

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  8.195e+00  2.135e+01  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.879e+00  1.418e+00  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.957e-01  1.469e-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.279e+00  2.972e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.30
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/410405/cmap_HighResolution_592876801_593136001_4FGL_J1212.0-2326_daily_bin1364.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.27e-03', job_status='DONE', photon_flux_upper_limit='8.43e-08', time_completed='2021-09-05 04:14:41.962516', job_id='410405', GAL2='0.90', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1630840481.96', return_code2='0', ts='0.30', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='8.45e-05', ts2='0.30', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1364' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:14:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 410405: <4FGL_J1212.0-2326_daily_bin1364> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin1364> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep  5 04:00:56 2021
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:00:57 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:00:57 2021
Terminated at Sun Sep  5 04:14:42 2021
Results reported at Sun Sep  5 04:14:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin1364 183.001 -23.4494 592876801 593136001 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 :                                   689.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             294.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            826 sec.

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

