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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin1077
RA = 183.001, Dec = -23.4494
tmin = 518486401, tmax = 518745601
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='408802', job_status='RUN', time_executed='2021-09-05 03:56:37.271052', time_epoch_executed='1630839397.27' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='1077'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/408802

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/408802/ft1_4FGL_J1212.0-2326_daily_bin1077.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/408802/ft2_4FGL_J1212.0-2326_daily_bin1077.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/408802/ft1_4FGL_J1212.0-2326_daily_bin1077.fits outfile=/scratch/kocevski/408802/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1077.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=518486401.0 tmax=518745601.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 6.83
user 6.51
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/408802/ft1_filtered_4FGL_J1212.0-2326_daily_bin1077.fits" evtable="EVENTS" scfile=/scratch/kocevski/408802/ft2_4FGL_J1212.0-2326_daily_bin1077.fits sctable="SC_DATA" outfile=/scratch/kocevski/408802/ltcube_518486401_518745601_4FGL_J1212.0-2326_daily_bin1077.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/408802/ft2_4FGL_J1212.0-2326_daily_bin1077.fits
.....................!
real 11.78
user 11.37
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/408802/ft1_filtered_4FGL_J1212.0-2326_daily_bin1077.fits evtable="EVENTS" scfile=/scratch/kocevski/408802/ft2_4FGL_J1212.0-2326_daily_bin1077.fits sctable="SC_DATA" expcube=/scratch/kocevski/408802/ltcube_518486401_518745601_4FGL_J1212.0-2326_daily_bin1077.fits outfile=/scratch/kocevski/408802/expmap_518486401_518745601_4FGL_J1212.0-2326_daily_bin1077.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/408802/ltcube_518486401_518745601_4FGL_J1212.0-2326_daily_bin1077.fits
.....................!
real 190.59
user 185.22
sys 4.98

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/408802/ft1_filtered_4FGL_J1212.0-2326_daily_bin1077.fits scfile=/scratch/kocevski/408802/ft2_4FGL_J1212.0-2326_daily_bin1077.fits outfile=/scratch/kocevski/408802/cmap_518486401_518745601_4FGL_J1212.0-2326_daily_bin1077.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/408802/ft1_filtered_4FGL_J1212.0-2326_daily_bin1077.fits scfile=/scratch/kocevski/408802/ft2_4FGL_J1212.0-2326_daily_bin1077.fits outfile=/scratch/kocevski/408802/cmap_HighResolution_518486401_518745601_4FGL_J1212.0-2326_daily_bin1077.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=183.001 yref=-23.4494 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/408802/ft1_filtered_4FGL_J1212.0-2326_daily_bin1077.fits evtable="EVENTS" scfile=/scratch/kocevski/408802/ft2_4FGL_J1212.0-2326_daily_bin1077.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/408802/Model_4FGL_J1212.0-2326_daily_bin1077.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/408802/ft1_filtered_4FGL_J1212.0-2326_daily_bin1077.fits.....................!
real 56.08
user 54.68
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .12336E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.8061       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10802E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.1188       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.490       1.0000         .10000E-03   10000.    
     9 'norm      '    .10196E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.4365       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15086       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    40.878       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .28200E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.4048       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.8027       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.3642       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    76.017       1.0000         .10000E-03   10000.    
    21 'norm      '    15.946       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3093       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .81867       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=   6736.022     FROM MIGRAD    STATUS=CONVERGED   1012 CALLS     3243 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.8631        .18142E-02** at limit **
   2  Prefactor     .10000E-03    55.012        .18142E-02** at limit **
   3  norm          .10002E-03    21.269        .11461E-02** at limit **
   4  Prefactor     .10000E-03    19.369        .18142E-02** at limit **
   5  Prefactor     3.8054        5.2343        .20690E-03    .12781E-03
   6  Prefactor     .10001E-03    99.690        .18142E-02** at limit **
   7  norm          4.1156        41.164        .19863E-03    .18716E-04
   8  Prefactor     13.489        12.289        .10905E-03    .99139E-04
   9  norm          .10000E-03    1.9398        .11106E-02** at limit **
  10  Prefactor     4.4389        5.0597        .18041E-03   -.73663E-04
  11  Prefactor     .10000E-03    13.857        .18142E-02** at limit **
  12  Prefactor     .10190E-03    29.833        .10792    ** at limit **
  13  Prefactor     .10000E-03    9.0146        .18142E-02** at limit **
  14  Prefactor     40.873        33.713        .62695E-04   -.41634E-04
  15  Prefactor     .10086E-03    23.993        .95343E-01** at limit **
  16  Prefactor     3.4043        5.3751        .21925E-03   -.67135E-03
  17  Prefactor     7.8027        2.6611        .75167E-04    .18089E-03
  18  Prefactor     4.3642        6.8404        .19280E-03    .47791E-03
  19  norm          .10000E-03    .17363        .33194E-03** at limit **
  20  Prefactor     76.014        62.539        .46055E-04    .12209E-03
  21  norm          15.947        7.2440        .10030E-03    .27124E-03
  22  Prefactor     .10000E-03    6.1738        .36285E-03** at limit **
  23  Normalizat    1.3094        .25803        .29646E-03    .31121E-03
  24  Prefactor     .81867        .13172        .18753E-03    .33165E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100018
  Prefactor  = 0.000100001
  Prefactor  = 3.80538
  Prefactor  = 0.00010001
  norm       = 4.11563
  Prefactor  = 13.4889
  norm       = 0.0001
  Prefactor  = 4.43892
  Prefactor  = 0.0001
  Prefactor  = 0.000101905
  Prefactor  = 0.0001
  Prefactor  = 40.8733
  Prefactor  = 0.000100861
  Prefactor  = 3.40432
  Prefactor  = 7.80269
  Prefactor  = 4.36424
  norm       = 0.0001
  Prefactor  = 76.0136
  norm       = 15.9471
  Prefactor  = 0.000100001
  Normalizat = 1.30938
  Prefactor  = 0.818667
 **********
 **   18 **HESSE 
 **********

 FCN=   6736.022     FROM HESSE     STATUS=OK           393 CALLS     3636 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.8649        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    55.020        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10002E-03    22.233        .45846E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.371        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.8054        5.2334        .82759E-05   -1.5318    
   6  Prefactor     .10001E-03    99.743        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.1156        41.151        .79451E-05   -1.5302    
   8  Prefactor     13.489        12.288        .43622E-05   -1.4973    
   9  norm          .10000E-03    1.9400        .22212E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.4389        5.0580        .72166E-05   -1.5287    
  11  Prefactor     .10000E-03    13.857        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10190E-03    28.226        .11194       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.0148        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     40.873        33.712        .12539E-04   -1.4428    
  15  Prefactor     .10086E-03    22.172        .10026       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.4043        5.3748        .87699E-05   -1.5339    
  17  Prefactor     7.8027        2.6610        .30067E-05   -1.5149    
  18  Prefactor     4.3642        6.8403        .77121E-05   -1.5290    
  19  norm          .10000E-03    .17363        .66388E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     76.014        62.541        .92109E-05   -1.3962    
  21  norm          15.947        7.2442        .40120E-05   -1.4909    
  22  Prefactor     .10000E-03    6.1742        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3094        .25808        .59291E-04   -.83287    
  24  Prefactor     .81867        .13181        .37505E-04   -.99044    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43816e-09
