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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin1028
RA = 183.001, Dec = -23.4494
tmin = 505785601, tmax = 506044801
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='408739', job_status='RUN', time_executed='2021-09-05 03:56:18.784173', time_epoch_executed='1630839378.78' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='1028'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/408739

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/408739/ft1_4FGL_J1212.0-2326_daily_bin1028.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/408739/ft2_4FGL_J1212.0-2326_daily_bin1028.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/408739/ft1_4FGL_J1212.0-2326_daily_bin1028.fits outfile=/scratch/kocevski/408739/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1028.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=505785601.0 tmax=506044801.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.62
user 3.33
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/408739/ft1_filtered_4FGL_J1212.0-2326_daily_bin1028.fits" evtable="EVENTS" scfile=/scratch/kocevski/408739/ft2_4FGL_J1212.0-2326_daily_bin1028.fits sctable="SC_DATA" outfile=/scratch/kocevski/408739/ltcube_505785601_506044801_4FGL_J1212.0-2326_daily_bin1028.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/408739/ft2_4FGL_J1212.0-2326_daily_bin1028.fits
.....................!
real 11.90
user 11.47
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/408739/ft1_filtered_4FGL_J1212.0-2326_daily_bin1028.fits evtable="EVENTS" scfile=/scratch/kocevski/408739/ft2_4FGL_J1212.0-2326_daily_bin1028.fits sctable="SC_DATA" expcube=/scratch/kocevski/408739/ltcube_505785601_506044801_4FGL_J1212.0-2326_daily_bin1028.fits outfile=/scratch/kocevski/408739/expmap_505785601_506044801_4FGL_J1212.0-2326_daily_bin1028.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/408739/ltcube_505785601_506044801_4FGL_J1212.0-2326_daily_bin1028.fits
.....................!
real 191.63
user 186.29
sys 4.94

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/408739/ft1_filtered_4FGL_J1212.0-2326_daily_bin1028.fits scfile=/scratch/kocevski/408739/ft2_4FGL_J1212.0-2326_daily_bin1028.fits outfile=/scratch/kocevski/408739/cmap_505785601_506044801_4FGL_J1212.0-2326_daily_bin1028.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/408739/ft1_filtered_4FGL_J1212.0-2326_daily_bin1028.fits scfile=/scratch/kocevski/408739/ft2_4FGL_J1212.0-2326_daily_bin1028.fits outfile=/scratch/kocevski/408739/cmap_HighResolution_505785601_506044801_4FGL_J1212.0-2326_daily_bin1028.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/408739/ft1_filtered_4FGL_J1212.0-2326_daily_bin1028.fits evtable="EVENTS" scfile=/scratch/kocevski/408739/ft2_4FGL_J1212.0-2326_daily_bin1028.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/408739/Model_4FGL_J1212.0-2326_daily_bin1028.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/408739/ft1_filtered_4FGL_J1212.0-2326_daily_bin1028.fits.....................!
real 59.14
user 57.72
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28195       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .27710       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.229       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    35.512       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.2136       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.495       1.0000         .10000E-03   10000.    
    19 'norm      '    1.2794       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.8212       1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.626       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3337       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90947       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=   6733.181     FROM MIGRAD    STATUS=CONVERGED    543 CALLS     3481 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33150        78.771       -.26287E-04    .87956E-04
   2  Prefactor     .10000E-03    81.779        .10576E-05** at limit **
   3  norm          .27707        1.0116       -.55522E-06    .92393E-03
   4  Prefactor     .10000E-03    41.857       -.16618E-05** at limit **
   5  Prefactor     .10000E-03    2.5281       -.17689E-06** at limit **
   6  Prefactor     13.229        18.920       -.10117E-06    .17965E-04
   7  norm          .10000E-03    9.2904       -.23450E-06** at limit **
   8  Prefactor     .10000E-03    7.4488       -.19734E-06** at limit **
   9  norm          .10000E-03    2.1715       -.17364E-06** at limit **
  10  Prefactor     .10000E-03    2.7998       -.19585E-06** at limit **
  11  Prefactor     .10001E-03    34.647        .33516E-05** at limit **
  12  Prefactor     35.512        38.178       -.55483E-06    .25926E-04
  13  Prefactor     .10000E-03    11.911        .46665E-06** at limit **
  14  Prefactor     .10002E-03    93.134        .44852E-05** at limit **
  15  Prefactor     .10000E-03    13.936       -.95946E-06** at limit **
  16  Prefactor     .10000E-03    2.3307       -.80217E-07** at limit **
  17  Prefactor     9.2138        2.9443       -.35363E-07    .61062E-04
  18  Prefactor     11.497        13.434       -.23258E-06    .53165E-04
  19  norm          1.2794        .92720       -.58967E-07    .80189E-04
  20  Prefactor     .10001E-03    45.706       -.30747E-05** at limit **
  21  norm          3.8190        9.2044       -.10683E-05    .18723E-03
  22  Prefactor     11.627        8.7930        .36060E-06    .39948E-03
  23  Normalizat    1.3336        .23757        .96179E-06    .41184E-03
  24  Prefactor     .90945        .11781        .83059E-06    .71692E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.331503
  Prefactor  = 0.000100002
  norm       = 0.277073
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 13.2291
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 35.5116
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 9.21382
  Prefactor  = 11.4967
  norm       = 1.27945
  Prefactor  = 0.000100011
  norm       = 3.81903
  Prefactor  = 11.6272
  Normalizat = 1.33359
  Prefactor  = 0.909452
 **********
 **   18 **HESSE 
 **********

 FCN=   6733.181     FROM HESSE     STATUS=OK           393 CALLS     3874 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33150        77.819        .43253E-02   -1.5593    
   2  Prefactor     .10000E-03    82.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .27707        1.0172        .15137E-03   -1.5603    
   4  Prefactor     .10000E-03    42.098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.5516        .12743E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.229        18.917        .11013E-03   -1.4980    
   7  norm          .10000E-03    9.2991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.4769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.1911        .11813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.8239        .13387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    35.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     35.512        38.179        .67249E-04   -1.4515    
  13  Prefactor     .10000E-03    11.931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10002E-03    94.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.3373        .12232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.2138        2.9440        .77406E-04   -1.5101    
  18  Prefactor     11.497        13.434        .11816E-03   -1.5030    
  19  norm          1.2794        .92611        .64844E-04   -1.5482    
  20  Prefactor     .10001E-03    46.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.8190        9.1131        .20648E-03   -1.5317    
  22  Prefactor     11.627        8.6876        .11749E-03   -1.5026    
  23  Normalizat    1.3336        .28402        .32439E-03   -.82569    
  24  Prefactor     .90945        .14144        .19061E-03   -.95812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93285e-09
