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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin873
RA = 183.001, Dec = -23.4494
tmin = 465609601, tmax = 465868801
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='408451', job_status='RUN', time_executed='2021-09-05 03:58:20.342873', time_epoch_executed='1630839500.34' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='873'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/408451

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/408451/ft1_4FGL_J1212.0-2326_daily_bin873.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/408451/ft2_4FGL_J1212.0-2326_daily_bin873.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/408451/ft1_4FGL_J1212.0-2326_daily_bin873.fits outfile=/scratch/kocevski/408451/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin873.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=465609601.0 tmax=465868801.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.51
user 3.30
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/408451/ft1_filtered_4FGL_J1212.0-2326_daily_bin873.fits" evtable="EVENTS" scfile=/scratch/kocevski/408451/ft2_4FGL_J1212.0-2326_daily_bin873.fits sctable="SC_DATA" outfile=/scratch/kocevski/408451/ltcube_465609601_465868801_4FGL_J1212.0-2326_daily_bin873.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/408451/ft2_4FGL_J1212.0-2326_daily_bin873.fits
.....................!
real 11.88
user 11.50
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/408451/ft1_filtered_4FGL_J1212.0-2326_daily_bin873.fits evtable="EVENTS" scfile=/scratch/kocevski/408451/ft2_4FGL_J1212.0-2326_daily_bin873.fits sctable="SC_DATA" expcube=/scratch/kocevski/408451/ltcube_465609601_465868801_4FGL_J1212.0-2326_daily_bin873.fits outfile=/scratch/kocevski/408451/expmap_465609601_465868801_4FGL_J1212.0-2326_daily_bin873.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/408451/ltcube_465609601_465868801_4FGL_J1212.0-2326_daily_bin873.fits
.....................!
real 190.37
user 185.33
sys 4.61

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/408451/ft1_filtered_4FGL_J1212.0-2326_daily_bin873.fits scfile=/scratch/kocevski/408451/ft2_4FGL_J1212.0-2326_daily_bin873.fits outfile=/scratch/kocevski/408451/cmap_465609601_465868801_4FGL_J1212.0-2326_daily_bin873.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/408451/ft1_filtered_4FGL_J1212.0-2326_daily_bin873.fits scfile=/scratch/kocevski/408451/ft2_4FGL_J1212.0-2326_daily_bin873.fits outfile=/scratch/kocevski/408451/cmap_HighResolution_465609601_465868801_4FGL_J1212.0-2326_daily_bin873.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.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/408451/ft1_filtered_4FGL_J1212.0-2326_daily_bin873.fits evtable="EVENTS" scfile=/scratch/kocevski/408451/ft2_4FGL_J1212.0-2326_daily_bin873.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/408451/Model_4FGL_J1212.0-2326_daily_bin873.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/408451/ft1_filtered_4FGL_J1212.0-2326_daily_bin873.fits.....................!
real 56.13
user 53.20
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.307       1.0000         .10000E-03   10000.    
     2 'Prefactor '    44.509       1.0000         .10000E-03   10000.    
     3 'norm      '    3.2411       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .18933E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    .10507E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11671E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10229E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10424E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11084E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.9106       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.3140       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10336E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    5.4406       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.1345       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3136       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99090       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=   5879.530     FROM MIGRAD    STATUS=CONVERGED    944 CALLS     3088 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.300        21.508        .91152E-04    .78575E-05
   2  Prefactor     44.470        51.683        .60094E-04   -.64322E-06
   3  norm          3.2416        1.8506        .75732E-04    .13060E-04
   4  Prefactor     .10000E-03    21.349        .18142E-02** at limit **
   5  Prefactor     .10000E-03    4.8840        .16464E-02** at limit **
   6  Prefactor     .10000E-03    193.52        .76070E-02** at limit **
   7  norm          .10000E-03    41.014        .18142E-02** at limit **
   8  Prefactor     .10000E-03    9.3874        .18142E-02** at limit **
   9  norm          .10000E-03    2.2166        .11096E-02** at limit **
  10  Prefactor     .10000E-03    2.4980        .11799E-02** at limit **
  11  Prefactor     .10000E-03    37.693        .18142E-02** at limit **
  12  Prefactor     .10000E-03    14.633        .18142E-02** at limit **
  13  Prefactor     .10000E-03    12.540        .18142E-02** at limit **
  14  Prefactor     .10000E-03    49.032        .18142E-02** at limit **
  15  Prefactor     1.9117        68.706        .30076E-03    .44982E-05
  16  Prefactor     .10000E-03    4.5769        .15965E-02** at limit **
  17  Prefactor     5.3144        2.7283        .88138E-04    .21799E-04
  18  Prefactor     .10000E-03    8.0291        .18142E-02** at limit **
  19  norm          .10000E-03    .27356        .38941E-03** at limit **
  20  Prefactor     .10000E-03    22.660        .18142E-02** at limit **
  21  norm          5.4420        6.5764        .17227E-03    .18214E-04
  22  Prefactor     5.1347        6.6782        .17743E-03    .14097E-04
  23  Normalizat    1.3134        .31232        .34185E-03    .85270E-04
  24  Prefactor     .99086        .15393        .18921E-03    .97252E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.2997
  Prefactor  = 44.4701
  norm       = 3.24164
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.91165
  Prefactor  = 0.0001
  Prefactor  = 5.31439
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.44201
  Prefactor  = 5.13465
  Normalizat = 1.31338
  Prefactor  = 0.990863
 **********
 **   18 **HESSE 
 **********

 FCN=   5879.530     FROM HESSE     STATUS=OK           373 CALLS     3461 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.300        21.510        .36461E-05   -1.4829    
   2  Prefactor     44.470        51.682        .12019E-04   -1.4373    
   3  norm          3.2416        1.8506        .30293E-05   -1.5348    
   4  Prefactor     .10000E-03    21.349        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.8854        .32929E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    199.67        .15214E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    41.022        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.3886        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.2169        .22192E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.4982        .23598E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    37.695        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.634        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.540        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    49.035        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.9117        68.672        .12030E-04   -1.5431    
  16  Prefactor     .10000E-03    4.5778        .31931E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.3144        2.7283        .35255E-05   -1.5247    
  18  Prefactor     .10000E-03    8.0307        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .27356        .77882E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    22.660        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.4420        6.5758        .68909E-05   -1.5241    
  22  Prefactor     5.1347        6.6777        .70970E-05   -1.5255    
  23  Normalizat    1.3134        .31260        .13674E-04   -.83168    
  24  Prefactor     .99086        .15404        .37843E-04   -.93035    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06102e-11
