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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin706
RA = 333.226, Dec = -25.4335
tmin = 422323201, tmax = 422582401
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='222753', job_status='RUN', time_executed='2021-09-28 07:08:14.228775', time_epoch_executed='1632838094.23' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='706'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222753

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222753/ft1_4FGL_J2212.9-2526_daily_bin706.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222753/ft2_4FGL_J2212.9-2526_daily_bin706.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222753/ft1_4FGL_J2212.9-2526_daily_bin706.fits outfile=/scratch/kocevski/222753/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin706.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=422323201.0 tmax=422582401.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.50
user 3.30
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/222753/ft2_4FGL_J2212.9-2526_daily_bin706.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/222753/ft2_4FGL_J2212.9-2526_daily_bin706.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/222753/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin706.fits evtable="EVENTS" outfile="/scratch/kocevski/222753/ft1_filtered_4FGL_J2212.9-2526_daily_bin706.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.53
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/222753/ft1_filtered_4FGL_J2212.9-2526_daily_bin706.fits" evtable="EVENTS" scfile=/scratch/kocevski/222753/ft2_4FGL_J2212.9-2526_daily_bin706.fits sctable="SC_DATA" outfile=/scratch/kocevski/222753/ltcube_422323201_422582401_4FGL_J2212.9-2526_daily_bin706.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/222753/ft2_4FGL_J2212.9-2526_daily_bin706.fits
.....................!
real 11.83
user 11.45
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222753/ft1_filtered_4FGL_J2212.9-2526_daily_bin706.fits evtable="EVENTS" scfile=/scratch/kocevski/222753/ft2_4FGL_J2212.9-2526_daily_bin706.fits sctable="SC_DATA" expcube=/scratch/kocevski/222753/ltcube_422323201_422582401_4FGL_J2212.9-2526_daily_bin706.fits outfile=/scratch/kocevski/222753/expmap_422323201_422582401_4FGL_J2212.9-2526_daily_bin706.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/222753/ltcube_422323201_422582401_4FGL_J2212.9-2526_daily_bin706.fits
.....................!
real 189.58
user 184.46
sys 4.75

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 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J2212.9-2526 @ 333.226 -25.4335

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/222753/ft1_filtered_4FGL_J2212.9-2526_daily_bin706.fits scfile=/scratch/kocevski/222753/ft2_4FGL_J2212.9-2526_daily_bin706.fits outfile=/scratch/kocevski/222753/cmap_422323201_422582401_4FGL_J2212.9-2526_daily_bin706.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=333.226 yref=-25.4335 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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222753/ft1_filtered_4FGL_J2212.9-2526_daily_bin706.fits scfile=/scratch/kocevski/222753/ft2_4FGL_J2212.9-2526_daily_bin706.fits outfile=/scratch/kocevski/222753/cmap_HighResolution_422323201_422582401_4FGL_J2212.9-2526_daily_bin706.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=333.226 yref=-25.4335 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.41
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/222753/ft1_filtered_4FGL_J2212.9-2526_daily_bin706.fits evtable="EVENTS" scfile=/scratch/kocevski/222753/ft2_4FGL_J2212.9-2526_daily_bin706.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/222753/Model_4FGL_J2212.9-2526_daily_bin706.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/222753/ft1_filtered_4FGL_J2212.9-2526_daily_bin706.fits.....................!
real 46.71
user 45.35
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/222753/ft1_filtered_4FGL_J2212.9-2526_daily_bin706.fits', '/scratch/kocevski/222753/ft2_4FGL_J2212.9-2526_daily_bin706.fits', expMap='/scratch/kocevski/222753/expmap_422323201_422582401_4FGL_J2212.9-2526_daily_bin706.fits', expCube='/scratch/kocevski/222753/ltcube_422323201_422582401_4FGL_J2212.9-2526_daily_bin706.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/222753/Model_4FGL_J2212.9-2526_daily_bin706.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2212.9-2526'

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  5.247e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/222753/ft1_filtered_4FGL_J2212.9-2526_daily_bin706.fits
Spacecraft file(s): /scratch/kocevski/222753/ft2_4FGL_J2212.9-2526_daily_bin706.fits
Exposure map: /scratch/kocevski/222753/expmap_422323201_422582401_4FGL_J2212.9-2526_daily_bin706.fits
Exposure cube: /scratch/kocevski/222753/ltcube_422323201_422582401_4FGL_J2212.9-2526_daily_bin706.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/222753/Model_4FGL_J2212.9-2526_daily_bin706.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) = 5332.12605005

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.8781       1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.683       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.2762       1.0000         .10000E-03   10000.    
     4 'norm      '    5.2262       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.1998       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.8533       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.742       1.0000         .10000E-03   10000.    
    10 'norm      '    4.0355       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.2748       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .60480       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.019       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11994E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    5.4401       1.0000         .10000E-03   10000.    
    18 'Prefactor '    48.317       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.6770       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10205E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10648E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .64621       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0096       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .90552       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5332.107     FROM MIGRAD    STATUS=CONVERGED    603 CALLS     3096 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.8790        8.8138        .16066E-06   -.94060E-05
   2  Prefactor     16.681        9.5100       -.29875E-07    .15253E-04
   3  Prefactor     8.2746        8.9619       -.14868E-06   -.89334E-05
   4  norm          5.2245        9.2450        .14762E-06    .24141E-04
   5  Prefactor     .10000E-03    9.4102        .13222E-06** at limit **
   6  Prefactor     6.1789        18.125        .35161E-06    .23902E-04
   7  Prefactor     .10000E-03    84.408        .34628E-06** at limit **
   8  norm          5.8503        5.2745       -.24583E-06    .83495E-04
   9  Prefactor     18.739        21.049       -.37744E-07   -.84993E-05
  10  norm          4.0354        .73366       -.35866E-07    .13710E-03
  11  Prefactor     5.2756        6.0107       -.16217E-06    .15255E-04
  12  Prefactor     .44261        13.775        .46538E-06   -.21849E-03
  13  Prefactor     12.008        10.595       -.98559E-06    .30835E-05
  14  Prefactor     .10000E-03    63.321        .12059E-06** at limit **
  15  norm          .10000E-03    7.1469       -.24465E-06** at limit **
  16  Prefactor     .10071E-03    8.2658       -.28230E-05** at limit **
  17  norm          5.4491        4.4533        .18325E-05    .12564E-02
  18  Prefactor     48.136        75.127       -.66866E-05    .11160E-03
  19  Prefactor     .10000E-03    7.3306        .13757E-07** at limit **
  20  norm          1.6779        4.7442        .89992E-06    .26264E-03
  21  Prefactor     .10000E-03    11.610       -.80949E-06** at limit **
  22  Prefactor     .10000E-03    8.3914       -.24731E-05** at limit **
  23  norm          .64546        .68504       -.35324E-06   -.73063E-03
  24  Prefactor     .10000E-03    5.8050       -.77347E-06** at limit **
  25  Normalizat    1.0107        .26150        .14238E-04    .38736E-03
  26  Prefactor     .90494        .20378       -.87961E-05    .78919E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.87896
  Prefactor  = 16.6811
  Prefactor  = 8.27462
  norm       = 5.22449
  Prefactor  = 0.0001
  Prefactor  = 6.17894
  Prefactor  = 0.0001
  norm       = 5.85026
  Prefactor  = 18.7394
  norm       = 4.03538
  Prefactor  = 5.2756
  Prefactor  = 0.442608
  Prefactor  = 12.0084
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100711
  norm       = 5.44905
  Prefactor  = 48.1357
  Prefactor  = 0.0001
  norm       = 1.67791
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.645456
  Prefactor  = 0.0001
  Normalizat = 1.01069
  Prefactor  = 0.904941
 **********
 **   18 **HESSE 
 **********

 FCN=   5332.107     FROM HESSE     STATUS=OK           468 CALLS     3564 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.8790        8.8233        .12750E-03   -1.5079    
   2  Prefactor     16.681        9.5243        .98059E-04   -1.4891    
   3  Prefactor     8.2746        8.9628        .13936E-03   -1.5133    
   4  norm          5.2245        9.2389        .17583E-03   -1.5251    
   5  Prefactor     .10000E-03    9.4339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.1789        18.064        .16123E-03   -1.5211    
   7  Prefactor     .10000E-03    84.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.8503        5.2732        .14719E-03   -1.5224    
   9  Prefactor     18.739        21.093        .92517E-04   -1.4842    
  10  norm          4.0354        .73579        .25014E-04   -1.5306    
  11  Prefactor     5.2756        6.0060        .17501E-03   -1.5249    
  12  Prefactor     .44261        154.45        .51384E-02   -1.5575    
  13  Prefactor     12.008        10.602        .11555E-03   -1.5015    
  14  Prefactor     .10000E-03    63.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    7.1512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10071E-03    120.77        .38624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.4491        4.5032        .10265E-03   -1.5241    
  18  Prefactor     48.136        75.381        .28844E-03   -1.4319    
  19  Prefactor     .10000E-03    7.3599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.6779        4.6495        .23292E-03   -1.5449    
  21  Prefactor     .10000E-03    11.641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    8.5334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .64546        .64467        .54944E-03   -1.5547    
  24  Prefactor     .10000E-03    5.8269        .17186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0107        .26725        .28859E-03   -.92673    
  26  Prefactor     .90494        .21124        .24134E-03   -.95969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.90842e-09
