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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin634
RA = 183.001, Dec = -23.4494
tmin = 403660801, tmax = 403920001
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='406910', job_status='RUN', time_executed='2021-09-05 03:50:51.647946', time_epoch_executed='1630839051.65' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='634'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/406910

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/406910/ft1_4FGL_J1212.0-2326_daily_bin634.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/406910/ft2_4FGL_J1212.0-2326_daily_bin634.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/406910/ft1_4FGL_J1212.0-2326_daily_bin634.fits outfile=/scratch/kocevski/406910/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin634.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=403660801.0 tmax=403920001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 7.67
user 7.35
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/406910/ft2_4FGL_J1212.0-2326_daily_bin634.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/406910/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin634.fits evtable="EVENTS" outfile="/scratch/kocevski/406910/ft1_filtered_4FGL_J1212.0-2326_daily_bin634.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/406910/ft1_filtered_4FGL_J1212.0-2326_daily_bin634.fits" evtable="EVENTS" scfile=/scratch/kocevski/406910/ft2_4FGL_J1212.0-2326_daily_bin634.fits sctable="SC_DATA" outfile=/scratch/kocevski/406910/ltcube_403660801_403920001_4FGL_J1212.0-2326_daily_bin634.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/406910/ft2_4FGL_J1212.0-2326_daily_bin634.fits
.....................!
real 11.47
user 11.10
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/406910/ft1_filtered_4FGL_J1212.0-2326_daily_bin634.fits evtable="EVENTS" scfile=/scratch/kocevski/406910/ft2_4FGL_J1212.0-2326_daily_bin634.fits sctable="SC_DATA" expcube=/scratch/kocevski/406910/ltcube_403660801_403920001_4FGL_J1212.0-2326_daily_bin634.fits outfile=/scratch/kocevski/406910/expmap_403660801_403920001_4FGL_J1212.0-2326_daily_bin634.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/406910/ltcube_403660801_403920001_4FGL_J1212.0-2326_daily_bin634.fits
.....................!
real 190.18
user 185.54
sys 4.27

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/406910/ft1_filtered_4FGL_J1212.0-2326_daily_bin634.fits scfile=/scratch/kocevski/406910/ft2_4FGL_J1212.0-2326_daily_bin634.fits outfile=/scratch/kocevski/406910/cmap_403660801_403920001_4FGL_J1212.0-2326_daily_bin634.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/406910/ft1_filtered_4FGL_J1212.0-2326_daily_bin634.fits scfile=/scratch/kocevski/406910/ft2_4FGL_J1212.0-2326_daily_bin634.fits outfile=/scratch/kocevski/406910/cmap_HighResolution_403660801_403920001_4FGL_J1212.0-2326_daily_bin634.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/406910/ft1_filtered_4FGL_J1212.0-2326_daily_bin634.fits evtable="EVENTS" scfile=/scratch/kocevski/406910/ft2_4FGL_J1212.0-2326_daily_bin634.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/406910/Model_4FGL_J1212.0-2326_daily_bin634.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/406910/ft1_filtered_4FGL_J1212.0-2326_daily_bin634.fits.....................!
real 59.78
user 58.33
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.888       1.0000         .10000E-03   10000.    
     3 'norm      '    5.9315       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.6209       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10840E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.3413       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.3500       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10584E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    32.571       1.0000         .10000E-03   10000.    
    15 'Prefactor '    25.414       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.6150       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.1458       1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.681       1.0000         .10000E-03   10000.    
    19 'norm      '    4.6791       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    9.2322       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .71364       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1339       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=   6917.852     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     2303 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.2283        .13417E-06** at limit **
   2  Prefactor     14.852        27.936       -.34217E-05   -.26166E-03
   3  norm          5.9318        1.9279        .47543E-07   -.72681E-05
   4  Prefactor     .10001E-03    40.633       -.37287E-05** at limit **
   5  Prefactor     1.6208        2.8728        .23266E-06   -.47378E-04
   6  Prefactor     .10000E-03    13.286       -.46459E-06** at limit **
   7  norm          .10000E-03    89.825       -.22945E-05** at limit **
   8  Prefactor     .10000E-03    5.7957        .27830E-07** at limit **
   9  norm          6.3429        3.9661        .87801E-07   -.44178E-04
  10  Prefactor     5.3493        4.8643       -.21533E-06   -.48423E-03
  11  Prefactor     .10001E-03    49.241        .60471E-05** at limit **
  12  Prefactor     .10000E-03    18.068        .16262E-05** at limit **
  13  Prefactor     .10000E-03    6.2222       -.35507E-07** at limit **
  14  Prefactor     32.577        28.784        .51930E-06    .55535E-04
  15  Prefactor     25.413        19.412        .95218E-07   -.12250E-04
  16  Prefactor     5.6154        7.2260        .35191E-05   -.68713E-03
  17  Prefactor     7.1459        3.2313       -.45851E-06   -.17950E-04
  18  Prefactor     17.682        12.783        .44202E-07    .11296E-04
  19  norm          4.6791        1.4122        .17822E-07   -.28564E-04
  20  Prefactor     .10000E-03    20.048       -.12702E-05** at limit **
  21  norm          9.2274        5.5639        .15844E-06    .14073E-03
  22  Prefactor     .10000E-03    3.5704        .81493E-07** at limit **
  23  Normalizat    .71358        .24850       -.10202E-05   -.15028E-04
  24  Prefactor     1.1339        .12919        .72248E-07   -.44798E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 14.852
  norm       = 5.93181
  Prefactor  = 0.000100006
  Prefactor  = 1.62082
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.0001
  norm       = 6.34287
  Prefactor  = 5.34928
  Prefactor  = 0.000100015
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 32.5772
  Prefactor  = 25.4129
  Prefactor  = 5.61545
  Prefactor  = 7.14591
  Prefactor  = 17.682
  norm       = 4.67913
  Prefactor  = 0.000100001
  norm       = 9.22739
  Prefactor  = 0.0001
  Normalizat = 0.713578
  Prefactor  = 1.1339
 **********
 **   18 **HESSE 
 **********

 FCN=   6917.852     FROM HESSE     STATUS=OK           397 CALLS     2700 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.3224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.852        28.751        .10380E-03   -1.4937    
   3  norm          5.9318        1.9291        .63156E-04   -1.5221    
   4  Prefactor     .10001E-03    41.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.6208        2.8385        .18171E-03   -1.5453    
   6  Prefactor     .10000E-03    13.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    92.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.8121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.3429        3.9616        .12631E-03   -1.5204    
  10  Prefactor     5.3493        4.8973        .16828E-03   -1.5245    
  11  Prefactor     .10001E-03    51.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    18.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.2251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     32.577        28.799        .70211E-04   -1.4566    
  15  Prefactor     25.413        19.410        .79462E-04   -1.4699    
  16  Prefactor     5.6154        7.4983        .84767E-03   -1.5234    
  17  Prefactor     7.1459        3.2436        .92017E-04   -1.5173    
  18  Prefactor     17.682        12.783        .95250E-04   -1.4867    
  19  norm          4.6791        1.4114        .51743E-04   -1.5275    
  20  Prefactor     .10000E-03    20.159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          9.2274        5.5476        .13190E-03   -1.5100    
  22  Prefactor     .10000E-03    3.6381        .30589E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .71358        .27702        .41195E-03   -1.0336    
  24  Prefactor     1.1339        .14576        .17692E-03   -.88390    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5426e-09