Minuit parameter uncertainties:
  1  1.14575e-06
  2  0.00015989
  3  0.00127791
  4  0.000202556
  5  5.23403
  6  0.00200662
  7  26.0507
  8  12.2902
  9  1.83193e-06
  10  5.05853
  11  2.96493e-05
  12  0.0146716
  13  8.04515e-06
  14  33.7282
  15  0.0087429
  16  5.37552
  17  2.66105
  18  6.84149
  19  4.21593e-07
  20  62.5951
  21  7.24458
  22  0.00013051
  23  0.258335
  24  0.131861
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  8.045e-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:  8.187e-01  1.319e-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.309e+00  2.583e-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: 5.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/408802/likelihoodResults_518486401_518745601_4FGL_J1212.0-2326_daily_bin1077.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) = 6736.02208757
delta logL = -0.000528244517227

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6736.0215594
delta logL = -6.91507011652e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10305E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8761       1.0000          .0000       10.000    
     3 'Normalizat'    1.3094       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81866       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=   6736.022     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      205 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.9558        .90712E-02** at limit **
   2  Index         1.8552        5.5217        .50000        .16731E-04
   3  Normalizat    1.3094        .31277E-02    .67012E-01   -.31700E-04
   4  Prefactor     .81867        .16141E-02    .43960E-01    .41739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 1.85517
  Normalizat = 1.30938
  Prefactor  = 0.818668
 **********
 **   18 **HESSE 
 **********

 FCN=   6736.022     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      238 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8552        9.0609        .50000       -.68022    
   3  Normalizat    1.3094        .10828E-01    .29646E-03   -.83287    
   4  Prefactor     .81867        .55915E-02    .18753E-03   -.99044    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59084e-07
Minuit parameter uncertainties:
  1  0.000329468
  2  88.5712
  3  0.0108278
  4  0.00559153
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/408802': 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) = 6736.02155914
delta logL = 1.92248990061e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  8.187e-01  5.592e-03  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.309e+00  1.083e-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/408802/cmap_HighResolution_518486401_518745601_4FGL_J1212.0-2326_daily_bin1077.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.98e-03', job_status='DONE', photon_flux_upper_limit='5.35e-08', time_completed='2021-09-05 04:09:55.962641', job_id='408802', GAL2='0.82', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1630840195.96', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='1.92e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1077' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:09:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 408802: <4FGL_J1212.0-2326_daily_bin1077> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin1077 183.001 -23.4494 518486401 518745601 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 :                                   787.05 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             322.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            840 sec.

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