Minuit parameter uncertainties:
  1  10.17
  2  0.000770524
  3  1.0173
  4  0.000704505
  5  1.91915e-05
  6  18.9253
  7  4.85193e-05
  8  4.66436e-05
  9  2.19643e-05
  10  1.74337e-05
  11  0.00122492
  12  38.205
  13  7.7327e-05
  14  0.00244897
  15  0.000231156
  16  9.20793e-06
  17  2.94401
  18  13.4377
  19  0.926119
  20  0.00139672
  21  9.11644
  22  8.68855
  23  0.284356
  24  0.141494
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  7.733e-05  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.095e-01  1.415e-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.334e+00  2.844e-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: 6.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/408739/likelihoodResults_505785601_506044801_4FGL_J1212.0-2326_daily_bin1028.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) = 6733.18097947
delta logL = -0.000399411040235

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6733.18058006
delta logL = 5.22777554579e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8909       1.0000          .0000       10.000    
     3 'Normalizat'    1.3336       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90946       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=   6733.181     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      206 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    61.128        .90712E-02** at limit **
   2  Index         1.8843        6.0601        .50000        .42009E-05
   3  Normalizat    1.3336        .13959E-01    .73307E-01    .10937E-04
   4  Prefactor     .90945        .69671E-02    .45125E-01    .69306E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.88433
  Normalizat = 1.33359
  Prefactor  = 0.909451
 **********
 **   18 **HESSE 
 **********

 FCN=   6733.181     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8843        5.9215        .50000       -.67274    
   3  Normalizat    1.3336        .27895        .32439E-03   -.82569    
   4  Prefactor     .90945        .13946        .19061E-03   -.95812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84624e-11
Minuit parameter uncertainties:
  1  1.75357e-06
  2  4.01452
  3  0.279267
  4  0.139517
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/408739': 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) = 6733.18058005
delta logL = 1.45564627019e-08

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  1.754e-06  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.884e+00  4.015e+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.095e-01  1.395e-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.334e+00  2.793e-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/408739/cmap_HighResolution_505785601_506044801_4FGL_J1212.0-2326_daily_bin1028.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.98e-03', job_status='DONE', photon_flux_upper_limit='6.69e-08', time_completed='2021-09-05 04:09:19.442778', job_id='408739', GAL2='0.91', fit_tolerance='1e-08', EG2='1.33', EG='1.33', time_epoch_completed='1630840159.44', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.46e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1028' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:09:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 408739: <4FGL_J1212.0-2326_daily_bin1028> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin1028 183.001 -23.4494 505785601 506044801 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 :                                   773.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            810 sec.

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

