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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin1489
RA = 183.001, Dec = -23.4494
tmin = 625276801, tmax = 625536001
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='410566', job_status='RUN', time_executed='2021-09-05 04:01:58.588272', time_epoch_executed='1630839718.59' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='1489'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/410566

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/410566/ft1_4FGL_J1212.0-2326_daily_bin1489.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/410566/ft2_4FGL_J1212.0-2326_daily_bin1489.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/410566/ft1_4FGL_J1212.0-2326_daily_bin1489.fits outfile=/scratch/kocevski/410566/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1489.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=625276801.0 tmax=625536001.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.66
user 3.33
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/410566/ft1_filtered_4FGL_J1212.0-2326_daily_bin1489.fits" evtable="EVENTS" scfile=/scratch/kocevski/410566/ft2_4FGL_J1212.0-2326_daily_bin1489.fits sctable="SC_DATA" outfile=/scratch/kocevski/410566/ltcube_625276801_625536001_4FGL_J1212.0-2326_daily_bin1489.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/410566/ft2_4FGL_J1212.0-2326_daily_bin1489.fits
.....................!
real 11.81
user 11.42
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/410566/ft1_filtered_4FGL_J1212.0-2326_daily_bin1489.fits evtable="EVENTS" scfile=/scratch/kocevski/410566/ft2_4FGL_J1212.0-2326_daily_bin1489.fits sctable="SC_DATA" expcube=/scratch/kocevski/410566/ltcube_625276801_625536001_4FGL_J1212.0-2326_daily_bin1489.fits outfile=/scratch/kocevski/410566/expmap_625276801_625536001_4FGL_J1212.0-2326_daily_bin1489.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/410566/ltcube_625276801_625536001_4FGL_J1212.0-2326_daily_bin1489.fits
.....................!
real 190.45
user 185.59
sys 4.42

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/410566/ft1_filtered_4FGL_J1212.0-2326_daily_bin1489.fits scfile=/scratch/kocevski/410566/ft2_4FGL_J1212.0-2326_daily_bin1489.fits outfile=/scratch/kocevski/410566/cmap_625276801_625536001_4FGL_J1212.0-2326_daily_bin1489.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.57
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/410566/ft1_filtered_4FGL_J1212.0-2326_daily_bin1489.fits scfile=/scratch/kocevski/410566/ft2_4FGL_J1212.0-2326_daily_bin1489.fits outfile=/scratch/kocevski/410566/cmap_HighResolution_625276801_625536001_4FGL_J1212.0-2326_daily_bin1489.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.59
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10252E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.7448       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.9673       1.0000         .10000E-03   10000.    
     7 'norm      '    .12048E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.1860       1.0000         .10000E-03   10000.    
     9 'norm      '    4.9047       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.176       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .41486       1.0000         .10000E-03   10000.    
    12 'Prefactor '    47.564       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .17095E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.958       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.358       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.8729       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.585       1.0000         .10000E-03   10000.    
    19 'norm      '    9.1490       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12178E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    18.913       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10282E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2823       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97749       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=   6869.574     FROM MIGRAD    STATUS=CONVERGED   1029 CALLS     3204 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.9393        .17972E-02** at limit **
   2  Prefactor     .10000E-03    15.305        .18142E-02** at limit **
   3  norm          .10000E-03    1.8781        .14631E-02** at limit **
   4  Prefactor     .10000E-03    47.518        .18142E-02** at limit **
   5  Prefactor     2.7455        5.6108        .12287E-02    .86653E-04
   6  Prefactor     1.9641        120.52        .29567E-03    .50755E-05
   7  norm          .10000E-03    40.252        .18142E-02** at limit **
   8  Prefactor     5.1956        28.056        .17653E-03    .67623E-05
   9  norm          4.9074        6.6754        .18162E-03    .87448E-04
  10  Prefactor     15.175        11.185        .10281E-03    .33062E-04
  11  Prefactor     .12816        79.444        .18464        .33262E-04
  12  Prefactor     47.568        46.087        .58141E-04   -.27375E-06
  13  Prefactor     .10000E-03    48.853        .18142E-02** at limit **
  14  Prefactor     15.952        73.822        .10026E-03   -.35491E-04
  15  Prefactor     18.403        28.765        .93477E-04   -.22986E-04
  16  Prefactor     .10000E-03    5.4801        .18142E-02** at limit **
  17  Prefactor     5.8726        2.9278        .96953E-04   -.76219E-04
  18  Prefactor     10.585        9.7763        .12315E-03   -.20291E-04
  19  norm          9.1488        2.1755        .56300E-04   -.37660E-03
  20  Prefactor     .10000E-03    58.522        .18142E-02** at limit **
  21  norm          18.911        8.3953        .92095E-04   -.41586E-03
  22  Prefactor     .10000E-03    11.716        .32253E-02** at limit **
  23  Normalizat    1.2823        .33544        .37516E-03   -.11030E-03
  24  Prefactor     .97749        .16404        .20737E-03   -.20417E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.7455
  Prefactor  = 1.96407
  norm       = 0.0001
  Prefactor  = 5.19559
  norm       = 4.90742
  Prefactor  = 15.1754
  Prefactor  = 0.128159
  Prefactor  = 47.5678
  Prefactor  = 0.0001
  Prefactor  = 15.9518
  Prefactor  = 18.4035
  Prefactor  = 0.0001
  Prefactor  = 5.87259
  Prefactor  = 10.5847
  norm       = 9.14877
  Prefactor  = 0.0001
  norm       = 18.9114
  Prefactor  = 0.000100001
  Normalizat = 1.28225
  Prefactor  = 0.977494
 **********
 **   18 **HESSE 
 **********

 FCN=   6869.574     FROM HESSE     STATUS=OK           385 CALLS     3589 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.9397        .35944E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.305        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.8879        .29262E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    47.523        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.7455        5.6029        .49147E-04   -1.5377    
   6  Prefactor     1.9641        120.30        .11827E-04   -1.5428    
   7  norm          .10000E-03    40.269        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.1956        27.976        .70610E-05   -1.5252    
   9  norm          4.9074        6.6679        .72647E-05   -1.5265    
  10  Prefactor     15.175        11.182        .41126E-05   -1.4929    
  11  Prefactor     .12816        81.899        .18092       -1.5636    
  12  Prefactor     47.568        46.083        .11628E-04   -1.4327    
  13  Prefactor     .10000E-03    48.860        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.952        73.682        .40104E-05   -1.4909    
  15  Prefactor     18.403        28.764        .37391E-05   -1.4850    
  16  Prefactor     .10000E-03    5.4826        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.8726        2.9277        .38781E-05   -1.5223    
  18  Prefactor     10.585        9.7762        .24630E-04   -1.5057    
  19  norm          9.1488        2.1754        .22520E-05   -1.5103    
  20  Prefactor     .10000E-03    58.524        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          18.911        8.3892        .18419E-04   -1.4838    
  22  Prefactor     .10000E-03    11.794        .64505E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2823        .33568        .15007E-04   -.84098    
  24  Prefactor     .97749        .16419        .41475E-04   -.93484    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.75675e-10
