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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin1614
RA = 183.001, Dec = -23.4494
tmin = 657676801, tmax = 657936001
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='328249', job_status='RUN', time_executed='2021-12-07 22:56:41.040631', time_epoch_executed='1638946601.04' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='1614'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/328249

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/328249/ft1_4FGL_J1212.0-2326_daily_bin1614.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/328249/ft2_4FGL_J1212.0-2326_daily_bin1614.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/328249/ft1_4FGL_J1212.0-2326_daily_bin1614.fits outfile=/scratch/kocevski/328249/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1614.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=657676801.0 tmax=657936001.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.41
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/328249/ft2_4FGL_J1212.0-2326_daily_bin1614.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/328249/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1614.fits evtable="EVENTS" outfile="/scratch/kocevski/328249/ft1_filtered_4FGL_J1212.0-2326_daily_bin1614.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.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/328249/ft1_filtered_4FGL_J1212.0-2326_daily_bin1614.fits" evtable="EVENTS" scfile=/scratch/kocevski/328249/ft2_4FGL_J1212.0-2326_daily_bin1614.fits sctable="SC_DATA" outfile=/scratch/kocevski/328249/ltcube_657676801_657936001_4FGL_J1212.0-2326_daily_bin1614.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/328249/ft2_4FGL_J1212.0-2326_daily_bin1614.fits
.....................!
real 15.95
user 15.57
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/328249/ft1_filtered_4FGL_J1212.0-2326_daily_bin1614.fits evtable="EVENTS" scfile=/scratch/kocevski/328249/ft2_4FGL_J1212.0-2326_daily_bin1614.fits sctable="SC_DATA" expcube=/scratch/kocevski/328249/ltcube_657676801_657936001_4FGL_J1212.0-2326_daily_bin1614.fits outfile=/scratch/kocevski/328249/expmap_657676801_657936001_4FGL_J1212.0-2326_daily_bin1614.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/328249/ltcube_657676801_657936001_4FGL_J1212.0-2326_daily_bin1614.fits
.....................!
real 193.49
user 188.43
sys 4.65

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/328249/ft1_filtered_4FGL_J1212.0-2326_daily_bin1614.fits scfile=/scratch/kocevski/328249/ft2_4FGL_J1212.0-2326_daily_bin1614.fits outfile=/scratch/kocevski/328249/cmap_657676801_657936001_4FGL_J1212.0-2326_daily_bin1614.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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/328249/ft1_filtered_4FGL_J1212.0-2326_daily_bin1614.fits scfile=/scratch/kocevski/328249/ft2_4FGL_J1212.0-2326_daily_bin1614.fits outfile=/scratch/kocevski/328249/cmap_HighResolution_657676801_657936001_4FGL_J1212.0-2326_daily_bin1614.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.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/328249/ft1_filtered_4FGL_J1212.0-2326_daily_bin1614.fits evtable="EVENTS" scfile=/scratch/kocevski/328249/ft2_4FGL_J1212.0-2326_daily_bin1614.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/328249/Model_4FGL_J1212.0-2326_daily_bin1614.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/328249/ft1_filtered_4FGL_J1212.0-2326_daily_bin1614.fits.....................!
real 63.69
user 62.20
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.934       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.1584       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .17608E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.2351       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.0785       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10189E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.826       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.7043       1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.858       1.0000         .10000E-03   10000.    
    19 'norm      '    .39775       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    8.5445       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    2.1070       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .73554       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=   7110.004     FROM MIGRAD    STATUS=CONVERGED    537 CALLS     2687 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.935        10.576        .70959E-07    .39334E-05
   2  Prefactor     .10000E-03    44.226       -.40830E-05** at limit **
   3  norm          1.1584        1.2432        .41588E-07    .38264E-04
   4  Prefactor     .10002E-03    97.446       -.90736E-05** at limit **
   5  Prefactor     .10000E-03    1.8506       -.62613E-07** at limit **
   6  Prefactor     .10000E-03    11.313       -.10950E-05** at limit **
   7  norm          .10001E-03    66.808        .85203E-05** at limit **
   8  Prefactor     .10000E-03    4.9834       -.68486E-07** at limit **
   9  norm          1.2358        2.5673        .22793E-06   -.91823E-04
  10  Prefactor     6.0794        6.5480        .33882E-05   -.68465E-03
  11  Prefactor     .10000E-03    15.462       -.13134E-05** at limit **
  12  Prefactor     .10000E-03    51.925        .28758E-05** at limit **
  13  Prefactor     .10000E-03    9.3678        .35639E-06** at limit **
  14  Prefactor     19.838        35.521        .10013E-05    .54594E-04
  15  Prefactor     .10000E-03    13.783        .20040E-05** at limit **
  16  Prefactor     .10000E-03    6.7386        .21069E-07** at limit **
  17  Prefactor     7.7050        2.8309        .24405E-07   -.97827E-05
  18  Prefactor     17.860        15.399        .10343E-06   -.17627E-04
  19  norm          .39765        .83827        .37624E-06    .38253E-03
  20  Prefactor     .10000E-03    90.266       -.17220E-05** at limit **
  21  norm          8.5424        6.0993        .45346E-07   -.20337E-04
  22  Prefactor     .10000E-03    2.8748        .49521E-08** at limit **
  23  Normalizat    2.1071        .26212       -.96503E-06   -.61606E-04
  24  Prefactor     .73543        .12277       -.31307E-06   -.14803E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.9348
  Prefactor  = 0.000100004
  norm       = 1.15836
  Prefactor  = 0.000100016
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100013
  Prefactor  = 0.0001
  norm       = 1.2358
  Prefactor  = 6.07944
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 19.8378
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 7.70497
  Prefactor  = 17.8604
  norm       = 0.39765
  Prefactor  = 0.000100001
  norm       = 8.5424
  Prefactor  = 0.0001
  Normalizat = 2.10709
  Prefactor  = 0.735429
 **********
 **   18 **HESSE 
 **********

 FCN=   7110.004     FROM HESSE     STATUS=OK           395 CALLS     3082 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.935        10.575        .11596E-03   -1.5017    
   2  Prefactor     .10000E-03    44.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.1584        1.2329        .94253E-04   -1.5493    
   4  Prefactor     .10002E-03    100.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.8549        .11202E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10001E-03    70.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.9902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.2358        2.5065        .18904E-03   -1.5486    
  10  Prefactor     6.0794        6.7249        .81424E-03   -1.5215    
  11  Prefactor     .10000E-03    15.547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    52.457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.3745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.838        35.626        .89952E-04   -1.4817    
  15  Prefactor     .10000E-03    13.967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.9515        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.7050        2.8271        .83546E-04   -1.5153    
  18  Prefactor     17.860        15.429        .94776E-04   -1.4862    
  19  norm          .39765        .74922        .10816E-02   -1.5582    
  20  Prefactor     .10000E-03    90.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          8.5424        6.0868        .13714E-03   -1.5123    
  22  Prefactor     .10000E-03    2.9015        .13946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    2.1071        .30800        .30851E-03   -.61893    
  24  Prefactor     .73543        .14410        .22773E-03   -1.0215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01779e-09