Minuit parameter uncertainties:
  1  8.82448
  2  9.52515
  3  8.96423
  4  9.24147
  5  1.98049e-05
  6  18.0796
  7  2.19061e-05
  8  5.27365
  9  21.1016
  10  0.735791
  11  6.00668
  12  16.5775
  13  10.6039
  14  0.000185373
  15  2.77639e-05
  16  0.0185772
  17  4.50353
  18  75.5309
  19  2.68177e-05
  20  4.65048
  21  5.70872e-05
  22  0.000147696
  23  0.644673
  24  3.30883e-05
  25  0.267601
  26  0.211431
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  4.426e-01  1.658e+01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  9.049e-01  2.114e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.011e+00  2.676e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 333.226 -25.433
Photon Flux Upper Limit: 9.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/222753/likelihoodResults_422323201_422582401_4FGL_J2212.9-2526_daily_bin706.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): 0
logL (Free Index) = 5332.10197975
delta logL = 0.00489943563662

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5332.07755115
delta logL = 0.0293280331098

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2499       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7493       1.0000          .0000       10.000    
     3 'Normalizat'    1.0133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90024       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5332.078     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      241 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2229        994.87        .48862E-02    .67222E-04
   2  Index         1.7485        5.5726        .46510        .51045E-04
   3  Normalizat    1.0133        .42004E-01    .65220E-01   -.21214E-04
   4  Prefactor     .90027        .33042E-01    .45008E-01    .40993E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.22286
  Index      = 1.74853
  Normalizat = 1.0133
  Prefactor  = 0.900271
 **********
 **   18 **HESSE 
 **********

 FCN=   5332.078     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2229        20.404        .19545E-03   -1.5297    
   2  Index         1.7485        1.4358        .13520E-01   -.70797    
   3  Normalizat    1.0133        .25308        .28847E-03   -.92586    
   4  Prefactor     .90027        .20319        .24192E-03   -.96132    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.12177e-10
Minuit parameter uncertainties:
  1  18.5748
  2  1.47244
  3  0.253376
  4  0.203359
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222753': 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) = 5332.07754996
delta logL = 0.0293292257411

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  4.223e+00  1.857e+01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  1.749e+00  1.472e+00  0.000e+00  1.000e+01 (-1.000e+00)
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  9.003e-01  2.034e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.013e+00  2.534e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 333.226 -25.433

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/222753/cmap_HighResolution_422323201_422582401_4FGL_J2212.9-2526_daily_bin706.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.90e-03', job_status='DONE', photon_flux_upper_limit='9.03e-08', time_completed='2021-09-28 07:18:28.439392', job_id='222753', GAL2='0.90', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1632838708.44', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.93e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='706' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:18:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 222753: <4FGL_J2212.9-2526_daily_bin706> in cluster <slac> Done

Job <4FGL_J2212.9-2526_daily_bin706> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 07:05:27 2021
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 07:05:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 07:05:29 2021
Terminated at Tue Sep 28 07:18:29 2021
Results reported at Tue Sep 28 07:18:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin706 333.226 -25.4335 422323201 422582401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2212.9-2526 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   612.42 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             316.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            782 sec.

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