Minuit parameter uncertainties:
  1  3.15602e-06
  2  3.02225e-06
  3  4.72733e-05
  4  0.000111227
  5  5.60395
  6  30.8072
  7  3.6562e-05
  8  24.1296
  9  6.66891
  10  11.1831
  11  6.48592
  12  46.1172
  13  0.000196523
  14  68.7067
  15  28.7856
  16  1.01808e-05
  17  2.92781
  18  9.77771
  19  2.17545
  20  8.38983e-06
  21  8.38973
  22  0.000249787
  23  0.336246
  24  0.16427
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  9.775e-01  1.643e-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.282e+00  3.362e-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: 9.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/410566/likelihoodResults_625276801_625536001_4FGL_J1212.0-2326_daily_bin1489.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) = 6869.57437914
delta logL = -9.74699978542e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6869.57428451
delta logL = -2.84265297523e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55748E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9657       1.0000          .0000       10.000    
     3 'Normalizat'    1.2823       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97749       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=   6869.574     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      247 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    93.539        .10551E-01** at limit **
   2  Index         1.9737        5.9283        .50000       -.21162E-04
   3  Normalizat    1.2823        .78492E-02    .84733E-01    .55332E-04
   4  Prefactor     .97749        .38719E-02    .45985E-01   -.88570E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100026
  Index      = 1.97374
  Normalizat = 1.28225
  Prefactor  = 0.977494
 **********
 **   18 **HESSE 
 **********

 FCN=   6869.574     FROM HESSE     STATUS=OK            33 CALLS      280 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    126.39        .42205E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9737        5.8043        .50000       -.65008    
   3  Normalizat    1.2823        .32380        .37516E-03   -.84098    
   4  Prefactor     .97749        .16015        .20738E-03   -.93484    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20199e-09
Minuit parameter uncertainties:
  1  0.00366458
  2  5.19518
  3  0.324316
  4  0.160224
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/410566': 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) = 6869.5742813
delta logL = 3.7041354517e-07

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  3.665e-03  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.974e+00  5.195e+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:  9.775e-01  1.602e-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.282e+00  3.243e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/410566/cmap_HighResolution_625276801_625536001_4FGL_J1212.0-2326_daily_bin1489.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.35e-03', job_status='DONE', photon_flux_upper_limit='9.89e-08', time_completed='2021-09-05 04:15:39.620120', job_id='410566', GAL2='0.98', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1630840539.62', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='3.70e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1489' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:15:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 410566: <4FGL_J1212.0-2326_daily_bin1489> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin1489> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep  5 04:01:08 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:01:10 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:10 2021
Terminated at Sun Sep  5 04:15:40 2021
Results reported at Sun Sep  5 04:15:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin1489 183.001 -23.4494 625276801 625536001 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 :                                   755.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            872 sec.

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