Minuit parameter uncertainties:
  1  21.5186
  2  51.7338
  3  1.85064
  4  2.46106e-06
  5  4.55748e-06
  6  1.07626e-05
  7  3.85813e-05
  8  6.8646e-06
  9  2.20043e-06
  10  1.96413e-07
  11  1.83597e-05
  12  3.43711e-06
  13  1.38066e-06
  14  3.41673e-06
  15  22.9431
  16  3.71949e-06
  17  2.72833
  18  3.17035e-06
  19  2.79188e-07
  20  9.70065e-06
  21  6.57666
  22  6.67869
  23  0.313052
  24  0.154105
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  1.381e-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:  9.909e-01  1.541e-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.313e+00  3.131e-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: 7.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.47e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/408451/likelihoodResults_465609601_465868801_4FGL_J1212.0-2326_daily_bin873.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) = 5879.52988873
delta logL = -0.000379896483537

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5879.52950883
delta logL = 1.0777512216e-09

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 'Index     '    1.8933       1.0000          .0000       10.000    
     3 'Normalizat'    1.3134       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99087       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=   5879.530     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      207 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    126.69        .90712E-02** at limit **
   2  Index         1.8891        8.2079        .50000        .25454E-05
   3  Normalizat    1.3134        .22118E-01    .77236E-01    .10493E-04
   4  Prefactor     .99086        .10878E-01    .46153E-01    .19251E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.88907
  Normalizat = 1.31338
  Prefactor  = 0.990863
 **********
 **   18 **HESSE 
 **********

 FCN=   5879.530     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      240 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    470.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8891        5.2050        .50000       -.67153    
   3  Normalizat    1.3134        .44142E-01    .34184E-03   -.83168    
   4  Prefactor     .99086        .21737E-01    .18921E-03   -.93035    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.44034e-10
Minuit parameter uncertainties:
  1  2.89654e-06
  2  24.1998
  3  0.0441429
  4  0.0217374
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/408451': 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) = 5879.52950882
delta logL = 5.65432856092e-09

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  9.909e-01  2.174e-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:  1.313e+00  4.414e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/408451/cmap_HighResolution_465609601_465868801_4FGL_J1212.0-2326_daily_bin873.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.47e-03', job_status='DONE', photon_flux_upper_limit='7.36e-08', time_completed='2021-09-05 04:09:38.967604', job_id='408451', GAL2='0.99', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1630840178.97', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='5.65e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='873' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:09:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 408451: <4FGL_J1212.0-2326_daily_bin873> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin873 183.001 -23.4494 465609601 465868801 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 :                                   675.05 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             277.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            850 sec.

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