Minuit parameter uncertainties:
  1  10.5771
  2  0.000809465
  3  1.23288
  4  0.0025792
  5  4.03264e-06
  6  0.000116803
  7  0.0019182
  8  8.38225e-06
  9  2.50668
  10  6.7257
  11  0.000166857
  12  0.000448424
  13  7.8105e-06
  14  35.6643
  15  0.000216483
  16  5.99811e-06
  17  2.82718
  18  15.4322
  19  0.749242
  20  0.000486758
  21  6.08724
  22  9.09491e-08
  23  0.308295
  24  0.144178
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  7.811e-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:  7.354e-01  1.442e-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:  2.107e+00  3.083e-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.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/328249/likelihoodResults_657676801_657936001_4FGL_J1212.0-2326_daily_bin1614.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) = 7110.00444868
delta logL = -0.000506735521412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7110.00394203
delta logL = -8.16016836325e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10351E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8752       1.0000          .0000       10.000    
     3 'Normalizat'    2.1071       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73544       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=   7110.004     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      241 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10051E-03    47.974        .18142E-02** at limit **
   2  Index         1.8400        5.1027        .50000        .16157E-04
   3  Normalizat    2.1071        .15102E-01    .30851E-03    .58415E-04
   4  Prefactor     .73543        .71526E-02    .22773E-03    .56512E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100513
  Index      = 1.83996
  Normalizat = 2.10709
  Prefactor  = 0.735429
 **********
 **   18 **HESSE 
 **********

 FCN=   7110.004     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10051E-03    229.53        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8400        8.8361        .50000       -.68414    
   3  Normalizat    2.1071        .33806E-01    .61702E-04   -.61893    
   4  Prefactor     .73543        .16010E-01    .91091E-05   -1.0215    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.54482e-09
Minuit parameter uncertainties:
  1  0.0217815
  2  281.69
  3  0.0338062
  4  0.0160096
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/328249': 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) = 7110.00394172
delta logL = 2.31978447118e-07

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.005e-04  2.178e-02  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.840e+00  2.817e+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:  7.354e-01  1.601e-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:  2.107e+00  3.381e-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/328249/cmap_HighResolution_657676801_657936001_4FGL_J1212.0-2326_daily_bin1614.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.30e-03', job_status='DONE', photon_flux_upper_limit='5.79e-08', time_completed='2021-12-07 23:09:12.144806', job_id='328249', GAL2='0.74', fit_tolerance='1e-08', EG2='2.11', EG='2.11', time_epoch_completed='1638947352.14', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='2.32e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1614' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 23:09:12 PST 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0139>
Subject: Job 328249: <4FGL_J1212.0-2326_daily_bin1614> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin1614> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Dec  7 22:55:19 2021
Job was executed on host(s) <bullet0139>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 22:56:04 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 22:56:04 2021
Terminated at Tue Dec  7 23:09:13 2021
Results reported at Tue Dec  7 23:09:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin1614 183.001 -23.4494 657676801 657936001 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 :                                   750.49 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             352.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            834 sec.

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