Minuit parameter uncertainties:
  1  2.06994e-05
  2  28.7781
  3  1.92915
  4  0.000988398
  5  2.83869
  6  6.25148e-05
  7  0.000811418
  8  3.06613e-06
  9  3.96181
  10  4.89763
  11  0.00175147
  12  0.0003225
  13  6.10688e-06
  14  28.8115
  15  19.4151
  16  7.49956
  17  3.24365
  18  12.7855
  19  1.41146
  20  0.000245535
  21  5.54789
  22  6.2108e-06
  23  0.277561
  24  0.145816
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  6.107e-06  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.134e+00  1.458e-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:  7.136e-01  2.776e-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: 4.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/406910/likelihoodResults_403660801_403920001_4FGL_J1212.0-2326_daily_bin634.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) = 6917.85315871
delta logL = -0.000759364055739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6917.85240033
delta logL = -9.87896783045e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11814E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8593       1.0000          .0000       10.000    
     3 'Normalizat'    .71347       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1340       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=   6917.852     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      244 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10085E-03    26.192        .18142E-02** at limit **
   2  Index         1.8080        7.1402        .50000        .39407E-04
   3  Normalizat    .71358        .11108E-01    .41195E-03   -.23099E-04
   4  Prefactor     1.1339        .59346E-02    .17692E-03    .17993E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100851
  Index      = 1.80799
  Normalizat = 0.713577
  Prefactor  = 1.1339
 **********
 **   18 **HESSE 
 **********

 FCN=   6917.852     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10085E-03    121.43        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8080        5.8898        .50000       -.69242    
   3  Normalizat    .71358        .24297E-01    .16478E-04   -1.0336    
   4  Prefactor     1.1339        .12981E-01    .70767E-05   -.88390    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.40663e-08
Minuit parameter uncertainties:
  1  0.0203684
  2  148.877
  3  0.0242969
  4  0.0129805
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/406910': 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) = 6917.85239838
delta logL = 9.66467268881e-07

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.009e-04  2.037e-02  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.808e+00  1.489e+02  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.134e+00  1.298e-02  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:  7.136e-01  2.430e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/406910/cmap_HighResolution_403660801_403920001_4FGL_J1212.0-2326_daily_bin634.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.35e-03', job_status='DONE', photon_flux_upper_limit='4.51e-08', time_completed='2021-09-05 04:02:55.267173', job_id='406910', GAL2='1.13', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1630839775.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='9.66e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='634' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:02:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 406910: <4FGL_J1212.0-2326_daily_bin634> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin634> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep  5 03:50:39 2021
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 03:50:40 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:50:40 2021
Terminated at Sun Sep  5 04:02:56 2021
Results reported at Sun Sep  5 04:02:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin634 183.001 -23.4494 403660801 403920001 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 :                                   717.34 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             299.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            737 sec.

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

